Searched refs:max_distance (Results 1 – 2 of 2) sorted by relevance
1609 int tail_distance, max_distance; in xlog_clear_stale_blocks() local1659 max_distance = XLOG_TOTAL_REC_SHIFT(log); in xlog_clear_stale_blocks()1667 max_distance = min(max_distance, tail_distance); in xlog_clear_stale_blocks()1669 if ((head_block + max_distance) <= log->l_logBBsize) { in xlog_clear_stale_blocks()1678 head_block, max_distance, tail_cycle, in xlog_clear_stale_blocks()1706 distance = max_distance - (log->l_logBBsize - head_block); in xlog_clear_stale_blocks()
3025 unsigned long max_distance; in pcpu_embed_first_chunk() 3042 /* allocate, copy and determine base address & max_distance */ in pcpu_embed_first_chunk() 3067 max_distance = areas[highest_group] - base; in pcpu_embed_first_chunk() 3068 max_distance += ai->unit_size * ai->groups[highest_group].nr_units; in pcpu_embed_first_chunk() 3071 if (max_distance > VMALLOC_TOTAL * 3 / 4) { in pcpu_embed_first_chunk() 3072 pr_warn("max_distance=0x%lx too large for vmalloc space 0x%lx\n", in pcpu_embed_first_chunk() 3073 max_distance, VMALLOC_TOTAL); in pcpu_embed_first_chunk() 3012 unsigned long max_distance; pcpu_embed_first_chunk() local