Searched refs:wrap_around_mask (Results 1 – 6 of 6) sorted by relevance
/illumos-gate/usr/src/lib/udapl/udapl_tavor/tavor/ |
H A D | dapl_arbel_hw.c | 557 uint32_t wrap_around_mask; in dapli_arbel_cq_peek() local 569 wrap_around_mask = (cq->cq_size - 1); in dapli_arbel_cq_peek() 593 cons_indx = (cons_indx + 1) & wrap_around_mask; in dapli_arbel_cq_peek() 616 uint32_t wrap_around_mask; in dapli_arbel_cq_poll() local 628 wrap_around_mask = (cq->cq_size - 1); in dapli_arbel_cq_poll() 652 cons_indx = (cons_indx + 1) & wrap_around_mask; in dapli_arbel_cq_poll() 1390 uint32_t cons_indx, tail_cons_indx, wrap_around_mask; in dapli_arbel_cq_srq_entries_flush() local 1411 wrap_around_mask = (cq->cq_size - 1); in dapli_arbel_cq_srq_entries_flush() 1430 tail_cons_indx = (tail_cons_indx + 1) & wrap_around_mask; in dapli_arbel_cq_srq_entries_flush() 1441 check_indx = new_indx = (tail_cons_indx - 1) & wrap_around_mask; in dapli_arbel_cq_srq_entries_flush() [all …]
|
H A D | dapl_tavor_hw.c | 789 uint32_t wrap_around_mask; in dapli_tavor_cq_peek() local 801 wrap_around_mask = (cq->cq_size - 1); in dapli_tavor_cq_peek() 825 cons_indx = (cons_indx + 1) & wrap_around_mask; in dapli_tavor_cq_peek() 845 uint32_t wrap_around_mask; in dapli_tavor_cq_poll() local 858 wrap_around_mask = (cq->cq_size - 1); in dapli_tavor_cq_poll() 882 cons_indx = (cons_indx + 1) & wrap_around_mask; in dapli_tavor_cq_poll() 1723 uint32_t cons_indx, tail_cons_indx, wrap_around_mask; in dapli_tavor_cq_srq_entries_flush() local 1745 wrap_around_mask = (cq->cq_size - 1); in dapli_tavor_cq_srq_entries_flush() 1764 tail_cons_indx = (tail_cons_indx + 1) & wrap_around_mask; in dapli_tavor_cq_srq_entries_flush() 1775 check_indx = new_indx = (tail_cons_indx - 1) & wrap_around_mask; in dapli_tavor_cq_srq_entries_flush() [all …]
|
/illumos-gate/usr/src/uts/common/io/ib/adapters/tavor/ |
H A D | tavor_cq.c | 843 uint32_t cons_indx, wrap_around_mask; in tavor_cq_poll() local 865 wrap_around_mask = (cq->cq_bufsz - 1); in tavor_cq_poll() 895 cons_indx = (cons_indx + 1) & wrap_around_mask; in tavor_cq_poll() 1546 uint32_t new_cons_indx, wrap_around_mask; in tavor_cq_resize_helper() local 1558 wrap_around_mask = (cq->cq_bufsz - 1); in tavor_cq_resize_helper() 1584 old_cons_indx = (old_cons_indx + 1) & wrap_around_mask; in tavor_cq_resize_helper() 1604 uint32_t cons_indx, tail_cons_indx, wrap_around_mask; in tavor_cq_srq_entries_flush() local 1636 wrap_around_mask = (cq->cq_bufsz - 1); in tavor_cq_srq_entries_flush() 1658 tail_cons_indx = (tail_cons_indx + 1) & wrap_around_mask; in tavor_cq_srq_entries_flush() 1672 check_indx = new_indx = (tail_cons_indx - 1) & wrap_around_mask; in tavor_cq_srq_entries_flush() [all …]
|
H A D | tavor_event.c | 600 uint32_t cons_indx, wrap_around_mask; in tavor_eq_poll() local 638 wrap_around_mask = (eq->eq_bufsz - 1); in tavor_eq_poll() 697 cons_indx = (cons_indx + 1) & wrap_around_mask; in tavor_eq_poll()
|
/illumos-gate/usr/src/uts/common/io/ib/adapters/hermon/ |
H A D | hermon_cq.c | 872 uint32_t cons_indx, wrap_around_mask, shift, mask; in hermon_cq_poll() local 896 wrap_around_mask = (cq->cq_bufsz - 1); in hermon_cq_poll() 899 cqe = &cq->cq_buf[cons_indx & wrap_around_mask]; in hermon_cq_poll() 923 wrap_around_mask = (cq->cq_bufsz - 1); in hermon_cq_poll() 926 cqe = &cq->cq_buf[cons_indx & wrap_around_mask]; in hermon_cq_poll() 942 cqe = &cq->cq_buf[cons_indx & wrap_around_mask]; in hermon_cq_poll() 1653 uint32_t cons_indx, tail_cons_indx, wrap_around_mask; in hermon_cq_entries_flush() local 1676 wrap_around_mask = mask - 1; in hermon_cq_entries_flush() 1679 cqe = &cq->cq_buf[cons_indx & wrap_around_mask]; in hermon_cq_entries_flush() 1698 cqe = &cq->cq_buf[tail_cons_indx & wrap_around_mask]; in hermon_cq_entries_flush() [all …]
|
H A D | hermon_event.c | 513 uint32_t cons_indx, wrap_around_mask, shift; in hermon_eq_poll() local 531 wrap_around_mask = (eq->eq_bufsz - 1); in hermon_eq_poll() 534 eqe = &eq->eq_buf[(cons_indx & wrap_around_mask)]; in hermon_eq_poll() 576 eqe = &eq->eq_buf[(cons_indx & wrap_around_mask)]; in hermon_eq_poll()
|