Home
last modified time | relevance | path

Searched refs:pageidx (Results 1 – 4 of 4) sorted by relevance

/linux-5.19.10/drivers/infiniband/hw/hfi1/
Duser_exp_rcv.c20 u16 pageidx, unsigned int npages);
252 unsigned int ngroups, pageidx = 0, pageset_count, in hfi1_user_exp_rcv_setup() local
321 pageidx, dd->rcv_entries.group_size, in hfi1_user_exp_rcv_setup()
337 pageidx += ret; in hfi1_user_exp_rcv_setup()
341 while (pageidx < pageset_count) { in hfi1_user_exp_rcv_setup()
363 unsigned use = min_t(unsigned, pageset_count - pageidx, in hfi1_user_exp_rcv_setup()
367 pageidx, use, tidlist, in hfi1_user_exp_rcv_setup()
379 pageidx += ret; in hfi1_user_exp_rcv_setup()
383 if (pageidx >= pageset_count) in hfi1_user_exp_rcv_setup()
521 unsigned pagecount, pageidx, setcount = 0, i; in find_phys_blocks() local
[all …]
Dtid_rdma.c886 u32 pagecount, pageidx, setcount = 0, i; in tid_rdma_find_phys_blocks_4k() local
899 for (pageidx = 0, pagecount = 1, i = 1; i <= npages; i++) { in tid_rdma_find_phys_blocks_4k()
933 list[setcount].idx = pageidx; in tid_rdma_find_phys_blocks_4k()
939 pageidx += maxpages; in tid_rdma_find_phys_blocks_4k()
942 pageidx = i; in tid_rdma_find_phys_blocks_4k()
1241 u32 ngroups, pageidx = 0; in kern_alloc_tids() local
1255 pageidx += group->size; in kern_alloc_tids()
1260 if (pageidx >= flow->npagesets) in kern_alloc_tids()
1266 use = min_t(u32, flow->npagesets - pageidx, in kern_alloc_tids()
1270 pageidx += use; in kern_alloc_tids()
[all …]
Duser_sdma.c706 unsigned int pageidx, len; in user_sdma_txadd() local
714 pageidx = (((iovec->offset + iov_offset + base) - (base & PAGE_MASK)) >> in user_sdma_txadd()
719 ret = sdma_txadd_page(pq->dd, &tx->txreq, iovec->pages[pageidx], in user_sdma_txadd()
728 if (unlikely(queued < datalen && pageidx == iovec->npages && in user_sdma_txadd()
/linux-5.19.10/drivers/xen/
Dprivcmd.c110 unsigned pageidx; in gather_array() local
117 pageidx = PAGE_SIZE; in gather_array()
120 if (pageidx > PAGE_SIZE-size) { in gather_array()
130 pageidx = 0; in gather_array()
134 if (copy_from_user(pagedata + pageidx, data, size)) in gather_array()
138 pageidx += size; in gather_array()
157 unsigned pageidx; in traverse_pages() local
162 pageidx = PAGE_SIZE; in traverse_pages()
166 if (pageidx > PAGE_SIZE-size) { in traverse_pages()
171 pageidx = 0; in traverse_pages()
[all …]