Searched refs:bvn_attr (Results 1 – 3 of 3) sorted by relevance
/illumos-gate/usr/src/uts/common/fs/bootfs/ |
H A D | bootfs_construct.c | 133 bcopy(vap, &bnp->bvn_attr, sizeof (vattr_t)); in bootfs_node_init() 136 bnp->bvn_attr.va_atime = now; in bootfs_node_init() 137 bnp->bvn_attr.va_ctime = now; in bootfs_node_init() 138 bnp->bvn_attr.va_mtime = now; in bootfs_node_init() 139 bnp->bvn_attr.va_fsid = makedevice(bootfs_major, bfs->bfs_minor); in bootfs_node_init() 140 bnp->bvn_attr.va_nodeid = bfs->bfs_ninode; in bootfs_node_init() 141 bnp->bvn_attr.va_blksize = PAGESIZE; in bootfs_node_init() 170 ASSERT(parent->bvn_attr.va_type == VDIR); in bootfs_mknode() 193 parent->bvn_attr.va_size++; in bootfs_mknode() 194 parent->bvn_attr.va_nlink++; in bootfs_mknode() [all …]
|
H A D | bootfs_vnops.c | 122 gethrestime(&bnp->bvn_attr.va_atime); in bootfs_read() 144 bcopy(&bpn->bvn_attr, vap, sizeof (vattr_t)); in bootfs_getattr() 157 if (crgetuid(cr) != bpn->bvn_attr.va_uid) { in bootfs_access() 159 if (groupmember(bpn->bvn_attr.va_gid, cr) == 0) in bootfs_access() 163 return (secpolicy_vnode_access2(cr, vp, bpn->bvn_attr.va_uid, in bootfs_access() 164 bpn->bvn_attr.va_mode << shift, mode)); in bootfs_access() 180 if (bpp->bvn_attr.va_type != VDIR) in bootfs_lookup() 255 dp->d_ino = (ino64_t)bnp->bvn_attr.va_nodeid; in bootfs_readdir() 272 dp->d_ino = (ino64_t)bnp->bvn_parent->bvn_attr.va_nodeid; in bootfs_readdir() 300 dp->d_ino = (ino64_t)dnp->bvn_attr.va_nodeid; in bootfs_readdir() [all …]
|
/illumos-gate/usr/src/uts/common/sys/fs/ |
H A D | bootfs_impl.h | 45 vattr_t bvn_attr; /* attributes for the node */ member
|