Searched refs:srqc (Results 1 – 2 of 2) sorted by relevance
/illumos-gate/usr/src/uts/common/io/ib/adapters/tavor/ |
H A D | tavor_srq.c | 62 tavor_rsrc_t *srqc, *rsrc; in tavor_srq_alloc() local 125 status = tavor_rsrc_alloc(state, TAVOR_SRQC, 1, sleepflag, &srqc); in tavor_srq_alloc() 139 srq->srq_srqnum = srqc->tr_indx; /* just use index */ in tavor_srq_alloc() 366 srq->srq_srqcrsrcp = srqc; in tavor_srq_alloc() 390 ASSERT(state->ts_srqhdl[srqc->tr_indx] == NULL); in tavor_srq_alloc() 391 state->ts_srqhdl[srqc->tr_indx] = srq; in tavor_srq_alloc() 434 tavor_rsrc_free(state, &srqc); in tavor_srq_alloc() 450 tavor_rsrc_t *srqc, *rsrc; in tavor_srq_free() local 469 srqc = srq->srq_srqcrsrcp; in tavor_srq_free() 522 state->ts_srqhdl[srqc->tr_indx] = NULL; in tavor_srq_free() [all …]
|
/illumos-gate/usr/src/uts/common/io/ib/adapters/hermon/ |
H A D | hermon_srq.c | 61 hermon_rsrc_t *srqc, *rsrc; in hermon_srq_alloc() local 119 status = hermon_rsrc_alloc(state, HERMON_SRQC, 1, sleepflag, &srqc); in hermon_srq_alloc() 139 srq->srq_srqnum = srqc->hr_indx; in hermon_srq_alloc() 362 srq->srq_srqcrsrcp = srqc; in hermon_srq_alloc() 382 hermon_icm_set_num_to_hdl(state, HERMON_SRQC, srqc->hr_indx, srq); in hermon_srq_alloc() 432 hermon_rsrc_free(state, &srqc); in hermon_srq_alloc() 449 hermon_rsrc_t *srqc, *rsrc; in hermon_srq_free() local 467 srqc = srq->srq_srqcrsrcp; in hermon_srq_free() 520 hermon_icm_set_num_to_hdl(state, HERMON_SRQC, srqc->hr_indx, NULL); in hermon_srq_free() 568 hermon_rsrc_free(state, &srqc); in hermon_srq_free()
|