Searched refs:SDEVTOV (Results 1 – 11 of 11) sorted by relevance
/titanic_44/usr/src/uts/common/sys/fs/ |
H A D | sdev_impl.h | 232 #define SDEVTOV(n) ((struct vnode *)(n)->sdev_vnode) macro 235 #define SDEV_HELD(dv) (VN_HELD(SDEVTOV(dv))) 236 #define SDEV_HOLD(dv) VN_HOLD(SDEVTOV(dv)) 237 #define SDEV_RELE(dv) VN_RELE(SDEVTOV(dv)) 239 mutex_enter(&SDEVTOV(dv)->v_lock); \ 240 SDEVTOV(dv)->v_count--; \ 241 mutex_exit(&SDEVTOV(dv)->v_lock); \
|
/titanic_44/usr/src/uts/common/fs/dev/ |
H A D | sdev_netops.c | 123 if (SDEVTOV(ddv)->v_type != VDIR) in devnet_lookup() 131 *vpp = SDEVTOV(ddv); in devnet_lookup() 140 *vpp = SDEVTOV(ddv->sdev_dotdot); in devnet_lookup() 181 SDEVTOV(dv)->v_rdev = vattr.va_rdev; in devnet_lookup() 277 if (SDEVTOV(dv)->v_count > 0) in devnet_filldir()
|
H A D | sdev_profile.c | 115 struct vnode *vp = SDEVTOV(cdir); in apply_glob_pattern() 172 if (SDEVTOV(*newdv)->v_type == VDIR) in prof_mknode() 212 error = VOP_LOOKUP(SDEVTOV(gdir), name, &gnewdir, in prof_make_dir() 267 gddv = SDEVTOV(gdir); in prof_lookup_globaldev() 390 if (VOP_LOOKUP(SDEVTOV(gdir), name, &gvp, NULL, 0, NULL, kcred, in is_nonempty_dir() 538 vnode_t *gvn = SDEVTOV(dir->sdev_origin); in prof_zone_matched() 616 walk_dir(SDEVTOV(gdir), (void *)ddv, cb); in prof_make_names_walk() 762 SDEVTOV(dv)->v_type != VDIR) in apply_dir_pattern() 782 ASSERT(SDEVTOV(dir)->v_type == VDIR); in prof_add_rule() 1010 *vpp = SDEVTOV(ddv); in prof_lookup() [all …]
|
H A D | sdev_vfsops.c | 374 if (SDEVTOV(dv)->v_count > 1) { in sdev_unmount() 392 ASSERT(SDEVTOV(dv)->v_count == 1); in sdev_unmount() 430 *vpp = SDEVTOV(VFSTOSDEVFS(vfsp)->sdev_root); in sdev_root() 491 SDEVTOV(mntinfo->sdev_root)->v_count++; in sdev_find_mntinfo() 504 SDEVTOV(mntinfo->sdev_root)->v_count--; in sdev_mntinfo_rele()
|
H A D | sdev_ipnetops.c | 72 if (getminor(SDEVTOV(dv)->v_rdev) != getminor(dev)) in devipnet_validate() 121 ASSERT(VOP_REALVP(SDEVTOV(dv), &rvp, NULL) == ENOSYS); in devipnet_lookup() 191 if (SDEVTOV(dv)->v_count > 0) in devipnet_filldir()
|
H A D | sdev_subr.c | 195 struct vnode *vp = SDEVTOV(dv); in i_sdev_node_dtor() 317 vp = SDEVTOV(dv); in sdev_nodeinit() 319 vp->v_vfsp = SDEVTOV(ddv)->v_vfsp; in sdev_nodeinit() 327 vn_setops(vp, vn_getops(SDEVTOV(ddv))); in sdev_nodeinit() 376 struct vnode *vp = SDEVTOV(dv); in sdev_nodeready() 391 ASSERT(SDEVTOV(dv->sdev_dotdot)->v_type == VDIR); in sdev_nodeready() 392 vp->v_rdev = SDEVTOV(dv->sdev_dotdot)->v_rdev; in sdev_nodeready() 452 vp = SDEVTOV(dv); in sdev_mkroot() 736 linkvp = SDEVTOV(dv); in sdev_follow_link() 754 vtype_t otype = SDEVTOV(dv)->v_type; in sdev_node_check() [all …]
|
H A D | sdev_zvolops.c | 281 SDEVTOV(dv)->v_type, do_type)); in devzvol_validate() 282 if ((SDEVTOV(dv)->v_type == VLNK && do_type != DMU_OST_ZVOL) || in devzvol_validate() 283 ((SDEVTOV(dv)->v_type == VBLK || SDEVTOV(dv)->v_type == VCHR) && in devzvol_validate() 285 (SDEVTOV(dv)->v_type == VDIR && do_type == DMU_OST_ZVOL)) { in devzvol_validate() 289 if (SDEVTOV(dv)->v_type == VLNK) { in devzvol_validate() 294 rc = sdev_getlink(SDEVTOV(dv), &link); in devzvol_validate() 479 if ((SDEVTOV(dv)->v_type == VDIR) && in devzvol_prunedir()
|
H A D | sdev_vnops.c | 575 return (secpolicy_vnode_access2(cr, SDEVTOV(dv), owner, in sdev_unlocked_access() 748 sdev_update_timestamps(SDEVTOV(self), kcred, in sdev_create() 803 vp = SDEVTOV(dv); in sdev_remove() 1068 VN_RELE(SDEVTOV(fromdv)); in sdev_rename() 1074 ASSERT(SDEVTOV(fromdv) == ovp); in sdev_rename() 1078 type = SDEVTOV(fromdv)->v_type; in sdev_rename() 1091 VN_RELE(SDEVTOV(fromdv)); in sdev_rename() 1186 sdev_update_timestamps(SDEVTOV(self), kcred, in sdev_symlink() 1258 sdev_update_timestamps(SDEVTOV(self), kcred, in sdev_mkdir() 1268 *vpp = SDEVTOV(self); in sdev_mkdir() [all …]
|
H A D | sdev_ptsops.c | 253 vp = SDEVTOV(dv); in devpts_prunedir() 307 ASSERT(VOP_REALVP(SDEVTOV(dv), &rvp, NULL) == ENOSYS); in devpts_lookup() 384 ptms_set_owner(getminor(SDEVTOV(dv)->v_rdev), in devpts_set_id()
|
H A D | sdev_vtops.c | 212 ASSERT(VOP_REALVP(SDEVTOV(dv), &rvp, NULL) == ENOSYS); in devvt_lookup() 337 vp = SDEVTOV(dv); in devvt_prunedir()
|
H A D | sdev_ncache.c | 665 ASSERT(SDEVTOV(dv)->v_type == VDIR); in sdev_lookup_filter() 824 ASSERT(SDEVTOV(dv)->v_type == VDIR); in sdev_nc_addname()
|