Home
last modified time | relevance | path

Searched refs:rindx (Results 1 – 3 of 3) sorted by relevance

/titanic_50/usr/src/uts/common/sys/ib/adapters/hermon/
H A Dhermon.h954 #define hermon_index(index1, index2, rindx, table, offset) \ argument
955 index1 = (rindx) >> table->split_shift; \
956 index2 = ((rindx) & table->span_mask) >> table->span_shift; \
957 offset = (rindx) & table->rsrc_mask
/titanic_50/usr/src/uts/common/io/ib/adapters/hermon/
H A Dhermon_mr.c457 uint32_t index1, index2, rindx; in hermon_mr_alloc_fmr() local
624 rindx = mpt->hr_indx; in hermon_mr_alloc_fmr()
625 hermon_index(index1, index2, rindx, icm_table, i); in hermon_mr_alloc_fmr()
3245 uint32_t index1, index2, rindx; in hermon_mr_fast_mtt_write() local
3275 rindx = mtt->hr_indx; in hermon_mr_fast_mtt_write()
3276 hermon_index(index1, index2, rindx, icm_table, i); in hermon_mr_fast_mtt_write()
3298 rindx++; in hermon_mr_fast_mtt_write()
3311 hermon_index(index1, index2, rindx, icm_table, in hermon_mr_fast_mtt_write()
3367 uint32_t index1, index2, rindx; in hermon_mr_fast_mtt_write_fmr() local
3373 rindx = mtt->hr_indx; in hermon_mr_fast_mtt_write_fmr()
[all …]
H A Dhermon_rsrc.c2051 uint32_t rindx, span_offset; in hermon_rsrc_hw_entry_icm_confirm() local
2074 rindx = hdl->hr_indx; in hermon_rsrc_hw_entry_icm_confirm()
2075 hermon_index(index1, index2, rindx, icm_table, span_offset); in hermon_rsrc_hw_entry_icm_confirm()
2135 rindx += num_backed; in hermon_rsrc_hw_entry_icm_confirm()
2149 hermon_index(index1, index2, rindx, icm_table, span_offset); in hermon_rsrc_hw_entry_icm_confirm()
2210 uint32_t index1, index2, rindx; in hermon_rsrc_hw_entry_icm_free() local
2226 rindx = hdl->hr_indx; in hermon_rsrc_hw_entry_icm_free()
2227 hermon_index(index1, index2, rindx, icm_table, span_offset); in hermon_rsrc_hw_entry_icm_free()
2263 rindx += num_freed; in hermon_rsrc_hw_entry_icm_free()
2289 hermon_index(index1, index2, rindx, icm_table, span_offset); in hermon_rsrc_hw_entry_icm_free()