Searched refs:sb64 (Results 1 - 9 of 9) sorted by relevance

/xnu-2782.1.97/bsd/kern/
H A Dsys_socket.c375 struct stat64 *sb64 = (struct stat64 *)0; local
384 sb64 = (struct stat64 *)ub;
385 bzero((caddr_t)sb64, sizeof (*sb64));
393 sb64->st_mode = S_IFSOCK;
396 sb64->st_mode |= S_IRUSR | S_IRGRP | S_IROTH;
398 sb64->st_mode |= S_IWUSR | S_IWGRP | S_IWOTH;
399 sb64->st_size = so->so_rcv.sb_cc - so->so_rcv.sb_ctl;
400 sb64->st_uid = kauth_cred_getuid(so->so_cred);
401 sb64
[all...]
H A Dsys_pipe.c494 struct stat64 * sb64 = (struct stat64 *)0; /* warning avoidance ; protected by isstat64 */ local
528 sb64 = (struct stat64 *)ub;
530 bzero(sb64, sizeof(*sb64));
531 sb64->st_mode = S_IFIFO | S_IRUSR | S_IWUSR | S_IRGRP | S_IWGRP;
532 sb64->st_blksize = pipe_size;
533 sb64->st_size = pipe_count;
534 sb64->st_blocks = (sb64->st_size + sb64
[all...]
H A Dposix_shm.c779 struct stat64 * sb64 = (struct stat64 *)0; /* warning avoidance ; protected by isstat64 */ local
800 sb64 = (struct stat64 *)ub;
801 bzero(sb64, sizeof(struct stat64));
802 sb64->st_mode = pinfo->pshm_mode;
803 sb64->st_uid = pinfo->pshm_uid;
804 sb64->st_gid = pinfo->pshm_gid;
805 sb64->st_size = pinfo->pshm_length;
H A Duipc_usrreq.c624 struct stat64 *sb64; local
626 sb64 = (struct stat64 *)ub;
627 sb64->st_blksize = blksize;
628 sb64->st_dev = NODEV;
629 sb64->st_ino = (ino64_t)unp->unp_ino;
H A Dkern_event.c2483 struct stat64 *sb64 = (struct stat64 *)ub; local
2485 bzero((void *)sb64, sizeof(*sb64));
2486 sb64->st_size = kq->kq_count;
2488 sb64->st_blksize = sizeof(struct kevent64_s);
2490 sb64->st_blksize = IS_64BIT_PROCESS(p) ? sizeof(struct user64_kevent) : sizeof(struct user32_kevent);
2491 sb64->st_mode = S_IFIFO;
H A Dkern_descrip.c2824 struct stat64 sb64; member in union:__anon110
2898 source.sb64.st_lspare = 0;
2899 source.sb64.st_qspare[0] = 0LL;
2900 source.sb64.st_qspare[1] = 0LL;
2903 munge_user64_stat64(&source.sb64, &dest.user64_sb64);
2907 munge_user32_stat64(&source.sb64, &dest.user32_sb64);
H A Duipc_socket2.c2131 struct stat64 *sb64; local
2133 sb64 = (struct stat64 *)ub;
2134 sb64->st_blksize = so->so_snd.sb_hiwat;
/xnu-2782.1.97/bsd/vfs/
H A Dvfs_vnops.c1175 struct stat64 * sb64 = (struct stat64 *)0; /* warning avoidance ; protected by isstat64 */ local
1178 sb64 = (struct stat64 *)sbptr;
1213 sb64->st_dev = va.va_fsid;
1214 sb64->st_ino = (ino64_t)va.va_fileid;
1248 sb64->st_mode = mode;
1249 sb64->st_nlink = VATTR_IS_SUPPORTED(&va, va_nlink) ? (u_int16_t)va.va_nlink : 1;
1250 sb64->st_uid = va.va_uid;
1251 sb64->st_gid = va.va_gid;
1252 sb64->st_rdev = va.va_rdev;
1253 sb64
[all...]
H A Dvfs_syscalls.c5237 struct stat64 sb64; member in union:__anon572
5294 source.sb64.st_lspare = 0;
5295 source.sb64.st_qspare[0] = 0LL;
5296 source.sb64.st_qspare[1] = 0LL;
5298 munge_user64_stat64(&source.sb64, &dest.user64_sb64);
5302 munge_user32_stat64(&source.sb64, &dest.user32_sb64);
5309 if ((source.sb64.st_nlink == 0) && S_ISREG(source.sb64.st_mode)) {
5310 source.sb64.st_nlink = 1;

Completed in 72 milliseconds