Home
last modified time | relevance | path

Searched refs:threshold (Results 1 – 7 of 7) sorted by relevance

/fs/smb/client/
A Dcompress.c65 const size_t threshold = 65, max_entropy = 8 * ilog2(16); in has_low_entropy() local
79 return ((sum * 100 / max_entropy) <= threshold); in has_low_entropy()
100 const size_t low = 64, high = 200, threshold = slen * 90 / 100; in calc_byte_distribution() local
107 if (sum > threshold) in calc_byte_distribution()
112 if (sum > threshold) in calc_byte_distribution()
/fs/jffs2/
A Dcompr_rubin.c203 long i0, threshold; in decode() local
216 threshold = rs->q + i0; in decode()
217 symbol = rs->rec_q >= threshold; in decode()
218 if (rs->rec_q >= threshold) { in decode()
/fs/xfs/
A Dxfs_zone_gc.c173 s64 available, free, threshold; in xfs_zoned_need_gc() local
188 threshold = div_s64_rem(free, 100, &remainder); in xfs_zoned_need_gc()
189 threshold = threshold * mp->m_zonegc_low_space + in xfs_zoned_need_gc()
192 if (available < threshold) in xfs_zoned_need_gc()
/fs/ocfs2/
A Dmove_extents.c731 u32 threshold, int *skip) in ocfs2_calc_extent_defrag_len() argument
733 if ((*alloc_size + *len_defraged) < threshold) { in ocfs2_calc_extent_defrag_len()
752 *alloc_size = threshold - *len_defraged; in ocfs2_calc_extent_defrag_len()
/fs/dlm/
A Dmidcomms.c401 uint32_t threshold) in dlm_send_ack_threshold() argument
409 send_ack = (oval > threshold); in dlm_send_ack_threshold()
/fs/ocfs2/cluster/
A Dheartbeat.c149 static void o2hb_dead_threshold_set(unsigned int threshold) in o2hb_dead_threshold_set() argument
151 if (threshold > O2HB_MIN_DEAD_THRESHOLD) { in o2hb_dead_threshold_set()
154 o2hb_dead_threshold = threshold; in o2hb_dead_threshold_set()
/fs/f2fs/
A Dsegment.c478 unsigned int threshold = in excess_dirty_threshold() local
480 unsigned int global_threshold = threshold * 3 / 2; in excess_dirty_threshold()
482 if (dents >= threshold || qdata >= threshold || in excess_dirty_threshold()
483 nodes >= threshold || meta >= threshold || in excess_dirty_threshold()
484 imeta >= threshold) in excess_dirty_threshold()

Completed in 30 milliseconds