hermon_rsrc_t
hermon_rsrc_t *rsrcp;
hermon_rsrc_t *qp0_rsrc, *qp1_rsrc, *qp_resvd;
rsrcp = (hermon_rsrc_t *)(uintptr_t)value;
hermon_rsrc_t *rsrcp;
rsrcp = (hermon_rsrc_t *)(uintptr_t)value;
hermon_write_mtt_cmd_post(hermon_state_t *state, hermon_rsrc_t *mtt,
hermon_rsrc_t *rsrc;
hermon_rsrc_t *rsrc;
uarpg = ((hermon_rsrc_t *)(uintptr_t)value)->hr_indx;
hermon_rsrc_t *cqc, *rsrc;
hermon_rsrc_t *cqc, *rsrc;
hermon_rsrc_t *eqc, *rsrc;
hermon_rsrc_t *eqc, *rsrc;
ib_gid_t mgid, hermon_rsrc_t *mcg_rsrc)
hermon_rsrc_t *rsrc;
hermon_rsrc_t *rsrc;
hermon_rsrc_t *rsrc;
hermon_rsrc_t *rsrc;
hermon_hw_mcg_t *mcg_hdr, ib_gid_t mgid, hermon_rsrc_t *mcg_rsrc);
hermon_rsrc_t *rsrc;
hermon_rsrc_t *mpt, *rsrc;
hermon_rsrc_t *mpt, *rsrc;
hermon_rsrc_t *mpt, *mtt, *rsrc, *mtt_refcnt;
hermon_rsrc_t *mpt, *mtt, *rsrc;
hermon_rsrc_t *mpt, *rsrc;
hermon_rsrc_t *mpt, *mtt, *rsrc, *mtt_refcnt;
ddi_dma_handle_t bind_dmahdl, hermon_rsrc_t **mtt, uint_t *mtt_pgsize_bits,
hermon_rsrc_t *mtt)
hermon_rsrc_t *mpt;
hermon_rsrc_t *mtt, *mtt_refcnt;
hermon_mr_fast_mtt_write(hermon_state_t *state, hermon_rsrc_t *mtt,
hermon_mr_fast_mtt_write_fmr(hermon_state_t *state, hermon_rsrc_t *mtt,
hermon_mtt_refcnt_inc(hermon_rsrc_t *rsrc)
hermon_mtt_refcnt_dec(hermon_rsrc_t *rsrc)
hermon_rsrc_t *mpt, *mtt, *rsrc;
kmem_free(mtt, sizeof (hermon_rsrc_t) * nummtt);
hermon_rsrc_t *mpt;
hermon_rsrc_t *mpt, *mtt, *rsrc, *mtt_refcnt;
static int hermon_mr_fast_mtt_write(hermon_state_t *state, hermon_rsrc_t *mtt,
hermon_rsrc_t *mtt, ibt_pmr_attr_t *mem_pattr, uint32_t mtt_pgsize_bits);
static uint_t hermon_mtt_refcnt_inc(hermon_rsrc_t *rsrc);
static uint_t hermon_mtt_refcnt_dec(hermon_rsrc_t *rsrc);
hermon_rsrc_t *mpt, *mtt, *rsrc;
hermon_rsrc_t *qpc, *rsrc;
uarpg = ((hermon_rsrc_t *)(uintptr_t)value)->hr_indx;
hermon_rsrc_t *qpc, *rsrc;
hermon_rsrc_t *qpc)
uint_t port, hermon_rsrc_t **qp_rsrc)
hermon_rsrc_t *qpc);
ibt_sqp_type_t type, uint_t port, hermon_rsrc_t **qp_rsrc);
hermon_rsrc_t *qpc, *rsrc;
hermon_rsrc_t *qpc, *rsrc;
uint_t num, hermon_rsrc_t *hdl);
static void hermon_rsrc_mbox_free(hermon_rsrc_t *hdl);
uint_t num, uint_t num_align, uint_t sleepflag, hermon_rsrc_t *hdl);
hermon_rsrc_t *hdl);
uint_t num, uint_t num_align, uint_t sleepflag, hermon_rsrc_t *hdl);
uint_t num, hermon_rsrc_t *hdl, int num_to_hdl);
hermon_rsrc_t *hdl, int num_to_hdl);
uint_t sleepflag, hermon_rsrc_t *hdl);
hermon_rsrc_t *hdl);
uint_t sleepflag, hermon_rsrc_t *hdl);
hermon_rsrc_t *hdl);
hermon_rsrc_type_t rsrc, uint_t num, uint_t sleepflag, hermon_rsrc_t *hdl);
static void hermon_rsrc_fexch_free(hermon_state_t *state, hermon_rsrc_t *hdl);
hermon_rsrc_type_t rsrc, uint_t num, uint_t sleepflag, hermon_rsrc_t *hdl);
static void hermon_rsrc_rfci_free(hermon_state_t *state, hermon_rsrc_t *hdl);
hermon_rsrc_t *rsvd_rsrc = NULL;
hermon_rsrc_t *rsvd_rsrc;
rsvd_rsrc = (hermon_rsrc_t *)rsrc_pool->rsrc_private;
uint_t sleepflag, hermon_rsrc_t **hdl)
hermon_rsrc_t *hdl)
hermon_rsrc_t *tmp_rsrc_hdl;
hermon_rsrc_mbox_free(hermon_rsrc_t *hdl)
uint_t num_align, uint_t sleepflag, hermon_rsrc_t *hdl)
uint_t num_align, uint_t sleepflag, hermon_rsrc_t *hdl)
hermon_rsrc_t *hdl)
hermon_rsrc_t *hdl, int num_to_hdl)
hermon_rsrc_t *hdl, int num_to_hdl)
hermon_rsrc_t *hdl)
hermon_rsrc_swhdl_free(hermon_rsrc_pool_info_t *pool_info, hermon_rsrc_t *hdl)
hermon_rsrc_t *hdl)
hermon_rsrc_pdhdl_free(hermon_rsrc_pool_info_t *pool_info, hermon_rsrc_t *hdl)
uint_t sleepflag, hermon_rsrc_t **hdl)
hermon_rsrc_t *tmp_rsrc_hdl;
uint_t num, uint_t sleepflag, hermon_rsrc_t *hdl)
hermon_rsrc_t mpt_hdl; /* temporary, just for icm_confirm */
hermon_rsrc_t mtt_hdl; /* temporary, just for icm_confirm */
hermon_rsrc_fexch_free(hermon_state_t *state, hermon_rsrc_t *hdl)
uint_t num, uint_t sleepflag, hermon_rsrc_t *hdl)
hermon_rsrc_rfci_free(hermon_state_t *state, hermon_rsrc_t *hdl)
hermon_rsrc_free(hermon_state_t *state, hermon_rsrc_t **hdl)
sizeof (hermon_rsrc_t), 0, NULL, NULL, NULL, NULL, NULL, 0);
uarpg = ((hermon_rsrc_t *)(uintptr_t)value)->hr_indx;
hermon_rsrc_t *srqc, *rsrc;
hermon_rsrc_t *mtt, *old_mtt;
hermon_rsrc_t *srqc, *rsrc;
hermon_rsrc_t *rsrcp;
rsrcp = (hermon_rsrc_t *)(uintptr_t)value;
rsrcp = (hermon_rsrc_t *)(uintptr_t)value;
rsrcp = (hermon_rsrc_t *)(uintptr_t)value;
hermon_rsrc_t *rsrcp;
rsrcp = (hermon_rsrc_t *)(uintptr_t)value;
hermon_rsrc_t *rsrcp;
rsrcp = (hermon_rsrc_t *)(uintptr_t)value;
hermon_rsrc_t *rsrcp, uint64_t offset, size_t *maplen, int *err)
hermon_rsrc_t *rsrcp, offset_t off, size_t *maplen, int *err)
hermon_rsrc_t *rsrcp, offset_t off, size_t *maplen, int *err)
hermon_rsrc_t *rsrcp, offset_t off, size_t *maplen, int *err)
hermon_rsrc_t *rsrcp, offset_t off, size_t *maplen, int *err)
hermon_rsrc_t *rsrcp, uint64_t offset, size_t *maplen, int *err);
hermon_rsrc_t *rsrcp, offset_t off, size_t *maplen, int *err);
hermon_rsrc_t *rsrcp, offset_t off, size_t *maplen, int *err);
hermon_rsrc_t *rsrcp, offset_t off, size_t *maplen, int *err);
hermon_rsrc_t *rsrcp, offset_t off, size_t *maplen, int *err);
hermon_rsrc_t *rsrcp;
rsrcp = (hermon_rsrc_t *)(uintptr_t)value;
rsrcp = (hermon_rsrc_t *)(uintptr_t)value;
rsrcp = (hermon_rsrc_t *)(uintptr_t)value;
hermon_rsrc_t *mpt;
hermon_rsrc_t *hs_uarpg0_rsrc_rsrvd;
hermon_rsrc_t *hs_uarkpg_rsrc;
hermon_rsrc_t *hs_spec_qp0;
hermon_rsrc_t *hs_spec_qp1;
hermon_rsrc_t *hs_spec_qp_unused;
hermon_rsrc_t *mb_rsrcptr;
int hermon_write_mtt_cmd_post(hermon_state_t *state, hermon_rsrc_t *mtt,
hermon_rsrc_t *cq_cqcrsrcp;
hermon_rsrc_t *cq_rsrcp;
hermon_rsrc_t *eq_eqcrsrcp;
hermon_rsrc_t *eq_rsrcp;
hermon_rsrc_t hfc_qp_rsrc;
hermon_rsrc_t *hfc_mpt_rsrc; /* FEXCH MPTs for all ports */
hermon_rsrc_t *hfc_mtt_rsrc; /* FEXCH MTTs for all MPTs */
hermon_rsrc_t *hfc_fexch_rsrc; /* FEXCH QPs for all ports */
hermon_rsrc_t *hfc_rfci_rsrc; /* RFCI QPs for all ports */
hermon_rsrc_t *ah_rsrcp;
hermon_rsrc_t *mcg_rsrcp;
hermon_rsrc_t *pd_rsrcp;
hermon_rsrc_t *mr_mptrsrcp;
hermon_rsrc_t *mr_mttrsrcp;
hermon_rsrc_t *mr_mttrefcntp;
hermon_rsrc_t *mr_rsrcp;
ddi_dma_handle_t bind_dmahdl, hermon_rsrc_t **mtt, uint_t *mtt_pgsz_bits,
hermon_rsrc_t *mtt);
hermon_rsrc_t *hqpr_qpcrsrc;
hermon_rsrc_t *qpn_qpc;
hermon_rsrc_t *qp_qpcrsrcp;
hermon_rsrc_t *qp_rsrcp;
uint_t num, uint_t sleepflag, hermon_rsrc_t **hdl);
void hermon_rsrc_free(hermon_state_t *state, hermon_rsrc_t **hdl);
uint_t num, uint_t sleepflag, hermon_rsrc_t **hdl);
hermon_rsrc_t *srq_srqcrsrcp;
hermon_rsrc_t *srq_rsrcp;