/kernel/linux/linux-5.10/drivers/infiniband/hw/hfi1/ |
H A D | user_exp_rcv.c | 62 u16 pageidx, unsigned int npages); 295 unsigned int ngroups, pageidx = 0, pageset_count, in hfi1_user_exp_rcv_setup() local 377 pageidx, dd->rcv_entries.group_size, in hfi1_user_exp_rcv_setup() 393 pageidx += ret; in hfi1_user_exp_rcv_setup() 397 while (pageidx < pageset_count) { in hfi1_user_exp_rcv_setup() 419 unsigned use = min_t(unsigned, pageset_count - pageidx, in hfi1_user_exp_rcv_setup() 423 pageidx, use, tidlist, in hfi1_user_exp_rcv_setup() 435 pageidx += ret; in hfi1_user_exp_rcv_setup() 439 if (pageidx >= pageset_count) in hfi1_user_exp_rcv_setup() 612 unsigned pagecount, pageidx, setcoun in find_phys_blocks() local 729 u16 npages, pageidx, setidx = start + idx; program_rcvarray() local 770 set_rcvarray_entry(struct hfi1_filedata *fd, struct tid_user_buf *tbuf, u32 rcventry, struct tid_group *grp, u16 pageidx, unsigned int npages) set_rcvarray_entry() argument [all...] |
H A D | tid_rdma.c | 880 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 in kern_alloc_tids() [all...] |
/kernel/linux/linux-5.10/drivers/xen/ |
H A 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 in traverse_pages() [all...] |
/kernel/linux/linux-6.6/drivers/infiniband/hw/hfi1/ |
H A D | user_exp_rcv.c | 20 u16 pageidx, unsigned int npages); 567 unsigned pagecount, pageidx, setcount = 0, i; in find_phys_blocks() local 581 for (pageidx = 0, pagecount = 1, i = 1; i <= npages; i++) { in find_phys_blocks() 614 list[setcount].idx = pageidx; in find_phys_blocks() 617 pageidx += maxpages; in find_phys_blocks() 620 pageidx = i; in find_phys_blocks() 683 u16 npages, pageidx, setidx = start + idx; in program_rcvarray() local 700 pageidx = tbuf->psets[setidx].idx; in program_rcvarray() 703 rcventry, grp, pageidx, in program_rcvarray() 726 u16 pageidx, unsigne in set_rcvarray_entry() 723 set_rcvarray_entry(struct hfi1_filedata *fd, struct tid_user_buf *tbuf, u32 rcventry, struct tid_group *grp, u16 pageidx, unsigned int npages) set_rcvarray_entry() argument [all...] |
H A 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 in kern_alloc_tids() [all...] |
/kernel/linux/linux-6.6/drivers/xen/ |
H A D | privcmd.c | 115 unsigned pageidx; in gather_array() local 122 pageidx = PAGE_SIZE; in gather_array() 125 if (pageidx > PAGE_SIZE-size) { in gather_array() 135 pageidx = 0; in gather_array() 139 if (copy_from_user(pagedata + pageidx, data, size)) in gather_array() 143 pageidx += size; in gather_array() 162 unsigned pageidx; in traverse_pages() local 167 pageidx = PAGE_SIZE; in traverse_pages() 171 if (pageidx > PAGE_SIZE-size) { in traverse_pages() 176 pageidx in traverse_pages() [all...] |