| /freebsd/cddl/contrib/opensolaris/lib/libdtrace/common/ |
| H A D | dt_provider.c | 245 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 D | dt_program.c | 408 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 D | dt_ident.c | 327 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, ap->dn_value, &tag), in dt_idcook_args()
|
| H A D | dt_dof.c | 402 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 D | dt_parser.c | 4377 dt_probe_t *prp = pnp->dn_ident->di_data; in dt_node_provider_cmp_argv() local 4387 pvp->pv_desc.dtvd_name, prp->pr_ident->di_name, kind, in dt_node_provider_cmp_argv() 4401 pvp->pv_desc.dtvd_name, prp->pr_ident->di_name, kind, i + 1, in dt_node_provider_cmp_argv() 4448 dt_probe_t *prp = dnp->dn_ident->di_data; in dt_cook_probe() local 4456 if (prp->pr_nargs == prp->pr_xargs) in dt_cook_probe() 4459 for (i = 0; i < prp->pr_xargc; i++) { in dt_cook_probe() 4460 dt_node_t *xnp = prp->pr_xargv[i]; in dt_cook_probe() 4461 dt_node_t *nnp = prp->pr_nargv[prp->pr_mapping[i]]; in dt_cook_probe() 4495 dt_probe_t *prp = dt_probe_lookup(pvp, probename); in dt_cook_provider() local 4499 if (prp != NULL && dnp->dn_provred) { in dt_cook_provider() [all …]
|
| H A D | dt_cc.c | 1689 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()
|
| /freebsd/contrib/netbsd-tests/lib/libc/net/ |
| H A D | h_protoent.c | 38 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/sys/kern/ |
| H A D | uipc_domain.c | 315 struct protosw **prp; in protosw_register() local 320 prp = NULL; in protosw_register() 329 if (prp == NULL) in protosw_register() 330 prp = &dp->dom_protosw[i]; in protosw_register() 348 if (prp == NULL) { in protosw_register() 354 *prp = npr; in protosw_register() 368 struct protosw **prp; in protosw_unregister() local 371 prp = NULL; in protosw_unregister() 377 KASSERT(prp == NULL, in protosw_unregister() 380 prp = &dp->dom_protosw[i]; in protosw_unregister() [all …]
|
| H A D | kern_jaildesc.c | 80 jaildesc_find(struct thread *td, int fd, struct prison **prp, in jaildesc_find() argument 103 if (prp != NULL) { in jaildesc_find() 105 *prp = pr; in jaildesc_find()
|
| H A D | uipc_socket.c | 911 struct protosw *prp; in socreate() local 926 prp = pffindproto(dom, type, proto); in socreate() 927 if (prp == NULL) { in socreate() 937 MPASS(prp->pr_attach); in socreate() 939 if ((prp->pr_flags & PR_CAPATTACH) == 0) { in socreate() 946 if (prison_check_af(cred, prp->pr_domain->dom_family) != 0) in socreate() 955 if ((prp->pr_domain->dom_family == PF_INET) || in socreate() 956 (prp->pr_domain->dom_family == PF_INET6) || in socreate() 957 (prp->pr_domain->dom_family == PF_ROUTE)) in socreate() 961 so->so_proto = prp; in socreate() [all …]
|
| /freebsd/sys/dev/mpr/ |
| H A D | mpr.c | 1555 * 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() 1951 &sc->prp_pages_free, 0, "number of free PRP pages"); in mpr_setup_sysctl() 1955 &sc->prp_pages_free_lowwater, 0,"lowest number of free PRP pages"); in mpr_setup_sysctl() 1959 &sc->prp_page_alloc_fail, "PRP page allocation failures"); in mpr_setup_sysctl() 2872 * native SGL (NVMe PRP). The native SGL is built starting in the first PRP entry 2876 * using the two PRP entriess inside the NVMe message, then PRP1 describes the 2877 * first data memory segment, and PRP2 contains a pointer to a PRP list located [all …]
|
| /freebsd/sys/contrib/device-tree/Bindings/net/dsa/ |
| H A D | renesas,rzn1-a5psw.yaml | 33 - description: Parallel Redundancy Protocol (PRP) interrupt 41 - const: prp 102 interrupt-names = "dlr", "switch", "prp", "hub", "ptrn";
|
| /freebsd/sys/dev/mpi3mr/ |
| H A D | mpi3mr_app.c | 311 * 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 entry within the in mpi3mr_app_build_nvme_prp() 433 * Should the PRP2 entry be a PRP List pointer or just in mpi3mr_app_build_nvme_prp() [all …]
|
| /freebsd/sys/contrib/device-tree/Bindings/net/ |
| H A D | intel,ixp46x-ptp-timer.yaml | 28 PRP timer, usually a GPIO interrupt. 30 PRP timer, usually a GPIO interrupt.
|
| /freebsd/share/man/man4/ |
| H A D | mpr.4 | 182 The current number of free PRP pages is stored in the 189 The lowest number of free PRP pages seen since boot is stored in the 194 The number of times that PRP page allocations have failed since boot is
|
| /freebsd/sys/dev/nvme/ |
| H A D | nvme_qpair.c | 540 /* Note: NVMe PRP format is restricted to 4-byte alignment. */ in nvme_qpair_construct() 553 * Each component must be page aligned, and individual PRP lists in nvme_qpair_construct() 561 * For commands requiring more than 2 PRP entries, one PRP will be in nvme_qpair_construct() 562 * embedded in the command (prp1), and the rest of the PRP entries in nvme_qpair_construct() 628 * Make sure that the PRP list for this tracker doesn't in nvme_qpair_construct() 644 tr->prp = (uint64_t *)prp_list; in nvme_qpair_construct() 1096 * just transfer each segment to its associated PRP entry. in nvme_payload_map() 1106 tr->prp[cur_nseg-1] = in nvme_payload_map()
|
| H A D | nvme_private.h | 142 uint64_t *prp; member
|
| /freebsd/sys/dev/mrsas/ |
| H A D | mrsas_cam.c | 1316 * 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/bin/mv/ |
| H A D | mv.1 | 150 cp -pRP source_file destination && \e
|
| H A D | mv.c | 383 execl(_PATH_CP, "mv", vflg ? "-PRpv" : "-PRp", "--", from, to, in copy()
|
| /freebsd/sys/sys/ |
| H A D | jaildesc.h | 78 int jaildesc_find(struct thread *td, int fd, struct prison **prp,
|
| /freebsd/cddl/contrib/opensolaris/cmd/dtrace/ |
| H A D | dtrace.c | 844 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/sys/compat/linux/ |
| H A D | linux_mib.c | 206 linux_find_prison(struct prison *spr, struct prison **prp) in linux_find_prison() argument 220 *prp = pr; in linux_find_prison()
|
| /freebsd/sys/dev/hyperv/include/ |
| H A D | vmbus.h | 222 struct vmbus_gpa_range *prp, int prp_cnt, void *data,
|
| /freebsd/sys/dev/ufshci/ |
| H A D | ufshci_req_sdb.c | 84 * Each component must be page aligned, and individual PRP lists in ufshci_req_sdb_cmd_desc_construct()
|