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

/macosx-10.5.8/xnu-1228.15.4/bsd/kern/
H A Dsys_socket.c444 struct stat64 *sb64 = (struct stat64 *)0; local
453 sb64 = (struct stat64 *)ub;
454 bzero((caddr_t)sb64, sizeof (*sb64));
462 sb64->st_mode = S_IFSOCK;
465 sb64->st_mode |= S_IRUSR | S_IRGRP | S_IROTH;
467 sb64->st_mode |= S_IWUSR | S_IWGRP | S_IWOTH;
468 sb64->st_size = so->so_rcv.sb_cc - so->so_rcv.sb_ctl;
469 sb64->st_uid = so->so_uid;
470 sb64
[all...]
H A Dsys_pipe.c430 struct stat64 * sb64 = (struct stat64 *)0; /* warning avoidance ; protected by isstat64 */ local
468 sb64 = (struct stat64 *)ub;
470 bzero(sb64, sizeof(*sb64));
471 sb64->st_mode = S_IFIFO | S_IRUSR | S_IWUSR | S_IRGRP | S_IWGRP;
472 sb64->st_blksize = pipe_size;
473 sb64->st_size = pipe_count;
474 sb64->st_blocks = (sb64->st_size + sb64
[all...]
H A Dposix_shm.c700 struct stat64 * sb64 = (struct stat64 *)0; /* warning avoidance ; protected by isstat64 */ local
721 sb64 = (struct stat64 *)ub;
722 bzero(sb64, sizeof(struct stat64));
723 sb64->st_mode = pinfo->pshm_mode;
724 sb64->st_uid = pinfo->pshm_uid;
725 sb64->st_gid = pinfo->pshm_gid;
726 sb64->st_size = pinfo->pshm_length;
H A Dkern_event.c1704 struct stat64 * sb64 = (struct stat64 *)0; /* warning avoidance ; protected by isstat64 */ local
1708 sb64 = (struct stat64 *)ub;
1709 bzero((void *)sb64, sizeof(*sb64));
1710 sb64->st_size = kq->kq_count;
1711 sb64->st_blksize = sizeof(struct kevent);
1712 sb64->st_mode = S_IFIFO;
H A Duipc_usrreq.c526 struct stat64 *sb64; local
528 sb64 = (struct stat64 *)ub;
529 sb64->st_blksize = blksize;
530 sb64->st_dev = NODEV;
531 sb64->st_ino = (ino64_t)unp->unp_ino;
H A Dkern_descrip.c1905 struct stat64 sb64; local
1927 sbptr = (isstat64 != 0) ? (void *)&sb64: (void *)&sb;
1977 sb64.st_lspare = 0;
1978 sb64.st_qspare[0] = 0LL;
1979 sb64.st_qspare[1] = 0LL;
1981 munge_stat64(&sb64, &user_sb64);
1985 my_size = sizeof(sb64);
1986 sbp = (caddr_t)&sb64;
H A Duipc_socket2.c1500 struct stat64 *sb64; local
1502 sb64 = (struct stat64 *)ub;
1503 sb64->st_blksize = so->so_snd.sb_hiwat;
/macosx-10.5.8/xnu-1228.15.4/bsd/vfs/
H A Dvfs_vnops.c882 struct stat64 * sb64 = (struct stat64 *)0; /* warning avoidance ; protected by isstat64 */ local
885 sb64 = (struct stat64 *)sbptr;
920 sb64->st_dev = va.va_fsid;
921 sb64->st_ino = (ino64_t)va.va_fileid;
955 sb64->st_mode = mode;
956 sb64->st_nlink = VATTR_IS_SUPPORTED(&va, va_nlink) ? (u_int16_t)va.va_nlink : 1;
957 sb64->st_uid = va.va_uid;
958 sb64->st_gid = va.va_gid;
959 sb64->st_rdev = va.va_rdev;
960 sb64
[all...]
H A Dvfs_syscalls.c3593 struct stat64 sb64; local
3612 statptr = (void *)&sb64;
3644 sb64.st_lspare = 0;
3645 sb64.st_qspare[0] = 0LL;
3646 sb64.st_qspare[1] = 0LL;
3648 munge_stat64(&sb64, &user_sb64);
3652 my_size = sizeof(sb64);
3653 sbp = (caddr_t)&sb64;
3658 if ((sb64.st_nlink == 0) && S_ISREG(sb64
[all...]

Completed in 117 milliseconds