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

/darwin-on-arm/xnu/bsd/kern/
H A Dsys_socket.c425 struct stat64 *sb64 = (struct stat64 *)0; local
434 sb64 = (struct stat64 *)ub;
435 bzero((caddr_t)sb64, sizeof (*sb64));
443 sb64->st_mode = S_IFSOCK;
446 sb64->st_mode |= S_IRUSR | S_IRGRP | S_IROTH;
448 sb64->st_mode |= S_IWUSR | S_IWGRP | S_IWOTH;
449 sb64->st_size = so->so_rcv.sb_cc - so->so_rcv.sb_ctl;
450 sb64->st_uid = kauth_cred_getuid(so->so_cred);
451 sb64
[all...]
H A Dsys_pipe.c495 struct stat64 * sb64 = (struct stat64 *)0; /* warning avoidance ; protected by isstat64 */ local
529 sb64 = (struct stat64 *)ub;
531 bzero(sb64, sizeof(*sb64));
532 sb64->st_mode = S_IFIFO | S_IRUSR | S_IWUSR | S_IRGRP | S_IWGRP;
533 sb64->st_blksize = pipe_size;
534 sb64->st_size = pipe_count;
535 sb64->st_blocks = (sb64->st_size + sb64
[all...]
H A Dposix_shm.c772 struct stat64 * sb64 = (struct stat64 *)0; /* warning avoidance ; protected by isstat64 */ local
793 sb64 = (struct stat64 *)ub;
794 bzero(sb64, sizeof(struct stat64));
795 sb64->st_mode = pinfo->pshm_mode;
796 sb64->st_uid = pinfo->pshm_uid;
797 sb64->st_gid = pinfo->pshm_gid;
798 sb64->st_size = pinfo->pshm_length;
H A Duipc_usrreq.c618 struct stat64 *sb64; local
620 sb64 = (struct stat64 *)ub;
621 sb64->st_blksize = blksize;
622 sb64->st_dev = NODEV;
623 sb64->st_ino = (ino64_t)unp->unp_ino;
H A Dkern_event.c2342 struct stat64 *sb64 = (struct stat64 *)ub; local
2344 bzero((void *)sb64, sizeof(*sb64));
2345 sb64->st_size = kq->kq_count;
2347 sb64->st_blksize = sizeof(struct kevent64_s);
2349 sb64->st_blksize = sizeof(struct kevent);
2350 sb64->st_mode = S_IFIFO;
H A Duipc_socket2.c1621 struct stat64 *sb64; local
1623 sb64 = (struct stat64 *)ub;
1624 sb64->st_blksize = so->so_snd.sb_hiwat;
H A Dkern_descrip.c2424 struct stat64 sb64; member in union:__anon119
2501 source.sb64.st_lspare = 0;
2502 source.sb64.st_qspare[0] = 0LL;
2503 source.sb64.st_qspare[1] = 0LL;
2506 munge_user64_stat64(&source.sb64, &dest.user64_sb64);
2510 munge_user32_stat64(&source.sb64, &dest.user32_sb64);
/darwin-on-arm/xnu/bsd/vfs/
H A Dvfs_vnops.c1095 struct stat64 * sb64 = (struct stat64 *)0; /* warning avoidance ; protected by isstat64 */ local
1098 sb64 = (struct stat64 *)sbptr;
1133 sb64->st_dev = va.va_fsid;
1134 sb64->st_ino = (ino64_t)va.va_fileid;
1168 sb64->st_mode = mode;
1169 sb64->st_nlink = VATTR_IS_SUPPORTED(&va, va_nlink) ? (u_int16_t)va.va_nlink : 1;
1170 sb64->st_uid = va.va_uid;
1171 sb64->st_gid = va.va_gid;
1172 sb64->st_rdev = va.va_rdev;
1173 sb64
[all...]
H A Dvfs_syscalls.c4676 struct stat64 sb64; member in union:__anon561
4729 source.sb64.st_lspare = 0;
4730 source.sb64.st_qspare[0] = 0LL;
4731 source.sb64.st_qspare[1] = 0LL;
4733 munge_user64_stat64(&source.sb64, &dest.user64_sb64);
4737 munge_user32_stat64(&source.sb64, &dest.user32_sb64);
4744 if ((source.sb64.st_nlink == 0) && S_ISREG(source.sb64.st_mode)) {
4745 source.sb64.st_nlink = 1;

Completed in 119 milliseconds