/linux/arch/m68k/sun3/ |
H A D | sun3dvma.c | 29 struct hole { struct 38 static struct hole initholes[64]; argument 76 struct hole *hole; in print_holes() local 80 hole = list_entry(cur, struct hole, list); in print_holes() 82 if((hole->start == 0) && (hole->end == 0) && (hole->size == 0)) in print_holes() 86 hole->start, hole->end, hole->size); in print_holes() 96 struct hole *hole; in refill() local 97 struct hole *prev = NULL; in refill() 102 hole = list_entry(cur, struct hole, list); in refill() 105 prev = hole; in refill() [all …]
|
/linux/drivers/gpu/drm/ |
H A D | drm_mm.c | 452 struct drm_mm_node *hole; in drm_mm_reserve_node() local 462 hole = find_hole_addr(mm, node->start, 0); in drm_mm_reserve_node() 463 if (!hole) in drm_mm_reserve_node() 466 adj_start = hole_start = __drm_mm_hole_node_start(hole); in drm_mm_reserve_node() 467 adj_end = hole_end = hole_start + hole->hole_size; in drm_mm_reserve_node() 470 mm->color_adjust(hole, node->color, &adj_start, &adj_end); in drm_mm_reserve_node() 478 list_add(&node->node_list, &hole->node_list); in drm_mm_reserve_node() 479 drm_mm_interval_tree_add_node(hole, node); in drm_mm_reserve_node() 482 rm_hole(hole); in drm_mm_reserve_node() 484 add_hole(hole); in drm_mm_reserve_node() [all …]
|
H A D | drm_suballoc.c | 78 sa_manager->hole = &sa_manager->olist; in drm_suballoc_manager_init() 101 sa_manager->hole = &sa_manager->olist; in drm_suballoc_manager_fini() 118 if (sa_manager->hole == &sa->olist) in drm_suballoc_remove_locked() 119 sa_manager->hole = sa->olist.prev; in drm_suballoc_remove_locked() 131 if (sa_manager->hole->next == &sa_manager->olist) in drm_suballoc_try_free() 134 sa = list_entry(sa_manager->hole->next, struct drm_suballoc, olist); in drm_suballoc_try_free() 145 struct list_head *hole = sa_manager->hole; in drm_suballoc_hole_soffset() local 147 if (hole != &sa_manager->olist) in drm_suballoc_hole_soffset() 148 return list_entry(hole, struct drm_suballoc, olist)->eoffset; in drm_suballoc_hole_soffset() 155 struct list_head *hole = sa_manager->hole; in drm_suballoc_hole_eoffset() local [all …]
|
/linux/Documentation/arch/x86/x86_64/ |
H A D | mm.rst | 35 …0000800000000000 | +128 TB | ffff7fffffffffff | ~16M TB | ... huge, almost 64 bits wide hole of… 43 …ffff800000000000 | -128 TB | ffff87ffffffffff | 8 TB | ... guard hole, also reserved for hyp… 46 ffffc88000000000 | -55.5 TB | ffffc8ffffffffff | 0.5 TB | ... unused hole 48 ffffe90000000000 | -23 TB | ffffe9ffffffffff | 1 TB | ... unused hole 50 ffffeb0000000000 | -21 TB | ffffebffffffffff | 1 TB | ... unused hole 57 fffffc0000000000 | -4 TB | fffffdffffffffff | 2 TB | ... unused hole 60 fffffe8000000000 | -1.5 TB | fffffeffffffffff | 0.5 TB | ... unused hole 62 ffffff8000000000 | -512 GB | ffffffeeffffffff | 444 GB | ... unused hole 64 ffffffff00000000 | -4 GB | ffffffff7fffffff | 2 GB | ... unused hole 71 ffffffffffe00000 | -2 MB | ffffffffffffffff | 2 MB | ... unused hole [all …]
|
/linux/drivers/md/dm-vdo/ |
H A D | int-map.c | 458 struct bucket *hole) in move_empty_bucket() argument 468 for (bucket = &hole[1 - NEIGHBORHOOD]; bucket < hole; bucket++) { in move_empty_bucket() 487 if (hole < new_hole) in move_empty_bucket() 503 hole->key = new_hole->key; in move_empty_bucket() 504 hole->value = new_hole->value; in move_empty_bucket() 508 insert_in_hop_list(bucket, hole); in move_empty_bucket() 566 struct bucket *hole = find_empty_bucket(map, neighborhood, MAX_PROBES); in find_or_make_vacancy() local 572 while (hole != NULL) { in find_or_make_vacancy() 573 int distance = hole - neighborhood; in find_or_make_vacancy() 580 return hole; in find_or_make_vacancy() [all …]
|
/linux/drivers/gpu/drm/i915/gem/selftests/ |
H A D | i915_gem_client_blt.c | 104 u64 hole; member 534 struct drm_mm_node hole; in tiled_blits_create() local 558 memset(&hole, 0, sizeof(hole)); in tiled_blits_create() 559 err = drm_mm_insert_node_in_range(&t->ce->vm->mm, &hole, in tiled_blits_create() 565 drm_mm_remove_node(&hole); in tiled_blits_create() 572 t->hole = hole.start + t->align; in tiled_blits_create() 573 pr_info("Using hole at %llx\n", t->hole); in tiled_blits_create() 614 &t->buffers[i], t->hole + offset, in tiled_blits_prepare() 615 &t->scratch, t->hole); in tiled_blits_prepare() 636 &t->buffers[1], t->hole + offset / 2, in tiled_blits_bounce() [all …]
|
H A D | i915_gem_mman.c | 661 struct drm_mm_node *hole, *next; in igt_mmap_offset_exhaustion() local 675 list_for_each_entry_safe(hole, next, &mm->hole_stack, hole_stack) { in igt_mmap_offset_exhaustion() 684 resv->start = drm_mm_hole_node_start(hole) + loop; in igt_mmap_offset_exhaustion() 685 resv->size = hole->hole_size - loop; in igt_mmap_offset_exhaustion() 764 drm_mm_for_each_node_safe(hole, next, mm) { in igt_mmap_offset_exhaustion() 765 if (hole->color != -1ul) in igt_mmap_offset_exhaustion() 768 drm_mm_remove_node(hole); in igt_mmap_offset_exhaustion() 769 kfree(hole); in igt_mmap_offset_exhaustion()
|
/linux/drivers/gpu/drm/tests/ |
H A D | drm_mm_test.c | 40 struct drm_mm_node *hole; in assert_no_holes() local 45 drm_mm_for_each_hole(hole, mm, hole_start, hole_end) in assert_no_holes() 53 drm_mm_for_each_node(hole, mm) { in assert_no_holes() 54 if (drm_mm_hole_follows(hole)) { in assert_no_holes() 65 struct drm_mm_node *hole; in assert_one_hole() local 74 drm_mm_for_each_hole(hole, mm, hole_start, hole_end) { in assert_one_hole()
|
/linux/fs/xfs/scrub/ |
H A D | ialloc.c | 70 bool hole) in xchk_inobt_xref_finobt() argument 102 if (fhole != hole) in xchk_inobt_xref_finobt() 116 if (hole) in xchk_inobt_xref_finobt() 150 bool free, hole; in xchk_inobt_chunk_xref_finobt() local 155 hole = irec->ir_holemask & (1U << hole_idx); in xchk_inobt_chunk_xref_finobt() 157 error = xchk_inobt_xref_finobt(sc, irec, i, free, hole); in xchk_inobt_chunk_xref_finobt() 177 bool free, hole; in xchk_finobt_xref_inobt() local 201 hole = irec.ir_holemask & (1U << hole_idx); in xchk_finobt_xref_inobt() 205 if (fhole != hole) in xchk_finobt_xref_inobt()
|
/linux/tools/perf/util/ |
H A D | block-range.c | 271 struct block_range *hole = malloc(sizeof(struct block_range)); in block_range__create() local 272 if (!hole) in block_range__create() 275 *hole = (struct block_range){ in block_range__create() 282 rb_link_left_of_node(&hole->node, &next->node); in block_range__create() 283 rb_insert_color(&hole->node, &block_ranges.root); in block_range__create()
|
/linux/drivers/gpu/drm/i915/selftests/ |
H A D | i915_gem_evict.c | 388 struct drm_mm_node hole; in igt_evict_contexts() local 409 memset(&hole, 0, sizeof(hole)); in igt_evict_contexts() 411 err = i915_gem_gtt_insert(&ggtt->vm, NULL, &hole, in igt_evict_contexts() 444 drm_mm_remove_node(&hole); in igt_evict_contexts() 529 if (drm_mm_node_allocated(&hole)) in igt_evict_contexts() 530 drm_mm_remove_node(&hole); in igt_evict_contexts()
|
/linux/Documentation/arch/riscv/ |
H A D | vm-layout.rst | 27 big hole, the lower half is where the userspace resides, the upper half is where 42 …0000004000000000 | +256 GB | ffffffbfffffffff | ~16M TB | ... huge, almost 64 bits wide hole of… 79 …0000800000000000 | +128 TB | ffff7fffffffffff | ~16M TB | ... huge, almost 64 bits wide hole of… 115 …0100000000000000 | +64 PB | feffffffffffffff | ~16K PB | ... huge, almost 64 bits wide hole of…
|
/linux/Documentation/driver-api/md/ |
H A D | raid5-cache.rst | 25 This mode mainly fixes the 'write hole' issue. For RAID 4/5/6 array, an unclean 32 corruption in the RAID array. This problem is called 'write hole'. 37 shutdown even the array is degraded. Thus the cache can close the 'write hole'. 42 exposed to 'write hole' again. 50 write-back mode fixes the 'write hole' issue too, since all write data is
|
H A D | raid5-ppl.rst | 17 write hole. XORing partial parity with the modified chunks produces parity for 34 Unlike raid5-cache, the other solution in md for closing the write hole, PPL is
|
/linux/fs/xfs/ |
H A D | xfs_mount.c | 63 int hole, i; in xfs_uuid_mount() 77 for (i = 0, hole = -1; i < xfs_uuid_table_size; i++) { in xfs_uuid_mount() 79 hole = i; in xfs_uuid_mount() 86 if (hole < 0) { in xfs_uuid_mount() 90 hole = xfs_uuid_table_size++; in xfs_uuid_mount() 92 xfs_uuid_table[hole] = *uuid; in xfs_uuid_mount() 62 int hole, i; xfs_uuid_mount() local
|
/linux/include/drm/ |
H A D | drm_suballoc.h | 26 struct list_head *hole; member
|
/linux/fs/bcachefs/ |
H A D | alloc_background.c | 1007 …c struct bkey_s_c bch2_get_key_or_hole(struct btree_iter *iter, struct bpos end, struct bkey *hole) in bch2_get_key_or_hole() argument 1041 bkey_init(hole); in bch2_get_key_or_hole() 1042 hole->p = iter->pos; in bch2_get_key_or_hole() 1044 bch2_key_resize(hole, next.offset - iter->pos.offset); in bch2_get_key_or_hole() 1045 return (struct bkey_s_c) { hole, NULL }; in bch2_get_key_or_hole() 1076 struct bch_dev **ca, struct bkey *hole) in bch2_get_key_or_real_bucket_hole() argument 1081 k = bch2_get_key_or_hole(iter, POS_MAX, hole); in bch2_get_key_or_real_bucket_hole() 1099 bch2_key_resize(hole, (*ca)->mi.nbuckets - hole_start.offset); in bch2_get_key_or_real_bucket_hole() 1492 struct bkey hole; in bch2_check_alloc_info() local 1510 k = bch2_get_key_or_real_bucket_hole(&iter, &ca, &hole); in bch2_check_alloc_info() [all …]
|
H A D | io_read.c | 424 rbio->hole = true; in bch2_read_retry_nodecode() 869 goto hole; in __bch2_read_extent() 910 goto hole; in __bch2_read_extent() 1018 rbio->hole = 0; in __bch2_read_extent() 1127 hole: in __bch2_read_extent() 1134 orig->hole = true; in __bch2_read_extent()
|
H A D | io_read.h | 42 hole:1, member
|
/linux/drivers/pcmcia/ |
H A D | rsrc_nonstatic.c | 189 u_char *b, hole, most; in do_io_probe() local 204 hole = inb(i); in do_io_probe() 206 if (inb(i+j) != hole) in do_io_probe() 209 if ((j == 8) && (++b[hole] > b[most])) in do_io_probe() 210 most = hole; in do_io_probe()
|
/linux/fs/ubifs/ |
H A D | file.c | 601 int i = 0, nn = *n, offs = bu->zbranch[0].offs, hole = 0, read = 0; in populate_page() local 615 hole = 1; in populate_page() 625 hole = 1; in populate_page() 662 hole = 1; in populate_page() 683 if (hole) { in populate_page()
|
/linux/Documentation/filesystems/ext4/ |
H A D | verity.rst | 15 actually be allocated on-disk, i.e. it may be a hole.
|
/linux/arch/x86/mm/ |
H A D | numa_emulation.c | 201 static u64 uniform_size(u64 max_addr, u64 base, u64 hole, int nr_nodes) in uniform_size() argument 205 unsigned long hole_pfns = PHYS_PFN(hole); in uniform_size()
|
/linux/tools/objtool/ |
H A D | elf.c | 211 struct symbol_hole hole = { in find_symbol_hole_containing() local 221 n = rb_find(&hole, &sec->symbol_tree.rb_root, symbol_hole_by_offset); in find_symbol_hole_containing() 228 if (!hole.sym) in find_symbol_hole_containing() 232 n = rb_next(&hole.sym->node); in find_symbol_hole_containing()
|
/linux/drivers/gpu/drm/xe/ |
H A D | xe_ggtt.c | 270 struct drm_mm_node *hole; in xe_ggtt_init() 275 drm_mm_for_each_hole(hole, &ggtt->mm, start, end) in xe_ggtt_init() 691 * xe_ggtt_largest_hole - Largest GGTT hole 253 struct drm_mm_node *hole; xe_ggtt_initial_clear() local
|