Searched defs:thresh (Results 1 - 8 of 8) sorted by relevance

/fs/jfs/
H A Djfs_types.h134 u8 thresh; /* Alert Threshold (in percent) */ member in struct:dasd
/fs/btrfs/
H A Dasync-thread.c47 int thresh; member in struct:__btrfs_workqueue
91 int thresh)
100 if (thresh == 0)
101 thresh = DFT_THRESHOLD;
103 if (thresh < DFT_THRESHOLD) {
105 ret->thresh = NO_THRESHOLD;
108 ret->thresh = thresh;
137 int thresh)
145 max_active, thresh);
90 __btrfs_alloc_workqueue(const char *name, int flags, int max_active, int thresh) argument
134 btrfs_alloc_workqueue(const char *name, int flags, int max_active, int thresh) argument
[all...]
H A Dextent_io.c3247 int thresh = 8192; local
3249 if (delalloc_to_write < thresh * 2)
3250 thresh = delalloc_to_write;
3252 thresh);
H A Dioctl.c902 static int check_defrag_in_cache(struct inode *inode, u64 offset, u32 thresh) argument
916 if (end - offset > thresh)
920 thresh /= 2;
921 end = count_range_bits(io_tree, &offset, offset + thresh,
922 thresh, EXTENT_DELALLOC, 1);
923 if (end >= thresh)
930 * newer than a specific transid, and smaller than thresh.
937 u64 *off, u32 thresh)
971 btrfs_file_extent_num_bytes(leaf, extent) < thresh &&
972 check_defrag_in_cache(inode, min_key.offset, thresh)) {
935 find_new_extents(struct btrfs_root *root, struct inode *inode, u64 newer_than, u64 *off, u32 thresh) argument
1046 should_defrag_range(struct inode *inode, u64 start, u32 thresh, u64 *last_len, u64 *skip, u64 *defrag_end, int compress) argument
[all...]
H A Dextent-tree.c3816 u64 thresh; local
3834 thresh = btrfs_super_total_bytes(root->fs_info->super_copy);
3835 thresh = max_t(u64, 64 * 1024 * 1024,
3836 div_factor_fine(thresh, 1));
3838 if (num_bytes - num_allocated < thresh)
3870 u64 thresh; local
3878 thresh = get_system_chunk_thresh(root, type);
3879 if (left < thresh && btrfs_test_opt(root, ENOSPC_DEBUG)) {
3881 left, thresh, type);
3885 if (left < thresh) {
[all...]
/fs/ext3/
H A Dresize.c154 * If we have fewer than thresh credits, extend by EXT3_MAX_TRANS_DATA.
158 static int extend_or_restart_transaction(handle_t *handle, int thresh, argument
163 if (handle->h_buffer_credits >= thresh)
/fs/ext4/
H A Dresize.c364 * If we have fewer than thresh credits, extend by EXT4_MAX_TRANS_DATA.
368 static int extend_or_restart_transaction(handle_t *handle, int thresh) argument
372 if (ext4_handle_has_enough_credits(handle, thresh))
/fs/ocfs2/
H A Djournal.c460 * If we have fewer than thresh credits, extend by OCFS2_MAX_TRANS_DATA.
465 int ocfs2_allocate_extend_trans(handle_t *handle, int thresh) argument
472 trace_ocfs2_allocate_extend_trans(old_nblks, thresh);
474 if (old_nblks < thresh)

Completed in 381 milliseconds