Searched refs:thresh (Results 1 – 11 of 11) sorted by relevance
| /fs/btrfs/ |
| A D | async-thread.c | 45 int thresh; member 68 if (wq->thresh == NO_THRESHOLD) in btrfs_workqueue_normal_congested() 96 if (thresh == 0) in btrfs_alloc_workqueue() 97 thresh = DEFAULT_THRESHOLD; in btrfs_alloc_workqueue() 101 ret->thresh = NO_THRESHOLD; in btrfs_alloc_workqueue() 109 ret->thresh = thresh; in btrfs_alloc_workqueue() 138 ret->thresh = NO_THRESHOLD; in btrfs_alloc_ordered_workqueue() 157 if (wq->thresh == NO_THRESHOLD) in thresh_queue_hook() 183 wq->count %= (wq->thresh / 4); in thresh_exec_hook() 193 if (pending > wq->thresh) in thresh_exec_hook() [all …]
|
| A D | space-info.c | 933 u64 thresh; in need_preemptive_reclaim() local 936 thresh = mult_perc(space_info->total_bytes, 90); in need_preemptive_reclaim() 942 global_rsv_size) >= thresh) in need_preemptive_reclaim() 995 thresh = calc_available_free_space(fs_info, space_info, in need_preemptive_reclaim() 1000 thresh += space_info->total_bytes - used; in need_preemptive_reclaim() 1001 thresh >>= space_info->clamp; in need_preemptive_reclaim() 1036 return (used >= thresh && !btrfs_fs_closing(fs_info) && in need_preemptive_reclaim() 2087 u64 thresh; in do_reclaim_sweep() local 2092 thresh = mult_perc(bg->length, thresh_pct); in do_reclaim_sweep() 2093 if (bg->used < thresh && bg->reclaim_mark) { in do_reclaim_sweep()
|
| A D | sysfs.c | 923 int thresh; in btrfs_sinfo_bg_reclaim_threshold_store() local 929 ret = kstrtoint(buf, 10, &thresh); in btrfs_sinfo_bg_reclaim_threshold_store() 933 if (thresh < 0 || thresh > 100) in btrfs_sinfo_bg_reclaim_threshold_store() 936 WRITE_ONCE(space_info->bg_reclaim_threshold, thresh); in btrfs_sinfo_bg_reclaim_threshold_store() 1516 int thresh; in btrfs_bg_reclaim_threshold_store() local 1519 ret = kstrtoint(buf, 10, &thresh); in btrfs_bg_reclaim_threshold_store() 1524 if (thresh != 0 && (thresh > 100)) in btrfs_bg_reclaim_threshold_store() 1527 if (thresh != 0 && (thresh <= 50 || thresh > 100)) in btrfs_bg_reclaim_threshold_store() 1531 WRITE_ONCE(fs_info->bg_reclaim_threshold, thresh); in btrfs_bg_reclaim_threshold_store()
|
| A D | async-thread.h | 36 int thresh);
|
| A D | compression.c | 178 int thresh; member 190 ret = READ_ONCE(compr_pool.count) - READ_ONCE(compr_pool.thresh); in btrfs_compr_pool_count() 249 if (compr_pool.count > compr_pool.thresh) { in btrfs_free_compr_folio() 1117 compr_pool.thresh = BTRFS_MAX_COMPRESSED / PAGE_SIZE * 8; in btrfs_init_compress()
|
| A D | super.c | 1734 u64 thresh = 0; in btrfs_statfs() local 1799 thresh = SZ_4M; in btrfs_statfs() 1809 (total_free_meta < thresh || total_free_meta - thresh < block_rsv->size)) in btrfs_statfs()
|
| A D | block-group.c | 3889 u64 thresh; in should_alloc_chunk() local 3899 thresh = btrfs_super_total_bytes(fs_info->super_copy); in should_alloc_chunk() 3900 thresh = max_t(u64, SZ_64M, mult_perc(thresh, 1)); in should_alloc_chunk() 3902 if (sinfo->total_bytes - bytes_used < thresh) in should_alloc_chunk()
|
| A D | extent_io.c | 1502 int thresh = 8192; in writepage_delalloc() local 1504 if (delalloc_to_write < thresh * 2) in writepage_delalloc() 1505 thresh = delalloc_to_write; in writepage_delalloc() 1507 thresh); in writepage_delalloc()
|
| /fs/jfs/ |
| A D | jfs_types.h | 132 u8 thresh; /* Alert Threshold (in percent) */ member
|
| /fs/ocfs2/ |
| A D | journal.h | 250 int thresh);
|
| A D | journal.c | 493 int ocfs2_allocate_extend_trans(handle_t *handle, int thresh) in ocfs2_allocate_extend_trans() argument 500 trace_ocfs2_allocate_extend_trans(old_nblks, thresh); in ocfs2_allocate_extend_trans() 502 if (old_nblks < thresh) in ocfs2_allocate_extend_trans()
|
Completed in 58 milliseconds