Lines Matching refs:vn
237 struct vnstat vn; in print_file_info() local
248 error = procstat_get_vnode_info(procstat, fst, &vn, errbuf); in print_file_info()
253 if (d->fsid == vn.vn_fsid) { in print_file_info()
255 if (d->ino == vn.vn_fileid) { in print_file_info()
558 struct vnstat vn; in print_vnode_info() local
565 error = procstat_get_vnode_info(procstat, fst, &vn, errbuf); in print_vnode_info()
568 else if (vn.vn_type == PS_FST_VTYPE_VBAD) in print_vnode_info()
570 else if (vn.vn_type == PS_FST_VTYPE_VNON) in print_vnode_info()
578 printf(" %#5jx", (uintmax_t)vn.vn_fsid); in print_vnode_info()
579 else if (vn.vn_mntdir != NULL) in print_vnode_info()
580 (void)printf(" %-8s", vn.vn_mntdir); in print_vnode_info()
586 (void)snprintf(mode, sizeof(mode), "%o", vn.vn_mode); in print_vnode_info()
588 strmode(vn.vn_mode, mode); in print_vnode_info()
590 (void)printf(" %6jd %10s", (intmax_t)vn.vn_fileid, mode); in print_vnode_info()
592 if (vn.vn_type == PS_FST_VTYPE_VBLK || vn.vn_type == PS_FST_VTYPE_VCHR) { in print_vnode_info()
593 if (nflg || !*vn.vn_devname) in print_vnode_info()
594 printf(" %#6jx", (uintmax_t)vn.vn_dev); in print_vnode_info()
596 printf(" %6s", vn.vn_devname); in print_vnode_info()
599 printf(" %6ju", (uintmax_t)vn.vn_size); in print_vnode_info()