Home
last modified time | relevance | path

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

/openbmc/linux/drivers/virt/
H A Dfsl_hypervisor.c156 unsigned long lb_offset; /* Offset within a page of the local buffer */ in ioctl_memcpy() local
217 lb_offset = param.local_vaddr & (PAGE_SIZE - 1); in ioctl_memcpy()
219 param.count > U64_MAX - lb_offset - PAGE_SIZE + 1) in ioctl_memcpy()
221 num_pages = (param.count + lb_offset + PAGE_SIZE - 1) >> PAGE_SHIFT; in ioctl_memcpy()
249 num_pinned = get_user_pages_fast(param.local_vaddr - lb_offset, in ioctl_memcpy()
263 sg_list[0].source = page_to_phys(pages[0]) + lb_offset; in ioctl_memcpy()
267 sg_list[0].target = page_to_phys(pages[0]) + lb_offset; in ioctl_memcpy()
269 sg_list[0].size = min_t(uint64_t, param.count, PAGE_SIZE - lb_offset); in ioctl_memcpy()