Home
last modified time | relevance | path

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

/linux-6.1.9/fs/reiserfs/
Dbitmap.c791 hint->search_start = in new_hashed_relocation()
817 hint->search_start = hash; in dirid_groups()
846 hint->search_start = hash; in oid_groups()
877 hint->search_start = bh->b_blocknr; in get_left_neighbor()
889 hint->search_start = t; in get_left_neighbor()
922 hint->search_start = in displace_large_file()
927 hint->search_start = in displace_large_file()
944 hint->search_start = in hash_formatted_node()
962 hint->search_start = in displace_new_packing_locality()
981 if (border > hint->search_start) in old_hashed_relocation()
[all …]
Dreiserfs.h3291 b_blocknr_t search_start; member
/linux-6.1.9/fs/ocfs2/
Dreservations.c401 unsigned int search_start, in ocfs2_resmap_find_free_bits() argument
410 trace_ocfs2_resmap_find_free_bits_begin(search_start, search_len, in ocfs2_resmap_find_free_bits()
415 start = search_start; in ocfs2_resmap_find_free_bits()
419 if (offset >= (search_start + search_len)) in ocfs2_resmap_find_free_bits()
/linux-6.1.9/fs/btrfs/
Dextent-tree.c3468 u64 search_start; member
3556 ffe_ctl->search_start, ffe_ctl->num_bytes); in find_free_extent_clustered()
3596 ret = btrfs_find_space_cluster(bg, last_ptr, ffe_ctl->search_start, in find_free_extent_clustered()
3601 ffe_ctl->num_bytes, ffe_ctl->search_start, in find_free_extent_clustered()
3607 ffe_ctl->search_start, in find_free_extent_clustered()
3669 offset = btrfs_find_space_for_alloc(bg, ffe_ctl->search_start, in find_free_extent_unclustered()
3870 ffe_ctl->search_start = ffe_ctl->found_offset; in do_allocation_zoned()
4267 ffe_ctl->search_start = 0; in find_free_extent()
4305 ffe_ctl->search_start = max(ffe_ctl->search_start, in find_free_extent()
4307 ffe_ctl->search_start = max(ffe_ctl->search_start, ffe_ctl->hint_byte); in find_free_extent()
[all …]
Dfile.c527 u64 search_start = args->start; in btrfs_drop_extents() local
567 search_start, modify_tree); in btrfs_drop_extents()
570 if (ret > 0 && path->slots[0] > 0 && search_start == args->start) { in btrfs_drop_extents()
634 if (extent_end == key.offset && extent_end >= search_start) { in btrfs_drop_extents()
639 if (extent_end <= search_start) { in btrfs_drop_extents()
645 search_start = max(key.offset, args->start); in btrfs_drop_extents()
736 search_start = extent_end; in btrfs_drop_extents()
3870 u64 search_start = last_extent_end; in find_desired_extent() local
3878 search_start = offset; in find_desired_extent()
3881 search_start, in find_desired_extent()
[all …]
Dfree-space-cache.c2137 u64 search_start, search_bytes; in remove_from_bitmap() local
2149 search_start = *offset; in remove_from_bitmap()
2151 search_bytes = min(search_bytes, end - search_start + 1); in remove_from_bitmap()
2152 ret = search_bitmap(ctl, bitmap_info, &search_start, &search_bytes, in remove_from_bitmap()
2154 if (ret < 0 || search_start != *offset) in remove_from_bitmap()
2161 search_bytes = min(search_bytes, end - search_start + 1); in remove_from_bitmap()
2163 bitmap_clear_bits(ctl, bitmap_info, search_start, search_bytes, true); in remove_from_bitmap()
2195 search_start = *offset; in remove_from_bitmap()
2197 ret = search_bitmap(ctl, bitmap_info, &search_start, in remove_from_bitmap()
2199 if (ret < 0 || search_start != *offset) in remove_from_bitmap()
[all …]
Dctree.c402 u64 search_start, u64 empty_size, in __btrfs_cow_block() argument
435 search_start, empty_size, nest); in __btrfs_cow_block()
558 u64 search_start; in btrfs_cow_block() local
579 search_start = buf->start & ~((u64)SZ_1G - 1); in btrfs_cow_block()
589 parent_slot, cow_ret, search_start, 0, nest); in btrfs_cow_block()
673 u64 search_start = *last_ret; in btrfs_realloc_node() local
722 if (search_start == 0) in btrfs_realloc_node()
723 search_start = last_block; in btrfs_realloc_node()
727 &cur, search_start, in btrfs_realloc_node()
736 search_start = cur->start; in btrfs_realloc_node()
[all …]
Drelocation.c146 u64 search_start; member
3444 if (rc->search_start >= last) { in find_next_extent()
3449 key.objectid = rc->search_start; in find_next_extent()
3481 key.objectid + key.offset <= rc->search_start) { in find_next_extent()
3488 rc->search_start) { in find_next_extent()
3499 rc->search_start = end + 1; in find_next_extent()
3502 rc->search_start = key.objectid + key.offset; in find_next_extent()
3504 rc->search_start = key.objectid + in find_next_extent()
3544 rc->search_start = rc->block_group->start; in prepare_to_relocate()
3659 rc->search_start = key.objectid; in relocate_block_group()
Dvolumes.c1567 u64 num_bytes, u64 search_start, u64 *start, in find_free_dev_extent_start() argument
1584 search_start = dev_extent_search_start(device, search_start); in find_free_dev_extent_start()
1593 max_hole_start = search_start; in find_free_dev_extent_start()
1597 if (search_start >= search_end || in find_free_dev_extent_start()
1608 key.offset = search_start; in find_free_dev_extent_start()
1638 if (key.offset > search_start) { in find_free_dev_extent_start()
1639 hole_size = key.offset - search_start; in find_free_dev_extent_start()
1640 dev_extent_hole_check(device, &search_start, &hole_size, in find_free_dev_extent_start()
1644 max_hole_start = search_start; in find_free_dev_extent_start()
1666 if (extent_end > search_start) in find_free_dev_extent_start()
[all …]
Dscrub.c3013 u64 search_start, u64 search_len) in compare_extent_item_range() argument
3027 if (key.objectid + len <= search_start) in compare_extent_item_range()
3029 if (key.objectid >= search_start + search_len) in compare_extent_item_range()
3052 u64 search_start, u64 search_len) in find_first_extent_item() argument
3066 key.objectid = search_start; in find_first_extent_item()
3088 if (key.objectid >= search_start + search_len) in find_first_extent_item()
3094 ret = compare_extent_item_range(path, search_start, search_len); in find_first_extent_item()
Dinode.c2797 u64 search_start = start; in btrfs_find_new_delalloc_bytes() local
2800 while (search_start < end) { in btrfs_find_new_delalloc_bytes()
2801 const u64 search_len = end - search_start + 1; in btrfs_find_new_delalloc_bytes()
2806 em = btrfs_get_extent(inode, NULL, 0, search_start, search_len); in btrfs_find_new_delalloc_bytes()
2814 if (em->start < search_start) in btrfs_find_new_delalloc_bytes()
2815 em_len -= search_start - em->start; in btrfs_find_new_delalloc_bytes()
2819 ret = set_extent_bit(&inode->io_tree, search_start, in btrfs_find_new_delalloc_bytes()
2820 search_start + em_len - 1, in btrfs_find_new_delalloc_bytes()
2824 search_start = extent_map_end(em); in btrfs_find_new_delalloc_bytes()
Dsend.c6147 u64 search_start = start; in range_is_hole_in_parent() local
6156 key.offset = search_start; in range_is_hole_in_parent()
6163 while (search_start < end) { in range_is_hole_in_parent()
6192 search_start = extent_end; in range_is_hole_in_parent()
/linux-6.1.9/arch/riscv/mm/
Dinit.c1165 unsigned long search_start = memblock_start_of_DRAM(); in reserve_crashkernel() local
1190 search_start = crash_base; in reserve_crashkernel()
1202 search_start, in reserve_crashkernel()
1207 search_start, search_end); in reserve_crashkernel()