Lines Matching refs:vattrp
315 struct vattr *vattrp; /* attributes of this mount */ in nm_mount() local
400 vattrp = &nodep->nm_vattr; in nm_mount()
401 vattrp->va_mask = AT_ALL; in nm_mount()
402 if (error = VOP_GETATTR(mvp, vattrp, 0, crp, NULL)) in nm_mount()
412 if (error = secpolicy_vnode_owner(crp, vattrp->va_uid)) in nm_mount()
419 if (secpolicy_vnode_access2(crp, mvp, vattrp->va_uid, vattrp->va_mode, in nm_mount()
458 vattrp->va_type = filevattr.va_type; in nm_mount()
459 vattrp->va_fsid = namedev; in nm_mount()
460 vattrp->va_nodeid = namenodeno_alloc(); in nm_mount()
461 vattrp->va_nlink = 1; in nm_mount()
462 vattrp->va_size = filevattr.va_size; in nm_mount()
463 vattrp->va_rdev = filevattr.va_rdev; in nm_mount()
464 vattrp->va_blksize = filevattr.va_blksize; in nm_mount()
465 vattrp->va_nblocks = filevattr.va_nblocks; in nm_mount()
466 vattrp->va_seq = 0; in nm_mount()