/kernel/linux/linux-5.10/drivers/edac/ |
H A D | amd64_edac_dbg.c | 27 u64 hole_size = 0; in amd64_hole_show() local 29 amd64_get_dram_hole_info(mci, &hole_base, &hole_offset, &hole_size); in amd64_hole_show() 32 hole_size); in amd64_hole_show()
|
H A D | amd64_edac.c | 490 * *hole_offset, and *hole_size. Function returns 0 if info is valid or 1 if 499 * The values passed back in *hole_base, *hole_offset, and *hole_size are 504 u64 *hole_offset, u64 *hole_size) in amd64_get_dram_hole_info() 546 *hole_size = (1ULL << 32) - *hole_base; in amd64_get_dram_hole_info() 553 (unsigned long)*hole_offset, (unsigned long)*hole_size); in amd64_get_dram_hole_info() 591 u64 dram_base, hole_base, hole_offset, hole_size, dram_addr; in sys_addr_to_dram_addr() local 597 &hole_size); in sys_addr_to_dram_addr() 600 (sys_addr < ((1ULL << 32) + hole_size))) { in sys_addr_to_dram_addr() 503 amd64_get_dram_hole_info(struct mem_ctl_info *mci, u64 *hole_base, u64 *hole_offset, u64 *hole_size) amd64_get_dram_hole_info() argument
|
H A D | amd64_edac.h | 505 u64 *hole_offset, u64 *hole_size);
|
/kernel/linux/linux-5.10/drivers/gpu/drm/ |
H A D | drm_mm.c | 215 #define HOLE_SIZE(NODE) ((NODE)->hole_size) 220 return rb_entry(rb, struct drm_mm_node, rb_hole_size)->hole_size; in rb_to_hole_size() 227 u64 x = node->hole_size; in insert_hole_size() 273 node->hole_size = in add_hole() 275 node->subtree_max_hole = node->hole_size; in add_hole() 292 node->hole_size = 0; in rm_hole() 317 if (size <= node->hole_size) { in best_hole() 349 else if (addr > hole_start + node->hole_size) in find_hole_addr() 470 adj_end = hole_end = hole_start + hole->hole_size; in drm_mm_reserve_node() 483 node->hole_size in drm_mm_reserve_node() [all...] |
/kernel/linux/linux-6.6/drivers/gpu/drm/ |
H A D | drm_mm.c | 212 #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 in drm_mm_reserve_node() [all...] |
/kernel/linux/linux-6.6/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() 412 const u64 hole_size = hole_end - hole_start; in fill_hole() local 417 min_t(u64, ULONG_MAX - 1, (hole_size / 2) >> ilog2(min_alignment)); in fill_hole() 637 const u64 hole_size = hole_end - hole_start; in walk_hole() local 639 min_t(u64, ULONG_MAX - 1, hole_size >> PAGE_SHIF in walk_hole() 811 u64 hole_size, aligned_size; drunk_hole() local 1152 u64 hole_size = hole_end - hole_start; misaligned_pin() local [all...] |
/kernel/linux/linux-5.10/include/drm/ |
H 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, \
|
/kernel/linux/linux-6.6/include/drm/ |
H A D | drm_mm.h | 172 u64 hole_size; member 295 return node->hole_size; in drm_mm_hole_follows() 399 hole_end = hole_start + pos->hole_size, \
|
/kernel/linux/linux-5.10/drivers/gpu/drm/i915/selftests/ |
H A D | i915_gem_gtt.c | 238 u64 hole_size; in lowlevel_hole() local 240 hole_size = (hole_end - hole_start) >> size; in lowlevel_hole() 241 if (hole_size > KMALLOC_MAX_SIZE / sizeof(u32)) in lowlevel_hole() 242 hole_size = KMALLOC_MAX_SIZE / sizeof(u32); in lowlevel_hole() 243 count = hole_size >> 1; in lowlevel_hole() 246 __func__, hole_start, hole_end, size, hole_size); in lowlevel_hole() 369 const u64 hole_size = hole_end - hole_start; in fill_hole() local 372 min_t(u64, ULONG_MAX - 1, hole_size/2 >> PAGE_SHIFT); in fill_hole() 580 const u64 hole_size = hole_end - hole_start; in walk_hole() local 582 min_t(u64, ULONG_MAX - 1, hole_size >> PAGE_SHIF in walk_hole() 745 u64 hole_size; drunk_hole() local [all...] |
/kernel/linux/linux-5.10/drivers/gpu/drm/i915/gem/selftests/ |
H A D | i915_gem_client_blt.c | 506 u64 hole_size; in tiled_blits_create() local 519 hole_size = 2 * PAGE_ALIGN(WIDTH * HEIGHT * 4); in tiled_blits_create() 520 hole_size *= 2; /* room to maneuver */ in tiled_blits_create() 521 hole_size += 2 * I915_GTT_MIN_ALIGNMENT; in tiled_blits_create() 526 hole_size, 0, I915_COLOR_UNEVICTABLE, in tiled_blits_create()
|
/kernel/linux/linux-6.6/drivers/gpu/drm/i915/gem/selftests/ |
H A D | i915_gem_client_blt.c | 545 u64 hole_size; in tiled_blits_create() local 562 hole_size = 2 * round_up(WIDTH * HEIGHT * 4, t->align); in tiled_blits_create() 563 hole_size *= 2; /* room to maneuver */ in tiled_blits_create() 564 hole_size += 2 * t->align; /* padding on either side */ in tiled_blits_create() 569 hole_size, t->align, in tiled_blits_create()
|
/kernel/linux/linux-5.10/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()
|
/kernel/linux/linux-6.6/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()
|
/kernel/linux/linux-5.10/fs/ocfs2/ |
H A D | extent_map.c | 741 unsigned int hole_size; in ocfs2_fiemap() local 776 &hole_size, &rec, &is_last); in ocfs2_fiemap() 783 cpos += hole_size; in ocfs2_fiemap() 870 u32 cpos, cend, clen, hole_size; in ocfs2_seek_data_hole_offset() local 901 ret = ocfs2_get_clusters_nocache(inode, di_bh, cpos, &hole_size, in ocfs2_seek_data_hole_offset() 912 clen = hole_size; in ocfs2_seek_data_hole_offset()
|
/kernel/linux/linux-6.6/fs/ocfs2/ |
H 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()
|
/kernel/linux/linux-5.10/arch/powerpc/kernel/ |
H 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() 1038 unsigned long raddr, rstart, rend, rlast, hole_size; in fadump_relocate() local 1041 hole_size = 0; in fadump_relocate() 1047 hole_size += (rstart - rlast); in fadump_relocate() 1050 raddr += fw_dump.boot_mem_dest_addr - hole_size; in fadump_relocate()
|
/kernel/linux/linux-6.6/arch/powerpc/kernel/ |
H A D | fadump.c | 437 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() 1053 unsigned long raddr, rstart, rend, rlast, hole_size; in fadump_relocate() local 1056 hole_size = 0; in fadump_relocate() 1062 hole_size += (rstart - rlast); in fadump_relocate() 1065 raddr += fw_dump.boot_mem_dest_addr - hole_size; in fadump_relocate()
|
/kernel/linux/linux-5.10/drivers/net/wireless/intersil/p54/ |
H 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()
|
/kernel/linux/linux-6.6/drivers/net/wireless/intersil/p54/ |
H 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()
|
/kernel/linux/linux-6.6/fs/btrfs/ |
H A D | volumes.c | 1461 u64 *hole_start, u64 *hole_size, in dev_extent_hole_check_zoned() 1471 while (*hole_size > 0) { in dev_extent_hole_check_zoned() 1473 *hole_start + *hole_size, in dev_extent_hole_check_zoned() 1476 *hole_size = *hole_start + *hole_size - pos; in dev_extent_hole_check_zoned() 1479 if (*hole_size < num_bytes) in dev_extent_hole_check_zoned() 1491 *hole_start += *hole_size; in dev_extent_hole_check_zoned() 1492 *hole_size = 0; in dev_extent_hole_check_zoned() 1497 *hole_size -= zone_size; in dev_extent_hole_check_zoned() 1509 * @hole_size 1460 dev_extent_hole_check_zoned(struct btrfs_device *device, u64 *hole_start, u64 *hole_size, u64 num_bytes) dev_extent_hole_check_zoned() argument 1515 dev_extent_hole_check(struct btrfs_device *device, u64 *hole_start, u64 *hole_size, u64 num_bytes) dev_extent_hole_check() argument 1595 u64 hole_size; find_free_dev_extent() local [all...] |
/kernel/linux/linux-6.6/drivers/edac/ |
H A D | amd64_edac.c | 477 * *hole_offset, and *hole_size. Function returns 0 if info is valid or 1 if 486 * The values passed back in *hole_base, *hole_offset, and *hole_size are 491 u64 *hole_offset, u64 *hole_size) in get_dram_hole_info() 533 *hole_size = (1ULL << 32) - *hole_base; in get_dram_hole_info() 540 (unsigned long)*hole_offset, (unsigned long)*hole_size); in get_dram_hole_info() 568 u64 hole_size = 0; in dram_hole_show() local 570 get_dram_hole_info(mci, &hole_base, &hole_offset, &hole_size); in dram_hole_show() 573 hole_size); in dram_hole_show() 858 u64 dram_base, hole_base, hole_offset, hole_size, dram_addr; in sys_addr_to_dram_addr() local 863 ret = get_dram_hole_info(mci, &hole_base, &hole_offset, &hole_size); in sys_addr_to_dram_addr() 490 get_dram_hole_info(struct mem_ctl_info *mci, u64 *hole_base, u64 *hole_offset, u64 *hole_size) get_dram_hole_info() argument [all...] |
/kernel/linux/linux-5.10/fs/gfs2/ |
H A D | bmap.c | 586 u64 hole_size; in gfs2_hole_size() local 595 hole_size = metapath_to_block(GFS2_SB(inode), &clone) - lblock; in gfs2_hole_size() 597 hole_size = len; in gfs2_hole_size() 598 iomap->length = hole_size << inode->i_blkbits; in gfs2_hole_size()
|
/kernel/linux/linux-6.6/fs/gfs2/ |
H A D | bmap.c | 585 u64 hole_size; in gfs2_hole_size() local 594 hole_size = metapath_to_block(GFS2_SB(inode), &clone) - lblock; in gfs2_hole_size() 596 hole_size = len; in gfs2_hole_size() 597 iomap->length = hole_size << inode->i_blkbits; in gfs2_hole_size()
|
/kernel/linux/linux-5.10/fs/btrfs/ |
H A D | volumes.c | 1501 * @hole_size: the size of the hole 1508 u64 *hole_size, u64 num_bytes) in dev_extent_hole_check() 1511 u64 hole_end = *hole_start + *hole_size; in dev_extent_hole_check() 1517 if (contains_pending_extent(device, hole_start, *hole_size)) { in dev_extent_hole_check() 1519 *hole_size = hole_end - *hole_start; in dev_extent_hole_check() 1521 *hole_size = 0; in dev_extent_hole_check() 1572 u64 hole_size; in find_free_dev_extent_start() local 1641 hole_size = key.offset - search_start; in find_free_dev_extent_start() 1642 dev_extent_hole_check(device, &search_start, &hole_size, in find_free_dev_extent_start() 1645 if (hole_size > max_hole_siz in find_free_dev_extent_start() 1507 dev_extent_hole_check(struct btrfs_device *device, u64 *hole_start, u64 *hole_size, u64 num_bytes) dev_extent_hole_check() argument [all...] |
H A D | inode.c | 4767 u64 hole_size; in btrfs_cont_expand() local 4795 hole_size = last_byte - cur_offset; in btrfs_cont_expand() 4801 hole_size); in btrfs_cont_expand() 4806 cur_offset, hole_size); in btrfs_cont_expand() 4811 cur_offset + hole_size - 1, 0); in btrfs_cont_expand() 4819 hole_em->len = hole_size; in btrfs_cont_expand() 4825 hole_em->ram_bytes = hole_size; in btrfs_cont_expand() 4838 hole_size - 1, 0); in btrfs_cont_expand() 4843 cur_offset, hole_size); in btrfs_cont_expand()
|