Home
last modified time | relevance | path

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

/fs/f2fs/
Dsegment.c2658 unsigned int *newseg, bool new_sec, bool pinning) in get_new_segment() argument
2663 unsigned int hint = GET_SEC_FROM_SEG(sbi, *newseg); in get_new_segment()
2664 unsigned int old_zoneno = GET_ZONE_FROM_SEG(sbi, *newseg); in get_new_segment()
2676 if (!new_sec && ((*newseg + 1) % SEGS_PER_SEC(sbi))) { in get_new_segment()
2678 GET_SEG_FROM_SEC(sbi, hint + 1), *newseg + 1); in get_new_segment()
2688 segno = pinning ? 0 : max(first_zoned_segno(sbi), *newseg); in get_new_segment()
2736 *newseg = segno; in get_new_segment()