Searched refs:buf_slot (Results 1 – 3 of 3) sorted by relevance
/linux-6.12.1/net/smc/ |
D | smc_ib.c | 701 static int smc_ib_map_mr_sg(struct smc_buf_desc *buf_slot, u8 link_idx) in smc_ib_map_mr_sg() argument 707 sg_num = ib_map_mr_sg(buf_slot->mr[link_idx], in smc_ib_map_mr_sg() 708 buf_slot->sgt[link_idx].sgl, in smc_ib_map_mr_sg() 709 buf_slot->sgt[link_idx].orig_nents, in smc_ib_map_mr_sg() 717 struct smc_buf_desc *buf_slot, u8 link_idx) in smc_ib_get_memory_region() argument 719 if (buf_slot->mr[link_idx]) in smc_ib_get_memory_region() 722 buf_slot->mr[link_idx] = in smc_ib_get_memory_region() 723 ib_alloc_mr(pd, IB_MR_TYPE_MEM_REG, 1 << buf_slot->order); in smc_ib_get_memory_region() 724 if (IS_ERR(buf_slot->mr[link_idx])) { in smc_ib_get_memory_region() 727 rc = PTR_ERR(buf_slot->mr[link_idx]); in smc_ib_get_memory_region() [all …]
|
D | smc_ib.h | 88 struct smc_buf_desc *buf_slot, 91 struct smc_buf_desc *buf_slot, 102 struct smc_buf_desc *buf_slot, u8 link_idx); 105 struct smc_buf_desc *buf_slot); 107 struct smc_buf_desc *buf_slot, 110 struct smc_buf_desc *buf_slot,
|
D | smc_core.c | 2097 struct smc_buf_desc *buf_slot; in smc_buf_get_slot() local 2100 list_for_each_entry(buf_slot, buf_list, list) { in smc_buf_get_slot() 2101 if (cmpxchg(&buf_slot->used, 0, 1) == 0) { in smc_buf_get_slot() 2103 return buf_slot; in smc_buf_get_slot()
|