Searched refs:sizes (Results 1 – 2 of 2) sorted by relevance
/mm/ |
D | zsmalloc.c | 1088 int sizes[2]; in __zs_map_object() local 1099 sizes[0] = PAGE_SIZE - off; in __zs_map_object() 1100 sizes[1] = size - sizes[0]; in __zs_map_object() 1104 memcpy(buf, addr + off, sizes[0]); in __zs_map_object() 1107 memcpy(buf + sizes[0], addr, sizes[1]); in __zs_map_object() 1116 int sizes[2]; in __zs_unmap_object() local 1131 sizes[0] = PAGE_SIZE - off; in __zs_unmap_object() 1132 sizes[1] = size - sizes[0]; in __zs_unmap_object() 1136 memcpy(addr + off, buf, sizes[0]); in __zs_unmap_object() 1139 memcpy(addr, buf + sizes[0], sizes[1]); in __zs_unmap_object()
|
D | vmalloc.c | 2362 const size_t *sizes, int nr_vms, in pcpu_get_vm_areas() argument 2377 end = start + sizes[area]; in pcpu_get_vm_areas() 2381 BUG_ON(!IS_ALIGNED(sizes[area], align)); in pcpu_get_vm_areas() 2389 unsigned long end2 = start2 + sizes[area2]; in pcpu_get_vm_areas() 2398 last_end = offsets[last_area] + sizes[last_area]; in pcpu_get_vm_areas() 2422 end = start + sizes[area]; in pcpu_get_vm_areas() 2479 end = start + sizes[area]; in pcpu_get_vm_areas() 2488 va->va_end = va->va_start + sizes[area]; in pcpu_get_vm_areas()
|