Searched refs:wr_tx_mask (Results 1 – 2 of 2) sorted by relevance
57 return !bitmap_empty(link->wr_tx_mask, link->wr_tx_cnt); in smc_wr_is_tx_pend()117 if (!test_and_clear_bit(pnd_snd_idx, link->wr_tx_mask)) in smc_wr_tx_process_cqe()176 for_each_clear_bit(*idx, link->wr_tx_mask, link->wr_tx_cnt) { in smc_wr_tx_get_free_slot_index()177 if (!test_and_set_bit(*idx, link->wr_tx_mask)) in smc_wr_tx_get_free_slot_index()285 test_and_clear_bit(idx, link->wr_tx_mask); in smc_wr_tx_put_slot()703 bitmap_free(lnk->wr_tx_mask); in smc_wr_free_link_mem()704 lnk->wr_tx_mask = NULL; in smc_wr_free_link_mem()779 link->wr_tx_mask = bitmap_zalloc(SMC_WR_BUF_CNT, GFP_KERNEL); in smc_wr_alloc_link_mem()780 if (!link->wr_tx_mask) in smc_wr_alloc_link_mem()818 kfree(link->wr_tx_mask); in smc_wr_alloc_link_mem()[all …]
115 unsigned long *wr_tx_mask; /* bit mask of used indexes */ member