Lines Matching defs:thresh
1066 static int check_defrag_in_cache(struct inode *inode, u64 offset, u32 thresh)
1080 if (end - offset > thresh)
1084 thresh /= 2;
1085 end = count_range_bits(io_tree, &offset, offset + thresh,
1086 thresh, EXTENT_DELALLOC, 1);
1087 if (end >= thresh)
1094 * newer than a specific transid, and smaller than thresh.
1101 u64 *off, u32 thresh)
1135 btrfs_file_extent_num_bytes(leaf, extent) < thresh &&
1136 check_defrag_in_cache(inode, min_key.offset, thresh)) {
1210 static int should_defrag_range(struct inode *inode, u64 start, u32 thresh,
1246 if (!compress && (*last_len == 0 || *last_len >= thresh) &&
1247 (em->len >= thresh || (!next_mergeable && !prev_mergeable)))