Lines Matching defs:sb
423 struct stat *sb = (struct stat *)0;
437 sb = (struct stat *)ub;
438 bzero((caddr_t)sb, sizeof (*sb));
453 sb->st_mode = S_IFSOCK;
456 sb->st_mode |= S_IRUSR | S_IRGRP | S_IROTH;
458 sb->st_mode |= S_IWUSR | S_IWGRP | S_IWOTH;
459 sb->st_size = so->so_rcv.sb_cc - so->so_rcv.sb_ctl;
460 sb->st_uid = kauth_cred_getuid(so->so_cred);
461 sb->st_gid = kauth_cred_getgid(so->so_cred);