Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/drivers/infiniband/core/
Dumem.c148 unsigned long cur_base; in ib_umem_get() local
206 cur_base = addr & PAGE_MASK; in ib_umem_get()
213 ret = pin_user_pages_fast(cur_base, in ib_umem_get()
221 cur_base += ret * PAGE_SIZE; in ib_umem_get()
/kernel/linux/linux-5.10/drivers/infiniband/hw/usnic/
Dusnic_uiom.c94 unsigned long cur_base; in usnic_uiom_get_pages() local
140 cur_base = addr & PAGE_MASK; in usnic_uiom_get_pages()
144 ret = pin_user_pages(cur_base, in usnic_uiom_get_pages()
172 cur_base + i*PAGE_SIZE, &pa); in usnic_uiom_get_pages()
174 cur_base += chunk->nents * PAGE_SIZE; in usnic_uiom_get_pages()
/kernel/linux/linux-5.10/drivers/vhost/
Dvdpa.c620 unsigned long npages, cur_base, map_pfn, last_pfn = 0; in vhost_vdpa_process_iotlb_update() local
657 cur_base = msg->uaddr & PAGE_MASK; in vhost_vdpa_process_iotlb_update()
663 pinned = pin_user_pages(cur_base, sz2pin, in vhost_vdpa_process_iotlb_update()
711 cur_base += pinned << PAGE_SHIFT; in vhost_vdpa_process_iotlb_update()
/kernel/linux/linux-5.10/tools/perf/util/
Dmachine.c2458 u64 cur_base, distance; in has_stitched_lbr() local
2464 cur_base = max_lbr - cur_stack->nr + cur_stack->hw_idx + 1; in has_stitched_lbr()
2466 distance = (prev_stack->hw_idx > cur_base) ? (prev_stack->hw_idx - cur_base) : in has_stitched_lbr()
2467 (max_lbr + prev_stack->hw_idx - cur_base); in has_stitched_lbr()