Home
last modified time | relevance | path

Searched full:prp (Results 1 – 25 of 35) sorted by relevance

12

/freebsd-src/cddl/contrib/opensolaris/lib/libdtrace/common/
H A Ddt_provider.c245 dt_probe_t *prp; in dt_probe_discover() local
314 if ((prp = dt_probe_create(dtp, idp, 2, in dt_probe_discover()
320 dt_probe_declare(pvp, prp); in dt_probe_discover()
324 * cached argument descriptions and assign types to prp->pr_nargv[] in dt_probe_discover()
325 * and prp->pr_xargv[] and assign mappings to prp->pr_mapping[]. in dt_probe_discover()
339 dt_node_type_assign(prp->pr_nargv[adp->dtargd_mapping], in dt_probe_discover()
346 dt_node_type_propagate(prp->pr_nargv[ in dt_probe_discover()
347 adp->dtargd_mapping], prp->pr_xargv[i]); in dt_probe_discover()
359 dt_node_type_assign(prp->pr_xargv[i], in dt_probe_discover()
363 prp->pr_mapping[i] = adp->dtargd_mapping; in dt_probe_discover()
[all …]
H A Ddt_program.c408 dt_probe_t *prp = idp->di_data; in dt_header_decl() local
415 p = prp->pr_name; in dt_header_decl()
419 fname = alloca(strlen(prp->pr_name) + 1 + i); in dt_header_decl()
420 dt_header_fmt_func(fname, prp->pr_name); in dt_header_decl()
426 for (dnp = prp->pr_nargs, i = 0; dnp != NULL; dnp = dnp->dn_list, i++) { in dt_header_decl()
432 if (i + 1 != prp->pr_nargc && in dt_header_decl()
461 dt_probe_t *prp = idp->di_data; in dt_header_probe() local
466 p = prp->pr_name; in dt_header_probe()
470 mname = alloca(strlen(prp->pr_name) + 1); in dt_header_probe()
471 dt_header_fmt_macro(mname, prp->pr_name); in dt_header_probe()
[all …]
H A Ddt_ident.c327 dt_probe_t *prp = yypcb->pcb_probe; in dt_idcook_args() local
354 if (prp == NULL) { in dt_idcook_args()
361 if (ap->dn_value >= prp->pr_argc) { in dt_idcook_args()
374 xnp = prp->pr_xargv[ap->dn_value]; in dt_idcook_args()
375 nnp = prp->pr_nargv[prp->pr_mapping[ap->dn_value]]; in dt_idcook_args()
397 prp->pr_argv[ap->dn_value].dtt_ctfp, in dt_idcook_args()
398 prp->pr_argv[ap->dn_value].dtt_type, in dt_idcook_args()
399 prp->pr_argv[ap->dn_value].dtt_flags & DTT_FL_USER ? in dt_idcook_args()
404 dxp = dt_xlator_lookup(dtp, dt_probe_tag(prp, a in dt_idcook_args()
[all...]
H A Ddt_dof.c402 dt_probe_t *prp = idp->di_data; in dof_add_probe() local
413 dofpr.dofpr_name = dof_add_string(ddo, prp->pr_name); in dof_add_probe()
416 for (dnp = prp->pr_nargs; dnp != NULL; dnp = dnp->dn_list) { in dof_add_probe()
423 for (dnp = prp->pr_xargs; dnp != NULL; dnp = dnp->dn_list) { in dof_add_probe()
430 for (i = 0; i < prp->pr_xargc; i++) { in dof_add_probe()
431 dt_buf_write(dtp, &ddo->ddo_args, &prp->pr_mapping[i], in dof_add_probe()
435 dofpr.dofpr_nargc = prp->pr_nargc; in dof_add_probe()
436 dofpr.dofpr_xargc = prp->pr_xargc; in dof_add_probe()
440 for (pip = prp->pr_inst; pip != NULL; pip = pip->pi_next) { in dof_add_probe()
442 prp->pr_name); in dof_add_probe()
H A Ddt_parser.c4358 dt_probe_t *prp = pnp->dn_ident->di_data; in dt_node_provider_cmp_argv()
4368 pvp->pv_desc.dtvd_name, prp->pr_ident->di_name, kind,
4382 pvp->pv_desc.dtvd_name, prp->pr_ident->di_name, kind, i + 1, in dt_node_provider_cmp()
4429 dt_probe_t *prp = dnp->dn_ident->di_data; in dt_cook_probe()
4437 if (prp->pr_nargs == prp->pr_xargs) in dt_cook_probe()
4440 for (i = 0; i < prp->pr_xargc; i++) {
4441 dt_node_t *xnp = prp->pr_xargv[i]; in dt_cook_provider()
4442 dt_node_t *nnp = prp->pr_nargv[prp in dt_cook_provider()
4335 dt_probe_t *prp = pnp->dn_ident->di_data; dt_node_provider_cmp_argv() local
4406 dt_probe_t *prp = dnp->dn_ident->di_data; dt_cook_probe() local
4453 dt_probe_t *prp = dt_probe_lookup(pvp, probename); dt_cook_provider() local
[all...]
H A Ddt_cc.c1689 dt_probe_t *prp; in dt_setcontext() local
1723 if ((prp = dt_probe_info(dtp, pdp, &yypcb->pcb_pinfo)) == NULL) { in dt_setcontext()
1730 pap = &prp->pr_pvp->pv_desc.dtvd_attr; in dt_setcontext()
1743 dt_dprintf("set context to %s:%s:%s:%s [%u] prp=%p attr=%s argc=%d\n", in dt_setcontext()
1745 pdp->dtpd_id, (void *)prp, dt_attr_str(yypcb->pcb_pinfo.dtp_attr, in dt_setcontext()
1764 yypcb->pcb_probe = prp; in dt_setcontext()
H A Ddt_link.c1206 dt_probe_t *prp; in process_obj() local
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()
/freebsd-src/contrib/netbsd-tests/lib/libc/net/
H A Dh_protoent.c38 pserv(const struct protoent *prp) in pserv() argument
43 prp->p_name, prp->p_proto); in pserv()
44 for (pp = prp->p_aliases; *pp; pp++) in pserv()
62 struct protoent *prp; in main() local
82 if ((prp = getprotobynumber(atoi(proto))) != NULL) in main()
83 pserv(prp); in main()
87 if ((prp = getprotobyname(name)) != NULL) in main()
88 pserv(prp); in main()
93 while ((prp = getprotoent()) != NULL) in main()
94 pserv(prp); in main()
/freebsd-src/sys/kern/
H A Duipc_domain.c314 struct protosw **prp; in protosw_register() local
319 prp = NULL; in protosw_register()
328 if (prp == NULL) in protosw_register()
329 prp = &dp->dom_protosw[i]; in protosw_register()
347 if (prp == NULL) { in protosw_register()
353 *prp = npr; in protosw_register()
367 struct protosw **prp; in protosw_unregister() local
370 prp = NULL; in protosw_unregister()
376 KASSERT(prp == NULL, in protosw_unregister()
379 prp in protosw_unregister()
[all...]
H A Duipc_socket.c914 struct protosw *prp;
929 prp = pffindproto(dom, type, proto);
930 if (prp == NULL) {
940 MPASS(prp->pr_attach);
942 if ((prp->pr_flags & PR_CAPATTACH) == 0) {
949 if (prison_check_af(cred, prp->pr_domain->dom_family) != 0)
958 if ((prp->pr_domain->dom_family == PF_INET) ||
959 (prp->pr_domain->dom_family == PF_INET6) ||
960 (prp->pr_domain->dom_family == PF_ROUTE))
964 so->so_proto = prp;
506 struct protosw *prp; socreate() local
[all...]
/freebsd-src/sys/dev/mpr/
H A Dmpr.c1555 * Allocate NVMe PRP Pages for NVMe SGL support only if the FW supports in mpr_alloc_requests()
1634 * 1 PRP entry in main frame for PRP list pointer still leaves 255 PRPs in mpr_alloc_nvme_prp_pages()
1659 mpr_dprint(sc, MPR_ERROR, "Cannot allocate NVMe PRP DMA " in mpr_alloc_nvme_prp_pages()
1665 mpr_dprint(sc, MPR_ERROR, "Cannot allocate NVMe PRP memory\n"); in mpr_alloc_nvme_prp_pages()
1945 &sc->prp_pages_free, 0, "number of free PRP pages");
1949 &sc->prp_pages_free_lowwater, 0,"lowest number of free PRP pages");
1953 &sc->prp_page_alloc_fail, "PRP page allocation failures");
2862 * native SGL (NVMe PRP). The native SGL is built starting in the first PRP entr
[all...]
/freebsd-src/sys/contrib/device-tree/Bindings/net/dsa/
H A Drenesas,rzn1-a5psw.yaml33 - description: Parallel Redundancy Protocol (PRP) interrupt
41 - const: prp
102 interrupt-names = "dlr", "switch", "prp", "hub", "ptrn";
/freebsd-src/sys/dev/mpi3mr/
H A Dmpi3mr_app.c311 * without constructing any PRP. in mpi3mr_app_build_nvme_prp()
372 * command. Then set the current PRP entry pointer to PRP1. in mpi3mr_app_build_nvme_prp()
378 * For the PRP entries, use the specially allocated buffer of in mpi3mr_app_build_nvme_prp()
386 * want our first entry to be a PRP List entry. in mpi3mr_app_build_nvme_prp()
390 printf(IOCNAME "PRP Page is not page aligned\n", sc->name); in mpi3mr_app_build_nvme_prp()
395 * Set PRP physical pointer, which initially points to the current PRP in mpi3mr_app_build_nvme_prp()
405 printf(IOCNAME "Single PRP page is not sufficient\n", sc->name); in mpi3mr_app_build_nvme_prp()
415 * Must fill in the first PRP pointer (PRP1) before in mpi3mr_app_build_nvme_prp()
427 * Now point to the second PRP entr in mpi3mr_app_build_nvme_prp()
[all...]
/freebsd-src/sys/contrib/device-tree/Bindings/net/
H A Dintel,ixp46x-ptp-timer.yaml28 PRP timer, usually a GPIO interrupt.
30 PRP timer, usually a GPIO interrupt.
/freebsd-src/share/man/man4/
H A Dmpr.4180 The current number of free PRP pages is stored in the
187 The lowest number of free PRP pages seen since boot is stored in the
192 The number of times that PRP page allocations have failed since boot is
/freebsd-src/sys/dev/nvme/
H A Dnvme_qpair.c211 { NVME_SC_PRP_OFFET_INVALID, "PRP OFFET INVALID" },
744 /* Note: NVMe PRP format is restricted to 4-byte alignment. */ in nvme_qpair_construct()
757 * Each component must be page aligned, and individual PRP lists in nvme_qpair_construct()
765 * For commands requiring more than 2 PRP entries, one PRP will be in nvme_qpair_construct()
766 * embedded in the command (prp1), and the rest of the PRP entries in nvme_qpair_construct()
832 * Make sure that the PRP list for this tracker doesn't in nvme_qpair_construct()
848 tr->prp = (uint64_t *)prp_list; in nvme_qpair_construct()
1301 * just transfer each segment to its associated PRP entry. in _nvme_qpair_submit_request()
1311 tr->prp[cur_nse in _nvme_qpair_submit_request()
[all...]
H A Dnvme_private.h140 uint64_t *prp; member
H A Dnvme.h545 /* metadata can be transferred as part of data prp list */
830 uint64_t prp1; /* prp entry 1 */
831 uint64_t prp2; /* prp entry 2 */
/freebsd-src/sys/dev/mrsas/
H A Dmrsas_cam.c1316 * return: true: if PRP should be built
1515 * NVMe has a very convoluted PRP format. One PRP is required in mrsas_build_prp_nvme()
1518 * boundary. We also have to insert a PRP list pointer entry as in mrsas_build_prp_nvme()
1519 * the last entry in each physical page of the PRP list. in mrsas_build_prp_nvme()
1521 * NOTE: The first PRP "entry" is actually placed in the first in mrsas_build_prp_nvme()
1524 * of the PRP entries are built in the contiguous PCIe buffer. in mrsas_build_prp_nvme()
1541 /* Build first PRP, SGE need not to be PAGE aligned*/ in mrsas_build_prp_nvme()
1567 /* Put PRP pointer due to page boundary*/ in mrsas_build_prp_nvme()
1570 device_printf(sc->mrsas_dev, "BRCM: Put prp pointer as we are at page boundary" in mrsas_build_prp_nvme()
/freebsd-src/bin/mv/
H A Dmv.1150 cp -pRP source_file destination && \e
H A Dmv.c383 execl(_PATH_CP, "mv", vflg ? "-PRpv" : "-PRp", "--", from, to, in copy()
/freebsd-src/sys/security/mac_do/
H A Dmac_do.c154 mac_do_rule_find(struct prison * spr,struct prison ** prp) mac_do_rule_find() argument
/freebsd-src/cddl/contrib/opensolaris/cmd/dtrace/
H A Ddtrace.c844 const psinfo_t *prp = Ppsinfo(P); local
872 if (prp != NULL && WIFSIGNALED(prp->pr_wstat)) {
874 proc_signame(WTERMSIG(prp->pr_wstat),
882 } else if (prp != NULL && WEXITSTATUS(prp->pr_wstat) != 0) {
884 pid, WEXITSTATUS(prp->pr_wstat));
/freebsd-src/sys/compat/linux/
H A Dlinux_mib.c206 linux_find_prison(struct prison *spr, struct prison **prp) in linux_find_prison() argument
220 *prp = pr; in linux_find_prison()
/freebsd-src/sys/dev/hyperv/include/
H A Dvmbus.h222 struct vmbus_gpa_range *prp, int prp_cnt, void *data,

12