Searched refs:hole_size (Results 1 – 7 of 7) sorted by relevance
| /linux/drivers/gpu/drm/i915/selftests/ |
| H A D | i915_gem_gtt.c | 263 u64 hole_size, aligned_size; in lowlevel_hole() local 266 hole_size = (hole_end - hole_start) >> aligned_size; in lowlevel_hole() 267 if (hole_size > KMALLOC_MAX_SIZE / sizeof(u32)) in lowlevel_hole() 268 hole_size = KMALLOC_MAX_SIZE / sizeof(u32); in lowlevel_hole() 269 count = hole_size >> 1; in lowlevel_hole() 272 __func__, hole_start, hole_end, size, hole_size); in lowlevel_hole() 413 const u64 hole_size = hole_end - hole_start; in fill_hole() local 418 min_t(u64, ULONG_MAX - 1, (hole_size / 2) >> ilog2(min_alignment)); in fill_hole() 639 const u64 hole_size = hole_end - hole_start; in walk_hole() local 641 min_t(u64, ULONG_MAX - 1, hole_size >> PAGE_SHIFT); in walk_hole() [all …]
|
| /linux/drivers/gpu/drm/xe/ |
| H A D | xe_ggtt.c | 921 u64 hole_start, hole_end, hole_size; in xe_ggtt_largest_hole() local 931 hole_size = hole_end - hole_start; in xe_ggtt_largest_hole() 933 *spare -= min3(*spare, hole_size, max_hole); in xe_ggtt_largest_hole() 934 max_hole = max(max_hole, hole_size); in xe_ggtt_largest_hole() 1095 u64 hole_start, hole_end, hole_size; in xe_ggtt_print_holes() local 1106 hole_size = hole_end - hole_start; in xe_ggtt_print_holes() 1107 total += hole_size; in xe_ggtt_print_holes() 1109 string_get_size(hole_size, 1, STRING_UNITS_2, buf, sizeof(buf)); in xe_ggtt_print_holes()
|
| /linux/drivers/gpu/drm/i915/gem/selftests/ |
| H A D | i915_gem_client_blt.c | 540 u64 hole_size; in tiled_blits_create() local 557 hole_size = 2 * round_up(WIDTH * HEIGHT * 4, t->align); in tiled_blits_create() 558 hole_size *= 2; /* room to maneuver */ in tiled_blits_create() 559 hole_size += 2 * t->align; /* padding on either side */ in tiled_blits_create() 564 hole_size, t->align, in tiled_blits_create()
|
| /linux/arch/powerpc/platforms/powernv/ |
| H A D | opal-fadump.c | 118 unsigned long base, size, last_end, hole_size; in opal_fadump_get_config() local 125 hole_size = 0; in opal_fadump_get_config() 137 hole_size += (base - last_end); in opal_fadump_get_config() 173 fadump_conf->boot_mem_top = (fadump_conf->boot_memory_size + hole_size); in opal_fadump_get_config()
|
| /linux/arch/powerpc/platforms/pseries/ |
| H A D | rtas-fadump.c | 44 unsigned long base, size, last_end, hole_size; in rtas_fadump_get_config() local 47 hole_size = 0; in rtas_fadump_get_config() 81 hole_size += (base - last_end); in rtas_fadump_get_config() 93 fadump_conf->boot_mem_top = fadump_conf->boot_memory_size + hole_size; in rtas_fadump_get_config()
|
| /linux/fs/btrfs/ |
| H A D | volumes.c | 1684 u64 *hole_start, u64 *hole_size, in dev_extent_hole_check_zoned() argument 1695 while (*hole_size > 0) { in dev_extent_hole_check_zoned() 1697 *hole_start + *hole_size, in dev_extent_hole_check_zoned() 1700 *hole_size = *hole_start + *hole_size - pos; in dev_extent_hole_check_zoned() 1703 if (*hole_size < num_bytes) in dev_extent_hole_check_zoned() 1715 *hole_start += *hole_size; in dev_extent_hole_check_zoned() 1716 *hole_size = 0; in dev_extent_hole_check_zoned() 1721 *hole_size -= zone_size; in dev_extent_hole_check_zoned() 1753 u64 *hole_size, u64 num_bytes) in dev_extent_hole_check() argument 1756 const u64 hole_end = *hole_start + *hole_size - 1; in dev_extent_hole_check() [all …]
|
| H A D | inode.c | 5308 u64 hole_size; in btrfs_cont_expand() local 5335 hole_size = last_byte - cur_offset; in btrfs_cont_expand() 5340 ret = maybe_insert_hole(inode, cur_offset, hole_size); in btrfs_cont_expand() 5345 cur_offset, hole_size); in btrfs_cont_expand() 5352 cur_offset + hole_size - 1, in btrfs_cont_expand() 5358 hole_em->len = hole_size; in btrfs_cont_expand() 5362 hole_em->ram_bytes = hole_size; in btrfs_cont_expand() 5369 cur_offset, hole_size); in btrfs_cont_expand()
|