/linux-master/arch/sparc/kernel/ |
H A D | adi_64.c | 163 unsigned long end_addr, hole_start, hole_end; local 167 hole_start = 0; 198 (tag_desc->end > hole_start)) 199 hole_start = tag_desc->end; 273 if (tmp_addr < hole_start) { 277 tmp_addr = hole_start + 1;
|
/linux-master/drivers/gpu/drm/ |
H A D | drm_mm.c | 336 u64 hole_start; local 342 hole_start = __drm_mm_hole_node_start(node); 344 if (addr < hole_start) 346 else if (addr > hole_start + node->hole_size) 453 u64 hole_start, hole_end; local 466 adj_start = hole_start = __drm_mm_hole_node_start(hole); 467 adj_end = hole_end = hole_start + hole->hole_size; 483 if (node->start > hole_start) 543 u64 hole_start = __drm_mm_hole_node_start(hole); local 544 u64 hole_end = hole_start 785 u64 hole_start, hole_end; local 916 u64 hole_start, hole_end; local [all...] |
/linux-master/drivers/gpu/drm/i915/gt/ |
H A D | intel_ggtt.c | 831 unsigned long hole_start, hole_end; local 902 drm_mm_for_each_hole(entry, &ggtt->vm.mm, hole_start, hole_end) { 905 hole_start, hole_end); 906 ggtt->vm.clear_range(&ggtt->vm, hole_start, 907 hole_end - hole_start);
|
/linux-master/drivers/gpu/drm/i915/selftests/ |
H A D | i915_gem_gtt.c | 245 u64 hole_start, u64 hole_end, 259 for (size = 12; (hole_end - hole_start) >> size; size++) { 266 hole_size = (hole_end - hole_start) >> aligned_size; 272 __func__, hole_start, hole_end, size, hole_size); 288 GEM_BUG_ON(hole_start + count * BIT_ULL(aligned_size) > hole_end); 311 u64 addr = hole_start + order[n] * BIT_ULL(aligned_size); 319 hole_end = hole_start; /* quit */ 370 u64 addr = hole_start + order[n] * BIT_ULL(aligned_size); 409 u64 hole_start, u64 hole_end, 412 const u64 hole_size = hole_end - hole_start; 244 lowlevel_hole(struct i915_address_space *vm, u64 hole_start, u64 hole_end, unsigned long end_time) argument 408 fill_hole(struct i915_address_space *vm, u64 hole_start, u64 hole_end, unsigned long end_time) argument 633 walk_hole(struct i915_address_space *vm, u64 hole_start, u64 hole_end, unsigned long end_time) argument 716 pot_hole(struct i915_address_space *vm, u64 hole_start, u64 hole_end, unsigned long end_time) argument 791 drunk_hole(struct i915_address_space *vm, u64 hole_start, u64 hole_end, unsigned long end_time) argument 901 __shrink_hole(struct i915_address_space *vm, u64 hole_start, u64 hole_end, unsigned long end_time) argument 979 shrink_hole(struct i915_address_space *vm, u64 hole_start, u64 hole_end, unsigned long end_time) argument 1001 shrink_boom(struct i915_address_space *vm, u64 hole_start, u64 hole_end, unsigned long end_time) argument 1144 misaligned_pin(struct i915_address_space *vm, u64 hole_start, u64 hole_end, unsigned long end_time) argument 1190 exercise_ppgtt(struct drm_i915_private *dev_priv, int (*func)(struct i915_address_space *vm, u64 hole_start, u64 hole_end, unsigned long end_time)) argument 1276 exercise_ggtt(struct drm_i915_private *i915, int (*func)(struct i915_address_space *vm, u64 hole_start, u64 hole_end, unsigned long end_time)) argument 1282 u64 hole_start, hole_end, last = 0; local 1453 exercise_mock(struct drm_i915_private *i915, int (*func)(struct i915_address_space *vm, u64 hole_start, u64 hole_end, unsigned long end_time)) argument [all...] |
/linux-master/drivers/gpu/drm/tests/ |
H A D | drm_mm_test.c | 41 u64 hole_start, __always_unused hole_end; local 45 drm_mm_for_each_hole(hole, mm, hole_start, hole_end) 66 u64 hole_start, hole_end; local 74 drm_mm_for_each_hole(hole, mm, hole_start, hole_end) { 75 if (start != hole_start || end != hole_end) { 79 hole_start, hole_end, start, end);
|
/linux-master/fs/bcachefs/ |
H A D | fs-io-pagecache.c | 776 u64 *hole_start, 784 *hole_start << 9, *hole_end << 9, min_replicas, nonblock) >> 9; 788 *hole_start = ret; 790 if (*hole_start == *hole_end) 794 *hole_start << 9, *hole_end << 9, min_replicas, nonblock) >> 9; 775 bch2_clamp_data_hole(struct inode *inode, u64 *hole_start, u64 *hole_end, unsigned min_replicas, bool nonblock) argument
|
H A D | fs-io.c | 605 u64 hole_start, hole_end; local 621 hole_start = iter.pos.offset; 644 &hole_start, 649 &hole_start, 652 bch2_btree_iter_set_pos(&iter, POS(iter.pos.inode, hole_start)); 657 if (hole_start == hole_end) 661 sectors = hole_end - hole_start; 678 if (bch2_mark_pagecache_reserved(inode, &hole_start, 681 bch2_mark_pagecache_reserved(inode, &hole_start,
|
/linux-master/fs/btrfs/ |
H A D | inode.c | 4931 u64 hole_start = ALIGN(oldsize, fs_info->sectorsize); local 4947 if (size <= hole_start) 4950 btrfs_lock_and_flush_ordered_range(inode, hole_start, block_end - 1, 4952 cur_offset = hole_start; 5010 unlock_extent(io_tree, hole_start, block_end - 1, &cached_state);
|
H A D | volumes.c | 1488 u64 *hole_start, u64 *hole_size, 1496 ASSERT(IS_ALIGNED(*hole_start, zone_size)); 1499 pos = btrfs_find_allocatable_zones(device, *hole_start, 1500 *hole_start + *hole_size, 1502 if (pos != *hole_start) { 1503 *hole_size = *hole_start + *hole_size - pos; 1504 *hole_start = pos; 1518 *hole_start += *hole_size; 1523 *hole_start += zone_size; 1535 * @hole_start 1487 dev_extent_hole_check_zoned(struct btrfs_device *device, u64 *hole_start, u64 *hole_size, u64 num_bytes) argument 1542 dev_extent_hole_check(struct btrfs_device *device, u64 *hole_start, u64 *hole_size, u64 num_bytes) argument [all...] |
H A D | zoned.c | 1032 * @hole_start: the position of the hole to allocate the region 1039 u64 btrfs_find_allocatable_zones(struct btrfs_device *device, u64 hole_start, argument 1045 u64 pos = hole_start; 1050 ASSERT(IS_ALIGNED(hole_start, zinfo->zone_size));
|
H A D | zoned.h | 70 u64 btrfs_find_allocatable_zones(struct btrfs_device *device, u64 hole_start, 170 u64 hole_start, u64 hole_end, 173 return hole_start; 169 btrfs_find_allocatable_zones(struct btrfs_device *device, u64 hole_start, u64 hole_end, u64 num_bytes) argument
|
/linux-master/fs/ext4/ |
H A D | extents.c | 4052 ext4_lblk_t hole_start, len; local 4055 hole_start = lblk; 4056 len = ext4_ext_find_hole(inode, path, &hole_start); 4058 ext4_es_find_extent_range(inode, &ext4_es_is_delayed, hole_start, 4059 hole_start + len - 1, &es); 4072 len -= lblk - hole_start; 4073 hole_start = lblk; 4093 len = min(es.es_lblk - hole_start, len); 4098 ext_debug(inode, " -> %u:%u\n", hole_start, len); 4099 ext4_es_insert_extent(inode, hole_start, le [all...] |
/linux-master/fs/hugetlbfs/ |
H A D | inode.c | 754 loff_t hole_start, hole_end; local 757 * hole_start and hole_end indicate the full pages within the hole. 759 hole_start = round_up(offset, hpage_size); 773 if (offset < hole_start) 775 offset, min(offset + len, hole_start)); 778 if (hole_end > hole_start) { 781 hole_start >> PAGE_SHIFT, 786 if ((offset + len) > hole_end && (offset + len) > hole_start) 793 if (hole_end > hole_start) 794 remove_inode_hugepages(inode, hole_start, hole_en [all...] |
/linux-master/include/drm/ |
H A D | drm_mm.h | 382 * @hole_start: ulong variable to assign the hole start to on each iteration 391 * We need to inline list_for_each_entry in order to be able to set hole_start 394 #define drm_mm_for_each_hole(pos, mm, hole_start, hole_end) \ 398 hole_start = drm_mm_hole_node_start(pos), \ 399 hole_end = hole_start + pos->hole_size, \
|
/linux-master/kernel/ |
H A D | kexec_core.c | 409 unsigned long hole_start, hole_end, size; local 414 hole_start = ALIGN(image->control_page, size); 415 hole_end = hole_start + size - 1; 429 if ((hole_end >= mstart) && (hole_start <= mend)) { 431 hole_start = ALIGN(mend, size); 432 hole_end = hole_start + size - 1; 438 pages = pfn_to_page(hole_start >> PAGE_SHIFT);
|