Searched refs:discardable_bytes (Results 1 – 5 of 5) sorted by relevance
578 s64 discardable_bytes; in btrfs_discard_calc_delay() local599 discardable_bytes = atomic64_read(&discard_ctl->discardable_bytes); in btrfs_discard_calc_delay()600 if (discardable_bytes < 0) in btrfs_discard_calc_delay()601 atomic64_add(-discardable_bytes, in btrfs_discard_calc_delay()602 &discard_ctl->discardable_bytes); in btrfs_discard_calc_delay()655 bytes_delta = ctl->discardable_bytes[BTRFS_STAT_CURR] - in btrfs_discard_update_discardable()656 ctl->discardable_bytes[BTRFS_STAT_PREV]; in btrfs_discard_update_discardable()658 atomic64_add(bytes_delta, &discard_ctl->discardable_bytes); in btrfs_discard_update_discardable()659 ctl->discardable_bytes[BTRFS_STAT_PREV] = in btrfs_discard_update_discardable()660 ctl->discardable_bytes[BTRFS_STAT_CURR]; in btrfs_discard_update_discardable()[all …]
68 s64 discardable_bytes[BTRFS_STAT_NR_ENTRIES]; member
1822 ctl->discardable_bytes[BTRFS_STAT_CURR] -= info->bytes; in unlink_free_space()1844 ctl->discardable_bytes[BTRFS_STAT_CURR] += info->bytes; in link_free_space()1897 ctl->discardable_bytes[BTRFS_STAT_CURR] -= bytes; in bitmap_clear_bits()1937 ctl->discardable_bytes[BTRFS_STAT_CURR] += bytes; in bitmap_set_bits()2131 ctl->discardable_bytes[BTRFS_STAT_CURR] -= bitmap_info->bytes; in free_bitmap()2233 ctl->discardable_bytes[BTRFS_STAT_CURR] += info->bytes; in add_bytes_to_bitmap()2992 ctl->discardable_bytes[BTRFS_STAT_CURR] -= in __btrfs_return_cluster_to_free_space()3002 ctl->discardable_bytes[BTRFS_STAT_CURR] += in __btrfs_return_cluster_to_free_space()3280 ctl->discardable_bytes[BTRFS_STAT_CURR] -= bytes; in btrfs_alloc_from_cluster()3835 ctl->discardable_bytes[BTRFS_STAT_CURR] += entry->bytes; in reset_trimming_bitmap()[all …]
323 atomic64_t discardable_bytes; member
449 atomic64_read(&fs_info->discard_ctl.discardable_bytes)); in btrfs_discardable_bytes_show()451 BTRFS_ATTR(discard, discardable_bytes, btrfs_discardable_bytes_show);594 BTRFS_ATTR_PTR(discard, discardable_bytes),
Completed in 22 milliseconds