Lines Matching refs:hole_size
263 u64 hole_size, aligned_size;
266 hole_size = (hole_end - hole_start) >> aligned_size;
267 if (hole_size > KMALLOC_MAX_SIZE / sizeof(u32))
268 hole_size = KMALLOC_MAX_SIZE / sizeof(u32);
269 count = hole_size >> 1;
272 __func__, hole_start, hole_end, size, hole_size);
412 const u64 hole_size = hole_end - hole_start;
417 min_t(u64, ULONG_MAX - 1, (hole_size / 2) >> ilog2(min_alignment));
637 const u64 hole_size = hole_end - hole_start;
639 min_t(u64, ULONG_MAX - 1, hole_size >> PAGE_SHIFT);
811 u64 hole_size, aligned_size;
815 hole_size = (hole_end - hole_start) >> aligned_size;
816 if (hole_size > KMALLOC_MAX_SIZE / sizeof(u32))
817 hole_size = KMALLOC_MAX_SIZE / sizeof(u32);
818 count = hole_size >> 1;
821 __func__, hole_start, hole_end, size, hole_size);
1152 u64 hole_size = hole_end - hole_start;
1160 u64 addr = round_down(hole_start + (hole_size / 2), min_alignment);
1163 if (hole_size < 3 * min_alignment)