Searched refs:max_distance (Results 1 - 6 of 6) sorted by relevance
/kernel/linux/linux-6.6/fs/xfs/ |
H A D | xfs_log_recover.c | 1613 int tail_distance, max_distance; in xlog_clear_stale_blocks() local 1663 max_distance = XLOG_TOTAL_REC_SHIFT(log); in xlog_clear_stale_blocks() 1671 max_distance = min(max_distance, tail_distance); in xlog_clear_stale_blocks() 1673 if ((head_block + max_distance) <= log->l_logBBsize) { in xlog_clear_stale_blocks() 1682 head_block, max_distance, tail_cycle, in xlog_clear_stale_blocks() 1710 distance = max_distance - (log->l_logBBsize - head_block); in xlog_clear_stale_blocks()
|
/kernel/linux/linux-6.6/fs/erofs/ |
H A D | erofs_fs.h | 305 __le16 max_distance; member
|
H A D | decompressor.c | 39 distance = le16_to_cpu(lz4->max_distance); in z_erofs_load_lz4_config()
|
/kernel/linux/linux-5.10/fs/xfs/ |
H A D | xfs_log_recover.c | 1619 int tail_distance, max_distance; in xlog_clear_stale_blocks() local 1669 max_distance = XLOG_TOTAL_REC_SHIFT(log); in xlog_clear_stale_blocks() 1677 max_distance = min(max_distance, tail_distance); in xlog_clear_stale_blocks() 1679 if ((head_block + max_distance) <= log->l_logBBsize) { in xlog_clear_stale_blocks() 1688 head_block, max_distance, tail_cycle, in xlog_clear_stale_blocks() 1716 distance = max_distance - (log->l_logBBsize - head_block); in xlog_clear_stale_blocks()
|
/kernel/linux/linux-5.10/mm/ |
H A D | percpu.c | 2844 unsigned long max_distance; in pcpu_embed_first_chunk() local 2861 /* allocate, copy and determine base address & max_distance */ in pcpu_embed_first_chunk() 2886 max_distance = areas[highest_group] - base; in pcpu_embed_first_chunk() 2887 max_distance += ai->unit_size * ai->groups[highest_group].nr_units; in pcpu_embed_first_chunk() 2890 if (max_distance > VMALLOC_TOTAL * 3 / 4) { in pcpu_embed_first_chunk() 2891 pr_warn("max_distance=0x%lx too large for vmalloc space 0x%lx\n", in pcpu_embed_first_chunk() 2892 max_distance, VMALLOC_TOTAL); in pcpu_embed_first_chunk()
|
/kernel/linux/linux-6.6/mm/ |
H A D | percpu.c | 3057 unsigned long max_distance; in pcpu_embed_first_chunk() local 3074 /* allocate, copy and determine base address & max_distance */ in pcpu_embed_first_chunk() 3099 max_distance = areas[highest_group] - base; in pcpu_embed_first_chunk() 3100 max_distance += ai->unit_size * ai->groups[highest_group].nr_units; in pcpu_embed_first_chunk() 3103 if (max_distance > VMALLOC_TOTAL * 3 / 4) { in pcpu_embed_first_chunk() 3104 pr_warn("max_distance=0x%lx too large for vmalloc space 0x%lx\n", in pcpu_embed_first_chunk() 3105 max_distance, VMALLOC_TOTAL); in pcpu_embed_first_chunk()
|
Completed in 18 milliseconds