Home
last modified time | relevance | path

Searched refs:page_list_len (Results 1 – 21 of 21) sorted by relevance

/drivers/infiniband/core/
Dfmr_pool.c116 int page_list_len, in ib_fmr_cache_lookup() argument
129 page_list_len == fmr->page_list_len && in ib_fmr_cache_lookup()
131 page_list_len * sizeof *page_list)) in ib_fmr_cache_lookup()
492 fmr->page_list_len = list_len; in ib_fmr_pool_map_phys()
/drivers/infiniband/hw/qib/
Dqib_keys.c363 if (wr->wr.fast_reg.page_list_len > mr->max_segs) in qib_fast_reg_mr()
367 if (wr->wr.fast_reg.length > ps * wr->wr.fast_reg.page_list_len) in qib_fast_reg_mr()
378 for (i = 0; i < wr->wr.fast_reg.page_list_len; i++) { in qib_fast_reg_mr()
Dqib_mr.c342 qib_alloc_fast_reg_page_list(struct ib_device *ibdev, int page_list_len) in qib_alloc_fast_reg_page_list() argument
344 unsigned size = page_list_len * sizeof(u64); in qib_alloc_fast_reg_page_list()
Dqib_verbs.h1037 struct ib_device *ibdev, int page_list_len);
/drivers/infiniband/hw/mlx4/
Dmr.c388 int page_list_len) in mlx4_ib_alloc_fast_reg_page_list() argument
392 int size = page_list_len * sizeof (u64); in mlx4_ib_alloc_fast_reg_page_list()
394 if (page_list_len > MLX4_MAX_FAST_REG_PAGES) in mlx4_ib_alloc_fast_reg_page_list()
Dmlx4_ib.h646 int page_list_len);
Dqp.c2358 for (i = 0; i < wr->wr.fast_reg.page_list_len; ++i) in set_fmr_seg()
/drivers/infiniband/hw/ocrdma/
Docrdma_verbs.h96 int page_list_len);
Docrdma_verbs.c1969 for (i = 0; i < wr->wr.fast_reg.page_list_len; i++) { in build_frmr_pbes()
2012 if (wr->wr.fast_reg.page_list_len > qp->dev->attr.max_pages_per_frmr) in ocrdma_build_fr()
2018 if (wr->wr.fast_reg.page_list_len == 0) in ocrdma_build_fr()
2036 fast_reg->num_sges = wr->wr.fast_reg.page_list_len; in ocrdma_build_fr()
2901 int page_list_len) in ocrdma_alloc_frmr_page_list() argument
2906 size = sizeof(*frmr_list) + (page_list_len * sizeof(u64)); in ocrdma_alloc_frmr_page_list()
/drivers/infiniband/hw/cxgb3/
Diwch_qp.c155 if (wr->wr.fast_reg.page_list_len > T3_MAX_FASTREG_DEPTH) in build_fastreg()
164 V_FR_PAGE_COUNT(wr->wr.fast_reg.page_list_len) | in build_fastreg()
169 for (i = 0; i < wr->wr.fast_reg.page_list_len; i++, p++) { in build_fastreg()
178 0, 1 + wr->wr.fast_reg.page_list_len - T3_MAX_FASTREG_FRAG, in build_fastreg()
185 *flit_cnt = 5 + wr->wr.fast_reg.page_list_len; in build_fastreg()
Diwch_provider.c838 int page_list_len) in iwch_alloc_fastreg_pbl() argument
842 page_list = kmalloc(sizeof *page_list + page_list_len * sizeof(u64), in iwch_alloc_fastreg_pbl()
848 page_list->max_page_list_len = page_list_len; in iwch_alloc_fastreg_pbl()
/drivers/infiniband/hw/nes/
Dnes_verbs.c447 int page_list_len) in nes_alloc_fast_reg_page_list() argument
454 if (page_list_len > (NES_4K_PBL_CHUNK_SIZE / sizeof(u64))) in nes_alloc_fast_reg_page_list()
461 page_list_len * sizeof(u64), GFP_KERNEL); in nes_alloc_fast_reg_page_list()
468 pifrpl->max_page_list_len = page_list_len; in nes_alloc_fast_reg_page_list()
473 page_list_len * sizeof(u64), in nes_alloc_fast_reg_page_list()
3420 if (ib_wr->wr.fast_reg.page_list_len > in nes_post_send()
3464 if (ib_wr->wr.fast_reg.page_list_len > in nes_post_send()
3468 ib_wr, ib_wr->wr.fast_reg.page_list_len, in nes_post_send()
3480 ib_wr->wr.fast_reg.page_list_len * 8); in nes_post_send()
3482 for (i = 0; i < ib_wr->wr.fast_reg.page_list_len; i++) in nes_post_send()
[all …]
/drivers/infiniband/hw/mlx5/
Dmr.c692 wr->wr.fast_reg.page_list_len = n; in prep_umr_reg_wqe()
1170 int page_list_len) in mlx5_ib_alloc_fast_reg_page_list() argument
1173 int size = page_list_len * sizeof(u64); in mlx5_ib_alloc_fast_reg_page_list()
Dmlx5_ib.h512 int page_list_len);
Dqp.c1837 umr->klm_octowords = get_klm_octo(wr->wr.fast_reg.page_list_len); in set_frwr_umr_segment()
1899 seg->xlt_oct_size = cpu_to_be32((wr->wr.fast_reg.page_list_len + 1) / 2); in set_mkey_segment()
1931 for (i = 0; i < wr->wr.fast_reg.page_list_len; i++) in set_frwr_pages()
1934 dseg->byte_count = cpu_to_be32(ALIGN(sizeof(u64) * wr->wr.fast_reg.page_list_len, 64)); in set_frwr_pages()
2346 if (unlikely(wr->wr.fast_reg.page_list_len > in set_frwr_li_wr()
/drivers/infiniband/hw/cxgb4/
Dqp.c595 int pbllen = roundup(wr->wr.fast_reg.page_list_len * sizeof(u64), 32); in build_fastreg()
598 if (wr->wr.fast_reg.page_list_len > in build_fastreg()
618 for (i = 0; i < wr->wr.fast_reg.page_list_len; i++) { in build_fastreg()
640 for (i = 0; i < wr->wr.fast_reg.page_list_len; i++) { in build_fastreg()
Dmem.c884 int page_list_len) in c4iw_alloc_fastreg_pbl() argument
889 int pll_len = roundup(page_list_len * sizeof(u64), 32); in c4iw_alloc_fastreg_pbl()
Diw_cxgb4.h968 int page_list_len);
/drivers/infiniband/ulp/iser/
Diser_memory.c666 fastreg_wr.wr.fast_reg.page_list_len = plen; in iser_fast_reg_mr()
/drivers/infiniband/ulp/srp/
Dib_srp.c1210 wr.wr.fast_reg.page_list_len = state->npages; in srp_map_finish_fr()
/drivers/infiniband/ulp/isert/
Dib_isert.c2724 fr_wr.wr.fast_reg.page_list_len = pagelist_len; in isert_fast_reg_mr()