Home
last modified time | relevance | path

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

12

/freebsd/cddl/contrib/opensolaris/lib/libdtrace/common/
H A Ddt_provider.c54 dt_provider_insert(dtrace_hdl_t *dtp, dt_provider_t *pvp, uint_t h) in dt_provider_insert() argument
56 dt_list_append(&dtp->dt_provlist, pvp); in dt_provider_insert()
58 pvp->pv_next = dtp->dt_provs[h]; in dt_provider_insert()
59 dtp->dt_provs[h] = pvp; in dt_provider_insert()
62 return (pvp); in dt_provider_insert()
70 dt_provider_t *pvp; in dt_provider_lookup() local
72 for (pvp = dtp->dt_provs[h]; pvp != NULL; pvp = pvp->pv_next) { in dt_provider_lookup()
73 if (strcmp(pvp->pv_desc.dtvd_name, name) == 0) in dt_provider_lookup()
74 return (pvp); in dt_provider_lookup()
90 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.c535 dt_header_provider(dtrace_hdl_t *dtp, dt_provider_t *pvp, FILE *out) in dt_header_provider() argument
541 if (pvp->pv_flags & DT_PROVIDER_IMPL) in dt_header_provider()
548 p = pvp->pv_desc.dtvd_name; in dt_header_provider()
556 info.dthi_pmname = alloca(strlen(pvp->pv_desc.dtvd_name) + 1); in dt_header_provider()
557 dt_header_fmt_macro(info.dthi_pmname, pvp->pv_desc.dtvd_name); in dt_header_provider()
559 info.dthi_pfname = alloca(strlen(pvp->pv_desc.dtvd_name) + 1 + i); in dt_header_provider()
560 dt_header_fmt_func(info.dthi_pfname, pvp->pv_desc.dtvd_name); in dt_header_provider()
569 if (dt_idhash_iter(pvp->pv_probes, dt_header_probe, &info) != 0) in dt_header_provider()
573 if (dt_idhash_iter(pvp->pv_probes, dt_header_decl, &info) != 0) in dt_header_provider()
581 if (dt_idhash_iter(pvp->pv_probes, dt_header_probe, &info) != 0) in dt_header_provider()
[all …]
H A Ddt_dof.c481 dof_add_provider(dt_dof_t *ddo, const dt_provider_t *pvp) in dof_add_provider() argument
491 if (pvp->pv_flags & DT_PROVIDER_IMPL) { in dof_add_provider()
498 nxr = dt_popcb(pvp->pv_xrefs, pvp->pv_xrmax); in dof_add_provider()
506 for (i = 0; i < pvp->pv_xrmax; i++) { in dof_add_provider()
507 if (BT_TEST(pvp->pv_xrefs, i) && in dof_add_provider()
521 (void) dt_idhash_iter(pvp->pv_probes, dof_add_probe, ddo); in dof_add_provider()
553 dofpv.dofpv_name = dof_add_string(ddo, pvp->pv_desc.dtvd_name); in dof_add_provider()
555 dofpv.dofpv_provattr = dof_attr(&pvp->pv_desc.dtvd_attr.dtpa_provider); in dof_add_provider()
556 dofpv.dofpv_modattr = dof_attr(&pvp->pv_desc.dtvd_attr.dtpa_mod); in dof_add_provider()
557 dofpv.dofpv_funcattr = dof_attr(&pvp->pv_desc.dtvd_attr.dtpa_func); in dof_add_provider()
[all …]
H A Ddt_pragma.c86 dt_provider_t *pvp; in dt_pragma_attributes() local
111 if ((pvp = dt_provider_lookup(dtp, name)) != NULL) { in dt_pragma_attributes()
113 a = &pvp->pv_desc.dtvd_attr.dtpa_provider; in dt_pragma_attributes()
115 a = &pvp->pv_desc.dtvd_attr.dtpa_mod; in dt_pragma_attributes()
117 a = &pvp->pv_desc.dtvd_attr.dtpa_func; in dt_pragma_attributes()
119 a = &pvp->pv_desc.dtvd_attr.dtpa_name; in dt_pragma_attributes()
121 a = &pvp->pv_desc.dtvd_attr.dtpa_args; in dt_pragma_attributes()
H A Ddt_parser.c4332 dt_node_provider_cmp_argv(dt_provider_t *pvp, dt_node_t *pnp, const char *kind, in dt_node_provider_cmp_argv() argument
4345 pvp->pv_desc.dtvd_name, prp->pr_ident->di_name, kind, in dt_node_provider_cmp_argv()
4359 pvp->pv_desc.dtvd_name, prp->pr_ident->di_name, kind, i + 1, in dt_node_provider_cmp_argv()
4372 dt_node_provider_cmp(dt_provider_t *pvp, dt_node_t *pnp, in dt_node_provider_cmp() argument
4375 dt_node_provider_cmp_argv(pvp, pnp, "output", in dt_node_provider_cmp()
4379 dt_node_provider_cmp_argv(pvp, pnp, "input", in dt_node_provider_cmp()
4384 if (pvp->pv_flags & DT_PROVIDER_IMPL) { in dt_node_provider_cmp()
4389 pvp->pv_desc.dtvd_name, pvp->pv_desc.dtvd_name, in dt_node_provider_cmp()
4390 new->pr_ident->di_name, pvp->pv_desc.dtvd_name, in dt_node_provider_cmp()
4397 dt_idhash_delete(pvp->pv_probes, old->pr_ident); in dt_node_provider_cmp()
[all …]
H A Ddt_link.c1205 dt_provider_t *pvp; in process_obj() local
1633 if ((pvp = dt_provider_lookup(dtp, pname)) == NULL) { in process_obj()
1643 if ((prp = dt_probe_lookup(pvp, probename)) == NULL) in process_obj()
1654 if (dt_probe_define(pvp, prp, s, r, off, eprobe) != 0) { in process_obj()
H A Ddt_open.c1641 dt_provider_t *pvp; in dtrace_close() local
1688 while ((pvp = dt_list_next(&dtp->dt_provlist)) != NULL) in dtrace_close()
1689 dt_provider_destroy(dtp, pvp); in dtrace_close()
H A Ddt_cc.c1690 dt_provider_t *pvp; in dt_setcontext() local
1712 ((pvp = dt_provider_lookup(dtp, pdp->dtpd_provider)) == NULL || in dt_setcontext()
1713 pvp->pv_desc.dtvd_priv.dtpp_flags & DTRACE_PRIV_PROC) && in dt_setcontext()
/freebsd/contrib/sendmail/src/
H A Dparseaddr.c81 char **pvp; local
105 pvp = prescan(addr, delim, pvpbuf, sizeof(pvpbuf), delimptr,
107 if (pvp == NULL)
147 if (REWRITE(pvp, 3, e) == EX_TEMPFAIL)
149 if (REWRITE(pvp, 0, e) == EX_TEMPFAIL)
156 a = buildaddr(pvp, a, flags, e);
208 r = rscap(RS_QUEUEGROUP, a->q_user, NULL, e, &pvp, pvpbuf,
211 pvp != NULL && pvp[0] != NULL &&
212 (pvp[0][0] & 0377) == CANONNET &&
213 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.c987 register char **pvp; local
1182 pvp = prescan(from, delimchar, pvpbuf, sizeof(pvpbuf), NULL,
1184 if (pvp == NULL)
1193 (void) REWRITE(pvp, 3, e);
1194 (void) REWRITE(pvp, 1, e);
1195 (void) REWRITE(pvp, 4, e);
1198 cataddr(pvp, NULL, bp, sizeof(buf) - 2, '\0', false);
1216 (void) REWRITE(pvp, 3, e);
1217 (void) REWRITE(pvp, 1, e);
1218 (void) REWRITE(pvp, 4, e);
[all …]
H A Dheaders.c994 char **pvp; local
1001 pvp = prescan(p, '\0', pvpbuf, sizeof(pvpbuf), NULL,
1006 if (pvp != NULL && pvp[0] != NULL &&
1007 pvp[1] != NULL && pvp[2] != NULL &&
1008 SM_STRCASEEQ(*pvp++, "multipart") &&
1009 strcmp(*pvp++, "/") == 0 &&
1010 SM_STRCASEEQ(*pvp++, "report"))
1013 while (*pvp != NULL)
1016 while (*pvp != NULL && strcmp(*pvp, ";") != 0)
1017 pvp++;
[all …]
H A Dutil.c3048 char **pvp; local
3062 pvp = NULL;
3068 &pvp, pvpbuf, sizeof(pvpbuf));
3079 if (pvp != NULL && pvp[0] != NULL && (pvp[0][0] & 0377) == CANONNET)
3088 if (pvp != NULL && pvp[0] != NULL && strcasecmp(pvp[0], "haproxy1") == 0)
3095 if (pvp != NULL && pvp[0] != NULL &&
3096 pvp[0][0] == '2' && pvp[0][1] == '2' && pvp[0][2] == '0')
3102 sm_syslog(LOG_INFO, NOQID, "x-connect=%s", pvp[0]);
3104 pvp[1] != NULL ? pvp[1] : "waiting for xconnect");
H A Dusersmtp.c904 char **pvp; local
909 &pvp, pvpbuf, sizeof(pvpbuf));
915 if (pvp == NULL || pvp[0] == NULL || (pvp[0][0] & 0377) != CANONNET)
917 if (pvp[1] != NULL && sm_strncasecmp(pvp[1], "temp", 4) == 0)
932 if (pvp[i + 1] == NULL)
934 if (pvp[i + 1][0] != '"')
936 switch (pvp[i + 1][1])
961 l = strlen(pvp[i + 1]);
964 if (l <= 3 || pvp[i + 1][l - 1] != '"')
968 pvp[i + 1][l - 1] = '\0';
[all …]
H A Dsrvrsmtp.c1506 char **pvp; local
1510 pvp = NULL;
1513 &pvp, pvpbuf, sizeof(pvpbuf));
1514 if (r == EX_OK && pvp != NULL && pvp[0] != NULL &&
1515 (pvp[0][0] & 0377) == CANONNET && pvp[1] != NULL)
1517 msecs = strtol(pvp[1], NULL, 10);
5706 char **pvp, c, opt; local
5709 pvp = NULL;
5710 r = rscap("srv_features", clientname, "", e, &pvp, pvpbuf,
5714 if (pvp == NULL || pvp[0] == NULL || (pvp[0][0] & 0377) != CANONNET)
[all …]
H A Ddeliver.c1376 char **pvp, c; local
1383 pvp = NULL;
1384 r = rscap("clt_features", servername, NULL, e, &pvp, pvpbuf,
1388 if (pvp == NULL || pvp[0] == NULL || (pvp[0][0] & 0377) != CANONNET)
1390 if (pvp[1] != NULL && sm_strncasecmp(pvp[1], "temp", 4) == 0)
1394 for (idx = 0, i = 1; pvp[i] != NULL; i++)
1396 c = pvp[i][0];
1676 char **pvp; local
1846 pvp = pv;
1847 *pvp++ = m->m_argv[0];
[all …]
H A Dmain.c3768 register char **pvp; local
3776 for (pvp = pv; *pvp != NULL; pvp++)
3777 sm_syslog(LOG_DEBUG, CurEnv->e_id, "%s", *pvp);
4836 register char **pvp; local
4839 pvp = prescan(++p, ',', pvpbuf, sizeof(pvpbuf), &delimptr,
4842 if (pvp == NULL)
4857 status = REWRITE(pvp, rs, e);
4864 cataddr(pvp, NULL, exbuf, sizeof(exbuf), '\0',
H A Dqueue.c8283 char **pvp; local
8307 i = rscap(RS_QUEUEGROUP, q->q_user, NULL, e, &pvp,
8310 pvp != NULL && pvp[0] != NULL &&
8311 (pvp[0][0] & 0377) == CANONNET &&
8312 pvp[1] != NULL && pvp[1][0] != '\0')
8314 i = name2qid(pvp[1]);
8322 pvp[1], i);
8328 pvp[1]);
/freebsd/sys/cddl/dev/dtrace/
H A Ddtrace_ioctl.c718 dtrace_provider_t *pvp; in dtrace_ioctl() local
725 for (pvp = dtrace_provider; pvp != NULL; pvp = pvp->dtpv_next) { in dtrace_ioctl()
726 if (strcmp(pvp->dtpv_name, pvd->dtvd_name) == 0) in dtrace_ioctl()
732 if (pvp == NULL) in dtrace_ioctl()
735 bcopy(&pvp->dtpv_priv, &pvd->dtvd_priv, sizeof (dtrace_ppriv_t)); in dtrace_ioctl()
736 bcopy(&pvp->dtpv_attr, &pvd->dtvd_attr, sizeof (dtrace_pattr_t)); in dtrace_ioctl()
/freebsd/sys/ufs/ffs/
H A Dffs_softdep.c241 softdep_freefile(struct vnode *pvp, in softdep_freefile() argument
1401 struct vnode *pvp; in get_parent_vp() local
1406 for (bplocked = true, pvp = NULL;;) { in get_parent_vp()
1407 error = ffs_vgetf(mp, inum, LK_EXCLUSIVE | LK_NOWAIT, &pvp, in get_parent_vp()
1416 if (VTOI(pvp)->i_mode == 0 || !bplocked) { in get_parent_vp()
1420 if (VTOI(pvp)->i_mode == 0) in get_parent_vp()
1421 vgone(pvp); in get_parent_vp()
1448 error = ffs_vgetf(mp, inum, LK_EXCLUSIVE, &pvp, in get_parent_vp()
1455 if (VTOI(pvp)->i_mode == 0) { in get_parent_vp()
1456 vgone(pvp); in get_parent_vp()
[all …]
H A Dffs_alloc.c1110 ffs_valloc(struct vnode *pvp, in ffs_valloc() argument
1125 pip = VTOI(pvp); in ffs_valloc()
1162 if ((error = ffs_vgetf(pvp->v_mount, ino, LK_EXCLUSIVE, vpp, in ffs_valloc()
1164 ffs_vfree(pvp, ino, mode); in ffs_valloc()
1209 softdep_request_cleanup(fs, pvp, cred, FLUSH_INODES_WAIT); in ffs_valloc()
2802 ffs_vfree(struct vnode *pvp, in ffs_vfree() argument
2808 if (DOINGSOFTDEP(pvp)) { in ffs_vfree()
2809 softdep_freefile(pvp, ino, mode); in ffs_vfree()
2812 ump = VFSTOUFS(pvp->v_mount); in ffs_vfree()
/freebsd/sys/fs/ext2fs/
H A Dext2_alloc.c379 ext2_valloc(struct vnode *pvp, int mode, struct ucred *cred, struct vnode **vpp) in ext2_valloc() argument
392 pip = VTOI(pvp); in ext2_valloc()
1464 ext2_vfree(struct vnode *pvp, ino_t ino, int mode) in ext2_vfree() argument
1473 pip = VTOI(pvp); in ext2_vfree()
/freebsd/lib/libc/net/
H A Dprotocols81 pvp 75 PVP # Packet Video Protocol
/freebsd/sys/cddl/contrib/opensolaris/uts/common/dtrace/
H A Ddtrace.c8399 dtrace_provider_t *pvp = prp->dtpr_provider; local
8402 if (pvp->dtpv_defunct)
8405 if ((rv = pkp->dtpk_pmatch(pvp->dtpv_name, pkp->dtpk_prov, 0)) <= 0)
9044 dtrace_provider_t *pvp = (dtrace_provider_t *)id; local
9046 ASSERT(pvp->dtpv_pops.dtps_enable !=
9052 pvp->dtpv_defunct = dtrace_gethrtime();
17470 dtrace_provider_t *pvp;
17478 for (pvp = dtrace_provider; pvp != NULL; pvp
17469 dtrace_provider_t *pvp; global() local
[all...]

12