Lines Matching refs:trim_state
766 e->trim_state = BTRFS_TRIM_STATE_TRIMMED;
2057 u64 bytes, enum btrfs_trim_state trim_state)
2066 if (trim_state == BTRFS_TRIM_STATE_UNTRIMMED) {
2072 info->trim_state = BTRFS_TRIM_STATE_UNTRIMMED;
2153 enum btrfs_trim_state trim_state;
2158 trim_state = info->trim_state;
2194 bytes, trim_state);
2214 trim_state);
2248 info->trim_state = BTRFS_TRIM_STATE_TRIMMED;
2359 info->trim_state = BTRFS_TRIM_STATE_UNTRIMMED;
2416 info->trim_state = BTRFS_TRIM_STATE_UNTRIMMED;
2468 enum btrfs_trim_state trim_state)
2481 info->trim_state = trim_state;
2524 if (trim_state != BTRFS_TRIM_STATE_TRIMMED) {
2535 enum btrfs_trim_state trim_state = BTRFS_TRIM_STATE_UNTRIMMED;
2538 trim_state = BTRFS_TRIM_STATE_TRIMMED;
2542 bytenr, size, trim_state);
2553 enum btrfs_trim_state trim_state = BTRFS_TRIM_STATE_UNTRIMMED;
2557 trim_state = BTRFS_TRIM_STATE_TRIMMED;
2561 bytenr, size, trim_state);
2639 info->trim_state);
2878 align_gap_trim_state = entry->trim_state;
3403 enum btrfs_trim_state trim_state = BTRFS_TRIM_STATE_UNTRIMMED;
3419 trim_state = BTRFS_TRIM_STATE_TRIMMED;
3430 __btrfs_add_free_space(fs_info, ctl, start, bytes, trim_state);
3495 extent_trim_state = entry->trim_state;
3597 entry->trim_state = BTRFS_TRIM_STATE_UNTRIMMED;
3607 entry->trim_state = BTRFS_TRIM_STATE_TRIMMED;
3670 entry->trim_state = BTRFS_TRIM_STATE_TRIMMING;
3682 entry->trim_state = BTRFS_TRIM_STATE_UNTRIMMED;
3691 * to reset the trim_state.
4015 enum btrfs_trim_state trim_state = BTRFS_TRIM_STATE_TRIMMED;
4058 trim_state);