Searched refs:icm_table (Results 1 – 3 of 3) sorted by relevance
/titanic_50/usr/src/uts/common/sys/ib/adapters/hermon/ |
H A D | hermon.h | 891 #define hermon_bitmap(bitmap, dma_info, icm_table, split_index, num_to_hdl) \ argument 892 bitmap = (icm_table)->icm_bitmap[split_index]; \ 894 _NOTE(NOW_INVISIBLE_TO_OTHER_THREADS(*(icm_table))) \ 895 int num_spans = (icm_table)->num_spans; \ 897 (icm_table)->icm_bitmap[split_index] = \ 899 ASSERT((icm_table)->icm_dma[split_index] == NULL); \ 900 (icm_table)->icm_dma[split_index] = \ 904 ASSERT((icm_table)->num_to_hdl[split_index] == NULL); \ 905 (icm_table)->num_to_hdl[split_index] = \ 910 dma_info = (icm_table)->icm_dma[split_index]
|
/titanic_50/usr/src/uts/common/io/ib/adapters/hermon/ |
H A D | hermon_rsrc.c | 2047 hermon_icm_table_t *icm_table; in hermon_rsrc_hw_entry_icm_confirm() local 2072 icm_table = &state->hs_icm[type]; in hermon_rsrc_hw_entry_icm_confirm() 2075 hermon_index(index1, index2, rindx, icm_table, span_offset); in hermon_rsrc_hw_entry_icm_confirm() 2083 mutex_enter(&icm_table->icm_table_lock); in hermon_rsrc_hw_entry_icm_confirm() 2084 hermon_bitmap(bitmap, dma_info, icm_table, index1, num_to_hdl); in hermon_rsrc_hw_entry_icm_confirm() 2087 while (icm_table->icm_busy) { in hermon_rsrc_hw_entry_icm_confirm() 2088 cv_wait(&icm_table->icm_table_cv, in hermon_rsrc_hw_entry_icm_confirm() 2089 &icm_table->icm_table_lock); in hermon_rsrc_hw_entry_icm_confirm() 2094 icm_table->icm_busy = 1; in hermon_rsrc_hw_entry_icm_confirm() 2095 mutex_exit(&icm_table->icm_table_lock); in hermon_rsrc_hw_entry_icm_confirm() [all …]
|
H A D | hermon_mr.c | 455 hermon_icm_table_t *icm_table; in hermon_mr_alloc_fmr() local 623 icm_table = &state->hs_icm[HERMON_DMPT]; in hermon_mr_alloc_fmr() 625 hermon_index(index1, index2, rindx, icm_table, i); in hermon_mr_alloc_fmr() 626 dma_info = icm_table->icm_dma[index1] + index2; in hermon_mr_alloc_fmr() 3243 hermon_icm_table_t *icm_table; in hermon_mr_fast_mtt_write() local 3274 icm_table = &state->hs_icm[HERMON_MTT]; in hermon_mr_fast_mtt_write() 3276 hermon_index(index1, index2, rindx, icm_table, i); in hermon_mr_fast_mtt_write() 3279 per_span = icm_table->span; in hermon_mr_fast_mtt_write() 3280 dma_info = icm_table->icm_dma[index1] + index2; in hermon_mr_fast_mtt_write() 3311 hermon_index(index1, index2, rindx, icm_table, in hermon_mr_fast_mtt_write() [all …]
|