Searched refs:trim_state (Results 1 – 2 of 2) sorted by relevance
31 enum btrfs_trim_state trim_state; member37 return (info->trim_state == BTRFS_TRIM_STATE_TRIMMED); in btrfs_free_space_trimmed()43 return (info->trim_state == BTRFS_TRIM_STATE_TRIMMING); in btrfs_free_space_trimming_bitmap()118 u64 size, enum btrfs_trim_state trim_state);
2228 u64 bytes, enum btrfs_trim_state trim_state) in add_bytes_to_bitmap() argument2237 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() local2322 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()[all …]