Home
last modified time | relevance | path

Searched refs:VDIR (Results 1 – 25 of 154) sorted by relevance

1234567

/illumos-gate/usr/src/test/zfs-tests/tests/functional/slog/
H A Dslog.cfg31 export VDIR=/disk-slog
34 export VDEV="$VDIR/a $VDIR/b $VDIR/c"
35 export SDEV="$VDIR/d"
36 export LDEV="$VDIR/e $VDIR/f"
H A Dslog.kshlib36 log_must rm -rf $VDIR $VDIR2
37 log_must mkdir -p $VDIR $VDIR2
47 rm -rf $TESTDIR $VDIR $VDIR2
H A Dcleanup.ksh47 if [[ -d $VDIR ]]; then
48 log_must rm -rf $VDIR
H A Dslog_007_pos.ksh73 log_must zpool import -d $VDIR -d $VDIR2 $TESTPOOL
83 log_must zpool import -Df -d $VDIR -d $VDIR2 $TESTPOOL
H A Dslog_replay_fs_002.ksh76 log_must zpool import -f -d $VDIR $TESTPOOL
123 log_must zpool import -f -d $VDIR $TESTPOOL
/illumos-gate/usr/src/test/zfs-tests/tests/functional/compression/
H A Dl2arc_compressed_arc.ksh26 export VDIR=$TESTDIR/disk.persist_l2arc
27 export VDEV="$VDIR/a"
28 export VDEV_CACHE="$VDIR/b"
72 log_must rm -rf $VDIR
73 log_must mkdir -p $VDIR
H A Dl2arc_compressed_arc_disabled.ksh26 export VDIR=$TESTDIR/disk.persist_l2arc
27 export VDEV="$VDIR/a"
28 export VDEV_CACHE="$VDIR/b"
69 log_must rm -rf $VDIR
70 log_must mkdir -p $VDIR
/illumos-gate/usr/src/test/zfs-tests/tests/functional/l2arc/
H A Dl2arc.cfg24 export VDIR=$TESTDIR/disk.l2arc
25 export VDEV="$VDIR/a"
26 export VDEV_CACHE="$VDIR/b"
H A Dsetup.ksh25 log_must rm -rf $VDIR
26 log_must mkdir -p $VDIR
H A Dpersist_l2arc_001_pos.ksh81 log_must zpool import -d $VDIR $TESTPOOL
95 log_must zpool import -d $VDIR $TESTPOOL
/illumos-gate/usr/src/uts/common/fs/devfs/
H A Ddevfs_subr.c80 VDIR, /* va_type */
231 if (typ == VDIR) { in dv_mkino()
299 vp->v_type = VDIR; in dv_mkroot()
354 vp->v_type = VDIR; in dv_mkdir()
362 dv->dv_ino = dv_mkino(devi, VDIR, NODEV); in dv_mkdir()
468 ASSERT(vp->v_type == VDIR); in dv_destroy()
474 if (vp->v_type == VDIR) { in dv_destroy()
528 ASSERT(DVTOV(ddv)->v_type == VDIR); in dv_insert()
535 if (DVTOV(dv)->v_type == VDIR) { in dv_insert()
557 ASSERT(DVTOV(ddv)->v_type == VDIR); in dv_unlink()
[all …]
H A Ddevfs_vnops.c80 ASSERT((*vpp)->v_type == VDIR); in devfs_open()
96 ASSERT(vp->v_type == VDIR); in devfs_close()
113 ASSERT(vp->v_type == VDIR); in devfs_read()
128 ASSERT(vp->v_type == VDIR); in devfs_write()
143 ASSERT(vp->v_type == VDIR); in devfs_ioctl()
176 if (!(vp->v_type == VDIR || vp->v_type == VCHR || vp->v_type == VBLK)) { in devfs_getattr()
233 ASSERT(vp->v_type == VDIR); in devfs_setattr_dir()
364 if (!(vp->v_type == VDIR || vp->v_type == VCHR || vp->v_type == VBLK)) { in devfs_setattr()
404 if (vp->v_type == VDIR) { in devfs_setattr()
460 ASSERT(vp->v_type != VDIR); in devfs_setattr()
[all …]
/illumos-gate/usr/src/test/zfs-tests/tests/functional/cache/
H A Dcache.cfg65 export VDIR=$TESTDIR/disk.cache
68 export VDEV="$VDIR/a $VDIR/b $VDIR/c"
H A Dsetup.ksh42 log_must rm -rf $VDIR $VDIR2
43 log_must mkdir -p $VDIR $VDIR2
H A Dcache_006_pos.ksh66 log_must zpool import -d $VDIR $TESTPOOL
76 log_must zpool import -Df -d $VDIR $TESTPOOL
H A Dcache_012_pos.ksh64 typeset VDEV="$VDIR/vdev.disk"
66 typeset VCACHE="$VDIR/vdev.cache"
/illumos-gate/usr/src/uts/common/fs/tmpfs/
H A Dtmp_dir.c200 if (parent->tn_type != VDIR) in tdirlookup()
255 ASSERT(dir->tn_type == VDIR); in tdirenter()
378 if (tp->tn_type == VDIR) { in tdirenter()
447 if ((tp->tn_type) == VDIR) { in tdirenter()
502 ASSERT(dir->tn_type == VDIR); in tdirdelete()
590 if (op == DR_RMDIR && tp->tn_type == VDIR) { in tdirdelete()
610 ASSERT(dir->tn_type == VDIR); in tdirinit()
680 ASSERT(dir->tn_type == VDIR); in tdirtrunc()
839 doingdirectory = (fromtp->tn_type == VDIR); in tdirrename()
840 if (to->tn_type == VDIR) { in tdirrename()
[all …]
/illumos-gate/usr/src/uts/common/fs/bootfs/
H A Dbootfs_construct.c34 VDIR, /* va_type */
127 if (vap->va_type == VDIR) { in bootfs_node_init()
170 ASSERT(parent->bvn_attr.va_type == VDIR); in bootfs_mknode()
178 if (vap->va_type == VDIR) { in bootfs_mknode()
192 if (vap->va_type == VDIR) { in bootfs_mknode()
/illumos-gate/usr/src/uts/common/fs/udfs/
H A Dudf_dir.c145 if (dip->i_type != VDIR) { in ud_dirlook()
427 if (tdp->i_type != VDIR) { in ud_direnter()
452 if ((sip->i_type == VDIR) && (sdp != tdp)) { in ud_direnter()
528 if (sip->i_type == VDIR) { in ud_direnter()
645 if (dp->i_type != VDIR) { in ud_dirremove()
682 if ((mode = ip->i_type) == VDIR) { in ud_dirremove()
706 if (mode == VDIR) { in ud_dirremove()
722 } else if (ip->i_type != VDIR) { in ud_dirremove()
735 if (mode == VDIR) { in ud_dirremove()
747 if (vp->v_type == VDIR && in ud_dirremove()
[all …]
/illumos-gate/usr/src/uts/common/fs/dev/
H A Dsdev_zvolops.c341 (vn->v_type == VDIR && do_type == DMU_OST_ZVOL)) { in devzvol_validate()
504 *vap = *sdev_getdefault_attr(VDIR); in devzvol_create_dir()
580 if ((SDEVTOV(dv)->v_type == VDIR) && in devzvol_prunedir()
607 enum vtype expected_type = VDIR; in devzvol_mk_ngz_node()
653 if (expected_type == VDIR) { in devzvol_mk_ngz_node()
654 vattr.va_type = VDIR; in devzvol_mk_ngz_node()
697 enum vtype expected_type = VDIR; in devzvol_lookup()
791 if (expected_type == VDIR) { in devzvol_lookup()
829 else if (vp->v_type == VDIR && (mode & VWRITE)) in devzvol_create()
H A Dsdev_vnops.c325 if ((*vpp)->v_type == VDIR) in sdev_open()
355 if (vp->v_type == VDIR) { in sdev_close()
383 if (vp->v_type == VDIR) in sdev_read()
410 if (vp->v_type == VDIR) in sdev_write()
437 if (!SDEV_IS_GLOBAL(dv) || (vp->v_type == VDIR)) in sdev_ioctl()
686 } else if (((*vpp)->v_type == VDIR) && in sdev_create()
713 } else if ((vp->v_type == VDIR) && (mode & VWRITE)) { in sdev_create()
861 if (vp->v_type == VDIR && dv->sdev_nlink > 2) { in sdev_remove()
1109 if (type == VDIR) { in sdev_rename()
1126 if (type != VDIR) { in sdev_rename()
[all …]
H A Dsdev_subr.c77 VDIR, /* va_type */
381 if (type == VDIR) { in sdev_nodeready()
387 ASSERT(SDEVTOV(dv->sdev_dotdot)->v_type == VDIR); in sdev_nodeready()
453 vp->v_type = VDIR; in sdev_mkroot()
820 if (SDEVTOV(dv)->v_type == VDIR) { in sdev_nodedestroy()
869 ASSERT(SDEVTOV(ddv)->v_type == VDIR); in sdev_direnter()
991 int doingdir = (ovp->v_type == VDIR); in sdev_rnmnode()
1073 if (nvp->v_type == VDIR) { in sdev_rnmnode()
1222 if (vp->v_type == VDIR) { in sdev_vattr_merge()
1244 if (type == VDIR) in sdev_getdefault_attr()
[all …]
H A Dsdev_ptsops.c305 case VDIR: in devpts_lookup()
340 else if (vp->v_type == VDIR && (mode & VWRITE)) in devpts_create()
388 ASSERT((vp->v_type == VCHR) || (vp->v_type == VDIR)); in devpts_setattr()
/illumos-gate/usr/src/uts/common/fs/pcfs/
H A Dpc_alloc.c117 vp->v_type == VDIR) { in pc_bmap()
122 vp->v_type == VDIR) { in pc_bmap()
197 (vp->v_type == VDIR && lcn == 0)) { in pc_balloc()
318 vp->v_type == VDIR) in pc_bfree()
321 vp->v_type == VDIR) in pc_bfree()
/illumos-gate/usr/src/uts/common/fs/fd/
H A Dfdops.c85 if ((*vpp)->v_type != VDIR) { in fdopen()
116 if (vp->v_type != VDIR) in fdread()
171 if (vp->v_type == VDIR) { in fdgetattr()
374 if (mvp->v_type != VDIR) in fdmount()
393 vp->v_type = VDIR; in fdmount()

1234567