Home
last modified time | relevance | path

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

/OK3568_Linux_fs/kernel/drivers/infiniband/hw/hfi1/
H A Duser_exp_rcv.c62 u16 pageidx, unsigned int npages);
294 unsigned int ngroups, pageidx = 0, pageset_count, in hfi1_user_exp_rcv_setup() local
363 pageidx, dd->rcv_entries.group_size, in hfi1_user_exp_rcv_setup()
379 pageidx += ret; in hfi1_user_exp_rcv_setup()
383 while (pageidx < pageset_count) { in hfi1_user_exp_rcv_setup()
405 unsigned use = min_t(unsigned, pageset_count - pageidx, in hfi1_user_exp_rcv_setup()
409 pageidx, use, tidlist, in hfi1_user_exp_rcv_setup()
421 pageidx += ret; in hfi1_user_exp_rcv_setup()
425 if (pageidx >= pageset_count) in hfi1_user_exp_rcv_setup()
563 unsigned pagecount, pageidx, setcount = 0, i; in find_phys_blocks() local
[all …]
H A 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 …]
H A Duser_sdma.c743 unsigned int pageidx, len; in user_sdma_txadd() local
751 pageidx = (((iovec->offset + iov_offset + base) - (base & PAGE_MASK)) >> in user_sdma_txadd()
756 ret = sdma_txadd_page(pq->dd, &tx->txreq, iovec->pages[pageidx], in user_sdma_txadd()
765 if (unlikely(queued < datalen && pageidx == iovec->npages && in user_sdma_txadd()
/OK3568_Linux_fs/kernel/drivers/xen/
H A 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 …]