Home
last modified time | relevance | path

Searched refs:entries_spanned_by_off (Results 1 – 2 of 2) sorted by relevance

/drivers/staging/rdma/hfi1/
Dkeys.c230 size_t entries_spanned_by_off; in hfi1_lkey_ok() local
232 entries_spanned_by_off = off >> mr->page_shift; in hfi1_lkey_ok()
233 off -= (entries_spanned_by_off << mr->page_shift); in hfi1_lkey_ok()
234 m = entries_spanned_by_off / HFI1_SEGSZ; in hfi1_lkey_ok()
235 n = entries_spanned_by_off % HFI1_SEGSZ; in hfi1_lkey_ok()
327 size_t entries_spanned_by_off; in hfi1_rkey_ok() local
329 entries_spanned_by_off = off >> mr->page_shift; in hfi1_rkey_ok()
330 off -= (entries_spanned_by_off << mr->page_shift); in hfi1_rkey_ok()
331 m = entries_spanned_by_off / HFI1_SEGSZ; in hfi1_rkey_ok()
332 n = entries_spanned_by_off % HFI1_SEGSZ; in hfi1_rkey_ok()
/drivers/infiniband/hw/qib/
Dqib_keys.c208 size_t entries_spanned_by_off; in qib_lkey_ok() local
210 entries_spanned_by_off = off >> mr->page_shift; in qib_lkey_ok()
211 off -= (entries_spanned_by_off << mr->page_shift); in qib_lkey_ok()
212 m = entries_spanned_by_off/QIB_SEGSZ; in qib_lkey_ok()
213 n = entries_spanned_by_off%QIB_SEGSZ; in qib_lkey_ok()
307 size_t entries_spanned_by_off; in qib_rkey_ok() local
309 entries_spanned_by_off = off >> mr->page_shift; in qib_rkey_ok()
310 off -= (entries_spanned_by_off << mr->page_shift); in qib_rkey_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()