Home
last modified time | relevance | path

Searched refs:st_mode (Results 1 – 16 of 16) sorted by relevance

/xnu-10002.41.9/bsd/sys/
H A Dstat.h121 mode_t st_mode; /* inode protection mode */ member
168 mode_t st_mode; /* [XSI] Mode of file (see below) */ \
197 mode_t st_mode; /* [XSI] Mode of file (see below) */ member
246 mode_t st_mode; /* [XSI] Mode of file (see below) */ member
279 mode_t st_mode; /* [XSI] Mode of file (see below) */ member
311 mode_t st_mode; /* [XSI] Mode of file (see below) */ member
343 mode_t st_mode; /* [XSI] Mode of file (see below) */ member
/xnu-10002.41.9/bsd/kern/
H A Dsys_socket.c377 sb64->st_mode = S_IFSOCK; in soo_stat()
380 sb64->st_mode |= S_IRUSR | S_IRGRP | S_IROTH; in soo_stat()
383 sb64->st_mode |= S_IWUSR | S_IWGRP | S_IWOTH; in soo_stat()
389 sb->st_mode = S_IFSOCK; in soo_stat()
392 sb->st_mode |= S_IRUSR | S_IRGRP | S_IROTH; in soo_stat()
395 sb->st_mode |= S_IWUSR | S_IWGRP | S_IWOTH; in soo_stat()
H A Dposix_shm.c698 sb64->st_mode = pinfo->pshm_mode; in pshm_stat()
705 sb->st_mode = pinfo->pshm_mode; in pshm_stat()
H A Dsys_pipe.c503 sb64->st_mode = S_IFIFO | S_IRUSR | S_IWUSR | S_IRGRP | S_IWGRP; in pipe_stat()
530 sb->st_mode = S_IFIFO | S_IRUSR | S_IWUSR | S_IRGRP | S_IWGRP; in pipe_stat()
H A Dkern_event.c4966 sb64->st_mode = S_IFIFO; in kqueue_stat()
4981 sb->st_mode = S_IFIFO; in kqueue_stat()
H A Dproc_info.c3532 vsbp->vst_mode = sbp->st_mode; in munge_vinfo_stat()
/xnu-10002.41.9/SETUP/installfile/
H A Dinstallfile.c97 if (!S_ISREG(sb.st_mode)) { in main()
/xnu-10002.41.9/SETUP/replacecontents/
H A Dreplacecontents.c90 if (!S_ISREG(sb.st_mode)) { in main()
/xnu-10002.41.9/tests/
H A Dkqueue_fifo_18776047.c90 T_ASSERT_TRUE(S_ISFIFO(f_stat.st_mode), "ensure %s is a fifo", filepath); in create_fifo()
H A Dcorrect_kernel_booted.c32 if ((stbuf.st_mode & S_IFREG) == 0) { in get_macho_uuid()
H A Dnet_bridge.c3550 return stat(path, &statb) == 0 && (statb.st_mode & S_IXUSR) != 0; in executable_is_present()
/xnu-10002.41.9/SETUP/setsegname/
H A Dsetsegname.c73 if (0 == (stat_buf.st_mode & S_IFREG)) { in readFile()
/xnu-10002.41.9/bsd/miscfs/devfs/
H A Ddevfs_fdesc_support.c438 VATTR_RETURN(vap, va_mode, stb.st_mode); in fdesc_attr()
/xnu-10002.41.9/bsd/vfs/
H A Dvfs_vnops.c1542 sb64->st_mode = mode; in vn_stat_noauth()
1560 sb->st_mode = mode; in vn_stat_noauth()
H A Dvfs_syscalls.c7002 if ((source.sb64.st_nlink == 0) && S_ISREG(source.sb64.st_mode)) { in fstatat_internal()
7022 if ((source.sb.st_nlink == 0) && S_ISREG(source.sb.st_mode)) { in fstatat_internal()
13792 usbp->st_mode = sbp->st_mode; in munge_user64_stat()
13829 usbp->st_mode = sbp->st_mode; in munge_user32_stat()
13869 usbp->st_mode = sbp->st_mode; in munge_user64_stat64()
13910 usbp->st_mode = sbp->st_mode; in munge_user32_stat64()
/xnu-10002.41.9/SETUP/kextsymboltool/
H A Dkextsymboltool.c134 if (0 == (stat_buf.st_mode & S_IFREG)) { in readFile()