Home
last modified time | relevance | path

Searched refs:pvp (Results 1 – 25 of 44) sorted by relevance

12

/titanic_50/usr/src/lib/libdtrace/common/
H A Ddt_provider.c49 dt_provider_insert(dtrace_hdl_t *dtp, dt_provider_t *pvp, uint_t h) in dt_provider_insert() argument
51 dt_list_append(&dtp->dt_provlist, pvp); in dt_provider_insert()
53 pvp->pv_next = dtp->dt_provs[h]; in dt_provider_insert()
54 dtp->dt_provs[h] = pvp; in dt_provider_insert()
57 return (pvp); in dt_provider_insert()
65 dt_provider_t *pvp; in dt_provider_lookup() local
67 for (pvp = dtp->dt_provs[h]; pvp != NULL; pvp = pvp->pv_next) { in dt_provider_lookup()
68 if (strcmp(pvp->pv_desc.dtvd_name, name) == 0) in dt_provider_lookup()
69 return (pvp); in dt_provider_lookup()
85 if ((pvp = dt_provider_create(dtp, name)) == NULL) in dt_provider_lookup()
[all …]
H A Ddt_pcb.c128 dt_provider_t *pvp, *nvp; in dt_pcb_pop() local
143 for (pvp = dt_list_next(&dtp->dt_provlist); pvp; pvp = nvp) { in dt_pcb_pop()
144 nvp = dt_list_next(pvp); in dt_pcb_pop()
145 if (pvp->pv_gen == dtp->dt_gen) in dt_pcb_pop()
146 dt_provider_destroy(dtp, pvp); in dt_pcb_pop()
H A Ddt_program.c530 dt_header_provider(dtrace_hdl_t *dtp, dt_provider_t *pvp, FILE *out) in dt_header_provider() argument
536 if (pvp->pv_flags & DT_PROVIDER_IMPL) in dt_header_provider()
543 p = pvp->pv_desc.dtvd_name; in dt_header_provider()
551 info.dthi_pmname = alloca(strlen(pvp->pv_desc.dtvd_name) + 1); in dt_header_provider()
552 dt_header_fmt_macro(info.dthi_pmname, pvp->pv_desc.dtvd_name); in dt_header_provider()
554 info.dthi_pfname = alloca(strlen(pvp->pv_desc.dtvd_name) + 1 + i); in dt_header_provider()
555 dt_header_fmt_func(info.dthi_pfname, pvp->pv_desc.dtvd_name); in dt_header_provider()
560 if (dt_idhash_iter(pvp->pv_probes, dt_header_probe, &info) != 0) in dt_header_provider()
564 if (dt_idhash_iter(pvp->pv_probes, dt_header_decl, &info) != 0) in dt_header_provider()
572 if (dt_idhash_iter(pvp->pv_probes, dt_header_probe, &info) != 0) in dt_header_provider()
[all …]
H A Ddt_dof.c487 dof_add_provider(dt_dof_t *ddo, const dt_provider_t *pvp) in dof_add_provider() argument
497 if (pvp->pv_flags & DT_PROVIDER_IMPL) { in dof_add_provider()
504 nxr = dt_popcb(pvp->pv_xrefs, pvp->pv_xrmax); in dof_add_provider()
512 for (i = 0; i < pvp->pv_xrmax; i++) { in dof_add_provider()
513 if (BT_TEST(pvp->pv_xrefs, i) && in dof_add_provider()
527 (void) dt_idhash_iter(pvp->pv_probes, dof_add_probe, ddo); in dof_add_provider()
559 dofpv.dofpv_name = dof_add_string(ddo, pvp->pv_desc.dtvd_name); in dof_add_provider()
561 dofpv.dofpv_provattr = dof_attr(&pvp->pv_desc.dtvd_attr.dtpa_provider); in dof_add_provider()
562 dofpv.dofpv_modattr = dof_attr(&pvp->pv_desc.dtvd_attr.dtpa_mod); in dof_add_provider()
563 dofpv.dofpv_funcattr = dof_attr(&pvp->pv_desc.dtvd_attr.dtpa_func); in dof_add_provider()
[all …]
H A Ddt_pragma.c81 dt_provider_t *pvp; in dt_pragma_attributes() local
106 if ((pvp = dt_provider_lookup(dtp, name)) != NULL) { in dt_pragma_attributes()
108 a = &pvp->pv_desc.dtvd_attr.dtpa_provider; in dt_pragma_attributes()
110 a = &pvp->pv_desc.dtvd_attr.dtpa_mod; in dt_pragma_attributes()
112 a = &pvp->pv_desc.dtvd_attr.dtpa_func; in dt_pragma_attributes()
114 a = &pvp->pv_desc.dtvd_attr.dtpa_name; in dt_pragma_attributes()
116 a = &pvp->pv_desc.dtvd_attr.dtpa_args; in dt_pragma_attributes()
/titanic_50/usr/src/uts/common/fs/portfs/
H A Dport_fop.c408 port_fop_listinsert(portfop_vp_t *pvp, portfop_t *pfp, int where) in port_fop_listinsert() argument
411 list_insert_head(&pvp->pvp_pfoplist, (void *)pfp); in port_fop_listinsert()
413 list_insert_tail(&pvp->pvp_pfoplist, (void *)pfp); in port_fop_listinsert()
415 if (pvp->pvp_lpfop == NULL) { in port_fop_listinsert()
416 pvp->pvp_lpfop = pfp; in port_fop_listinsert()
418 pvp->pvp_cnt++; in port_fop_listinsert()
422 port_fop_listinsert_head(portfop_vp_t *pvp, portfop_t *pfp) in port_fop_listinsert_head() argument
424 port_fop_listinsert(pvp, pfp, 1); in port_fop_listinsert_head()
428 port_fop_listinsert_tail(portfop_vp_t *pvp, portfop_t *pfp) in port_fop_listinsert_tail() argument
435 if (pvp->pvp_lpfop && pvp->pvp_lpfop->pfop_flags & PORT_FOP_ACTIVE) { in port_fop_listinsert_tail()
[all …]
/titanic_50/usr/src/uts/common/fs/
H A Dxattr.c105 vnode_t *pvp, *savevp; in xattr_common_fid() local
114 savevp = pvp = gfs_file_parent(vp); in xattr_common_fid()
116 if (pvp->v_flag & V_XATTRDIR) { in xattr_common_fid()
117 pvp = gfs_file_parent(pvp); in xattr_common_fid()
125 error = VOP_FID(pvp, fidp, ct); in xattr_common_fid()
415 vnode_t *pvp; in xattr_file_getattr() local
423 pvp = gfs_file_parent(vp); in xattr_file_getattr()
426 error = VOP_GETATTR(pvp, &pvattr, flags, cr, ct); in xattr_file_getattr()
774 xattr_mkfile(vnode_t *pvp, xattr_view_t xattr_view) in xattr_mkfile() argument
779 vp = gfs_file_create(sizeof (xattr_file_t), pvp, xattr_file_ops); in xattr_mkfile()
[all …]
H A Dgfs.c418 gfs_lookup_dot(vnode_t **vpp, vnode_t *dvp, vnode_t *pvp, const char *nm) in gfs_lookup_dot() argument
425 if (pvp == NULL) { in gfs_lookup_dot()
430 VN_HOLD(pvp); in gfs_lookup_dot()
431 *vpp = pvp; in gfs_lookup_dot()
457 gfs_file_create(size_t size, vnode_t *pvp, vnodeops_t *ops) in gfs_file_create() argument
472 fp->gfs_parent = pvp; in gfs_file_create()
481 if (pvp) { in gfs_file_create()
482 VN_SET_VFS_TYPE_DEV(vp, pvp->v_vfsp, VREG, 0); in gfs_file_create()
483 VN_HOLD(pvp); in gfs_file_create()
515 gfs_dir_create(size_t struct_size, vnode_t *pvp, vnodeops_t *ops, in gfs_dir_create() argument
[all …]
H A Dlookup.c1000 vnode_t *cmpvp, *pvp = NULL; in dirtopath() local
1147 if ((err = VOP_LOOKUP(vp, "..", &pvp, &emptypn, 0, vrootp, cr, in dirtopath()
1155 if (pvp->v_type != VDIR) { in dirtopath()
1165 if (VN_CMP(pvp, vp)) { in dirtopath()
1175 if ((err = VOP_ACCESS(pvp, vprivs, 0, cr, NULL)) != 0) { in dirtopath()
1183 if ((err = dirfindvp(vrootp, pvp, vp, cr, dbuf, dlen, &dp)) in dirtopath()
1199 vp = pvp; in dirtopath()
1200 pvp = NULL; in dirtopath()
1228 if (pvp) in dirtopath()
1229 VN_RELE(pvp); in dirtopath()
/titanic_50/usr/src/cmd/sendmail/src/
H A Dparseaddr.c82 char **pvp; local
98 pvp = prescan(addr, delim, pvpbuf, sizeof(pvpbuf), delimptr,
100 if (pvp == NULL)
139 if (REWRITE(pvp, 3, e) == EX_TEMPFAIL)
141 if (REWRITE(pvp, 0, e) == EX_TEMPFAIL)
148 a = buildaddr(pvp, a, flags, e);
191 r = rscap(RS_QUEUEGROUP, a->q_user, NULL, e, &pvp, pvpbuf,
194 pvp != NULL && pvp[0] != NULL &&
195 (pvp[0][0] & 0377) == CANONNET &&
196 pvp[1] != NULL && pvp[1][0] != '\0')
[all …]
H A Dmime.c119 char **pvp; local
156 (pvp = prescan(p, '\0', pvpbuf, sizeof(pvpbuf), NULL,
158 pvp[0] == NULL)
164 cataddr(pvp, NULL, buf, sizeof(buf), '\0', false);
178 (pvp = prescan(p, '\0', pvpbuf, sizeof(pvpbuf), NULL,
180 pvp[0] != NULL)
184 for (i = 0; pvp[i] != NULL; i++)
185 sm_dprintf("pvp[%d] = \"%s\"\n", i, pvp[i]);
187 type = *pvp++;
188 if (*pvp != NULL && strcmp(*pvp, "/") == 0 &&
[all …]
H A Denvelope.c976 register char **pvp; local
1168 pvp = prescan(from, delimchar, pvpbuf, sizeof(pvpbuf), NULL,
1170 if (pvp == NULL)
1179 (void) REWRITE(pvp, 3, e);
1180 (void) REWRITE(pvp, 1, e);
1181 (void) REWRITE(pvp, 4, e);
1184 cataddr(pvp, NULL, bp, sizeof(buf) - 2, '\0', false);
1202 (void) REWRITE(pvp, 3, e);
1203 (void) REWRITE(pvp, 1, e);
1204 (void) REWRITE(pvp, 4, e);
[all …]
H A Dheaders.c954 char **pvp; local
961 pvp = prescan(p, '\0', pvpbuf, sizeof(pvpbuf), NULL,
966 if (pvp != NULL && pvp[0] != NULL &&
967 pvp[1] != NULL && pvp[2] != NULL &&
968 sm_strcasecmp(*pvp++, "multipart") == 0 &&
969 strcmp(*pvp++, "/") == 0 &&
970 sm_strcasecmp(*pvp++, "report") == 0)
973 while (*pvp != NULL)
976 while (*pvp != NULL && strcmp(*pvp, ";") != 0)
977 pvp++;
[all …]
/titanic_50/usr/src/uts/common/fs/ctfs/
H A Dctfs_event.c168 ctfs_create_evnode(vnode_t *pvp) in ctfs_create_evnode() argument
172 ctfs_cdirnode_t *cdirnode = pvp->v_data; in ctfs_create_evnode()
174 vp = gfs_file_create(sizeof (ctfs_evnode_t), pvp, ctfs_ops_event); in ctfs_create_evnode()
246 vnode_t *pvp = gfs_file_parent(vp); in ctfs_ev_inactive() local
253 VN_HOLD(pvp); in ctfs_ev_inactive()
258 VN_RELE(pvp); in ctfs_ev_inactive()
348 ctfs_create_pbundle(vnode_t *pvp) in ctfs_create_pbundle() argument
353 vp = gfs_file_create(sizeof (ctfs_bunode_t), pvp, ctfs_ops_bundle); in ctfs_create_pbundle()
356 contract_type_pbundle(ct_types[gfs_file_index(pvp)], curproc); in ctfs_create_pbundle()
368 ctfs_create_bundle(vnode_t *pvp) in ctfs_create_bundle() argument
[all …]
H A Dctfs_ctl.c59 ctfs_create_ctlnode(vnode_t *pvp) in ctfs_create_ctlnode() argument
62 ctfs_cdirnode_t *cdirnode = pvp->v_data; in ctfs_create_ctlnode()
65 vp = gfs_file_create(sizeof (ctfs_ctlnode_t), pvp, ctfs_ops_ctl); in ctfs_create_ctlnode()
249 ctfs_create_statnode(vnode_t *pvp) in ctfs_create_statnode() argument
252 ctfs_cdirnode_t *cdirnode = pvp->v_data; in ctfs_create_statnode()
255 vp = gfs_file_create(sizeof (ctfs_ctlnode_t), pvp, ctfs_ops_stat); in ctfs_create_statnode()
H A Dctfs_tmpl.c55 ctfs_create_tmplnode(vnode_t *pvp) in ctfs_create_tmplnode() argument
60 ASSERT(gfs_file_index(pvp) < ct_ntypes); in ctfs_create_tmplnode()
62 vp = gfs_file_create(sizeof (ctfs_tmplnode_t), pvp, ctfs_ops_tmpl); in ctfs_create_tmplnode()
65 ct_types[gfs_file_index(pvp)]->ct_type_default(); in ctfs_create_tmplnode()
H A Dctfs_cdir.c68 ctfs_create_cdirnode(vnode_t *pvp, contract_t *ct) in ctfs_create_cdirnode() argument
73 if ((vp = contract_vnode_get(ct, pvp->v_vfsp)) != NULL) in ctfs_create_cdirnode()
76 vp = gfs_dir_create(sizeof (ctfs_cdirnode_t), pvp, ctfs_ops_cdir, in ctfs_create_cdirnode()
H A Dctfs_sym.c57 ctfs_create_symnode(vnode_t *pvp, contract_t *ct) in ctfs_create_symnode() argument
63 vp = gfs_file_create(sizeof (ctfs_symnode_t), pvp, ctfs_ops_sym); in ctfs_create_symnode()
H A Dctfs_latest.c54 ctfs_create_latenode(vnode_t *pvp) in ctfs_create_latenode() argument
56 return (gfs_file_create(sizeof (ctfs_latenode_t), pvp, in ctfs_create_latenode()
H A Dctfs_all.c61 ctfs_create_adirnode(vnode_t *pvp) in ctfs_create_adirnode() argument
63 vnode_t *vp = gfs_dir_create(sizeof (ctfs_adirnode_t), pvp, in ctfs_create_adirnode()
/titanic_50/usr/src/uts/common/fs/swapfs/
H A Dswap_vnops.c151 struct vnode *pvp = NULL; in swap_getapage() local
225 err = swap_getphysname(vp, off, &pvp, &poff); in swap_getapage()
226 if (pvp) { in swap_getapage()
231 err = VOP_PAGEIO(pvp, pp, poff, in swap_getapage()
244 if (ap->an_pvp == pvp && in swap_getapage()
246 swap_phys_free(pvp, poff, in swap_getapage()
324 struct vnode *pvp = NULL; in swap_getconpage() local
404 if (swap_getphysname(vp, off, &pvp, &poff)) { in swap_getconpage()
409 if (pvp != NULL) { in swap_getconpage()
410 err = VOP_PAGEIO(pvp, pp, poff, PAGESIZE, B_READ, in swap_getconpage()
[all …]
/titanic_50/usr/src/uts/common/fs/smbclnt/smbfs/
H A Dsmbfs_xattr.c80 smbfs_get_xattrdir(vnode_t *pvp, vnode_t **vpp, cred_t *cr, int flags) in smbfs_get_xattrdir() argument
85 pnp = VTOSMB(pvp); in smbfs_get_xattrdir()
246 vnode_t *pvp; /* parent */ in smbfs_xa_getfattr() local
269 error = smbfs_xa_parent(xvp, &pvp); in smbfs_xa_getfattr()
273 pnp = VTOSMB(pvp); in smbfs_xa_getfattr()
286 VN_RELE(pvp); in smbfs_xa_getfattr()
303 vnode_t *pvp; /* parent */ in smbfs_xa_findopen() local
318 error = smbfs_xa_parent(SMBTOV(dnp), &pvp); in smbfs_xa_findopen()
321 ASSERT(pvp); in smbfs_xa_findopen()
323 pnp = VTOSMB(pvp); in smbfs_xa_findopen()
[all …]
/titanic_50/usr/src/cmd/mdb/common/mdb/
H A Dmdb_nv.c181 mdb_var_t **pvp = &nv->nv_hash[i]; in nv_var_interpos() local
183 while (*pvp != v) { in nv_var_interpos()
184 mdb_var_t *vp = *pvp; in nv_var_interpos()
186 pvp = &vp->v_next; in nv_var_interpos()
189 *pvp = w; in nv_var_interpos()
301 mdb_var_t **pvp; in mdb_nv_remove() local
327 pvp = &v->v_next; in mdb_nv_remove()
329 pvp = &nv->nv_hash[i]; in mdb_nv_remove()
333 *pvp = corpse->v_ndef; in mdb_nv_remove()
336 *pvp = corpse->v_next; in mdb_nv_remove()
/titanic_50/usr/src/uts/common/fs/objfs/
H A Dobjfs_odir.c52 objfs_create_odirnode(vnode_t *pvp, struct modctl *mp) in objfs_create_odirnode() argument
54 vnode_t *vp = gfs_dir_create(sizeof (objfs_odirnode_t), pvp, in objfs_create_odirnode()
/titanic_50/usr/src/uts/common/os/
H A Dport_subr.c794 portfop_vp_t *pvp; in free_fopdata() local
795 pvp = vp->v_fopdata; in free_fopdata()
796 ASSERT(pvp->pvp_femp == NULL); in free_fopdata()
797 mutex_destroy(&pvp->pvp_mutex); in free_fopdata()
798 list_destroy(&pvp->pvp_pfoplist); in free_fopdata()
799 kmem_free(pvp, sizeof (*pvp)); in free_fopdata()

12