Lines Matching defs:vnode
48 #include <sys/vnode.h>
406 static struct vnode *
464 struct vnode *vp;
510 /* root directory vnode, if one. */
518 /* current working directory vnode. */
533 /* ktrace vnode, if one */
541 /* text vnode, if one */
668 /* We want only vnode objects. */
1267 int (*handler)(kvm_t *kd, struct vnode *vp,
1282 struct vnode vnode;
1294 error = kvm_read_all(kd, (unsigned long)vp, &vnode, sizeof(vnode));
1296 warnx("can't read vnode at %p", (void *)vp);
1300 vn->vn_type = vntype2psfsttype(vnode.v_type);
1301 if (vnode.v_type == VNON || vnode.v_type == VBAD)
1303 error = kvm_read_all(kd, (unsigned long)vnode.v_lock.lock_object.lo_name,
1316 if (fstypes[i].handler(kd, &vnode, vn) != 0) {
1326 vn->vn_mntdir = getmnton(kd, vnode.v_mount);
1327 if ((vnode.v_type == VBLK || vnode.v_type == VCHR) &&
1328 vnode.v_rdev != NULL){
1329 vn->vn_dev = dev2udev(kd, vnode.v_rdev);
1330 (void)kdevtoname(kd, vnode.v_rdev, vn->vn_devname);
1343 * kinfo vnode type to filestat translation.