Lines Matching refs:wr_tx_bufs
113 memset(&link->wr_tx_bufs[pnd_snd_idx], 0, in smc_wr_tx_process_cqe()
114 sizeof(link->wr_tx_bufs[pnd_snd_idx])); in smc_wr_tx_process_cqe()
122 memset(&link->wr_tx_bufs[i], 0, in smc_wr_tx_process_cqe()
123 sizeof(link->wr_tx_bufs[i])); in smc_wr_tx_process_cqe()
235 *wr_buf = &link->wr_tx_bufs[idx]; in smc_wr_tx_get_free_slot()
254 memset(&link->wr_tx_bufs[idx], 0, in smc_wr_tx_put_slot()
255 sizeof(link->wr_tx_bufs[idx])); in smc_wr_tx_put_slot()
362 wr_tx = (struct smc_wr_rx_hdr *)&link->wr_tx_bufs[i]; in smc_wr_tx_dismiss_slots()
616 kfree(lnk->wr_tx_bufs); in smc_wr_free_link_mem()
617 lnk->wr_tx_bufs = NULL; in smc_wr_free_link_mem()
625 link->wr_tx_bufs = kcalloc(SMC_WR_BUF_CNT, SMC_WR_BUF_SIZE, GFP_KERNEL); in smc_wr_alloc_link_mem()
626 if (!link->wr_tx_bufs) in smc_wr_alloc_link_mem()
696 kfree(link->wr_tx_bufs); in smc_wr_alloc_link_mem()
729 ibdev, lnk->wr_tx_bufs, SMC_WR_BUF_SIZE * lnk->wr_tx_cnt, in smc_wr_create_link()