Home
last modified time | relevance | path

Searched refs:thresh (Results 1 – 5 of 5) sorted by relevance

/fs/jfs/
Djfs_types.h163 u8 thresh; /* Alert Threshold (in percent) */ member
/fs/btrfs/
Ddisk-io.c689 unsigned long thresh = 32 * 1024 * 1024; in btree_writepages() local
695 thresh, EXTENT_DIRTY); in btree_writepages()
696 if (num_dirty < thresh) in btree_writepages()
2385 unsigned long thresh = 32 * 1024 * 1024; in btrfs_btree_balance_dirty() local
2392 thresh, EXTENT_DIRTY); in btrfs_btree_balance_dirty()
2393 if (num_dirty > thresh) { in btrfs_btree_balance_dirty()
Dextent-tree.c2040 u64 alloc_target, thresh; in btrfs_check_metadata_free_space() local
2050 thresh = meta_sinfo->total_bytes * 80; in btrfs_check_metadata_free_space()
2052 thresh = meta_sinfo->total_bytes * 95; in btrfs_check_metadata_free_space()
2054 do_div(thresh, 100); in btrfs_check_metadata_free_space()
2057 meta_sinfo->bytes_pinned + meta_sinfo->bytes_readonly > thresh) { in btrfs_check_metadata_free_space()
2233 u64 thresh; in do_chunk_alloc() local
2258 thresh = space_info->total_bytes - space_info->bytes_readonly; in do_chunk_alloc()
2259 thresh = div_factor(thresh, 6); in do_chunk_alloc()
2262 space_info->bytes_reserved + alloc_bytes) < thresh) { in do_chunk_alloc()
/fs/ext3/
Dresize.c161 static int extend_or_restart_transaction(handle_t *handle, int thresh, in extend_or_restart_transaction() argument
166 if (handle->h_buffer_credits >= thresh) in extend_or_restart_transaction()
/fs/ext4/
Dresize.c147 static int extend_or_restart_transaction(handle_t *handle, int thresh, in extend_or_restart_transaction() argument
152 if (ext4_handle_has_enough_credits(handle, thresh)) in extend_or_restart_transaction()