Home
last modified time | relevance | path

Searched refs:QIB_SEGSZ (Results 1 – 7 of 7) sorted by relevance

/drivers/infiniband/hw/qib/
Dqib_mr.c56 m = (count + QIB_SEGSZ - 1) / QIB_SEGSZ; in init_qib_mregion()
145 m = (count + QIB_SEGSZ - 1) / QIB_SEGSZ; in alloc_mr()
207 if (n == QIB_SEGSZ) { in qib_reg_phys_mr()
280 if (n == QIB_SEGSZ) { in qib_reg_user_mr()
388 m = (fmr_attr->max_pages + QIB_SEGSZ - 1) / QIB_SEGSZ; in qib_alloc_fmr()
465 if (++n == QIB_SEGSZ) { in qib_map_phys_fmr()
Dqib_keys.c212 m = entries_spanned_by_off/QIB_SEGSZ; in qib_lkey_ok()
213 n = entries_spanned_by_off%QIB_SEGSZ; in qib_lkey_ok()
220 if (n >= QIB_SEGSZ) { in qib_lkey_ok()
311 m = entries_spanned_by_off/QIB_SEGSZ; in qib_rkey_ok()
312 n = entries_spanned_by_off%QIB_SEGSZ; in qib_rkey_ok()
319 if (n >= QIB_SEGSZ) { in qib_rkey_ok()
381 if (++n == QIB_SEGSZ) { in qib_fast_reg_mr()
Dqib_verbs.h291 #define QIB_SEGSZ (PAGE_SIZE / sizeof(struct qib_seg)) macro
294 struct qib_seg segs[QIB_SEGSZ];
Dqib_verbs.c191 if (++sge->n >= QIB_SEGSZ) { in qib_copy_sge()
232 if (++sge->n >= QIB_SEGSZ) { in qib_skip_sge()
279 if (++sge.n >= QIB_SEGSZ) { in qib_count_sge()
317 if (++sge->n >= QIB_SEGSZ) { in qib_copy_from_sge()
746 if (++sge->n >= QIB_SEGSZ) { in update_sge()
Dqib_ud.c192 if (++sge->n >= QIB_SEGSZ) { in qib_ud_loopback()
Dqib_sdma.c624 if (++sge->n >= QIB_SEGSZ) { in qib_sdma_verbs_send()
Dqib_ruc.c532 if (++sge->n >= QIB_SEGSZ) { in qib_ruc_loopback()