Home
last modified time | relevance | path

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

/Linux-v5.4/drivers/infiniband/hw/hfi1/
Duser_exp_rcv.c61 u16 pageidx, unsigned int npages);
322 unsigned int ngroups, pageidx = 0, pageset_count, in hfi1_user_exp_rcv_setup() local
391 pageidx, dd->rcv_entries.group_size, in hfi1_user_exp_rcv_setup()
407 pageidx += ret; in hfi1_user_exp_rcv_setup()
411 while (pageidx < pageset_count) { in hfi1_user_exp_rcv_setup()
433 unsigned use = min_t(unsigned, pageset_count - pageidx, in hfi1_user_exp_rcv_setup()
437 pageidx, use, tidlist, in hfi1_user_exp_rcv_setup()
449 pageidx += ret; in hfi1_user_exp_rcv_setup()
453 if (pageidx >= pageset_count) in hfi1_user_exp_rcv_setup()
591 unsigned pagecount, pageidx, setcount = 0, i; in find_phys_blocks() local
[all …]
Dtid_rdma.c880 u32 pagecount, pageidx, setcount = 0, i; in tid_rdma_find_phys_blocks_4k() local
893 for (pageidx = 0, pagecount = 1, i = 1; i <= npages; i++) { in tid_rdma_find_phys_blocks_4k()
927 list[setcount].idx = pageidx; in tid_rdma_find_phys_blocks_4k()
933 pageidx += maxpages; in tid_rdma_find_phys_blocks_4k()
936 pageidx = i; in tid_rdma_find_phys_blocks_4k()
1234 u32 ngroups, pageidx = 0; in kern_alloc_tids() local
1248 pageidx += group->size; in kern_alloc_tids()
1253 if (pageidx >= flow->npagesets) in kern_alloc_tids()
1259 use = min_t(u32, flow->npagesets - pageidx, in kern_alloc_tids()
1263 pageidx += use; in kern_alloc_tids()
[all …]
Duser_sdma.c721 unsigned int pageidx, len; in user_sdma_txadd() local
729 pageidx = (((iovec->offset + iov_offset + base) - (base & PAGE_MASK)) >> in user_sdma_txadd()
734 ret = sdma_txadd_page(pq->dd, &tx->txreq, iovec->pages[pageidx], in user_sdma_txadd()
743 if (unlikely(queued < datalen && pageidx == iovec->npages && in user_sdma_txadd()
/Linux-v5.4/drivers/xen/
Dprivcmd.c113 unsigned pageidx; in gather_array() local
120 pageidx = PAGE_SIZE; in gather_array()
123 if (pageidx > PAGE_SIZE-size) { in gather_array()
133 pageidx = 0; in gather_array()
137 if (copy_from_user(pagedata + pageidx, data, size)) in gather_array()
141 pageidx += size; in gather_array()
160 unsigned pageidx; in traverse_pages() local
165 pageidx = PAGE_SIZE; in traverse_pages()
169 if (pageidx > PAGE_SIZE-size) { in traverse_pages()
174 pageidx = 0; in traverse_pages()
[all …]