Lines Matching refs:search_start
1859 u64 search_start, search_bytes; in remove_from_bitmap() local
1871 search_start = *offset; in remove_from_bitmap()
1873 search_bytes = min(search_bytes, end - search_start + 1); in remove_from_bitmap()
1874 ret = search_bitmap(ctl, bitmap_info, &search_start, &search_bytes, in remove_from_bitmap()
1876 if (ret < 0 || search_start != *offset) in remove_from_bitmap()
1883 search_bytes = min(search_bytes, end - search_start + 1); in remove_from_bitmap()
1885 bitmap_clear_bits(ctl, bitmap_info, search_start, search_bytes); in remove_from_bitmap()
1917 search_start = *offset; in remove_from_bitmap()
1919 ret = search_bitmap(ctl, bitmap_info, &search_start, in remove_from_bitmap()
1921 if (ret < 0 || search_start != *offset) in remove_from_bitmap()
2670 u64 search_start = cluster->window_start; in btrfs_alloc_from_bitmap() local
2674 search_start = min_start; in btrfs_alloc_from_bitmap()
2677 err = search_bitmap(ctl, entry, &search_start, &search_bytes, true); in btrfs_alloc_from_bitmap()
2684 ret = search_start; in btrfs_alloc_from_bitmap()