Searched refs:pageidx (Results 1 – 3 of 3) sorted by relevance
/Linux-v4.19/drivers/infiniband/hw/hfi1/ |
D | user_exp_rcv.c | 61 u16 pageidx, unsigned int npages); 322 unsigned int ngroups, pageidx = 0, pageset_count, in hfi1_user_exp_rcv_setup() local 388 pageidx, dd->rcv_entries.group_size, in hfi1_user_exp_rcv_setup() 404 pageidx += ret; in hfi1_user_exp_rcv_setup() 408 while (pageidx < pageset_count) { in hfi1_user_exp_rcv_setup() 430 unsigned use = min_t(unsigned, pageset_count - pageidx, in hfi1_user_exp_rcv_setup() 434 pageidx, use, tidlist, in hfi1_user_exp_rcv_setup() 446 pageidx += ret; in hfi1_user_exp_rcv_setup() 450 if (pageidx >= pageset_count) in hfi1_user_exp_rcv_setup() 588 unsigned pagecount, pageidx, setcount = 0, i; in find_phys_blocks() local [all …]
|
D | user_sdma.c | 728 unsigned int pageidx, len; in user_sdma_txadd() local 736 pageidx = (((iovec->offset + iov_offset + base) - (base & PAGE_MASK)) >> in user_sdma_txadd() 741 ret = sdma_txadd_page(pq->dd, &tx->txreq, iovec->pages[pageidx], in user_sdma_txadd() 750 if (unlikely(queued < datalen && pageidx == iovec->npages && in user_sdma_txadd()
|
/Linux-v4.19/drivers/xen/ |
D | privcmd.c | 112 unsigned pageidx; in gather_array() local 119 pageidx = PAGE_SIZE; in gather_array() 122 if (pageidx > PAGE_SIZE-size) { in gather_array() 132 pageidx = 0; in gather_array() 136 if (copy_from_user(pagedata + pageidx, data, size)) in gather_array() 140 pageidx += size; in gather_array() 159 unsigned pageidx; in traverse_pages() local 164 pageidx = PAGE_SIZE; in traverse_pages() 168 if (pageidx > PAGE_SIZE-size) { in traverse_pages() 173 pageidx = 0; in traverse_pages() [all …]
|