Home
last modified time | relevance | path

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

/Linux-v5.4/drivers/infiniband/sw/rdmavt/
Dmr.c143 m = (count + RVT_SEGSZ - 1) / RVT_SEGSZ; in rvt_init_mregion()
287 m = (count + RVT_SEGSZ - 1) / RVT_SEGSZ; in __rvt_alloc_mr()
426 if (++n == RVT_SEGSZ) { in rvt_reg_user_mr()
611 m = mapped_segs / RVT_SEGSZ; in rvt_set_page()
612 n = mapped_segs % RVT_SEGSZ; in rvt_set_page()
733 m = (fmr_attr->max_pages + RVT_SEGSZ - 1) / RVT_SEGSZ; in rvt_alloc_fmr()
814 if (++n == RVT_SEGSZ) { in rvt_map_phys_fmr()
980 m = entries_spanned_by_off / RVT_SEGSZ; in rvt_lkey_ok()
981 n = entries_spanned_by_off % RVT_SEGSZ; in rvt_lkey_ok()
988 if (n >= RVT_SEGSZ) { in rvt_lkey_ok()
[all …]
/Linux-v5.4/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-v5.4/drivers/infiniband/hw/qib/
Dqib_ud.c186 if (++sge->n >= RVT_SEGSZ) { in qib_ud_loopback()
Dqib_verbs.c162 if (++sge.n >= RVT_SEGSZ) { in qib_count_sge()
195 if (++sge->n >= RVT_SEGSZ) { in qib_copy_from_sge()
/Linux-v5.4/drivers/infiniband/hw/hfi1/
Dtid_rdma.c1100 if (++sge->n >= RVT_SEGSZ) { in kern_find_pages()