Home
last modified time | relevance | path

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

/Linux-v4.19/mm/
Dpercpu.c2450 unsigned long max_distance; in pcpu_embed_first_chunk() local
2492 max_distance = areas[highest_group] - base; in pcpu_embed_first_chunk()
2493 max_distance += ai->unit_size * ai->groups[highest_group].nr_units; in pcpu_embed_first_chunk()
2496 if (max_distance > VMALLOC_TOTAL * 3 / 4) { in pcpu_embed_first_chunk()
2498 max_distance, VMALLOC_TOTAL); in pcpu_embed_first_chunk()
/Linux-v4.19/fs/xfs/
Dxfs_log_recover.c1757 int tail_distance, max_distance; in xlog_clear_stale_blocks() local
1809 max_distance = XLOG_TOTAL_REC_SHIFT(log); in xlog_clear_stale_blocks()
1817 max_distance = min(max_distance, tail_distance); in xlog_clear_stale_blocks()
1819 if ((head_block + max_distance) <= log->l_logBBsize) { in xlog_clear_stale_blocks()
1828 head_block, max_distance, tail_cycle, in xlog_clear_stale_blocks()
1856 distance = max_distance - (log->l_logBBsize - head_block); in xlog_clear_stale_blocks()