Lines Matching refs:ub
422 pipe_stat(struct pipe *cpipe, void *ub, int isstat64)
468 sb64 = (struct stat64 *)ub;
495 sb = (struct stat *)ub;
1791 struct vinfo_stat * ub;
1830 ub = &pinfo->pipe_stat;
1832 bzero(ub, sizeof(*ub));
1833 ub->vst_mode = S_IFIFO | S_IRUSR | S_IWUSR | S_IRGRP | S_IWGRP;
1834 ub->vst_blksize = pipe_size;
1835 ub->vst_size = pipe_count;
1836 if (ub->vst_blksize != 0)
1837 ub->vst_blocks = (ub->vst_size + ub->vst_blksize - 1) / ub->vst_blksize;
1838 ub->vst_nlink = 1;
1840 ub->vst_uid = kauth_getuid();
1841 ub->vst_gid = kauth_getgid();
1844 ub->vst_atime = now.tv_sec;
1845 ub->vst_atimensec = now.tv_usec * 1000;
1847 ub->vst_mtime = now.tv_sec;
1848 ub->vst_mtimensec = now.tv_usec * 1000;
1850 ub->vst_ctime = now.tv_sec;
1851 ub->vst_ctimensec = now.tv_usec * 1000;