/linux/drivers/gpu/drm/ |
A D | drm_mm.c | 212 #define HOLE_SIZE(NODE) ((NODE)->hole_size) 224 u64 x = node->hole_size; in insert_hole_size() 270 node->hole_size = in add_hole() 272 node->subtree_max_hole = node->hole_size; in add_hole() 289 node->hole_size = 0; in rm_hole() 314 if (size <= node->hole_size) { in best_hole() 480 node->hole_size = 0; in drm_mm_reserve_node() 544 u64 hole_end = hole_start + hole->hole_size; in drm_mm_insert_node_in_range() 594 node->hole_size = 0; in drm_mm_insert_node_in_range() 930 hole_end = hole_start + hole->hole_size; in drm_mm_scan_color_evict() [all …]
|
/linux/include/drm/ |
A D | drm_mm.h | 170 u64 hole_size; member 293 return node->hole_size; in drm_mm_hole_follows() 397 hole_end = hole_start + pos->hole_size, \
|
/linux/drivers/gpu/drm/i915/selftests/ |
A D | i915_gem_gtt.c | 253 u64 hole_size; in lowlevel_hole() local 255 hole_size = (hole_end - hole_start) >> size; in lowlevel_hole() 256 if (hole_size > KMALLOC_MAX_SIZE / sizeof(u32)) in lowlevel_hole() 257 hole_size = KMALLOC_MAX_SIZE / sizeof(u32); in lowlevel_hole() 258 count = hole_size >> 1; in lowlevel_hole() 399 const u64 hole_size = hole_end - hole_start; in fill_hole() local 610 const u64 hole_size = hole_end - hole_start; in walk_hole() local 775 u64 hole_size; in drunk_hole() local 778 hole_size = (hole_end - hole_start) >> size; in drunk_hole() 780 hole_size = KMALLOC_MAX_SIZE / sizeof(u32); in drunk_hole() [all …]
|
/linux/drivers/gpu/drm/i915/gem/selftests/ |
A D | i915_gem_client_blt.c | 400 u64 hole_size; in tiled_blits_create() local 413 hole_size = 2 * PAGE_ALIGN(WIDTH * HEIGHT * 4); in tiled_blits_create() 414 hole_size *= 2; /* room to maneuver */ in tiled_blits_create() 415 hole_size += 2 * I915_GTT_MIN_ALIGNMENT; in tiled_blits_create() 420 hole_size, 0, I915_COLOR_UNEVICTABLE, in tiled_blits_create()
|
A D | i915_gem_mman.c | 671 resv->size = hole->hole_size - loop; in igt_mmap_offset_exhaustion()
|
/linux/arch/powerpc/kernel/ |
A D | fadump.c | 425 unsigned long size, cur_size, hole_size, last_end; in fadump_get_boot_mem_regions() local 434 hole_size = 0; in fadump_get_boot_mem_regions() 438 hole_size += (reg_start - last_end); in fadump_get_boot_mem_regions() 454 fw_dump.boot_mem_top = PAGE_ALIGN(fw_dump.boot_memory_size + hole_size); in fadump_get_boot_mem_regions() 1033 unsigned long raddr, rstart, rend, rlast, hole_size; in fadump_relocate() local 1036 hole_size = 0; in fadump_relocate() 1042 hole_size += (rstart - rlast); in fadump_relocate() 1045 raddr += fw_dump.boot_mem_dest_addr - hole_size; in fadump_relocate()
|
/linux/arch/powerpc/platforms/powernv/ |
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() 172 fadump_conf->boot_mem_top = (fadump_conf->boot_memory_size + hole_size); in opal_fadump_get_config()
|
/linux/fs/ocfs2/ |
A D | extent_map.c | 739 unsigned int hole_size; in ocfs2_fiemap() local 774 &hole_size, &rec, &is_last); in ocfs2_fiemap() 781 cpos += hole_size; in ocfs2_fiemap() 868 u32 cpos, cend, clen, hole_size; in ocfs2_seek_data_hole_offset() local 899 ret = ocfs2_get_clusters_nocache(inode, di_bh, cpos, &hole_size, in ocfs2_seek_data_hole_offset() 910 clen = hole_size; in ocfs2_seek_data_hole_offset()
|
/linux/drivers/net/wireless/intersil/p54/ |
A D | txrx.c | 106 u32 hole_size; in p54_assign_address() local 109 hole_size = range->start_addr - last_addr; in p54_assign_address() 111 if (!target_skb && hole_size >= len) { in p54_assign_address() 113 hole_size -= len; in p54_assign_address()
|
/linux/fs/btrfs/ |
A D | volumes.c | 1456 while (*hole_size > 0) { in dev_extent_hole_check_zoned() 1461 *hole_size = *hole_start + *hole_size - pos; in dev_extent_hole_check_zoned() 1464 if (*hole_size < num_bytes) in dev_extent_hole_check_zoned() 1476 *hole_start += *hole_size; in dev_extent_hole_check_zoned() 1477 *hole_size = 0; in dev_extent_hole_check_zoned() 1482 *hole_size -= zone_size; in dev_extent_hole_check_zoned() 1514 *hole_size = 0; in dev_extent_hole_check() 1524 hole_size, num_bytes)) { in dev_extent_hole_check() 1579 u64 hole_size; in find_free_dev_extent_start() local 1649 max_hole_size = hole_size; in find_free_dev_extent_start() [all …]
|
A D | inode.c | 5213 u64 hole_size; in btrfs_cont_expand() local 5241 hole_size = last_byte - cur_offset; in btrfs_cont_expand() 5247 hole_size); in btrfs_cont_expand() 5252 cur_offset, hole_size); in btrfs_cont_expand() 5257 cur_offset + hole_size - 1, 0); in btrfs_cont_expand() 5265 hole_em->len = hole_size; in btrfs_cont_expand() 5271 hole_em->ram_bytes = hole_size; in btrfs_cont_expand() 5283 hole_size - 1, 0); in btrfs_cont_expand() 5288 cur_offset, hole_size); in btrfs_cont_expand()
|
/linux/drivers/edac/ |
A D | amd64_edac.c | 504 u64 *hole_offset, u64 *hole_size) in get_dram_hole_info() argument 546 *hole_size = (1ULL << 32) - *hole_base; in get_dram_hole_info() 553 (unsigned long)*hole_offset, (unsigned long)*hole_size); in get_dram_hole_info() 581 u64 hole_size = 0; in dram_hole_show() local 583 get_dram_hole_info(mci, &hole_base, &hole_offset, &hole_size); in dram_hole_show() 586 hole_size); in dram_hole_show() 871 u64 dram_base, hole_base, hole_offset, hole_size, dram_addr; in sys_addr_to_dram_addr() local 876 ret = get_dram_hole_info(mci, &hole_base, &hole_offset, &hole_size); in sys_addr_to_dram_addr() 879 (sys_addr < ((1ULL << 32) + hole_size))) { in sys_addr_to_dram_addr()
|
/linux/fs/gfs2/ |
A D | bmap.c | 589 u64 hole_size; in gfs2_hole_size() local 598 hole_size = metapath_to_block(GFS2_SB(inode), &clone) - lblock; in gfs2_hole_size() 600 hole_size = len; in gfs2_hole_size() 601 iomap->length = hole_size << inode->i_blkbits; in gfs2_hole_size()
|