Home
last modified time | relevance | path

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

/Linux-v6.1/drivers/gpu/drm/
Ddrm_mm.c212 #define HOLE_SIZE(NODE) ((NODE)->hole_size)
217 return rb_entry(rb, struct drm_mm_node, rb_hole_size)->hole_size; in rb_to_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()
346 else if (addr > hole_start + node->hole_size) in find_hole_addr()
467 adj_end = hole_end = hole_start + hole->hole_size; in drm_mm_reserve_node()
480 node->hole_size = 0; in drm_mm_reserve_node()
[all …]
/Linux-v6.1/include/drm/
Ddrm_mm.h172 u64 hole_size; member
295 return node->hole_size; in drm_mm_hole_follows()
399 hole_end = hole_start + pos->hole_size, \
/Linux-v6.1/drivers/gpu/drm/i915/selftests/
Di915_gem_gtt.c259 u64 hole_size, aligned_size; in lowlevel_hole() local
262 hole_size = (hole_end - hole_start) >> aligned_size; in lowlevel_hole()
263 if (hole_size > KMALLOC_MAX_SIZE / sizeof(u32)) in lowlevel_hole()
264 hole_size = KMALLOC_MAX_SIZE / sizeof(u32); in lowlevel_hole()
265 count = hole_size >> 1; in lowlevel_hole()
268 __func__, hole_start, hole_end, size, hole_size); in lowlevel_hole()
406 const u64 hole_size = hole_end - hole_start; in fill_hole() local
411 min_t(u64, ULONG_MAX - 1, (hole_size / 2) >> ilog2(min_alignment)); in fill_hole()
631 const u64 hole_size = hole_end - hole_start; in walk_hole() local
633 min_t(u64, ULONG_MAX - 1, hole_size >> PAGE_SHIFT); in walk_hole()
[all …]
/Linux-v6.1/arch/powerpc/kernel/
Dfadump.c437 unsigned long size, cur_size, hole_size, last_end; in fadump_get_boot_mem_regions() local
446 hole_size = 0; in fadump_get_boot_mem_regions()
450 hole_size += (reg_start - last_end); in fadump_get_boot_mem_regions()
466 fw_dump.boot_mem_top = PAGE_ALIGN(fw_dump.boot_memory_size + hole_size); in fadump_get_boot_mem_regions()
1052 unsigned long raddr, rstart, rend, rlast, hole_size; in fadump_relocate() local
1055 hole_size = 0; in fadump_relocate()
1061 hole_size += (rstart - rlast); in fadump_relocate()
1064 raddr += fw_dump.boot_mem_dest_addr - hole_size; in fadump_relocate()
/Linux-v6.1/arch/powerpc/platforms/powernv/
Dopal-fadump.c118 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-v6.1/fs/ocfs2/
Dextent_map.c739 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-v6.1/drivers/gpu/drm/i915/gem/selftests/
Di915_gem_client_blt.c559 u64 hole_size; in tiled_blits_create() local
576 hole_size = 2 * round_up(WIDTH * HEIGHT * 4, t->align); in tiled_blits_create()
577 hole_size *= 2; /* room to maneuver */ in tiled_blits_create()
578 hole_size += 2 * t->align; /* padding on either side */ in tiled_blits_create()
583 hole_size, t->align, in tiled_blits_create()
Di915_gem_mman.c685 resv->size = hole->hole_size - loop; in igt_mmap_offset_exhaustion()
/Linux-v6.1/drivers/net/wireless/intersil/p54/
Dtxrx.c106 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-v6.1/fs/btrfs/
Dvolumes.c1433 u64 *hole_start, u64 *hole_size, in dev_extent_hole_check_zoned() argument
1443 while (*hole_size > 0) { in dev_extent_hole_check_zoned()
1445 *hole_start + *hole_size, in dev_extent_hole_check_zoned()
1448 *hole_size = *hole_start + *hole_size - pos; in dev_extent_hole_check_zoned()
1451 if (*hole_size < num_bytes) in dev_extent_hole_check_zoned()
1463 *hole_start += *hole_size; in dev_extent_hole_check_zoned()
1464 *hole_size = 0; in dev_extent_hole_check_zoned()
1469 *hole_size -= zone_size; in dev_extent_hole_check_zoned()
1487 u64 *hole_size, u64 num_bytes) in dev_extent_hole_check() argument
1490 u64 hole_end = *hole_start + *hole_size; in dev_extent_hole_check()
[all …]
Dinode.c5057 u64 hole_size; in btrfs_cont_expand() local
5085 hole_size = last_byte - cur_offset; in btrfs_cont_expand()
5091 hole_size); in btrfs_cont_expand()
5096 cur_offset, hole_size); in btrfs_cont_expand()
5103 cur_offset + hole_size - 1, in btrfs_cont_expand()
5109 hole_em->len = hole_size; in btrfs_cont_expand()
5115 hole_em->ram_bytes = hole_size; in btrfs_cont_expand()
5123 cur_offset, hole_size); in btrfs_cont_expand()
/Linux-v6.1/drivers/edac/
Damd64_edac.c519 u64 *hole_offset, u64 *hole_size) in get_dram_hole_info() argument
561 *hole_size = (1ULL << 32) - *hole_base; in get_dram_hole_info()
568 (unsigned long)*hole_offset, (unsigned long)*hole_size); in get_dram_hole_info()
596 u64 hole_size = 0; in dram_hole_show() local
598 get_dram_hole_info(mci, &hole_base, &hole_offset, &hole_size); in dram_hole_show()
601 hole_size); in dram_hole_show()
886 u64 dram_base, hole_base, hole_offset, hole_size, dram_addr; in sys_addr_to_dram_addr() local
891 ret = get_dram_hole_info(mci, &hole_base, &hole_offset, &hole_size); in sys_addr_to_dram_addr()
894 (sys_addr < ((1ULL << 32) + hole_size))) { in sys_addr_to_dram_addr()
/Linux-v6.1/fs/gfs2/
Dbmap.c588 u64 hole_size; in gfs2_hole_size() local
597 hole_size = metapath_to_block(GFS2_SB(inode), &clone) - lblock; in gfs2_hole_size()
599 hole_size = len; in gfs2_hole_size()
600 iomap->length = hole_size << inode->i_blkbits; in gfs2_hole_size()