Home
last modified time | relevance | path

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

/linux-6.1.9/fs/ocfs2/
Dmove_extents.c740 static void ocfs2_calc_extent_defrag_len(u32 *alloc_size, u32 *len_defraged, in ocfs2_calc_extent_defrag_len() argument
743 if ((*alloc_size + *len_defraged) < threshold) { in ocfs2_calc_extent_defrag_len()
747 *len_defraged += *alloc_size; in ocfs2_calc_extent_defrag_len()
748 } else if (*len_defraged == 0) { in ocfs2_calc_extent_defrag_len()
762 *alloc_size = threshold - *len_defraged; in ocfs2_calc_extent_defrag_len()
763 *len_defraged = 0; in ocfs2_calc_extent_defrag_len()
772 u32 len_defraged = 0, defrag_thresh = 0, new_phys_cpos = 0; in __ocfs2_move_extents_range() local
846 len_defraged = 0; in __ocfs2_move_extents_range()
852 ocfs2_calc_extent_defrag_len(&alloc_size, &len_defraged, in __ocfs2_move_extents_range()
864 cpos, phys_cpos, alloc_size, len_defraged); in __ocfs2_move_extents_range()