Lines Matching refs:trim_state

2211 			       u64 bytes, enum btrfs_trim_state trim_state)  in add_bytes_to_bitmap()  argument
2220 if (trim_state == BTRFS_TRIM_STATE_UNTRIMMED) { in add_bytes_to_bitmap()
2226 info->trim_state = BTRFS_TRIM_STATE_UNTRIMMED; in add_bytes_to_bitmap()
2300 enum btrfs_trim_state trim_state; in insert_into_bitmap() local
2305 trim_state = info->trim_state; in insert_into_bitmap()
2341 bytes, trim_state); in insert_into_bitmap()
2361 trim_state); in insert_into_bitmap()
2395 info->trim_state = BTRFS_TRIM_STATE_TRIMMED; in insert_into_bitmap()
2500 info->trim_state = BTRFS_TRIM_STATE_UNTRIMMED; in steal_from_bitmap_to_end()
2554 info->trim_state = BTRFS_TRIM_STATE_UNTRIMMED; in steal_from_bitmap_to_front()
2602 enum btrfs_trim_state trim_state) in __btrfs_add_free_space() argument
2618 info->trim_state = trim_state; in __btrfs_add_free_space()
2662 if (trim_state != BTRFS_TRIM_STATE_TRIMMED) { in __btrfs_add_free_space()
2731 enum btrfs_trim_state trim_state = BTRFS_TRIM_STATE_UNTRIMMED; in btrfs_add_free_space() local
2738 trim_state = BTRFS_TRIM_STATE_TRIMMED; in btrfs_add_free_space()
2740 return __btrfs_add_free_space(block_group, bytenr, size, trim_state); in btrfs_add_free_space()
2761 enum btrfs_trim_state trim_state = BTRFS_TRIM_STATE_UNTRIMMED; in btrfs_add_free_space_async_trimmed() local
2769 trim_state = BTRFS_TRIM_STATE_TRIMMED; in btrfs_add_free_space_async_trimmed()
2771 return __btrfs_add_free_space(block_group, bytenr, size, trim_state); in btrfs_add_free_space_async_trimmed()
2869 info->trim_state); in btrfs_remove_free_space()
3099 align_gap_trim_state = entry->trim_state; in btrfs_find_space_for_alloc()
3638 enum btrfs_trim_state trim_state = BTRFS_TRIM_STATE_UNTRIMMED; in do_trimming() local
3654 trim_state = BTRFS_TRIM_STATE_TRIMMED; in do_trimming()
3665 __btrfs_add_free_space(block_group, start, bytes, trim_state); in do_trimming()
3730 extent_trim_state = entry->trim_state; in trim_no_bitmap()
3832 entry->trim_state = BTRFS_TRIM_STATE_UNTRIMMED; in reset_trimming_bitmap()
3842 entry->trim_state = BTRFS_TRIM_STATE_TRIMMED; in end_trimming_bitmap()
3905 entry->trim_state = BTRFS_TRIM_STATE_TRIMMING; in trim_bitmaps()
3917 entry->trim_state = BTRFS_TRIM_STATE_UNTRIMMED; in trim_bitmaps()
4148 enum btrfs_trim_state trim_state = BTRFS_TRIM_STATE_TRIMMED; in test_add_free_space_entry() local
4191 trim_state); in test_add_free_space_entry()