Home
last modified time | relevance | path

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

/openbmc/linux/fs/ocfs2/
H A Dmove_extents.c731 static void ocfs2_calc_extent_defrag_len(u32 *alloc_size, u32 *len_defraged, in ocfs2_calc_extent_defrag_len() argument
734 if ((*alloc_size + *len_defraged) < threshold) { in ocfs2_calc_extent_defrag_len()
738 *len_defraged += *alloc_size; in ocfs2_calc_extent_defrag_len()
739 } else if (*len_defraged == 0) { in ocfs2_calc_extent_defrag_len()
753 *alloc_size = threshold - *len_defraged; in ocfs2_calc_extent_defrag_len()
754 *len_defraged = 0; in ocfs2_calc_extent_defrag_len()
763 u32 len_defraged = 0, defrag_thresh = 0, new_phys_cpos = 0; in __ocfs2_move_extents_range() local
837 len_defraged = 0; in __ocfs2_move_extents_range()
843 ocfs2_calc_extent_defrag_len(&alloc_size, &len_defraged, in __ocfs2_move_extents_range()
855 cpos, phys_cpos, alloc_size, len_defraged); in __ocfs2_move_extents_range()