Home
last modified time | relevance | path

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

/openbmc/linux/drivers/infiniband/core/
H A Dumem.c149 unsigned long cur_base; in ib_umem_get() local
206 cur_base = addr & PAGE_MASK; in ib_umem_get()
213 pinned = pin_user_pages_fast(cur_base, in ib_umem_get()
223 cur_base += pinned * PAGE_SIZE; in ib_umem_get()
/openbmc/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()
167 cur_base + i*PAGE_SIZE, &pa); in usnic_uiom_get_pages()
169 cur_base += chunk->nents * PAGE_SIZE; in usnic_uiom_get_pages()
/openbmc/qemu/hw/ppc/
H A De500.c916 hwaddr cur_base = 0; in ppce500_init() local
1220 cur_base = loadaddr + payload_size; in ppce500_init()
1221 if (cur_base < 32 * MiB) { in ppce500_init()
1223 cur_base = 32 * MiB; in ppce500_init()
1228 kernel_base = cur_base; in ppce500_init()
1230 cur_base, in ppce500_init()
1231 machine->ram_size - cur_base); in ppce500_init()
1238 cur_base += kernel_size; in ppce500_init()
1243 initrd_base = (cur_base + INITRD_LOAD_PAD) & ~INITRD_PAD_MASK; in ppce500_init()
1253 cur_base = initrd_base + initrd_size; in ppce500_init()
/openbmc/linux/drivers/vhost/
H A Dvdpa.c999 unsigned long npages, cur_base, map_pfn, last_pfn = 0; in vhost_vdpa_pa_map() local
1027 cur_base = uaddr & PAGE_MASK; in vhost_vdpa_pa_map()
1033 pinned = pin_user_pages(cur_base, sz2pin, in vhost_vdpa_pa_map()
1081 cur_base += PFN_PHYS(pinned); in vhost_vdpa_pa_map()
/openbmc/linux/tools/perf/util/
H A Dmachine.c2701 u64 cur_base, distance; in has_stitched_lbr() local
2707 cur_base = max_lbr - cur_stack->nr + cur_stack->hw_idx + 1; in has_stitched_lbr()
2709 distance = (prev_stack->hw_idx > cur_base) ? (prev_stack->hw_idx - cur_base) : in has_stitched_lbr()
2710 (max_lbr + prev_stack->hw_idx - cur_base); in has_stitched_lbr()