Lines Matching refs:trim_state

2228 			       u64 bytes, enum btrfs_trim_state trim_state)  in add_bytes_to_bitmap()  argument
2237 if (trim_state == BTRFS_TRIM_STATE_UNTRIMMED) { in add_bytes_to_bitmap()
2243 info->trim_state = BTRFS_TRIM_STATE_UNTRIMMED; in add_bytes_to_bitmap()
2317 enum btrfs_trim_state trim_state; in insert_into_bitmap() local
2322 trim_state = info->trim_state; in insert_into_bitmap()
2358 bytes, trim_state); in insert_into_bitmap()
2378 trim_state); in insert_into_bitmap()
2412 info->trim_state = BTRFS_TRIM_STATE_TRIMMED; in insert_into_bitmap()
2520 info->trim_state = BTRFS_TRIM_STATE_UNTRIMMED; in steal_from_bitmap_to_end()
2574 info->trim_state = BTRFS_TRIM_STATE_UNTRIMMED; in steal_from_bitmap_to_front()
2622 enum btrfs_trim_state trim_state) in __btrfs_add_free_space() argument
2638 info->trim_state = trim_state; in __btrfs_add_free_space()
2682 if (trim_state != BTRFS_TRIM_STATE_TRIMMED) { in __btrfs_add_free_space()
2750 enum btrfs_trim_state trim_state = BTRFS_TRIM_STATE_UNTRIMMED; in btrfs_add_free_space() local
2757 trim_state = BTRFS_TRIM_STATE_TRIMMED; in btrfs_add_free_space()
2759 return __btrfs_add_free_space(block_group, bytenr, size, trim_state); in btrfs_add_free_space()
2780 enum btrfs_trim_state trim_state = BTRFS_TRIM_STATE_UNTRIMMED; in btrfs_add_free_space_async_trimmed() local
2788 trim_state = BTRFS_TRIM_STATE_TRIMMED; in btrfs_add_free_space_async_trimmed()
2790 return __btrfs_add_free_space(block_group, bytenr, size, trim_state); in btrfs_add_free_space_async_trimmed()
2888 info->trim_state); in btrfs_remove_free_space()
3115 align_gap_trim_state = entry->trim_state; in btrfs_find_space_for_alloc()
3656 enum btrfs_trim_state trim_state = BTRFS_TRIM_STATE_UNTRIMMED; in do_trimming() local
3672 trim_state = BTRFS_TRIM_STATE_TRIMMED; in do_trimming()
3683 __btrfs_add_free_space(block_group, start, bytes, trim_state); in do_trimming()
3748 extent_trim_state = entry->trim_state; in trim_no_bitmap()
3850 entry->trim_state = BTRFS_TRIM_STATE_UNTRIMMED; in reset_trimming_bitmap()
3860 entry->trim_state = BTRFS_TRIM_STATE_TRIMMED; in end_trimming_bitmap()
3923 entry->trim_state = BTRFS_TRIM_STATE_TRIMMING; in trim_bitmaps()
3935 entry->trim_state = BTRFS_TRIM_STATE_UNTRIMMED; in trim_bitmaps()
4191 enum btrfs_trim_state trim_state = BTRFS_TRIM_STATE_TRIMMED; in test_add_free_space_entry() local
4234 trim_state); in test_add_free_space_entry()