/titanic_50/usr/src/test/zfs-tests/tests/functional/slog/ |
H A D | slog.cfg | 33 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 D | cleanup.ksh | 47 if [[ -d $VDIR ]]; then 48 log_must $RM -rf $VDIR
|
H A D | setup.ksh | 42 log_must $RM -rf $VDIR 47 log_must $MKDIR -p $VDIR $VDIR2
|
H A D | slog_007_pos.ksh | 72 log_must $ZPOOL import -d $VDIR -d $VDIR2 $TESTPOOL 82 log_must $ZPOOL import -Df -d $VDIR -d $VDIR2 $TESTPOOL
|
/titanic_50/usr/src/uts/common/fs/devfs/ |
H A D | devfs_subr.c | 76 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 D | devfs_vnops.c | 78 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_50/usr/src/test/zfs-tests/tests/functional/cache/ |
H A D | cache.cfg | 64 export VDIR=/disk.cache 67 export VDEV="$VDIR/a $VDIR/b $VDIR/c"
|
H A D | setup.ksh | 41 log_must $RM -rf $VDIR $VDIR2 42 log_must $MKDIR -p $VDIR $VDIR2
|
H A D | cache_006_pos.ksh | 66 log_must $ZPOOL import -d $VDIR $TESTPOOL 76 log_must $ZPOOL import -Df -d $VDIR $TESTPOOL
|
H A D | cleanup.ksh | 44 log_must $RM -rf $VDIR $VDIR2
|
/titanic_50/usr/src/uts/common/fs/tmpfs/ |
H A D | tmp_dir.c | 197 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_50/usr/src/uts/common/fs/bootfs/ |
H A D | bootfs_construct.c | 34 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()
|
/titanic_50/usr/src/uts/common/fs/udfs/ |
H A D | udf_dir.c | 145 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_50/usr/src/uts/common/fs/dev/ |
H A D | sdev_zvolops.c | 297 (SDEVTOV(dv)->v_type == VDIR && do_type == DMU_OST_ZVOL)) { in devzvol_validate() 460 *vap = *sdev_getdefault_attr(VDIR); in devzvol_create_dir() 536 if ((SDEVTOV(dv)->v_type == VDIR) && in devzvol_prunedir() 563 enum vtype expected_type = VDIR; in devzvol_mk_ngz_node() 589 if (expected_type == VDIR) { in devzvol_mk_ngz_node() 590 vattr.va_type = VDIR; in devzvol_mk_ngz_node() 633 enum vtype expected_type = VDIR; in devzvol_lookup() 716 if (expected_type == VDIR) { in devzvol_lookup() 754 else if (vp->v_type == VDIR && (mode & VWRITE)) in devzvol_create()
|
H A D | sdev_vnops.c | 325 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 D | sdev_subr.c | 76 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 D | sdev_ptsops.c | 309 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 D | sdev_profile.c | 78 } 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_50/usr/src/uts/common/fs/pcfs/ |
H A D | pc_alloc.c | 115 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 D | pc_node.c | 153 vp->v_type = VDIR; in pc_getnode() 230 if (vp->v_type != VDIR && (pcp->pc_flags & PC_INVAL) == 0) { in pc_rele() 307 if (PCTOV(pcp)->v_type == VDIR) in pc_mark_mod() 330 if (fsp->pcfs_flags & PCFS_NOATIME || PCTOV(pcp)->v_type == VDIR) in pc_mark_acc() 373 if (vp->v_type == VDIR) { in pc_truncate()
|
/titanic_50/usr/src/uts/common/fs/fd/ |
H A D | fdops.c | 84 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_50/usr/src/uts/common/fs/smbclnt/smbfs/ |
H A D | smbfs_vnops.c | 266 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_50/usr/src/uts/common/syscall/ |
H A D | getdents.c | 92 if (vp->v_type != VDIR) { in getdents32() 210 if (vp->v_type != VDIR) { in getdents64()
|
H A D | mkdir.c | 59 vattr.va_type = VDIR; in mkdirat()
|
/titanic_50/usr/src/uts/common/fs/ |
H A D | lookup.c | 267 if (vp->v_type != VDIR) { in lookuppnvp() 563 if (must_be_directory && cvp->v_type != VDIR) { in lookuppnvp() 833 ASSERT(dvp->v_type == VDIR); in dirfindvp() 1011 ASSERT(vp->v_type == VDIR); in dirtopath() 1155 if (pvp->v_type != VDIR) { in dirtopath() 1278 if (vp->v_type == VDIR && VOP_REALVP(vp, &realvp, NULL) == 0 && in vnodetopath_common() 1389 if (vp->v_type != VDIR) { in vnodetopath_common()
|