Searched refs:distance (Results 1 – 4 of 4) sorted by relevance
36 u16 distance; in z_erofs_load_lz4_config() local43 distance = le16_to_cpu(lz4->max_distance); in z_erofs_load_lz4_config()57 distance = le16_to_cpu(dsb->u1.lz4_max_distance); in z_erofs_load_lz4_config()61 sbi->lz4.max_distance_pages = distance ? in z_erofs_load_lz4_config()62 DIV_ROUND_UP(distance, PAGE_SIZE) + 1 : in z_erofs_load_lz4_config()
1620 int distance; in xlog_clear_stale_blocks() local1700 distance = log->l_logBBsize - head_block; in xlog_clear_stale_blocks()1702 head_block, distance, tail_cycle, in xlog_clear_stale_blocks()1716 distance = max_distance - (log->l_logBBsize - head_block); in xlog_clear_stale_blocks()1717 error = xlog_write_log_records(log, head_cycle, 0, distance, in xlog_clear_stale_blocks()
3735 xfs_fileoff_t distance; in xfs_trim_extent() local3745 distance = bno - irec->br_startoff; in xfs_trim_extent()3750 irec->br_startblock += distance; in xfs_trim_extent()3751 irec->br_startoff += distance; in xfs_trim_extent()3752 irec->br_blockcount -= distance; in xfs_trim_extent()3756 distance = irec->br_startoff + irec->br_blockcount - end; in xfs_trim_extent()3757 irec->br_blockcount -= distance; in xfs_trim_extent()
6000 unsigned long distance = (src > dst) ? src - dst : dst - src; in areas_overlap() local6001 return distance < len; in areas_overlap()