Home
last modified time | relevance | path

Searched refs:hole (Results 1 – 25 of 63) sorted by relevance

123

/kernel/linux/linux-5.10/arch/m68k/sun3/
Dsun3dvma.c41 struct hole { struct
50 static struct hole initholes[64]; argument
88 struct hole *hole; in print_holes() local
92 hole = list_entry(cur, struct hole, list); in print_holes()
94 if((hole->start == 0) && (hole->end == 0) && (hole->size == 0)) in print_holes()
98 hole->start, hole->end, hole->size); in print_holes()
108 struct hole *hole; in refill() local
109 struct hole *prev = NULL; in refill()
114 hole = list_entry(cur, struct hole, list); in refill()
117 prev = hole; in refill()
[all …]
/kernel/linux/linux-5.10/drivers/gpu/drm/amd/amdgpu/
Damdgpu_sa.c61 sa_manager->hole = &sa_manager->olist; in amdgpu_sa_bo_manager_init()
88 sa_manager->hole = &sa_manager->olist, in amdgpu_sa_bo_manager_fini()
105 if (sa_manager->hole == &sa_bo->olist) { in amdgpu_sa_bo_remove_locked()
106 sa_manager->hole = sa_bo->olist.prev; in amdgpu_sa_bo_remove_locked()
118 if (sa_manager->hole->next == &sa_manager->olist) in amdgpu_sa_bo_try_free()
121 sa_bo = list_entry(sa_manager->hole->next, struct amdgpu_sa_bo, olist); in amdgpu_sa_bo_try_free()
133 struct list_head *hole = sa_manager->hole; in amdgpu_sa_bo_hole_soffset() local
135 if (hole != &sa_manager->olist) { in amdgpu_sa_bo_hole_soffset()
136 return list_entry(hole, struct amdgpu_sa_bo, olist)->eoffset; in amdgpu_sa_bo_hole_soffset()
143 struct list_head *hole = sa_manager->hole; in amdgpu_sa_bo_hole_eoffset() local
[all …]
/kernel/linux/linux-5.10/drivers/gpu/drm/radeon/
Dradeon_sa.c61 sa_manager->hole = &sa_manager->olist; in radeon_sa_bo_manager_init()
83 sa_manager->hole = &sa_manager->olist, in radeon_sa_bo_manager_fini()
145 if (sa_manager->hole == &sa_bo->olist) { in radeon_sa_bo_remove_locked()
146 sa_manager->hole = sa_bo->olist.prev; in radeon_sa_bo_remove_locked()
158 if (sa_manager->hole->next == &sa_manager->olist) in radeon_sa_bo_try_free()
161 sa_bo = list_entry(sa_manager->hole->next, struct radeon_sa_bo, olist); in radeon_sa_bo_try_free()
172 struct list_head *hole = sa_manager->hole; in radeon_sa_bo_hole_soffset() local
174 if (hole != &sa_manager->olist) { in radeon_sa_bo_hole_soffset()
175 return list_entry(hole, struct radeon_sa_bo, olist)->eoffset; in radeon_sa_bo_hole_soffset()
182 struct list_head *hole = sa_manager->hole; in radeon_sa_bo_hole_eoffset() local
[all …]
/kernel/linux/linux-5.10/drivers/gpu/drm/
Ddrm_mm.c455 struct drm_mm_node *hole; in drm_mm_reserve_node() local
465 hole = find_hole_addr(mm, node->start, 0); in drm_mm_reserve_node()
466 if (!hole) in drm_mm_reserve_node()
469 adj_start = hole_start = __drm_mm_hole_node_start(hole); in drm_mm_reserve_node()
470 adj_end = hole_end = hole_start + hole->hole_size; in drm_mm_reserve_node()
473 mm->color_adjust(hole, node->color, &adj_start, &adj_end); in drm_mm_reserve_node()
481 list_add(&node->node_list, &hole->node_list); in drm_mm_reserve_node()
482 drm_mm_interval_tree_add_node(hole, node); in drm_mm_reserve_node()
485 rm_hole(hole); in drm_mm_reserve_node()
487 add_hole(hole); in drm_mm_reserve_node()
[all …]
/kernel/linux/linux-5.10/Documentation/x86/x86_64/
Dmm.rst35 …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 …]
/kernel/linux/linux-5.10/drivers/gpu/drm/i915/gem/selftests/
Di915_gem_client_blt.c147 u64 hole; member
504 struct drm_mm_node hole; in tiled_blits_create() local
524 memset(&hole, 0, sizeof(hole)); in tiled_blits_create()
525 err = drm_mm_insert_node_in_range(&t->ce->vm->mm, &hole, in tiled_blits_create()
530 drm_mm_remove_node(&hole); in tiled_blits_create()
537 t->hole = hole.start + I915_GTT_MIN_ALIGNMENT; in tiled_blits_create()
538 pr_info("Using hole at %llx\n", t->hole); in tiled_blits_create()
579 &t->buffers[i], t->hole + offset, in tiled_blits_prepare()
580 &t->scratch, t->hole); in tiled_blits_prepare()
602 &t->buffers[1], t->hole + offset / 2, in tiled_blits_bounce()
[all …]
Di915_gem_mman.c623 struct drm_mm_node *hole, *next; in igt_mmap_offset_exhaustion() local
636 list_for_each_entry_safe(hole, next, &mm->hole_stack, hole_stack) { in igt_mmap_offset_exhaustion()
645 resv->start = drm_mm_hole_node_start(hole) + loop; in igt_mmap_offset_exhaustion()
646 resv->size = hole->hole_size - loop; in igt_mmap_offset_exhaustion()
725 drm_mm_for_each_node_safe(hole, next, mm) { in igt_mmap_offset_exhaustion()
726 if (hole->color != -1ul) in igt_mmap_offset_exhaustion()
729 drm_mm_remove_node(hole); in igt_mmap_offset_exhaustion()
730 kfree(hole); in igt_mmap_offset_exhaustion()
/kernel/linux/linux-5.10/tools/perf/util/
Dblock-range.c275 struct block_range *hole = malloc(sizeof(struct block_range)); in block_range__create() local
276 if (!hole) in block_range__create()
279 *hole = (struct block_range){ in block_range__create()
286 rb_link_left_of_node(&hole->node, &next->node); in block_range__create()
287 rb_insert_color(&hole->node, &block_ranges.root); in block_range__create()
/kernel/linux/linux-5.10/drivers/gpu/drm/i915/selftests/
Di915_gem_evict.c382 struct drm_mm_node hole; in igt_evict_contexts() local
403 memset(&hole, 0, sizeof(hole)); in igt_evict_contexts()
405 err = i915_gem_gtt_insert(&ggtt->vm, &hole, in igt_evict_contexts()
438 drm_mm_remove_node(&hole); in igt_evict_contexts()
511 if (drm_mm_node_allocated(&hole)) in igt_evict_contexts()
512 drm_mm_remove_node(&hole); in igt_evict_contexts()
/kernel/linux/linux-5.10/Documentation/driver-api/md/
Draid5-cache.rst25 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
Draid5-ppl.rst17 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
/kernel/linux/linux-5.10/fs/xfs/
Dxfs_mount.c59 int hole, i; in xfs_uuid_mount() local
73 for (i = 0, hole = -1; i < xfs_uuid_table_size; i++) { in xfs_uuid_mount()
75 hole = i; in xfs_uuid_mount()
82 if (hole < 0) { in xfs_uuid_mount()
86 hole = xfs_uuid_table_size++; in xfs_uuid_mount()
88 xfs_uuid_table[hole] = *uuid; in xfs_uuid_mount()
/kernel/linux/linux-5.10/drivers/gpu/drm/selftests/
Dtest-drm_mm.c56 struct drm_mm_node *hole; in assert_no_holes() local
61 drm_mm_for_each_hole(hole, mm, hole_start, hole_end) in assert_no_holes()
68 drm_mm_for_each_node(hole, mm) { in assert_no_holes()
69 if (drm_mm_hole_follows(hole)) { in assert_no_holes()
80 struct drm_mm_node *hole; in assert_one_hole() local
89 drm_mm_for_each_hole(hole, mm, hole_start, hole_end) { in assert_one_hole()
1270 struct drm_mm_node *hole; in show_holes() local
1272 drm_mm_for_each_hole(hole, mm, hole_start, hole_end) { in show_holes()
1273 struct drm_mm_node *next = list_next_entry(hole, node_list); in show_holes()
1276 if (drm_mm_node_allocated(hole)) in show_holes()
[all …]
/kernel/linux/linux-5.10/drivers/pcmcia/
Drsrc_nonstatic.c189 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()
/kernel/linux/linux-5.10/fs/ubifs/
Dfile.c609 int i = 0, nn = *n, offs = bu->zbranch[0].offs, hole = 0, read = 0; in populate_page() local
623 hole = 1; in populate_page()
633 hole = 1; in populate_page()
670 hole = 1; in populate_page()
687 if (hole) { in populate_page()
/kernel/linux/linux-5.10/Documentation/filesystems/ext4/
Dverity.rst15 actually be allocated on-disk, i.e. it may be a hole.
/kernel/linux/linux-5.10/arch/x86/mm/
Dnuma_emulation.c201 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()
/kernel/linux/linux-5.10/Documentation/devicetree/bindings/pinctrl/
Dqcom,pmic-gpio.txt100 gpio1-gpio8 for pm8950 (hole on gpio3)
110 gpio1-gpio12 for pm8150l (hole on gpio7)
/kernel/linux/linux-5.10/drivers/net/wireless/broadcom/brcm80211/brcmsmac/
Dampdu.c856 u8 hole[AMPDU_MAX_MPDU]; in brcms_c_ampdu_dotxstatus_complete() local
857 memset(hole, 0, sizeof(hole)); in brcms_c_ampdu_dotxstatus_complete()
/kernel/linux/linux-5.10/fs/ntfs/
Daops.c1583 goto hole; in ntfs_bmap()
1604 goto hole; in ntfs_bmap()
1620 hole: in ntfs_bmap()
/kernel/linux/linux-5.10/Documentation/arm/
Dporting.rst104 Offset normally incorporated into VMALLOC_START to provide a hole
/kernel/linux/linux-5.10/Documentation/filesystems/
Ddax.txt237 2. Truncate or hole-punch the part of the file that has a bad-block (at least
238 an entire aligned sector has to be hole-punched, but not necessarily an
/kernel/linux/linux-5.10/mm/
DKconfig.debug144 still fine, as W+X mappings are not a security hole in
/kernel/linux/linux-5.10/Documentation/admin-guide/device-mapper/
Ddm-raid.rst203 uses it to close the 'write hole' caused by the non-atomic updates
214 and must not suffer from the 'write hole' problem itself (e.g. use
/kernel/linux/linux-5.10/drivers/net/
Dvirtio_net.c1267 unsigned int len, hole; in add_recvbuf_mergeable() local
1281 hole = alloc_frag->size - alloc_frag->offset; in add_recvbuf_mergeable()
1282 if (hole < len + room) { in add_recvbuf_mergeable()
1287 len += hole; in add_recvbuf_mergeable()
1288 alloc_frag->offset += hole; in add_recvbuf_mergeable()

123