Searched refs:pageidx (Results 1 – 4 of 4) sorted by relevance
/linux-6.1.9/drivers/infiniband/hw/hfi1/ |
D | user_exp_rcv.c | 20 u16 pageidx, unsigned int npages); 259 unsigned int ngroups, pageidx = 0, pageset_count, in hfi1_user_exp_rcv_setup() local 340 pageidx, dd->rcv_entries.group_size, in hfi1_user_exp_rcv_setup() 356 pageidx += ret; in hfi1_user_exp_rcv_setup() 360 while (pageidx < pageset_count) { in hfi1_user_exp_rcv_setup() 382 unsigned use = min_t(unsigned, pageset_count - pageidx, in hfi1_user_exp_rcv_setup() 386 pageidx, use, tidlist, in hfi1_user_exp_rcv_setup() 398 pageidx += ret; in hfi1_user_exp_rcv_setup() 402 if (pageidx >= pageset_count) in hfi1_user_exp_rcv_setup() 575 unsigned pagecount, pageidx, setcount = 0, i; in find_phys_blocks() local [all …]
|
D | tid_rdma.c | 886 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 …]
|
D | user_sdma.c | 706 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-6.1.9/drivers/xen/ |
D | privcmd.c | 110 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 …]
|