Home
last modified time | relevance | path

Searched refs:RVT_SEGSZ (Results 1 – 8 of 8) sorted by relevance

/Linux-v4.19/drivers/infiniband/sw/rdmavt/
Dmr.c141 m = (count + RVT_SEGSZ - 1) / RVT_SEGSZ; in rvt_init_mregion()
285 m = (count + RVT_SEGSZ - 1) / RVT_SEGSZ; in __rvt_alloc_mr()
427 if (n == RVT_SEGSZ) { in rvt_reg_user_mr()
619 m = mapped_segs / RVT_SEGSZ; in rvt_set_page()
620 n = mapped_segs % RVT_SEGSZ; in rvt_set_page()
732 m = (fmr_attr->max_pages + RVT_SEGSZ - 1) / RVT_SEGSZ; in rvt_alloc_fmr()
813 if (++n == RVT_SEGSZ) { in rvt_map_phys_fmr()
979 m = entries_spanned_by_off / RVT_SEGSZ; in rvt_lkey_ok()
980 n = entries_spanned_by_off % RVT_SEGSZ; in rvt_lkey_ok()
987 if (n >= RVT_SEGSZ) { in rvt_lkey_ok()
[all …]
/Linux-v4.19/include/rdma/
Drdmavt_mr.h67 #define RVT_SEGSZ (PAGE_SIZE / sizeof(struct rvt_seg)) macro
70 struct rvt_seg segs[RVT_SEGSZ];
170 if (++sge->n >= RVT_SEGSZ) { in rvt_update_sge()
/Linux-v4.19/drivers/infiniband/hw/qib/
Dqib_ud.c190 if (++sge->n >= RVT_SEGSZ) { in qib_ud_loopback()
Dqib_ruc.c367 if (++sge->n >= RVT_SEGSZ) { in qib_ruc_loopback()
Dqib_sdma.c603 if (++sge->n >= RVT_SEGSZ) { in qib_sdma_verbs_send()
Dqib_verbs.c188 if (++sge.n >= RVT_SEGSZ) { in qib_count_sge()
226 if (++sge->n >= RVT_SEGSZ) { in qib_copy_from_sge()
/Linux-v4.19/drivers/infiniband/hw/hfi1/
Druc.c374 if (++sge->n >= RVT_SEGSZ) { in ruc_loopback()
Dud.c239 if (++sge->n >= RVT_SEGSZ) { in ud_loopback()