/illumos-gate/usr/src/uts/common/io/ib/clients/of/sol_ofs/ |
H A D | sol_kverbs.c | 810 struct ib_pd *pd; in ib_alloc_pd() local 839 "rtn: 0x%x", device, pd, pd->ibt_pd, rtn); in ib_alloc_pd() 840 return (pd); in ib_alloc_pd() 846 "ibt_alloc_pd failed w/ 0x%x", device, pd, pd->ibt_pd, rtn); in ib_alloc_pd() 869 pd, pd->device->reg_state); in ib_dealloc_pd() 876 rtn = ibt_free_pd(pd->device->hca_hdl, pd->ibt_pd); in ib_dealloc_pd() 882 "rtn: 0x%x", pd, pd->device, pd->ibt_pd, rtn); in ib_dealloc_pd() 889 pd, rtn); in ib_dealloc_pd() 1183 qp->pd = pd; in ib_create_qp() 1197 "rtn: 0x%x", pd->device, pd, qp_init_attr, rtn); in ib_create_qp() [all …]
|
/illumos-gate/usr/src/cmd/sed/ |
H A D | process.c | 60 #define pd PS.deleted macro 102 pd = 0; in process() 130 pd = 1; in process() 136 pd = 1; in process() 139 if (pd) in process() 143 pd = 1; in process() 172 if (!nflag && !pd) in process() 177 pd = 0; in process() 186 if (pd) in process() 191 if (pd) in process() [all …]
|
/illumos-gate/usr/src/uts/common/io/scsi/adapters/pvscsi/ |
H A D | pvscsi.c | 616 if ((pd->target == cmd->target) && (pd->lun == cmd->lun)) { in pvscsi_abort_all() 1196 cmd->lun = pd->lun; in pvscsi_start() 1316 pvscsi_device_t *pd; in pvscsi_tgt_init() local 1327 pd = kmem_zalloc(sizeof (*pd), KM_SLEEP); in pvscsi_tgt_init() 1328 if (pvscsi_parse_ua(ua, &pd->target, &pd->lun) != DDI_SUCCESS) { in pvscsi_tgt_init() 1329 kmem_free(pd, sizeof (*pd)); in pvscsi_tgt_init() 1332 pd->pvs = pvs; in pvscsi_tgt_init() 1345 pvscsi_device_t *pd; in pvscsi_tgt_free() local 1358 kmem_free(pd, sizeof (*pd)); in pvscsi_tgt_free() 1381 pvscsi_dev_reset(pvs, pd->target, pd->lun); in pvscsi_reset() [all …]
|
/illumos-gate/usr/src/lib/fm/topo/modules/common/pcibus/ |
H A D | did.c | 336 did_t *pd; in did_create() local 340 if ((pd = did_hash_lookup(mp, src)) != NULL) { in did_create() 342 assert(ibus == TRUST_BDF || (pd->dp_bus == ibus)); in did_create() 343 return (pd); in did_create() 433 did_t *hd, *pd; in did_link_set() local 439 pd = hd; in did_link_set() 440 pd->dp_link = tail; in did_link_set() 678 did_settnode(did_t *pd, tnode_t *tn) in did_settnode() argument 681 pd->dp_tnode = tn; in did_settnode() 685 did_gettnode(did_t *pd) in did_gettnode() argument [all …]
|
/illumos-gate/usr/src/uts/common/crypto/core/ |
H A D | kcf_cryptoadm.c | 299 kcf_provider_desc_t *pd; in crypto_get_dev_list() local 335 pd = provider_array[i]; in crypto_get_dev_list() 337 p[j].le_dev_instance = pd->pd_instance; in crypto_get_dev_list() 447 kcf_provider_desc_t *pd; in crypto_get_dev_info() local 479 pd = provider_array[i]; in crypto_get_dev_info() 480 for (j = 0; j < pd->pd_mech_list_count; j++) { in crypto_get_dev_info() 485 bcopy(&pd->pd_mechanisms[j].cm_mech_name[0], in crypto_get_dev_info() 929 kcf_provider_desc_t *pd; in is_mech_disabled() local 945 pd = e->pl_provider; in is_mech_disabled() 949 count = pd->pd_mech_list_count; in is_mech_disabled() [all …]
|
H A D | kcf_prov_tabs.c | 798 kcf_get_sw_prov(crypto_mech_type_t mech_type, kcf_provider_desc_t **pd, in kcf_get_sw_prov() argument 816 (*pd = me->me_sw_prov->pm_prov_desc) == NULL) { in kcf_get_sw_prov() 825 KCF_PROV_REFHOLD(*pd); in kcf_get_sw_prov() 881 kcf_provider_desc_t *pd; in kcf_free_unregistered_provs() local 886 if ((pd = prov_tab[i]) == NULL || in kcf_free_unregistered_provs() 887 pd->pd_prov_type == CRYPTO_SW_PROVIDER || in kcf_free_unregistered_provs() 888 pd->pd_state != KCF_PROV_UNREGISTERED) in kcf_free_unregistered_provs() 891 if (kcf_get_refcnt(pd, B_TRUE) == 0) { in kcf_free_unregistered_provs() 893 kcf_free_provider_desc(pd); in kcf_free_unregistered_provs()
|
/illumos-gate/usr/src/uts/common/io/ |
H A D | pfmod.c | 235 struct packdesc pd; in pfrput() local 303 pd.pd_hdr = (ushort_t *)mp->b_rptr; in pfrput() 304 pd.pd_hdrlen = (mp->b_wptr - mp->b_rptr) / sizeof (ushort_t); in pfrput() 306 pd.pd_body = (ushort_t *)mbp->b_rptr; in pfrput() 307 pd.pd_bodylen = (mbp->b_wptr - mbp->b_rptr) / in pfrput() 310 pd.pd_body = NULL; in pfrput() 311 pd.pd_bodylen = 0; in pfrput() 317 if (FilterPacket(&pd, pfp)) in pfrput()
|
/illumos-gate/usr/src/uts/common/io/elxl/ |
H A D | elxl.c | 313 ex_pd_t *pd; in elxl_reset_ring() local 319 pd = ed->ed_pd; in elxl_reset_ring() 321 PUT_PD(r, pd->pd_fsh, 0); in elxl_reset_ring() 332 pd = ed->ed_pd; in elxl_reset_ring() 387 ed->ed_pd = pd; in ex_alloc_ring() 1060 ex_pd_t *pd; in elxl_m_tx() local 1192 pd = txd->ed_pd; in elxl_m_tx() 1240 pd = tail->ed_pd; in elxl_m_tx() 1242 PUT_PD(r, pd->pd_fsh, in elxl_m_tx() 1772 ex_pd_t *pd; in elxl_intr() local [all …]
|
/illumos-gate/usr/src/uts/common/io/ib/adapters/tavor/ |
H A D | tavor_ci.c | 506 if (pd == NULL) { in tavor_ci_free_pd() 512 pdhdl = (tavor_pdhdl_t)pd; in tavor_ci_free_pd() 584 if (pd == NULL) { in tavor_ci_alloc_ah() 590 pdhdl = (tavor_pdhdl_t)pd; in tavor_ci_alloc_ah() 1274 if (pd == NULL) { in tavor_ci_register_mr() 1290 pdhdl = (tavor_pdhdl_t)pd; in tavor_ci_register_mr() 1355 if (pd == NULL) { in tavor_ci_register_buf() 1513 if (pd == NULL) { in tavor_ci_register_shared_mr() 1763 if (pd == NULL) { in tavor_ci_alloc_mw() 1879 if (pd == NULL) { in tavor_ci_register_dma_mr() [all …]
|
H A D | tavor_srq.c | 57 tavor_pdhdl_t pd; in tavor_srq_alloc() local 98 pd = srqinfo->srqi_pd; in tavor_srq_alloc() 122 tavor_pd_refcnt_inc(pd); in tavor_srq_alloc() 281 status = tavor_mr_register(state, pd, &mr_attr, &mr, &mr_op); in tavor_srq_alloc() 337 srqc_entry.pd = pd->pd_pdnum; in tavor_srq_alloc() 373 srq->srq_pdhdl = pd; in tavor_srq_alloc() 436 tavor_pd_refcnt_dec(pd); in tavor_srq_alloc() 455 tavor_pdhdl_t pd; in tavor_srq_free() local 471 pd = srq->srq_pdhdl; in tavor_srq_free() 581 tavor_pd_refcnt_dec(pd); in tavor_srq_free()
|
H A D | tavor_cq.c | 73 tavor_pdhdl_t pd; in tavor_cq_alloc() local 102 pd = state->ts_pdhdl_internal; in tavor_cq_alloc() 105 tavor_pd_refcnt_inc(pd); in tavor_cq_alloc() 230 status = tavor_mr_register(state, pd, &mr_attr, &mr, &op); in tavor_cq_alloc() 268 cqc_entry.pd = pd->pd_pdnum; in tavor_cq_alloc() 359 tavor_pd_refcnt_dec(pd); in tavor_cq_alloc() 376 tavor_pdhdl_t pd; in tavor_cq_free() local 393 pd = state->ts_pdhdl_internal; in tavor_cq_free() 495 tavor_pd_refcnt_dec(pd); in tavor_cq_free() 516 tavor_pdhdl_t pd; in tavor_cq_resize() local [all …]
|
H A D | tavor_qp.c | 77 tavor_pdhdl_t pd; in tavor_qp_alloc() local 177 tavor_pd_refcnt_inc(pd); in tavor_qp_alloc() 483 qp->qp_pdhdl = pd; in tavor_qp_alloc() 591 tavor_pd_refcnt_dec(pd); in tavor_qp_alloc() 616 tavor_pdhdl_t pd; in tavor_special_qp_alloc() local 672 tavor_pd_refcnt_inc(pd); in tavor_special_qp_alloc() 900 qp->qp_pdhdl = pd; in tavor_special_qp_alloc() 960 tavor_pd_refcnt_dec(pd); in tavor_special_qp_alloc() 983 tavor_pdhdl_t pd; in tavor_qp_free() local 1003 pd = qp->qp_pdhdl; in tavor_qp_free() [all …]
|
/illumos-gate/usr/src/lib/libdtrace/common/ |
H A D | dt_consume.c | 408 char *p = pd->dtpd_provider, *n = pd->dtpd_name, *sub; in dt_flowindent() 1796 boolean_t packed = pd->dtpa_agghist || pd->dtpa_aggpack; in dt_print_datum() 1829 if (pd->dtpa_agghist) { in dt_print_datum() 1950 FILE *fp = pd->dtpa_fp; in dt_print_aggs() 2008 if (!pd->dtpa_allunprint) in dt_print_aggs() 2012 if (!pd->dtpa_agghist && !pd->dtpa_aggpack) { in dt_print_aggs() 2031 if (pd->dtpa_allunprint) { in dt_print_agg() 2399 dt_print_aggdata_t pd; in dt_consume_cpu() local 2437 bzero(&pd, sizeof (pd)); in dt_consume_cpu() 2438 pd.dtpa_dtp = dtp; in dt_consume_cpu() [all …]
|
/illumos-gate/usr/src/uts/common/io/ib/clients/rdsv3/ |
H A D | ib.c | 113 rds_ibdev->pd = ib_alloc_pd(device); in rdsv3_ib_add_one() 114 if (IS_ERR(rds_ibdev->pd)) in rdsv3_ib_add_one() 185 (void) ib_dealloc_pd(rds_ibdev->pd); in rdsv3_ib_add_one() 227 while (ib_dealloc_pd(rds_ibdev->pd)) { in rdsv3_ib_remove_one() 231 __func__, __LINE__, rds_ibdev->pd); in rdsv3_ib_remove_one() 236 if (ib_dealloc_pd(rds_ibdev->pd)) { in rdsv3_ib_remove_one() 239 "Failed to dealloc pd %p\n", rds_ibdev->pd); in rdsv3_ib_remove_one()
|
/illumos-gate/usr/src/uts/sun4v/io/ |
H A D | mach_rootnex.c | 232 struct ddi_parent_private_data *pd; in rootnex_ctl_initchild_impl() local 254 pd = init_regspec_64(dip); in rootnex_ctl_initchild_impl() 255 if ((pd == NULL) || (pd->par_nreg == 0)) in rootnex_ctl_initchild_impl()
|
/illumos-gate/usr/src/uts/common/sys/ib/adapters/hermon/ |
H A D | hermon_mr.h | 314 hermon_pdhdl_t pd, ibt_smr_attr_t *mr_attr, struct buf *buf, 324 int hermon_mr_alloc_fmr(hermon_state_t *state, hermon_pdhdl_t pd, 329 int hermon_mr_alloc_lkey(hermon_state_t *state, hermon_pdhdl_t pd, 331 int hermon_mr_fexch_mpt_init(hermon_state_t *state, hermon_pdhdl_t pd, 333 int hermon_mr_fexch_mpt_fini(hermon_state_t *state, hermon_pdhdl_t pd,
|
/illumos-gate/usr/src/cmd/mdb/intel/mdb/ |
H A D | kvm_amd64dep.c | 199 panic_data_t pd; in kt_amd64_init() local 251 if (mdb_tgt_readsym(t, MDB_TGT_AS_VIRT, &pd, sizeof (pd), in kt_amd64_init() 252 MDB_TGT_OBJ_EXEC, "panicbuf") == sizeof (pd) && in kt_amd64_init() 253 pd.pd_version == PANICBUFVERS) { in kt_amd64_init() 255 size_t pd_size = MIN(PANICBUFSIZE, pd.pd_msgoff); in kt_amd64_init()
|
H A D | kvm_ia32dep.c | 192 panic_data_t pd; in kt_ia32_init() local 247 if (mdb_tgt_readsym(t, MDB_TGT_AS_VIRT, &pd, sizeof (pd), in kt_ia32_init() 248 MDB_TGT_OBJ_EXEC, "panicbuf") == sizeof (pd) && in kt_ia32_init() 249 pd.pd_version == PANICBUFVERS) { in kt_ia32_init() 251 size_t pd_size = MIN(PANICBUFSIZE, pd.pd_msgoff); in kt_ia32_init()
|
/illumos-gate/usr/src/cmd/mdb/common/modules/dtrace/ |
H A D | dtrace.c | 188 pd->dtpd_id++; in dtracemdb_probe() 222 pd->dtpd_id = probe.dtpr_id; in dtracemdb_probe() 1011 pd->dtpd_func, pd->dtpd_name); in dtrace_dcmdprobe() 1021 pd->dtpd_name); in dtrace_dcmdprobe() 2717 dtrace_probedesc_t pd; in dtrace_probes_walk() local 2739 mdb_printf("%5d %10s %17s %33s %s\n", pd.dtpd_id, pd.dtpd_provider, in dtrace_probes_walk() 2740 pd.dtpd_mod, pd.dtpd_func, pd.dtpd_name); in dtrace_probes_walk() 2757 dtrace_probedesc_t pd; in dtrace_probes() local 2791 pd.dtpd_id = i + 1; in dtrace_probes() 2794 pd.dtpd_id, pd.dtpd_provider, in dtrace_probes() [all …]
|
/illumos-gate/usr/src/uts/common/io/ib/adapters/hermon/ |
H A D | hermon_srq.c | 56 hermon_pdhdl_t pd; in hermon_srq_alloc() local 89 pd = srqinfo->srqi_pd; in hermon_srq_alloc() 116 hermon_pd_refcnt_inc(pd); in hermon_srq_alloc() 283 status = hermon_mr_register(state, pd, &mr_attr, &mr, in hermon_srq_alloc() 329 srqc_entry.pd = pd->pd_pdnum; in hermon_srq_alloc() 369 srq->srq_pdhdl = pd; in hermon_srq_alloc() 434 hermon_pd_refcnt_dec(pd); in hermon_srq_alloc() 454 hermon_pdhdl_t pd; in hermon_srq_free() local 469 pd = srq->srq_pdhdl; in hermon_srq_free() 571 hermon_pd_refcnt_dec(pd); in hermon_srq_free()
|
H A D | hermon_misc.c | 536 udav->pd = pd->pd_pdnum; in hermon_ah_alloc() 549 ah->ah_pdhdl = pd; in hermon_ah_alloc() 567 hermon_pdhdl_t pd; in hermon_ah_free() local 578 pd = ah->ah_pdhdl; in hermon_ah_free() 613 *pd = ah->ah_pdhdl; in hermon_ah_query() 708 ah->ah_udav->pd = old_udav.pd; in hermon_ah_modify() 1807 hermon_pdhdl_t pd; in hermon_pd_alloc() local 1824 pd->pd_refcnt = 0; in hermon_pd_alloc() 1825 *pdhdl = pd; in hermon_pd_alloc() 1839 hermon_pdhdl_t pd; in hermon_pd_free() local [all …]
|
H A D | hermon_ci.c | 487 pdhdl = (hermon_pdhdl_t)pd; in hermon_ci_free_pd() 549 pdhdl = (hermon_pdhdl_t)pd; in hermon_ci_alloc_ah() 1134 pdhdl = (hermon_pdhdl_t)pd; in hermon_ci_register_mr() 1206 pdhdl = (hermon_pdhdl_t)pd; in hermon_ci_register_buf() 1327 pdhdl = (hermon_pdhdl_t)pd; in hermon_ci_register_shared_mr() 1388 pdhdl = (hermon_pdhdl_t)pd; in hermon_ci_reregister_mr() 1449 pdhdl = (hermon_pdhdl_t)pd; in hermon_ci_reregister_buf() 1524 pdhdl = (hermon_pdhdl_t)pd; in hermon_ci_alloc_mw() 1622 pdhdl = (hermon_pdhdl_t)pd; in hermon_ci_register_dma_mr() 1864 pdhdl = (hermon_pdhdl_t)pd; in hermon_ci_alloc_srq() [all …]
|
/illumos-gate/usr/src/uts/common/sys/ib/ibtl/ |
H A D | ibti_common.h | 1205 ibt_status_t ibt_register_mr(ibt_hca_hdl_t hca_hdl, ibt_pd_hdl_t pd, 1208 ibt_status_t ibt_register_buf(ibt_hca_hdl_t hca_hdl, ibt_pd_hdl_t pd, 1218 ibt_pd_hdl_t pd, ibt_mr_attr_t *mem_attr, ibt_mr_hdl_t *mr_hdl_p, 1222 ibt_pd_hdl_t pd, ibt_smr_attr_t *mem_bpattr, struct buf *bp, 1226 ibt_pd_hdl_t pd, ibt_smr_attr_t *mem_sattr, ibt_mr_hdl_t *mr_hdl_p, 1232 ibt_status_t ibt_alloc_mw(ibt_hca_hdl_t hca_hdl, ibt_pd_hdl_t pd, 1247 ibt_status_t ibt_alloc_lkey(ibt_hca_hdl_t hca_hdl, ibt_pd_hdl_t pd, 1267 ibt_pd_hdl_t pd, ibt_pmr_attr_t *mem_pattr, ibt_mr_hdl_t *mr_hdl_p, 1446 ibt_pd_hdl_t *pd); 1447 ibt_status_t ibt_free_pd(ibt_hca_hdl_t hca_hdl, ibt_pd_hdl_t pd); [all …]
|
/illumos-gate/usr/src/cmd/dtrace/test/cmd/chkargs/ |
H A D | chkargs.c | 88 dtrace_probedesc_t pd, *pdp = NULL; in main() local 132 if (dtrace_str2desc(dtp, DTRACE_PROBESPEC_NAME, argv[0], &pd)) { in main() 138 pdp = &pd; in main()
|
/illumos-gate/usr/src/cmd/fs.d/udfs/common/ |
H A D | ud_lib.c | 519 struct part_desc *pd; in ud_parse_fill_vds() local 525 pd = (struct part_desc *)taddr; in ud_parse_fill_vds() 530 if ((SWAP_16(pd->pd_pnum) == in ud_parse_fill_vds() 532 (SWAP_32(pd->pd_vdsn) > in ud_parse_fill_vds() 1691 print_tag(fout, &pd->pd_tag); in print_part() 1694 SWAP_32(pd->pd_vdsn), in print_part() 1695 SWAP_16(pd->pd_pflags), in print_part() 1696 SWAP_16(pd->pd_pnum)); in print_part() 1702 SWAP_32(pd->pd_acc_type), in print_part() 1703 SWAP_32(pd->pd_part_start), in print_part() [all …]
|