Home
last modified time | relevance | path

Searched refs:srqc (Results 1 – 2 of 2) sorted by relevance

/titanic_50/usr/src/uts/common/io/ib/adapters/tavor/
H A Dtavor_srq.c62 tavor_rsrc_t *srqc, *rsrc; in tavor_srq_alloc() local
130 status = tavor_rsrc_alloc(state, TAVOR_SRQC, 1, sleepflag, &srqc); in tavor_srq_alloc()
148 srq->srq_srqnum = srqc->tr_indx; /* just use index */ in tavor_srq_alloc()
393 srq->srq_srqcrsrcp = srqc; in tavor_srq_alloc()
417 ASSERT(state->ts_srqhdl[srqc->tr_indx] == NULL); in tavor_srq_alloc()
418 state->ts_srqhdl[srqc->tr_indx] = srq; in tavor_srq_alloc()
462 tavor_rsrc_free(state, &srqc); in tavor_srq_alloc()
481 tavor_rsrc_t *srqc, *rsrc; in tavor_srq_free() local
502 srqc = srq->srq_srqcrsrcp; in tavor_srq_free()
560 state->ts_srqhdl[srqc->tr_indx] = NULL; in tavor_srq_free()
[all …]
/titanic_50/usr/src/uts/common/io/ib/adapters/hermon/
H A Dhermon_srq.c61 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()