Home
last modified time | relevance | path

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

/illumos-gate/usr/src/uts/common/io/ib/adapters/hermon/
H A Dhermon_cq.c85 hermon_cq_sched_t *cq_schedp; in hermon_cq_alloc() local
267 if (cq_schedp == NULL) { in hermon_cq_alloc()
275 if (cq_schedp == &tmp[i]) in hermon_cq_alloc()
1786 hermon_cq_sched_t *cq_schedp; in hermon_get_cq_sched_list() local
1826 cq_schedp[i].cqs_refcnt = 0; in hermon_get_cq_sched_list()
1843 cq_schedp->cqs_refcnt = 0; in hermon_get_cq_sched_list()
1958 cq_schedp->cqs_refcnt++; in hermon_cq_sched_alloc()
1964 cq_schedp = NULL; in hermon_cq_sched_alloc()
1968 if ((cq_schedp == NULL) && in hermon_cq_sched_alloc()
1978 if (cq_schedp != NULL) { in hermon_cq_sched_free()
[all …]
/illumos-gate/usr/src/uts/common/sys/ib/adapters/hermon/
H A Dhermon_cq.h152 #define HERMON_CQSCHED_NEXT_HID(cq_schedp) \ argument
153 ((atomic_inc_uint_nv(&(cq_schedp)->cqs_next_alloc) % \
154 (cq_schedp)->cqs_len) + (cq_schedp)->cqs_start_hid)
282 int hermon_cq_sched_free(hermon_state_t *state, hermon_cq_sched_t *cq_schedp);