Home
last modified time | relevance | path

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

/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
/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()
/fs/btrfs/
Dextent-tree.c3474 u64 search_start; member
3562 ffe_ctl->search_start, ffe_ctl->num_bytes); in find_free_extent_clustered()
3602 ret = btrfs_find_space_cluster(bg, last_ptr, ffe_ctl->search_start, in find_free_extent_clustered()
3607 ffe_ctl->num_bytes, ffe_ctl->search_start, in find_free_extent_clustered()
3613 ffe_ctl->search_start, in find_free_extent_clustered()
3675 offset = btrfs_find_space_for_alloc(bg, ffe_ctl->search_start, in find_free_extent_unclustered()
3895 ffe_ctl->search_start = ffe_ctl->found_offset; in do_allocation_zoned()
4300 ffe_ctl->search_start = 0; in find_free_extent()
4338 ffe_ctl->search_start = max(ffe_ctl->search_start, in find_free_extent()
4340 ffe_ctl->search_start = max(ffe_ctl->search_start, ffe_ctl->hint_byte); in find_free_extent()
[all …]
Dfile.c204 u64 search_start = args->start; in btrfs_drop_extents() local
244 search_start, modify_tree); in btrfs_drop_extents()
247 if (ret > 0 && path->slots[0] > 0 && search_start == args->start) { in btrfs_drop_extents()
311 if (extent_end == key.offset && extent_end >= search_start) { in btrfs_drop_extents()
316 if (extent_end <= search_start) { in btrfs_drop_extents()
322 search_start = max(key.offset, args->start); in btrfs_drop_extents()
413 search_start = extent_end; in btrfs_drop_extents()
3569 u64 search_start = last_extent_end; in find_desired_extent() local
3577 search_start = offset; in find_desired_extent()
3580 search_start, in find_desired_extent()
[all …]
Dfree-space-cache.c2138 u64 search_start, search_bytes; in remove_from_bitmap() local
2150 search_start = *offset; in remove_from_bitmap()
2152 search_bytes = min(search_bytes, end - search_start + 1); in remove_from_bitmap()
2153 ret = search_bitmap(ctl, bitmap_info, &search_start, &search_bytes, in remove_from_bitmap()
2155 if (ret < 0 || search_start != *offset) in remove_from_bitmap()
2162 search_bytes = min(search_bytes, end - search_start + 1); in remove_from_bitmap()
2164 bitmap_clear_bits(ctl, bitmap_info, search_start, search_bytes, true); in remove_from_bitmap()
2196 search_start = *offset; in remove_from_bitmap()
2198 ret = search_bitmap(ctl, bitmap_info, &search_start, in remove_from_bitmap()
2200 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()
563 u64 search_start; in btrfs_cow_block() local
596 search_start = buf->start & ~((u64)SZ_1G - 1); in btrfs_cow_block()
606 parent_slot, cow_ret, search_start, 0, nest); in btrfs_cow_block()
690 u64 search_start = *last_ret; in btrfs_realloc_node() local
753 if (search_start == 0) in btrfs_realloc_node()
754 search_start = last_block; in btrfs_realloc_node()
758 &cur, search_start, in btrfs_realloc_node()
767 search_start = cur->start; in btrfs_realloc_node()
[all …]
Drelocation.c146 u64 search_start; member
3479 if (rc->search_start >= last) { in find_next_extent()
3484 key.objectid = rc->search_start; in find_next_extent()
3516 key.objectid + key.offset <= rc->search_start) { in find_next_extent()
3523 rc->search_start) { in find_next_extent()
3534 rc->search_start = end + 1; in find_next_extent()
3537 rc->search_start = key.objectid + key.offset; in find_next_extent()
3539 rc->search_start = key.objectid + in find_next_extent()
3579 rc->search_start = rc->block_group->start; in prepare_to_relocate()
3694 rc->search_start = key.objectid; in relocate_block_group()
Dvolumes.c1598 u64 num_bytes, u64 search_start, u64 *start, in find_free_dev_extent_start() argument
1615 search_start = dev_extent_search_start(device, search_start); in find_free_dev_extent_start()
1624 max_hole_start = search_start; in find_free_dev_extent_start()
1628 if (search_start >= search_end || in find_free_dev_extent_start()
1639 key.offset = search_start; in find_free_dev_extent_start()
1646 while (search_start < search_end) { in find_free_dev_extent_start()
1672 if (key.offset > search_start) { in find_free_dev_extent_start()
1673 hole_size = key.offset - search_start; in find_free_dev_extent_start()
1674 dev_extent_hole_check(device, &search_start, &hole_size, in find_free_dev_extent_start()
1678 max_hole_start = search_start; in find_free_dev_extent_start()
[all …]
Dscrub.c3044 u64 search_start, u64 search_len) in compare_extent_item_range() argument
3058 if (key.objectid + len <= search_start) in compare_extent_item_range()
3060 if (key.objectid >= search_start + search_len) in compare_extent_item_range()
3083 u64 search_start, u64 search_len) in find_first_extent_item() argument
3097 key.objectid = search_start; in find_first_extent_item()
3119 if (key.objectid >= search_start + search_len) in find_first_extent_item()
3125 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.c6151 u64 search_start = start; in range_is_hole_in_parent() local
6160 key.offset = search_start; in range_is_hole_in_parent()
6167 while (search_start < end) { in range_is_hole_in_parent()
6196 search_start = extent_end; in range_is_hole_in_parent()