Searched refs:max_num_sg (Results 1 – 14 of 14) sorted by relevance
/linux-4.4.14/drivers/infiniband/hw/mlx4/ |
D | mr.c | 403 u32 max_num_sg) in mlx4_ib_alloc_mr() argument 410 max_num_sg > MLX4_MAX_FAST_REG_PAGES) in mlx4_ib_alloc_mr() 418 max_num_sg, 0, &mr->mmr); in mlx4_ib_alloc_mr() 422 err = mlx4_alloc_priv_pages(pd->device, mr, max_num_sg); in mlx4_ib_alloc_mr() 426 mr->max_pages = max_num_sg; in mlx4_ib_alloc_mr()
|
D | mlx4_ib.h | 712 u32 max_num_sg);
|
/linux-4.4.14/drivers/infiniband/hw/qib/ |
D | qib_mr.c | 333 u32 max_num_sg) in qib_alloc_mr() argument 340 mr = alloc_mr(max_num_sg, pd); in qib_alloc_mr() 344 mr->pages = kcalloc(max_num_sg, sizeof(u64), GFP_KERNEL); in qib_alloc_mr()
|
/linux-4.4.14/drivers/infiniband/hw/ocrdma/ |
D | ocrdma_verbs.h | 127 u32 max_num_sg);
|
D | ocrdma_verbs.c | 3017 u32 max_num_sg) in ocrdma_alloc_mr() argument 3027 if (max_num_sg > dev->attr.max_pages_per_frmr) in ocrdma_alloc_mr() 3034 mr->pages = kcalloc(max_num_sg, sizeof(u64), GFP_KERNEL); in ocrdma_alloc_mr() 3040 status = ocrdma_get_pbl_info(dev, mr, max_num_sg); in ocrdma_alloc_mr()
|
/linux-4.4.14/drivers/infiniband/hw/cxgb4/ |
D | mem.c | 858 u32 max_num_sg) in c4iw_alloc_mr() argument 866 int length = roundup(max_num_sg * sizeof(u64), 32); in c4iw_alloc_mr() 869 max_num_sg > t4_max_fr_depth(use_dsgl)) in c4iw_alloc_mr() 889 ret = alloc_pbl(mhp, max_num_sg); in c4iw_alloc_mr() 892 mhp->attr.pbl_size = max_num_sg; in c4iw_alloc_mr()
|
D | iw_cxgb4.h | 961 u32 max_num_sg);
|
/linux-4.4.14/drivers/staging/rdma/hfi1/ |
D | mr.c | 354 u32 max_num_sg) in hfi1_alloc_mr() argument 361 mr = alloc_mr(max_num_sg, pd); in hfi1_alloc_mr()
|
/linux-4.4.14/drivers/infiniband/hw/cxgb3/ |
D | iwch_provider.c | 806 u32 max_num_sg) in iwch_alloc_mr() argument 816 max_num_sg > T3_MAX_FASTREG_DEPTH) in iwch_alloc_mr() 825 mhp->pages = kcalloc(max_num_sg, sizeof(u64), GFP_KERNEL); in iwch_alloc_mr() 832 ret = iwch_alloc_pbl(mhp, max_num_sg); in iwch_alloc_mr() 835 mhp->attr.pbl_size = max_num_sg; in iwch_alloc_mr()
|
/linux-4.4.14/drivers/infiniband/hw/mlx5/ |
D | mlx5_ib.h | 557 u32 max_num_sg);
|
D | mr.c | 1298 u32 max_num_sg) in mlx5_ib_alloc_mr() argument 1304 int ndescs = roundup(max_num_sg, 4); in mlx5_ib_alloc_mr()
|
/linux-4.4.14/drivers/infiniband/core/ |
D | verbs.c | 1263 u32 max_num_sg) in ib_alloc_mr() argument 1270 mr = pd->device->alloc_mr(pd, mr_type, max_num_sg); in ib_alloc_mr()
|
/linux-4.4.14/drivers/infiniband/hw/nes/ |
D | nes_verbs.c | 383 u32 max_num_sg) in nes_alloc_mr() argument 403 if (max_num_sg > (NES_4K_PBL_CHUNK_SIZE / sizeof(u64))) in nes_alloc_mr() 410 if (max_num_sg > (NES_4K_PBL_CHUNK_SIZE / sizeof(u64))) in nes_alloc_mr() 437 ret = alloc_fast_reg_mr(nesdev, nespd, stag, max_num_sg); in nes_alloc_mr() 451 max_num_sg * sizeof(u64), in nes_alloc_mr() 456 nesmr->max_pages = max_num_sg; in nes_alloc_mr()
|
/linux-4.4.14/include/rdma/ |
D | ib_verbs.h | 1749 u32 max_num_sg); 2859 u32 max_num_sg);
|