Home
last modified time | relevance | path

Searched refs:trim_state (Results 1 – 2 of 2) sorted by relevance

/linux-6.1.9/fs/btrfs/
Dfree-space-cache.h31 enum btrfs_trim_state trim_state; member
37 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()
107 u64 size, enum btrfs_trim_state trim_state);
Dfree-space-cache.c2211 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()
[all …]