st_mode 45 include/sys/stat.h mode_t st_mode; /* inode protection mode */ st_mode 83 usr/bin/cp/cp.c if (r == -1 || !S_ISDIR(to_stat.st_mode)) { st_mode 94 usr/bin/cp/cp.c if (!S_ISREG(tmp_stat.st_mode)) st_mode 152 usr/bin/cp/cp.c mode = stbuf.st_mode; st_mode 193 usr/bin/ls/ls.c if (S_ISCHR(sp->st_mode) || S_ISBLK(sp->st_mode)) st_mode 195 usr/bin/ls/ls.c else if (S_ISDIR(sp->st_mode)) st_mode 197 usr/bin/ls/ls.c else if (S_ISFIFO(sp->st_mode)) st_mode 199 usr/bin/ls/ls.c else if (S_ISLNK(sp->st_mode)) st_mode 203 usr/bin/ls/ls.c printtype(sp->st_mode); st_mode 204 usr/bin/ls/ls.c printmode(sp->st_mode); st_mode 227 usr/bin/ls/ls.c printtype(sp->st_mode); st_mode 228 usr/bin/ls/ls.c if (sp->st_mode & (S_IXUSR | S_IXGRP | S_IXOTH)) st_mode 266 usr/bin/ls/ls.c if (S_ISDIR(st.st_mode)) { st_mode 61 usr/bin/mv/mv.c if (!S_ISREG(st1.st_mode)) { st_mode 68 usr/bin/mv/mv.c if (!rc && S_ISDIR(st2.st_mode)) { st_mode 343 usr/bin/test/test.c return S_ISREG(s.st_mode); st_mode 345 usr/bin/test/test.c return S_ISDIR(s.st_mode); st_mode 347 usr/bin/test/test.c return S_ISCHR(s.st_mode); st_mode 349 usr/bin/test/test.c return S_ISBLK(s.st_mode); st_mode 351 usr/bin/test/test.c return S_ISFIFO(s.st_mode); st_mode 353 usr/bin/test/test.c return S_ISSOCK(s.st_mode); st_mode 355 usr/bin/test/test.c return S_ISLNK(s.st_mode); st_mode 357 usr/bin/test/test.c return (s.st_mode & S_ISUID) != 0; st_mode 359 usr/bin/test/test.c return (s.st_mode & S_ISGID) != 0; st_mode 361 usr/bin/test/test.c return (s.st_mode & S_ISVTX) != 0; st_mode 782 usr/lib/libc/gen/fts.c sbp->st_mode = S_IFWHT; st_mode 809 usr/lib/libc/gen/fts.c if (S_ISDIR(sbp->st_mode)) { st_mode 838 usr/lib/libc/gen/fts.c if (S_ISLNK(sbp->st_mode)) st_mode 840 usr/lib/libc/gen/fts.c if (S_ISREG(sbp->st_mode)) st_mode 54 usr/lib/libc/stdio/makebuf.c *couldbetty = S_ISCHR(st.st_mode); st_mode 84 usr/lib/libc/stdio/mktemp.c if (!S_ISDIR(sbuf.st_mode)) { st_mode 53 usr/lib/libc/stdio/remove.c if (S_ISDIR(sb.st_mode)) st_mode 78 usr/sbin/install/install.c if (r == -1 || !S_ISDIR(to_stat.st_mode)) { st_mode 131 usr/sbin/install/install.c mode = stbuf.st_mode; st_mode 248 usr/server/boot/boot.c mode = stbuf.st_mode; st_mode 458 usr/server/exec/exec_execve.c if (!S_ISREG(st.st_mode)) { st_mode 377 usr/server/fs/vfs/vfs_vnode.c st->st_mode = mode;