Lines Matching defs:ub
487 pipe_stat(struct pipe *cpipe, void *ub, int isstat64)
529 sb64 = (struct stat64 *)ub;
556 sb = (struct stat *)ub;
1515 struct vinfo_stat * ub;
1554 ub = &pinfo->pipe_stat;
1556 bzero(ub, sizeof(*ub));
1557 ub->vst_mode = S_IFIFO | S_IRUSR | S_IWUSR | S_IRGRP | S_IWGRP;
1558 ub->vst_blksize = pipe_size;
1559 ub->vst_size = pipe_count;
1560 if (ub->vst_blksize != 0)
1561 ub->vst_blocks = (ub->vst_size + ub->vst_blksize - 1) / ub->vst_blksize;
1562 ub->vst_nlink = 1;
1564 ub->vst_uid = kauth_getuid();
1565 ub->vst_gid = kauth_getgid();
1568 ub->vst_atime = now.tv_sec;
1569 ub->vst_atimensec = now.tv_usec * 1000;
1571 ub->vst_mtime = now.tv_sec;
1572 ub->vst_mtimensec = now.tv_usec * 1000;
1574 ub->vst_ctime = now.tv_sec;
1575 ub->vst_ctimensec = now.tv_usec * 1000;