Home | History | Annotate | Download | only in kern

Lines Matching refs:ub

806 ksem_stat_fop(file_t *fp, struct stat *ub)
812 memset(ub, 0, sizeof(*ub));
814 ub->st_mode = ks->ks_mode | ((ks->ks_name && ks->ks_namelen)
816 ub->st_uid = ks->ks_uid;
817 ub->st_gid = ks->ks_gid;
818 ub->st_size = ks->ks_value;
819 ub->st_blocks = (ub->st_size) ? 1 : 0;
820 ub->st_nlink = ks->ks_ref;
821 ub->st_blksize = 4096;
823 nanotime(&ub->st_atimespec);
824 ub->st_mtimespec = ub->st_ctimespec = ub->st_birthtimespec =
825 ub->st_atimespec;