Lines Matching defs:rsrc
134 hermon_rsrc_type_t rsrc, uint_t num, uint_t sleepflag, hermon_rsrc_t *hdl);
137 hermon_rsrc_type_t rsrc, uint_t num, uint_t sleepflag, hermon_rsrc_t *hdl);
179 hermon_rsrc_alloc(hermon_state_t *state, hermon_rsrc_type_t rsrc, uint_t num,
189 rsrc_pool = &state->hs_rsrc_hdl[rsrc];
206 tmp_rsrc_hdl->rsrc_type = rsrc;
211 switch (rsrc) {
230 status = hermon_rsrc_fexch_alloc(state, rsrc, num,
237 status = hermon_rsrc_rfci_alloc(state, rsrc, num,
304 hermon_rsrc_reserve(hermon_state_t *state, hermon_rsrc_type_t rsrc, uint_t num,
314 rsrc_pool = &state->hs_rsrc_hdl[rsrc];
331 tmp_rsrc_hdl->rsrc_type = rsrc;
333 switch (rsrc) {
346 cmn_err(CE_WARN, "Resource type %x \n", rsrc);
373 hermon_rsrc_fexch_alloc(hermon_state_t *state, hermon_rsrc_type_t rsrc,
393 portm1 = rsrc - HERMON_QPC_FEXCH_PORT1;
473 hermon_rsrc_rfci_alloc(hermon_state_t *state, hermon_rsrc_type_t rsrc,
490 portm1 = rsrc - HERMON_QPC_RFCI_PORT1;
843 * created via the rsrc pool initialization routine. Note that,
906 /* We don't need to initialize this rsrc here. */
1613 " rsrc_type (0x%x) created vmem arena for rsrc",
2113 * backed by this span. Given that the rsrc allocation is