Home
last modified time | relevance | path

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

/linux/drivers/infiniband/core/
H A Dumem.c171 unsigned long cur_base; in ib_umem_get() local
228 cur_base = addr & PAGE_MASK; in ib_umem_get()
235 pinned = pin_user_pages_fast(cur_base, in ib_umem_get()
245 cur_base += pinned * PAGE_SIZE; in ib_umem_get()
/linux/drivers/infiniband/hw/usnic/
H A Dusnic_uiom.c94 unsigned long cur_base; in usnic_uiom_get_pages() local
136 cur_base = addr & PAGE_MASK; in usnic_uiom_get_pages()
140 ret = pin_user_pages(cur_base, in usnic_uiom_get_pages()
166 cur_base + i*PAGE_SIZE, &pa); in usnic_uiom_get_pages()
168 cur_base += chunk->nents * PAGE_SIZE; in usnic_uiom_get_pages()
/linux/drivers/vhost/
H A Dvdpa.c1103 unsigned long npages, cur_base, map_pfn, last_pfn = 0; in vhost_vdpa_pa_map() local
1131 cur_base = uaddr & PAGE_MASK; in vhost_vdpa_pa_map()
1137 pinned = pin_user_pages(cur_base, sz2pin, in vhost_vdpa_pa_map()
1185 cur_base += PFN_PHYS(pinned); in vhost_vdpa_pa_map()
/linux/tools/perf/util/
H A Dmachine.c2561 u64 cur_base, distance; in has_stitched_lbr() local
2567 cur_base = max_lbr - cur_stack->nr + cur_stack->hw_idx + 1; in has_stitched_lbr()
2569 distance = (prev_stack->hw_idx > cur_base) ? (prev_stack->hw_idx - cur_base) : in has_stitched_lbr()
2570 (max_lbr + prev_stack->hw_idx - cur_base); in has_stitched_lbr()