Searched refs:thresh (Results 1 – 11 of 11) sorted by relevance
/fs/btrfs/ |
D | async-thread.c | 47 int thresh; member 91 int thresh) in __btrfs_alloc_workqueue() argument 100 if (thresh == 0) in __btrfs_alloc_workqueue() 101 thresh = DFT_THRESHOLD; in __btrfs_alloc_workqueue() 103 if (thresh < DFT_THRESHOLD) { in __btrfs_alloc_workqueue() 105 ret->thresh = NO_THRESHOLD; in __btrfs_alloc_workqueue() 108 ret->thresh = thresh; in __btrfs_alloc_workqueue() 137 int thresh) in btrfs_alloc_workqueue() argument 145 max_active, thresh); in btrfs_alloc_workqueue() 153 thresh); in btrfs_alloc_workqueue() [all …]
|
D | async-thread.h | 71 int thresh);
|
D | ioctl.c | 902 static int check_defrag_in_cache(struct inode *inode, u64 offset, u32 thresh) in check_defrag_in_cache() argument 916 if (end - offset > thresh) in check_defrag_in_cache() 920 thresh /= 2; in check_defrag_in_cache() 921 end = count_range_bits(io_tree, &offset, offset + thresh, in check_defrag_in_cache() 922 thresh, EXTENT_DELALLOC, 1); in check_defrag_in_cache() 923 if (end >= thresh) in check_defrag_in_cache() 937 u64 *off, u32 thresh) in find_new_extents() argument 971 btrfs_file_extent_num_bytes(leaf, extent) < thresh && in find_new_extents() 972 check_defrag_in_cache(inode, min_key.offset, thresh)) { in find_new_extents() 1046 static int should_defrag_range(struct inode *inode, u64 start, u32 thresh, in should_defrag_range() argument [all …]
|
D | super.c | 1799 u64 thresh = 0; in btrfs_statfs() local 1869 thresh = 4 * 1024 * 1024; in btrfs_statfs() 1871 if (total_free_meta - thresh < block_rsv->size) in btrfs_statfs()
|
D | extent-tree.c | 3817 u64 thresh; in should_alloc_chunk() local 3835 thresh = btrfs_super_total_bytes(root->fs_info->super_copy); in should_alloc_chunk() 3836 thresh = max_t(u64, 64 * 1024 * 1024, in should_alloc_chunk() 3837 div_factor_fine(thresh, 1)); in should_alloc_chunk() 3839 if (num_bytes - num_allocated < thresh) in should_alloc_chunk() 3871 u64 thresh; in check_system_chunk() local 3879 thresh = get_system_chunk_thresh(root, type); in check_system_chunk() 3880 if (left < thresh && btrfs_test_opt(root, ENOSPC_DEBUG)) { in check_system_chunk() 3882 left, thresh, type); in check_system_chunk() 3886 if (left < thresh) { in check_system_chunk()
|
D | extent_io.c | 3298 int thresh = 8192; in writepage_delalloc() local 3300 if (delalloc_to_write < thresh * 2) in writepage_delalloc() 3301 thresh = delalloc_to_write; in writepage_delalloc() 3303 thresh); in writepage_delalloc()
|
/fs/jfs/ |
D | jfs_types.h | 134 u8 thresh; /* Alert Threshold (in percent) */ member
|
/fs/ocfs2/ |
D | journal.h | 262 int thresh);
|
D | journal.c | 465 int ocfs2_allocate_extend_trans(handle_t *handle, int thresh) in ocfs2_allocate_extend_trans() argument 472 trace_ocfs2_allocate_extend_trans(old_nblks, thresh); in ocfs2_allocate_extend_trans() 474 if (old_nblks < thresh) in ocfs2_allocate_extend_trans()
|
/fs/ext3/ |
D | resize.c | 158 static int extend_or_restart_transaction(handle_t *handle, int thresh, in extend_or_restart_transaction() argument 163 if (handle->h_buffer_credits >= thresh) in extend_or_restart_transaction()
|
/fs/ext4/ |
D | resize.c | 368 static int extend_or_restart_transaction(handle_t *handle, int thresh) in extend_or_restart_transaction() argument 372 if (ext4_handle_has_enough_credits(handle, thresh)) in extend_or_restart_transaction()
|