Home
last modified time | relevance | path

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

123456

/titanic_44/usr/src/test/zfs-tests/tests/functional/slog/
H A Dslog.cfg33 export VDIR=/disk-slog
36 export VDEV="$VDIR/a $VDIR/b $VDIR/c"
37 export SDEV="$VDIR/d"
38 export LDEV="$VDIR/e $VDIR/f"
H A Dcleanup.ksh47 if [[ -d $VDIR ]]; then
48 log_must $RM -rf $VDIR
H A Dsetup.ksh42 log_must $RM -rf $VDIR
47 log_must $MKDIR -p $VDIR $VDIR2
H A Dslog_007_pos.ksh72 log_must $ZPOOL import -d $VDIR -d $VDIR2 $TESTPOOL
82 log_must $ZPOOL import -Df -d $VDIR -d $VDIR2 $TESTPOOL
H A Dslog_014_pos.ksh58 log_must $DD if=/dev/urandom of=$VDIR/a bs=1024k oseek=4 \
/titanic_44/usr/src/uts/common/fs/devfs/
H A Ddevfs_subr.c76 VDIR, /* va_type */
227 if (typ == VDIR) { in dv_mkino()
295 vp->v_type = VDIR; in dv_mkroot()
350 vp->v_type = VDIR; in dv_mkdir()
358 dv->dv_ino = dv_mkino(devi, VDIR, NODEV); in dv_mkdir()
464 ASSERT(vp->v_type == VDIR); in dv_destroy()
470 if (vp->v_type == VDIR) { in dv_destroy()
524 ASSERT(DVTOV(ddv)->v_type == VDIR); in dv_insert()
531 if (DVTOV(dv)->v_type == VDIR) { in dv_insert()
553 ASSERT(DVTOV(ddv)->v_type == VDIR); in dv_unlink()
[all …]
H A Ddevfs_vnops.c78 ASSERT((*vpp)->v_type == VDIR); in devfs_open()
94 ASSERT(vp->v_type == VDIR); in devfs_close()
111 ASSERT(vp->v_type == VDIR); in devfs_read()
126 ASSERT(vp->v_type == VDIR); in devfs_write()
141 ASSERT(vp->v_type == VDIR); in devfs_ioctl()
174 if (!(vp->v_type == VDIR || vp->v_type == VCHR || vp->v_type == VBLK)) { in devfs_getattr()
231 ASSERT(vp->v_type == VDIR); in devfs_setattr_dir()
362 if (!(vp->v_type == VDIR || vp->v_type == VCHR || vp->v_type == VBLK)) { in devfs_setattr()
402 if (vp->v_type == VDIR) { in devfs_setattr()
458 ASSERT(vp->v_type != VDIR); in devfs_setattr()
[all …]
/titanic_44/usr/src/test/zfs-tests/tests/functional/cache/
H A Dcache.cfg64 export VDIR=/disk.cache
67 export VDEV="$VDIR/a $VDIR/b $VDIR/c"
H A Dsetup.ksh41 log_must $RM -rf $VDIR $VDIR2
42 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 Dcleanup.ksh44 log_must $RM -rf $VDIR $VDIR2
/titanic_44/usr/src/uts/common/fs/tmpfs/
H A Dtmp_dir.c197 if (parent->tn_type != VDIR) in tdirlookup()
252 ASSERT(dir->tn_type == VDIR); in tdirenter()
318 if (tp->tn_type == VDIR) { in tdirenter()
387 if ((tp->tn_type) == VDIR) { in tdirenter()
442 ASSERT(dir->tn_type == VDIR); in tdirdelete()
530 if (op == DR_RMDIR && tp->tn_type == VDIR) { in tdirdelete()
550 ASSERT(dir->tn_type == VDIR); in tdirinit()
620 ASSERT(dir->tn_type == VDIR); in tdirtrunc()
779 doingdirectory = (fromtp->tn_type == VDIR); in tdirrename()
780 if (to->tn_type == VDIR) { in tdirrename()
[all …]
/titanic_44/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 …]
/titanic_44/usr/src/uts/common/fs/dev/
H A Dsdev_zvolops.c285 (SDEVTOV(dv)->v_type == VDIR && do_type == DMU_OST_ZVOL)) { in devzvol_validate()
403 *vap = *sdev_getdefault_attr(VDIR); in devzvol_create_dir()
479 if ((SDEVTOV(dv)->v_type == VDIR) && in devzvol_prunedir()
506 enum vtype expected_type = VDIR; in devzvol_mk_ngz_node()
532 if (expected_type == VDIR) { in devzvol_mk_ngz_node()
533 vattr.va_type = VDIR; in devzvol_mk_ngz_node()
576 enum vtype expected_type = VDIR; in devzvol_lookup()
659 if (expected_type == VDIR) { in devzvol_lookup()
697 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()
683 } else if ((vp->v_type == VDIR) && (mode & VWRITE)) { in sdev_create()
831 if (vp->v_type == VDIR && dv->sdev_nlink > 2) { in sdev_remove()
1079 if (type == VDIR) { in sdev_rename()
1096 if (type != VDIR) { in sdev_rename()
1327 if (vp->v_type != VDIR) { in sdev_rmdir()
[all …]
H A Dsdev_subr.c76 VDIR, /* va_type */
385 if (type == VDIR) { in sdev_nodeready()
391 ASSERT(SDEVTOV(dv->sdev_dotdot)->v_type == VDIR); in sdev_nodeready()
456 vp->v_type = VDIR; in sdev_mkroot()
953 if (SDEVTOV(dv)->v_type == VDIR) { in sdev_nodedestroy()
1001 ASSERT(SDEVTOV(ddv)->v_type == VDIR); in sdev_direnter()
1123 int doingdir = (ovp->v_type == VDIR); in sdev_rnmnode()
1205 if (nvp->v_type == VDIR) { in sdev_rnmnode()
1354 if (vp->v_type == VDIR) { in sdev_vattr_merge()
1376 if (type == VDIR) in sdev_getdefault_attr()
[all …]
H A Dsdev_ptsops.c309 case VDIR: in devpts_lookup()
345 else if (vp->v_type == VDIR && (mode & VWRITE)) in devpts_create()
395 ASSERT((vp->v_type == VCHR) || (vp->v_type == VDIR)); in devpts_setattr()
H A Dsdev_profile.c78 } else if (gdv == NULL || gdv->v_type == VDIR) { in prof_getattr()
118 if (vp->v_type != VDIR) in apply_glob_pattern()
172 if (SDEVTOV(*newdv)->v_type == VDIR) in prof_mknode()
285 if (gdv->v_type != VDIR) { in prof_lookup_globaldev()
394 if (gvp->v_type != VDIR) { in is_nonempty_dir()
762 SDEVTOV(dv)->v_type != VDIR) in apply_dir_pattern()
782 ASSERT(SDEVTOV(dir)->v_type == VDIR); in prof_add_rule()
/titanic_44/usr/src/uts/common/fs/pcfs/
H A Dpc_alloc.c115 vp->v_type == VDIR) { in pc_bmap()
120 vp->v_type == VDIR) { in pc_bmap()
195 (vp->v_type == VDIR && lcn == 0)) { in pc_balloc()
316 vp->v_type == VDIR) in pc_bfree()
319 vp->v_type == VDIR) in pc_bfree()
H A Dpc_node.c156 vp->v_type = VDIR; in pc_getnode()
233 if (vp->v_type != VDIR && (pcp->pc_flags & PC_INVAL) == 0) { in pc_rele()
310 if (PCTOV(pcp)->v_type == VDIR) in pc_mark_mod()
333 if (fsp->pcfs_flags & PCFS_NOATIME || PCTOV(pcp)->v_type == VDIR) in pc_mark_acc()
376 if (vp->v_type == VDIR) { in pc_truncate()
/titanic_44/usr/src/uts/common/fs/fd/
H A Dfdops.c84 if ((*vpp)->v_type != VDIR) { in fdopen()
115 if (vp->v_type != VDIR) in fdread()
170 if (vp->v_type == VDIR) { in fdgetattr()
372 if (mvp->v_type != VDIR) in fdmount()
391 vp->v_type = VDIR; in fdmount()
/titanic_44/usr/src/uts/common/fs/smbclnt/smbfs/
H A Dsmbfs_vnops.c266 if (vp->v_type != VREG && vp->v_type != VDIR) { /* XXX VLNK? */ in smbfs_open()
299 if (vp->v_type == VDIR) { in smbfs_open()
526 case VDIR: in smbfs_rele_fid()
1160 static const vnode_t tmpl_vdir = { .v_type = VDIR }; in smbfs_access_rwx()
1175 va.va_mode = (vtype == VDIR) ? in smbfs_access_rwx()
1219 tvp = (va.va_type == VDIR) ? in smbfs_access_rwx()
1353 case VDIR: in smbfs_inactive()
1490 if (dvp->v_type != VDIR) in smbfslookup()
1586 vp->v_type = VDIR; in smbfslookup()
2039 if (vp->v_type == VDIR) { in smbfs_remove()
[all …]
/titanic_44/usr/src/uts/common/syscall/
H A Dgetdents.c92 if (vp->v_type != VDIR) { in getdents32()
210 if (vp->v_type != VDIR) { in getdents64()
H A Dmkdir.c59 vattr.va_type = VDIR; in mkdirat()
/titanic_44/usr/src/uts/common/fs/
H A Dlookup.c267 if (vp->v_type != VDIR) { in lookuppnvp()
553 if (must_be_directory && cvp->v_type != VDIR) { in lookuppnvp()
823 ASSERT(dvp->v_type == VDIR); in dirfindvp()
1001 ASSERT(vp->v_type == VDIR); in dirtopath()
1145 if (pvp->v_type != VDIR) { in dirtopath()
1268 if (vp->v_type == VDIR && VOP_REALVP(vp, &realvp, NULL) == 0 && in vnodetopath_common()
1379 if (vp->v_type != VDIR) { in vnodetopath_common()

123456