Searched defs:dvp (Results 1 - 25 of 82) sorted by relevance

1234

/illumos-gate/usr/src/uts/common/fs/ufs/
H A Dufs_xattr.c61 vnode_t *dvp,
70 ip = VTOI(dvp);
73 vfsp = dvp->v_vfsp;
60 ufs_xattr_getattrdir( vnode_t *dvp, struct inode **sip, int flags, struct cred *cr) argument
/illumos-gate/usr/src/uts/common/syscall/
H A Dsymlink.c59 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/lib/fm/topo/modules/sun4v/sun4vpi/
H A Dpi_defer.c119 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/nfs/
H A Dnfs4_shadow.c89 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 Dnfs4_deleg_ops.c361 deleg_rd_vnevent(femarg_t *arg, vnevent_t vnevent, vnode_t *dvp, char *name, argument
397 return (vnext_vnevent(arg, vnevent, dvp, name, ct));
401 deleg_wr_vnevent(femarg_t *arg, vnevent_t vnevent, vnode_t *dvp, char *name, argument
436 return (vnext_vnevent(arg, vnevent, dvp, name, ct));
H A Dnfs4_client_secinfo.c994 nfs4_secinfo_vnode_otw(vnode_t *dvp, char *nm, cred_t *cr) argument
998 return (nfs4_secinfo_fh_otw(VTOMI4(dvp), VTOR4(dvp)->r_fh, nm, cr));
H A Dnfs4_srv_ns.c619 vnode_t *dvp, *vp; local
746 error = VOP_LOOKUP(vp, "..", &dvp, NULL, 0, NULL, CRED(),
750 dvp = exip->exi_dvp;
751 ASSERT(dvp != NULL);
752 VN_HOLD(dvp);
761 vp = dvp;
/illumos-gate/usr/src/uts/common/fs/smbclnt/smbfs/
H A Dsmbfs_node.c158 smbfs_nget(vnode_t *dvp, const char *name, int nmlen, argument
161 struct smbnode *dnp = VTOSMB(dvp);
/illumos-gate/usr/src/uts/common/fs/dev/
H A Dsdev_ipnetops.c105 devipnet_lookup(struct vnode *dvp, char *nm, struct vnode **vpp, argument
109 struct sdev_node *sdvp = VTOSDEV(dvp);
210 devipnet_readdir(struct vnode *dvp, struct uio *uiop, struct cred *cred, argument
213 struct sdev_node *sdvp = VTOSDEV(dvp);
218 return (devname_readdir_func(dvp, uiop, cred, eofp, 0));
H A Dsdev_netops.c112 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 Dsdev_ptsops.c291 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 Dsdev_vtops.c184 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,
H A Dsdev_vnops.c616 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...]
/illumos-gate/usr/src/lib/smbsrv/libfksmbsrv/common/
H A Dvncache.c196 vncache_enter(struct stat *st, vnode_t *dvp, char *name, int fd) argument
207 * Note: fsop_root() calls with dvp=NULL
210 if (dvp == NULL) {
216 len += (strlen(dvp->v_path) + 1);
218 (void) snprintf(vpath, len, "%s/%s", dvp->v_path, name);
219 vfs = dvp->v_vfsp;
/illumos-gate/usr/src/lib/libdtrace/common/
H A Ddt_as.c95 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...]
H A Ddt_dis.c105 const dtrace_difv_t *dvp = dp->dtdo_vartab; local
108 for (i = 0; i < dp->dtdo_varlen; i++, dvp++) {
109 if (dvp->dtdv_id == id && dvp->dtdv_scope == scope) {
110 if (dvp->dtdv_name < dp->dtdo_strlen)
111 return (dp->dtdo_strtab + dvp->dtdv_name);
/illumos-gate/usr/src/uts/common/fs/devfs/
H A Ddevfs_vfsops.c354 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/inet/nca/
H A Dncalogd.h137 vnode_t *dvp; /* vnode of dir where symlink lives */ member in struct:__anon4803
147 #define nca_fio_dvp(fiop) (fiop)->dvp
/illumos-gate/usr/src/uts/common/io/aac/
H A Daac_ioctl.c672 struct aac_container *dvp; local
693 dvp = &softs->containers[qdisk->container_no];
694 qdisk->valid = AAC_DEV_IS_VALID(&dvp->dev);
695 qdisk->locked = dvp->locked;
696 qdisk->deleted = dvp->deleted;
709 struct aac_container *dvp; local
721 dvp = &softs->containers[ddisk->container_no];
727 if (AAC_DEV_IS_VALID(&dvp->dev)) {
728 if (dvp->locked)
/illumos-gate/usr/src/uts/common/fs/smbsrv/
H A Dsmb_fem.c566 vnode_t *dvp,
594 rc = vnext_vnevent(arg, vnevent, dvp, name, ct);
563 smb_fem_oplock_vnevent( femarg_t *arg, vnevent_t vnevent, vnode_t *dvp, char *name, caller_context_t *ct) argument
/illumos-gate/usr/src/uts/common/fs/namefs/
H A Dnamevno.c358 nm_create(vnode_t *dvp, char *name, vattr_t *vap, enum vcexcl excl, argument
364 ASSERT(dvp && *name == '\0');
366 if (mode && (error = nm_access(dvp, mode, 0, cr, ct)) != 0)
368 VN_HOLD(dvp);
/illumos-gate/usr/src/uts/common/fs/sockfs/
H A Dnl7clogd.c400 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...]
/illumos-gate/usr/src/uts/common/os/
H A Dcore.c115 vnode_t *dvp; /* ptr to parent dir vnode */ local
142 if ((error = lookuppnvp(&pn, NULL, NO_FOLLOW, &dvp, &vp, rootvp,
158 else if ((dvfsp = dvp->v_vfsp) != NULL &&
170 error = VOP_REMOVE(dvp, pn.pn_path, CRED(), NULL, 0);
180 VN_RELE(dvp);
196 vnode_t *dvp; local
202 dvp = NULL; /* regular lookup */
239 error = lookuppnvp(&pn, NULL, FOLLOW, &dvp, NULLVPP,
244 ASSERT(dvp != NULL);
250 VN_RELE(dvp);
[all...]
/illumos-gate/usr/src/cmd/mdb/common/modules/dtrace/
H A Ddof.c102 dtrace_difv_t *dvp; local
111 dvp = mdb_alloc(varsize, UM_SLEEP);
113 if (mdb_vread(dvp, varsize, (uintptr_t)dp->dtdo_vartab) == -1) {
114 mdb_free(dvp, varsize);
119 if (dvp[i].dtdv_id == id && dvp[i].dtdv_scope == scope) {
120 if (dvp[i].dtdv_name < dp->dtdo_strlen)
121 addr = dp->dtdo_strtab + dvp[i].dtdv_name;
126 mdb_free(dvp, varsize);
413 dtrace_difv_t *dvp; local
[all...]
/illumos-gate/usr/src/uts/common/fs/autofs/
H A Dauto_vnops.c354 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...]

Completed in 95 milliseconds

1234