Lines Matching refs:SMC_SINGLE_LINK
368 sg_num = ib_map_mr_sg(buf_slot->mr_rx[SMC_SINGLE_LINK], in smc_ib_map_mr_sg()
369 buf_slot->sgt[SMC_SINGLE_LINK].sgl, in smc_ib_map_mr_sg()
370 buf_slot->sgt[SMC_SINGLE_LINK].orig_nents, in smc_ib_map_mr_sg()
380 if (buf_slot->mr_rx[SMC_SINGLE_LINK]) in smc_ib_get_memory_region()
383 buf_slot->mr_rx[SMC_SINGLE_LINK] = in smc_ib_get_memory_region()
385 if (IS_ERR(buf_slot->mr_rx[SMC_SINGLE_LINK])) { in smc_ib_get_memory_region()
388 rc = PTR_ERR(buf_slot->mr_rx[SMC_SINGLE_LINK]); in smc_ib_get_memory_region()
389 buf_slot->mr_rx[SMC_SINGLE_LINK] = NULL; in smc_ib_get_memory_region()
408 for_each_sg(buf_slot->sgt[SMC_SINGLE_LINK].sgl, sg, in smc_ib_sync_sg_for_cpu()
409 buf_slot->sgt[SMC_SINGLE_LINK].nents, i) { in smc_ib_sync_sg_for_cpu()
428 for_each_sg(buf_slot->sgt[SMC_SINGLE_LINK].sgl, sg, in smc_ib_sync_sg_for_device()
429 buf_slot->sgt[SMC_SINGLE_LINK].nents, i) { in smc_ib_sync_sg_for_device()
447 buf_slot->sgt[SMC_SINGLE_LINK].sgl, in smc_ib_buf_map_sg()
448 buf_slot->sgt[SMC_SINGLE_LINK].orig_nents, in smc_ib_buf_map_sg()
460 if (!buf_slot->sgt[SMC_SINGLE_LINK].sgl->dma_address) in smc_ib_buf_unmap_sg()
464 buf_slot->sgt[SMC_SINGLE_LINK].sgl, in smc_ib_buf_unmap_sg()
465 buf_slot->sgt[SMC_SINGLE_LINK].orig_nents, in smc_ib_buf_unmap_sg()
467 buf_slot->sgt[SMC_SINGLE_LINK].sgl->dma_address = 0; in smc_ib_buf_unmap_sg()