/illumos-gate/usr/src/uts/common/syscall/ |
H A D | symlink.c | 59 vnode_t *dvp; local 78 if (error = lookuppnat(&lpn, NULL, NO_FOLLOW, &dvp, NULLVPP, startvp)) { 84 if (vn_is_readonly(dvp)) 94 error = VOP_SYMLINK(dvp, lpn.pn_path, &vattr, 97 audit_symlink_create(dvp, lpn.pn_path, 103 VN_RELE(dvp);
|
/illumos-gate/usr/src/uts/common/fs/devfs/ |
H A D | devfs_vfsops.c | 354 struct dv_node *dvp; local 358 dvp = devfs_dip_to_dvnode(dip); 359 if (dvp) { 360 (void) dv_cleandir(dvp, NULL, flags); 361 VN_RELE(DVTOV(dvp)); 402 struct dv_node *dvp; local 409 dvp = devfs_dip_to_dvnode(dip); 410 if (dvp == NULL) { 415 (void) dv_cleandir(dvp, devnm, flags); 417 VN_RELE(DVTOV(dvp)); 550 struct dv_node *dvp; local [all...] |
/illumos-gate/usr/src/uts/common/fs/lofs/ |
H A D | lofs_vnops.c | 292 vnode_t *dvp, 305 vnode_t *realdvp = realvp(dvp); 306 struct loinfo *li = vtoli(dvp->v_vfsp); 315 * dvp (empty name == lookup "."). If an XATTR flag is set 319 VN_HOLD(dvp); 320 *vpp = dvp; 352 VN_HOLD(dvp); 354 *vpp = dvp; 359 if ((vtol(dvp))->lo_looping & LO_LOOPING) { 435 if ((vtol(dvp)) 291 lo_lookup( vnode_t *dvp, char *nm, vnode_t **vpp, struct pathname *pnp, int flags, vnode_t *rdir, struct cred *cr, caller_context_t *ct, int *direntflags, pathname_t *realpnp) argument 663 lo_create( vnode_t *dvp, char *nm, struct vattr *va, enum vcexcl exclusive, int mode, vnode_t **vpp, struct cred *cr, int flag, caller_context_t *ct, vsecattr_t *vsecp) argument 745 lo_remove( vnode_t *dvp, char *nm, struct cred *cr, caller_context_t *ct, int flags) argument 902 lo_mkdir( vnode_t *dvp, char *nm, struct vattr *va, vnode_t **vpp, struct cred *cr, caller_context_t *ct, int flags, vsecattr_t *vsecp) argument 938 lo_rmdir( vnode_t *dvp, char *nm, vnode_t *cdir, struct cred *cr, caller_context_t *ct, int flags) argument 959 lo_symlink( vnode_t *dvp, char *lnm, struct vattr *tva, char *tnm, struct cred *cr, caller_context_t *ct, int flags) argument [all...] |
/illumos-gate/usr/src/uts/common/fs/dev/ |
H A D | sdev_netops.c | 112 devnet_lookup(struct vnode *dvp, char *nm, struct vnode **vpp, argument 116 struct sdev_node *ddv = VTOSDEV(dvp); 315 devnet_readdir(struct vnode *dvp, struct uio *uiop, struct cred *cred, argument 318 struct sdev_node *sdvp = VTOSDEV(dvp); 325 return (devname_readdir_func(dvp, uiop, cred, eofp, 0)); 333 devnet_inactive_callback(struct vnode *dvp) argument 335 struct sdev_node *sdvp = VTOSDEV(dvp); 338 if (dvp->v_type == VDIR) 341 ASSERT(dvp->v_type == VCHR); 357 devnet_inactive(struct vnode *dvp, struc argument [all...] |
H A D | sdev_vnops.c | 616 sdev_lookup(struct vnode *dvp, char *nm, struct vnode **vpp, argument 623 parent = VTOSDEV(dvp); 627 if ((error = VOP_ACCESS(dvp, VEXEC, 0, cred, ct)) != 0) 631 return (prof_lookup(dvp, nm, vpp, cred)); 637 sdev_create(struct vnode *dvp, char *nm, struct vattr *vap, vcexcl_t excl, argument 654 parent = VTOSDEV(dvp); 666 return (prof_lookup(dvp, nm, vpp, cred)); 671 if ((error = VOP_ACCESS(dvp, VEXEC, 0, cred, ct)) != 0) 676 error = VOP_LOOKUP(dvp, nm, &vp, NULL, 0, NULL, cred, ct, NULL, NULL); 719 if ((error = VOP_ACCESS(dvp, VEXE 763 sdev_remove(struct vnode *dvp, char *nm, struct cred *cred, caller_context_t *ct, int flags) argument 1127 sdev_symlink(struct vnode *dvp, char *lnm, struct vattr *tva, char *tnm, struct cred *cred, caller_context_t *ct, int flags) argument 1202 sdev_mkdir(struct vnode *dvp, char *nm, struct vattr *va, struct vnode **vpp, struct cred *cred, caller_context_t *ct, int flags, vsecattr_t *vsecp) argument 1277 sdev_rmdir(struct vnode *dvp, char *nm, struct vnode *cdir, struct cred *cred, caller_context_t *ct, int flags) argument 1413 sdev_readdir(struct vnode *dvp, struct uio *uiop, struct cred *cred, int *eofp, caller_context_t *ct, int flags) argument [all...] |
H A D | sdev_zvolops.c | 445 devzvol_create_pool_dirs(struct vnode *dvp) argument 472 ASSERT(dvp->v_count > 0); 473 rc = VOP_LOOKUP(dvp, nvpair_name(elem), &vp, NULL, 0, 693 devzvol_lookup(struct vnode *dvp, char *nm, struct vnode **vpp, argument 698 struct sdev_node *parent = VTOSDEV(dvp); 706 if ((error = VOP_ACCESS(dvp, VEXEC, 0, cred, ct)) != 0) 727 res = prof_lookup(dvp, nm, vpp, cred); 741 res = prof_lookup(dvp, nm, vpp, cred); 815 devzvol_create(struct vnode *dvp, char *nm, struct vattr *vap, vcexcl_t excl, argument 824 error = devzvol_lookup(dvp, n 848 sdev_iter_datasets(struct vnode *dvp, int arg, char *name) argument 889 sdev_iter_snapshots(struct vnode *dvp, char *name) argument 896 devzvol_readdir(struct vnode *dvp, struct uio *uiop, struct cred *cred, int *eofp, caller_context_t *ct_unused, int flags_unused) argument [all...] |
H A D | sdev_ptsops.c | 291 devpts_lookup(struct vnode *dvp, char *nm, struct vnode **vpp, argument 295 struct sdev_node *sdvp = VTOSDEV(dvp); 331 devpts_create(struct vnode *dvp, char *nm, struct vattr *vap, vcexcl_t excl, argument 340 error = devpts_lookup(dvp, nm, &vp, NULL, 0, NULL, cred, ct, NULL, 368 devpts_readdir(struct vnode *dvp, struct uio *uiop, struct cred *cred, argument 371 struct sdev_node *sdvp = VTOSDEV(dvp); 376 return (devname_readdir_func(dvp, uiop, cred, eofp, 0));
|
H A D | sdev_vtops.c | 184 devvt_lookup(struct vnode *dvp, char *nm, struct vnode **vpp, argument 188 struct sdev_node *sdvp = VTOSDEV(dvp); 354 devvt_cleandir(struct vnode *dvp, struct cred *cred) argument 356 struct sdev_node *sdvp = VTOSDEV(dvp); 433 devvt_readdir(struct vnode *dvp, struct uio *uiop, struct cred *cred, argument 437 devvt_cleandir(dvp, cred); 440 return (devname_readdir_func(dvp, uiop, cred, eofp, 0)); 451 devvt_create(struct vnode *dvp, char *nm, struct vattr *vap, vcexcl_t excl, argument 460 if ((error = devvt_lookup(dvp, nm, &vp, NULL, 0, NULL, cred, ct, NULL,
|
/illumos-gate/usr/src/uts/i86pc/io/apix/ |
H A D | apix_utils.c | 1129 apix_dev_vector_t *dvp, *prev = NULL; local 1137 for (dvp = apix_dev_vector[major]; dvp != NULL; 1138 prev = dvp, dvp = dvp->dv_next) { 1139 if (dvp->dv_dip == dip && dvp->dv_inum == inum && 1140 dvp->dv_type == type) { 1152 prev->dv_next = dvp 1167 apix_dev_vector_t *dvp; local 1211 apix_dev_vector_t *dvp; local 1241 apix_dev_vector_t *dvp; local 1268 apix_dev_vector_t *dvp; local [all...] |
/illumos-gate/usr/src/uts/common/fs/nfs/ |
H A D | nfs4_shadow.c | 89 sv_activate(vnode_t **vpp, vnode_t *dvp, nfs4_fname_t **namepp, int newnode) argument 99 ASSERT(dvp != NULL); 119 svp->sv_dfh = VTOR4(dvp)->r_fh; 124 resvp = sv_find(*vpp, dvp, namepp); 171 sv_find(vnode_t *mvp, vnode_t *dvp, nfs4_fname_t **namepp) argument 177 rnode4_t *drp = VTOR4(dvp); 180 ASSERT(dvp != NULL); 247 svp->sv_dfh = VTOR4(dvp)->r_fh;
|
H A D | nfs_vnops.c | 1692 nfs_lookup(vnode_t *dvp, char *nm, vnode_t **vpp, struct pathname *pnp, argument 1701 if (nfs_zone() != VTOMI(dvp)->mi_zone) 1704 drp = VTOR(dvp); 1707 * Are we looking up extended attributes? If so, "dvp" is 1716 mi = VTOMI(dvp); 1720 if (nfs_rw_enter_sig(&drp->r_rwlock, RW_READER, INTR(dvp))) 1723 (void) nfslookup_dnlc(dvp, XATTR_DIR_NAME, &avp, cr); 1725 error = acl_getxattrdir2(dvp, &avp, cflag, cr, 0); 1736 dvp = avp; 1737 drp = VTOR(dvp); 1777 nfslookup(vnode_t *dvp, char *nm, vnode_t **vpp, struct pathname *pnp, int flags, vnode_t *rdir, cred_t *cr, int rfscall_flags) argument 1840 nfslookup_dnlc(vnode_t *dvp, char *nm, vnode_t **vpp, cred_t *cr) argument 1905 nfslookup_otw(vnode_t *dvp, char *nm, vnode_t **vpp, cred_t *cr, int rfscall_flags) argument 1966 nfs_create(vnode_t *dvp, char *nm, struct vattr *va, enum vcexcl exclusive, int mode, vnode_t **vpp, cred_t *cr, int lfaware, caller_context_t *ct, vsecattr_t *vsecp) argument 2220 nfs_remove(vnode_t *dvp, char *nm, cred_t *cr, caller_context_t *ct, int flags) argument 2711 nfs_mkdir(vnode_t *dvp, char *nm, struct vattr *va, vnode_t **vpp, cred_t *cr, caller_context_t *ct, int flags, vsecattr_t *vsecp) argument 2799 nfs_rmdir(vnode_t *dvp, char *nm, vnode_t *cdir, cred_t *cr, caller_context_t *ct, int flags) argument 2898 nfs_symlink(vnode_t *dvp, char *lnm, struct vattr *tva, char *tnm, cred_t *cr, caller_context_t *ct, int flags) argument [all...] |
H A D | nfs3_srv.c | 372 vnode_t *dvp; local 390 dvp = rootdir; 391 VN_HOLD(dvp); 394 cred_t *, cr, vnode_t *, dvp, LOOKUP3args *, args); 396 dvp = nfs3_fhtovp(&args->what.dir, exi); 399 cred_t *, cr, vnode_t *, dvp, LOOKUP3args *, args); 401 if (dvp == NULL) { 408 dvap = VOP_GETATTR(dvp, &dva, 0, cr, NULL) ? NULL : &dva; 442 error = rfs_publicfh_mclookup(name, dvp, cr, &vp, 476 error = VOP_LOOKUP(dvp, nam 1514 vnode_t *dvp; local 1875 vnode_t *dvp; local 2023 vnode_t *dvp; local 2198 vnode_t *dvp; local 2898 vnode_t *dvp; local [all...] |
H A D | nfs3_vnops.c | 1923 nfs3_lookup(vnode_t *dvp, char *nm, vnode_t **vpp, struct pathname *pnp, argument 1932 if (nfs_zone() != VTOMI(dvp)->mi_zone) 1935 drp = VTOR(dvp); 1938 * Are we looking up extended attributes? If so, "dvp" is 1947 mi = VTOMI(dvp); 1951 if (nfs_rw_enter_sig(&drp->r_rwlock, RW_READER, INTR(dvp))) 1954 (void) nfs3lookup_dnlc(dvp, XATTR_DIR_NAME, &avp, cr); 1956 error = acl_getxattrdir3(dvp, &avp, cflag, cr, 0); 1967 dvp = avp; 1968 drp = VTOR(dvp); 2008 nfs3lookup(vnode_t *dvp, char *nm, vnode_t **vpp, struct pathname *pnp, int flags, vnode_t *rdir, cred_t *cr, int rfscall_flags) argument 2078 nfs3lookup_dnlc(vnode_t *dvp, char *nm, vnode_t **vpp, cred_t *cr) argument 2142 nfs3lookup_otw(vnode_t *dvp, char *nm, vnode_t **vpp, cred_t *cr, int rfscall_flags) argument 2224 nfs3_create(vnode_t *dvp, char *nm, struct vattr *va, enum vcexcl exclusive, int mode, vnode_t **vpp, cred_t *cr, int lfaware, caller_context_t *ct, vsecattr_t *vsecp) argument 2398 nfs3create(vnode_t *dvp, char *nm, struct vattr *va, enum vcexcl exclusive, int mode, vnode_t **vpp, cred_t *cr, int lfaware) argument 2716 nfs3mknod(vnode_t *dvp, char *nm, struct vattr *va, enum vcexcl exclusive, int mode, vnode_t **vpp, cred_t *cr) argument 2834 nfs3_remove(vnode_t *dvp, char *nm, cred_t *cr, caller_context_t *ct, int flags) argument 3375 nfs3_mkdir(vnode_t *dvp, char *nm, struct vattr *va, vnode_t **vpp, cred_t *cr, caller_context_t *ct, int flags, vsecattr_t *vsecp) argument 3480 nfs3_rmdir(vnode_t *dvp, char *nm, vnode_t *cdir, cred_t *cr, caller_context_t *ct, int flags) argument 3585 nfs3_symlink(vnode_t *dvp, char *lnm, struct vattr *tva, char *tnm, cred_t *cr, caller_context_t *ct, int flags) argument [all...] |
H A D | nfs4_vnops.c | 620 vnode_t *dvp = NULL; local 645 if ((error = vtodv(*vpp, &dvp, cr, TRUE)) != 0) 648 drp = VTOR4(dvp); 649 if (nfs_rw_enter_sig(&drp->r_rwlock, RW_READER, INTR4(dvp))) 670 dnlc_update(dvp, fn, *vpp); 685 error = nfs4open_otw(dvp, fn, NULL, vpp, cr, 0, flag, 0, 689 dnlc_update(dvp, fn, *vpp); 694 VN_RELE(dvp); 710 vnode_t *dvp, OPEN4cargs *open_args) 715 vfsp = (dvp 708 nfs4open_save_lost_rqst(int error, nfs4_lost_rqst_t *lost_rqstp, nfs4_open_owner_t *oop, cred_t *cr, vnode_t *vp, vnode_t *dvp, OPEN4cargs *open_args) argument 766 nfs4open_otw(vnode_t *dvp, char *file_name, struct vattr *in_va, vnode_t **vpp, cred_t *cr, int create_flag, int open_flag, enum createmode4 createmode, int file_just_been_created) argument 989 nfs4_end_op(VTOMI4(dvp), dvp, vpi, local 1039 nfs4_end_op(VTOMI4(dvp), dvp, vpi, &recov_state, TRUE); local 1064 nfs4_end_op(VTOMI4(dvp), dvp, vpi, &recov_state, FALSE); local 1152 nfs4_end_op(VTOMI4(dvp), dvp, vpi, &recov_state, TRUE); local 1211 nfs4_end_op(VTOMI4(dvp), dvp, vpi, &recov_state, needrecov); local 1261 nfs4_end_op(VTOMI4(dvp), dvp, vpi, &recov_state, needrecov); local 1364 nfs4_end_op(VTOMI4(dvp), dvp, vpi, &recov_state, local 1404 nfs4_end_op(VTOMI4(dvp), dvp, vpi, &recov_state, local 1473 nfs4_end_op(VTOMI4(dvp), dvp, vpi, &recov_state, needrecov); local 1526 nfs4_end_op(VTOMI4(dvp), dvp, vpi, &recov_state, needrecov); local 4957 nfs4_lookup(vnode_t *dvp, char *nm, vnode_t **vpp, struct pathname *pnp, int flags, vnode_t *rdir, cred_t *cr, caller_context_t *ct, int *direntflags, pathname_t *realpnp) argument 5027 nfs4lookup_xattr(vnode_t *dvp, char *nm, vnode_t **vpp, int flags, cred_t *cr) argument 5086 nfs4lookup(vnode_t *dvp, char *nm, vnode_t **vpp, cred_t *cr, int skipdnlc) argument 5235 nfs4lookupvalidate_otw(vnode_t *dvp, char *nm, vnode_t **vpp, cred_t *cr) argument 5669 nfs4lookupnew_otw(vnode_t *dvp, char *nm, vnode_t **vpp, cred_t *cr) argument 6360 nfs4openattr(vnode_t *dvp, vnode_t **avp, int cflag, cred_t *cr) argument 6429 nfs4_end_op(VTOMI4(dvp), dvp, NULL, &recov_state, needrecov); local 6440 nfs4_end_op(VTOMI4(dvp), dvp, NULL, &recov_state, needrecov); local 6467 nfs4_end_op(VTOMI4(dvp), dvp, NULL, &recov_state, local 6484 nfs4_end_op(VTOMI4(dvp), dvp, NULL, &recov_state, needrecov); local 6519 nfs4_end_op(VTOMI4(dvp), dvp, NULL, &recov_state, needrecov); local 6528 nfs4_create(vnode_t *dvp, char *nm, struct vattr *va, enum vcexcl exclusive, int mode, vnode_t **vpp, cred_t *cr, int flags, caller_context_t *ct, vsecattr_t *vsecp) argument 6813 call_nfs4_create_req(vnode_t *dvp, char *nm, void *data, struct vattr *va, vnode_t **vpp, cred_t *cr, nfs_ftype4 type) argument 7165 nfs4mknod(vnode_t *dvp, char *nm, struct vattr *va, enum vcexcl exclusive, int mode, vnode_t **vpp, cred_t *cr) argument 7234 nfs4_remove(vnode_t *dvp, char *nm, cred_t *cr, caller_context_t *ct, int flags) argument 7407 nfs4_end_op(VTOMI4(dvp), dvp, NULL, &recov_state, local 7420 nfs4_end_op(VTOMI4(dvp), dvp, NULL, &recov_state, needrecov); local 8618 nfs4_mkdir(vnode_t *dvp, char *nm, struct vattr *va, vnode_t **vpp, cred_t *cr, caller_context_t *ct, int flags, vsecattr_t *vsecp) argument 8657 nfs4_rmdir(vnode_t *dvp, char *nm, vnode_t *cdir, cred_t *cr, caller_context_t *ct, int flags) argument 8785 nfs4_end_op(VTOMI4(dvp), dvp, NULL, &recov_state, local 8802 nfs4_end_op(VTOMI4(dvp), dvp, NULL, local 8838 nfs4_end_op(VTOMI4(dvp), dvp, NULL, &recov_state, needrecov); local 8862 nfs4_symlink(vnode_t *dvp, char *lnm, struct vattr *tva, char *tnm, cred_t *cr, caller_context_t *ct, int flags) argument 9174 vnode_t *dvp; local 10637 vnode_t *dvp, *open_vp; local 12623 nfs4_update_dircaches(change_info4 *cinfo, vnode_t *dvp, vnode_t *vp, char *nm, dirattr_info_t *dinfo) argument 14813 vnode_t *dvp = NULL; local [all...] |
/illumos-gate/usr/src/uts/common/fs/autofs/ |
H A D | auto_vnops.c | 354 vnode_t *dvp, 374 dfnip = vfstofni(dvp->v_vfsp); 375 AUTOFS_DPRINT((3, "auto_lookup: dvp=%p (%s) name=%s\n", 376 (void *)dvp, dfnip->fi_map, nm)); 379 VN_HOLD(dvp); 380 *vpp = dvp; 384 if (error = VOP_ACCESS(dvp, VEXEC, 0, cred, ct)) 388 VN_HOLD(dvp); 389 *vpp = dvp; 396 pdfnp = (vntofn(dvp)) 353 auto_lookup( vnode_t *dvp, char *nm, vnode_t **vpp, pathname_t *pnp, int flags, vnode_t *rdir, cred_t *cred, caller_context_t *ct, int *direntflags, pathname_t *realpnp) argument 663 auto_create( vnode_t *dvp, char *nm, vattr_t *va, vcexcl_t excl, int mode, vnode_t **vpp, cred_t *cred, int flag, caller_context_t *ct, vsecattr_t *vsecp) argument 702 auto_remove( vnode_t *dvp, char *nm, cred_t *cred, caller_context_t *ct, int flags) argument 863 auto_mkdir( vnode_t *dvp, char *nm, vattr_t *va, vnode_t **vpp, cred_t *cred, caller_context_t *ct, int flags, vsecattr_t *vsecp) argument 900 auto_rmdir( vnode_t *dvp, char *nm, vnode_t *cdir, cred_t *cred, caller_context_t *ct, int flags) argument 1229 auto_symlink( vnode_t *dvp, char *lnknm, vattr_t *tva, char *tnm, cred_t *cred, caller_context_t *ct, int flags) argument 1391 vnode_t *dvp; local [all...] |
/illumos-gate/usr/src/uts/common/fs/ |
H A D | gfs.c | 160 gfs_get_parent_ino(vnode_t *dvp, cred_t *cr, caller_context_t *ct, argument 164 gfs_dir_t *dp = dvp->v_data; 172 } else if (dvp->v_flag & V_XATTRDIR) { 418 gfs_lookup_dot(vnode_t **vpp, vnode_t *dvp, vnode_t *pvp, const char *nm) argument 421 VN_HOLD(dvp); 422 *vpp = dvp; 426 ASSERT(dvp->v_flag & VROOT); 427 VN_HOLD(dvp); 428 *vpp = dvp; 745 const char *nm, vnode_t *dvp, vnode_ 744 gfs_dir_lookup_dynamic(gfs_lookup_cb callback, gfs_dir_t *dp, const char *nm, vnode_t *dvp, vnode_t **vpp, cred_t *cr, int flags, int *direntflags, pathname_t *realpnp) argument 797 gfs_dir_lookup_static(int (*compare)(const char *, const char *), gfs_dir_t *dp, const char *nm, vnode_t *dvp, int *idx, vnode_t **vpp, pathname_t *rpnp) argument 889 gfs_dir_lookup(vnode_t *dvp, const char *nm, vnode_t **vpp, cred_t *cr, int flags, int *direntflags, pathname_t *realpnp) argument 1001 gfs_dir_readdir(vnode_t *dvp, uio_t *uiop, int *eofp, void *data, cred_t *cr, caller_context_t *ct, int flags) argument 1064 gfs_vop_lookup(vnode_t *dvp, char *nm, vnode_t **vpp, pathname_t *pnp, int flags, vnode_t *rdir, cred_t *cr, caller_context_t *ct, int *direntflags, pathname_t *realpnp) argument [all...] |
H A D | xattr.c | 1192 xattr_dir_create(vnode_t *dvp, char *name, vattr_t *vap, vcexcl_t excl, argument 1205 return (gfs_dir_lookup(dvp, name, vpp, cr, 0, NULL, NULL)); 1208 error = xattr_dir_realdir(dvp, &pvp, LOOKUP_XATTR|CREATE_XATTR_DIR, 1218 xattr_dir_remove(vnode_t *dvp, char *name, cred_t *cr, caller_context_t *ct, argument 1228 error = xattr_dir_realdir(dvp, &pvp, LOOKUP_XATTR, cr, ct); 1303 readdir_xattr_casecmp(vnode_t *dvp, char *nm, cred_t *cr, caller_context_t *ct, argument 1314 error = VOP_LOOKUP(dvp, nm, &vp, &pn, 1329 xattr_dir_readdir(vnode_t *dvp, uio_t *uiop, cred_t *cr, int *eofp, argument 1346 error = xattr_dir_realdir(dvp, &pvp, LOOKUP_XATTR, cr, ct); 1357 gfs_dir_t *dp = dvp 1585 xattr_dir_lookup(vnode_t *dvp, vnode_t **vpp, int flags, cred_t *cr) argument 1694 vnode_t *pvp, *dvp; local [all...] |
H A D | fs_subr.h | 91 extern int fs_vnevent_nosupport(vnode_t *, vnevent_t, vnode_t *dvp, 93 extern int fs_vnevent_support(vnode_t *, vnevent_t, vnode_t *dvp,
|
/illumos-gate/usr/src/uts/common/fs/zfs/ |
H A D | zfs_ctldir.c | 451 zfsctl_root_lookup(vnode_t *dvp, char *nm, vnode_t **vpp, pathname_t *pnp, argument 455 zfsvfs_t *zfsvfs = dvp->v_vfsp->vfs_data; 467 err = VFS_ROOT(dvp->v_vfsp, vpp); 469 err = gfs_vop_lookup(dvp, nm, vpp, pnp, flags, rdir, 682 zfsctl_snapdir_remove(vnode_t *dvp, char *name, vnode_t *cwd, cred_t *cr, argument 685 zfsctl_snapdir_t *sdp = dvp->v_data; 693 zfsvfs = dvp->v_vfsp->vfs_data; 710 err = zfsctl_snapshot_zname(dvp, name, sizeof (snapname), snapname); 741 zfsctl_snapdir_mkdir(vnode_t *dvp, char *dirname, vattr_t *vap, vnode_t **vpp, argument 744 zfsvfs_t *zfsvfs = dvp 778 zfsctl_snapdir_lookup(vnode_t *dvp, char *nm, vnode_t **vpp, pathname_t *pnp, int flags, vnode_t *rdir, cred_t *cr, caller_context_t *ct, int *direntflags, pathname_t *realpnp) argument 951 zfsctl_shares_lookup(vnode_t *dvp, char *nm, vnode_t **vpp, pathname_t *pnp, int flags, vnode_t *rdir, cred_t *cr, caller_context_t *ct, int *direntflags, pathname_t *realpnp) argument 1210 vnode_t *dvp; local 1269 vnode_t *dvp, *vp; local 1329 vnode_t *dvp; local [all...] |
/illumos-gate/usr/src/lib/libdtrace/common/ |
H A D | dt_as.c | 95 dtrace_difv_t *dvp; local 102 dvp = &pcb->pcb_difo->dtdo_vartab[pcb->pcb_asvidx++]; 110 dvp->dtdv_name = (uint_t)stroff; 111 dvp->dtdv_id = idp->di_id; 112 dvp->dtdv_flags = 0; 114 dvp->dtdv_kind = (idp->di_kind == DT_IDENT_ARRAY) ? 118 dvp->dtdv_scope = DIFV_SCOPE_LOCAL; 120 dvp->dtdv_scope = DIFV_SCOPE_THREAD; 122 dvp->dtdv_scope = DIFV_SCOPE_GLOBAL; 125 dvp [all...] |
/illumos-gate/usr/src/lib/fm/topo/modules/sun4v/sun4vpi/ |
H A D | pi_defer.c | 119 void *dvp; local 136 while ((dvp = uu_list_first(defer_list)) != NULL) { 138 dp = (pi_defernode_t *)dvp; 149 uu_list_remove(defer_list, dvp);
|
/illumos-gate/usr/src/uts/common/fs/smbclnt/smbfs/ |
H A D | smbfs_vnops.c | 108 static int smbfslookup(vnode_t *dvp, char *nm, vnode_t **vpp, cred_t *cr, 1448 smbfs_lookup(vnode_t *dvp, char *nm, vnode_t **vpp, struct pathname *pnp, argument 1457 vfs = dvp->v_vfsp; 1466 dnp = VTOSMB(dvp); 1469 * Are we looking up extended attributes? If so, "dvp" is 1481 error = smbfs_get_xattrdir(dvp, vpp, cr, flags); 1485 if (smbfs_rw_enter_sig(&dnp->r_rwlock, RW_READER, SMBINTR(dvp))) 1488 error = smbfslookup(dvp, nm, vpp, cr, 1, ct); 1497 smbfslookup(vnode_t *dvp, char *nm, vnode_t **vpp, cred_t *cr, argument 1514 smi = VTOSMI(dvp); 1726 smbfslookup_cache(vnode_t *dvp, char *nm, int nmlen, vnode_t **vpp, cred_t *cr) argument 1809 smbfs_create(vnode_t *dvp, char *nm, struct vattr *va, enum vcexcl exclusive, int mode, vnode_t **vpp, cred_t *cr, int lfaware, caller_context_t *ct, vsecattr_t *vsecp) argument 2055 smbfs_remove(vnode_t *dvp, char *nm, cred_t *cr, caller_context_t *ct, int flags) argument 2410 smbfs_mkdir(vnode_t *dvp, char *nm, struct vattr *va, vnode_t **vpp, cred_t *cr, caller_context_t *ct, int flags, vsecattr_t *vsecp) argument 2490 smbfs_rmdir(vnode_t *dvp, char *nm, vnode_t *cdir, cred_t *cr, caller_context_t *ct, int flags) argument [all...] |
/illumos-gate/usr/src/lib/smbsrv/libfksmbsrv/common/ |
H A D | fake_vop.c | 311 vnode_t *dvp, 331 * If lookup is for "", just return dvp. 334 vn_hold(dvp); 335 *vpp = dvp; 339 if (fstatat(dvp->v_fd, name, &st, AT_SYMLINK_NOFOLLOW) == -1) 353 fd = openat(dvp->v_fd, name, omode, 0); 368 vp = vncache_enter(&st, dvp, name, fd); 377 vnode_t *dvp, 393 * If creating "", just return dvp. 396 vn_hold(dvp); 310 fop_lookup( vnode_t *dvp, char *name, vnode_t **vpp, pathname_t *pnp, int flags, vnode_t *rdir, cred_t *cr, caller_context_t *ct, int *deflags, pathname_t *ppnp) argument 376 fop_create( vnode_t *dvp, char *name, vattr_t *vap, vcexcl_t excl, int mode, vnode_t **vpp, cred_t *cr, int flags, caller_context_t *ct, vsecattr_t *vsecp) argument 462 fop_remove( vnode_t *dvp, char *name, cred_t *cr, caller_context_t *ct, int flags) argument 536 fop_mkdir( vnode_t *dvp, char *name, vattr_t *vap, vnode_t **vpp, cred_t *cr, caller_context_t *ct, int flags, vsecattr_t *vsecp) argument 574 fop_rmdir( vnode_t *dvp, char *name, vnode_t *cdir, cred_t *cr, caller_context_t *ct, int flags) argument 639 fop_symlink( vnode_t *dvp, char *linkname, vattr_t *vap, char *target, cred_t *cr, caller_context_t *ct, int flags) argument 1141 fop_vnevent(vnode_t *vp, vnevent_t vnevent, vnode_t *dvp, char *fnm, caller_context_t *ct) argument [all...] |
/illumos-gate/usr/src/uts/common/fs/portfs/ |
H A D | port_fop.c | 246 static int port_fop_vnevent(femarg_t *vf, vnevent_t vnevent, vnode_t *dvp, 733 port_fop_getdvp(void *objptr, vnode_t **vp, vnode_t **dvp, argument 749 * lookuppn may fail with EINVAL, if dvp is non-null(like when 750 * looking for "."). So call again with dvp = NULL. 756 error = lookuppn(&pn, NULL, follow, dvp, vp); 763 if (dvp != NULL) { 764 *dvp = NULL; 817 port_check_timestamp(portfop_cache_t *pfcp, vnode_t *vp, vnode_t *dvp, argument 874 pfp->pfop_vp != vp || pfp->pfop_dvp != dvp || 1106 vnode_t *dvp) 1104 port_pfp_setup(portfop_t **pfpp, port_t *pp, vnode_t *vp, portfop_cache_t *pfcp, uintptr_t object, int events, void *user, char *cname, int clen, vnode_t *dvp) argument 1260 vnode_t *vp, *dvp, *oldvp = NULL, *olddvp = NULL, *orig; local 1784 port_fop_sendevent(vnode_t *vp, int events, vnode_t *dvp, char *cname) argument 2322 port_fop_vnevent(femarg_t *vf, vnevent_t vnevent, vnode_t *dvp, char *name, caller_context_t *ct) argument [all...] |
/illumos-gate/usr/src/uts/common/fs/sockfs/ |
H A D | nl7clogd.c | 400 vnode_t *dvp; local 433 dvp = NULL; 434 ret = lookupname(symlink_path, UIO_SYSSPACE, NO_FOLLOW, &dvp, &svp); 435 if (ret || dvp == NULL || svp == NULL) { 436 if (dvp == NULL) { 442 EXCL, 0, &dvp, CRMKDIR, 0, 0); 450 nca_fio_dvp(&fio) = dvp; 455 nca_fio_dvp(&fio) = dvp; 474 (void) VOP_REMOVE(dvp, symlink, kcred, NULL, 0); 523 (void) VOP_REMOVE(dvp, symlin [all...] |