/kernel/linux/linux-5.10/fs/erofs/ |
H A D | namei.c | 112 int diff; in find_target_block_classic() local 138 diff = erofs_dirnamecmp(name, &dname, &matched); in find_target_block_classic() 141 if (!diff) { in find_target_block_classic() 144 } else if (diff > 0) { in find_target_block_classic()
|
/kernel/linux/linux-6.6/drivers/net/ethernet/renesas/ |
H A D | rcar_gen4_ptp.c | 34 s64 diff; in rcar_gen4_ptp_adjfine() local 38 diff = div_s64(addend * scaled_ppm_to_ppb(scaled_ppm), NSEC_PER_SEC); in rcar_gen4_ptp_adjfine() 39 addend = neg_adj ? addend - diff : addend + diff; in rcar_gen4_ptp_adjfine()
|
/kernel/linux/linux-6.6/fs/nilfs2/ |
H A D | bmap.h | 22 #define nilfs_bmap_keydiff_abs(diff) ((diff) < 0 ? -(diff) : (diff))
|
/kernel/linux/linux-6.6/fs/jfs/ |
H A D | jfs_logmgr.h | 483 #define logdiff(diff, lsn, log)\ 485 diff = (lsn) - (log)->syncpt;\ 486 if (diff < 0)\ 487 diff += (log)->logsize;\
|
/kernel/linux/linux-6.6/fs/erofs/ |
H A D | namei.c | 107 int diff; in erofs_find_target_block() local 131 diff = erofs_dirnamecmp(name, &dname, &matched); in erofs_find_target_block() 133 if (diff < 0) { in erofs_find_target_block() 143 if (!diff) { in erofs_find_target_block()
|
/kernel/linux/linux-6.6/drivers/staging/sm750fb/ |
H A D | ddk750_chip.c | 365 unsigned int diff; in sm750_calc_pll_value() local 368 diff = abs(tmp_clock - request_orig); in sm750_calc_pll_value() 369 if (diff < mini_diff) { in sm750_calc_pll_value() 376 mini_diff = diff; in sm750_calc_pll_value()
|
/kernel/linux/linux-6.6/drivers/cpufreq/ |
H A D | cpufreq-nforce2.c | 171 int diff; in nforce2_set_fsb() local 200 diff = tfsb - fsb; in nforce2_set_fsb() 202 if (!diff) in nforce2_set_fsb() 206 if (diff < 0) in nforce2_set_fsb()
|
H A D | freq_table.c | 132 unsigned int freq, diff, i = 0; in cpufreq_table_index_unsorted() local 185 diff = abs(freq - target_freq); in cpufreq_table_index_unsorted() 186 if (diff < optimal.frequency || in cpufreq_table_index_unsorted() 187 (diff == optimal.frequency && in cpufreq_table_index_unsorted() 189 optimal.frequency = diff; in cpufreq_table_index_unsorted()
|
/kernel/linux/linux-6.6/drivers/input/keyboard/ |
H A D | adc-keys.c | 36 u32 diff, closest = 0xffffffff; in adc_keys_poll() local 45 diff = abs(st->map[i].voltage - value); in adc_keys_poll() 46 if (diff < closest) { in adc_keys_poll() 47 closest = diff; in adc_keys_poll()
|
/kernel/linux/linux-5.10/drivers/net/wireless/ath/ath9k/ |
H A D | eeprom_def.c | 696 int16_t *diff) in ath9k_change_gain_boundary_setting() 711 *diff = (u16)(pwr_table_offset - AR5416_PWR_TABLE_OFFSET_DB); in ath9k_change_gain_boundary_setting() 713 *diff *= 2; in ath9k_change_gain_boundary_setting() 718 gb[k] = (u16)(gb[k] - *diff); in ath9k_change_gain_boundary_setting() 729 return *diff; in ath9k_change_gain_boundary_setting() 734 int16_t diff, in ath9k_adjust_pdadc_values() 737 #define NUM_PDADC(diff) (AR5416_NUM_PDADC_VALUES - diff) in ath9k_adjust_pdadc_values() 748 for (k = 0; k < (u16)NUM_PDADC(diff); k++ ) { in ath9k_adjust_pdadc_values() 749 pdadcValues[k] = pdadcValues[k + diff]; in ath9k_adjust_pdadc_values() 691 ath9k_change_gain_boundary_setting(struct ath_hw *ah, u16 *gb, u16 numXpdGain, u16 pdGainOverlap_t2, int8_t pwr_table_offset, int16_t *diff) ath9k_change_gain_boundary_setting() argument 732 ath9k_adjust_pdadc_values(struct ath_hw *ah, int8_t pwr_table_offset, int16_t diff, u8 *pdadcValues) ath9k_adjust_pdadc_values() argument 775 int16_t diff = 0; ath9k_hw_set_def_power_cal_table() local [all...] |
/kernel/linux/linux-6.6/drivers/net/wireless/ath/ath9k/ |
H A D | eeprom_def.c | 696 int16_t *diff) in ath9k_change_gain_boundary_setting() 711 *diff = (u16)(pwr_table_offset - AR5416_PWR_TABLE_OFFSET_DB); in ath9k_change_gain_boundary_setting() 713 *diff *= 2; in ath9k_change_gain_boundary_setting() 718 gb[k] = (u16)(gb[k] - *diff); in ath9k_change_gain_boundary_setting() 729 return *diff; in ath9k_change_gain_boundary_setting() 734 int16_t diff, in ath9k_adjust_pdadc_values() 737 #define NUM_PDADC(diff) (AR5416_NUM_PDADC_VALUES - diff) in ath9k_adjust_pdadc_values() 748 for (k = 0; k < (u16)NUM_PDADC(diff); k++ ) { in ath9k_adjust_pdadc_values() 749 pdadcValues[k] = pdadcValues[k + diff]; in ath9k_adjust_pdadc_values() 691 ath9k_change_gain_boundary_setting(struct ath_hw *ah, u16 *gb, u16 numXpdGain, u16 pdGainOverlap_t2, int8_t pwr_table_offset, int16_t *diff) ath9k_change_gain_boundary_setting() argument 732 ath9k_adjust_pdadc_values(struct ath_hw *ah, int8_t pwr_table_offset, int16_t diff, u8 *pdadcValues) ath9k_adjust_pdadc_values() argument 775 int16_t diff = 0; ath9k_hw_set_def_power_cal_table() local [all...] |
/kernel/linux/linux-5.10/include/trace/events/ |
H A D | btrfs.h | 1693 s64 diff, int type), 1695 TP_ARGS(fs_info, qgroup, diff, type), 1700 __field( s64, diff ) 1707 __entry->diff = diff; 1711 TP_printk_btrfs("qgid=%llu type=%s cur_reserved=%llu diff=%lld", 1713 __entry->cur_reserved, __entry->diff) 1718 TP_PROTO(struct btrfs_root *root, s64 diff, int type), 1720 TP_ARGS(root, diff, type), 1724 __field( s64, diff ) [all...] |
/kernel/linux/linux-6.6/include/trace/events/ |
H A D | btrfs.h | 1861 s64 diff, int type), 1863 TP_ARGS(fs_info, qgroup, diff, type), 1868 __field( s64, diff ) 1875 __entry->diff = diff; 1879 TP_printk_btrfs("qgid=%llu type=%s cur_reserved=%llu diff=%lld", 1881 __entry->cur_reserved, __entry->diff) 1886 TP_PROTO(struct btrfs_root *root, s64 diff, int type), 1888 TP_ARGS(root, diff, type), 1892 __field( s64, diff ) [all...] |
/kernel/linux/linux-6.6/kernel/trace/ |
H A D | trace_osnoise.c | 1321 * values will be used later to compute the diff betwneen the statistics 1442 * Save the current stats for the diff in run_osnoise() 1733 u64 diff; in timerlat_irq() local 1786 diff = now - tlat->abs_period; in timerlat_irq() 1790 s.timer_latency = diff; in timerlat_irq() 1796 if (time_to_us(diff) >= osnoise_data.stop_tracing) { in timerlat_irq() 1807 timerlat_dump_stack(time_to_us(diff)); in timerlat_irq() 1811 notify_new_max_latency(diff); in timerlat_irq() 1868 u64 now, diff; in timerlat_main() local 1907 diff in timerlat_main() 2471 s64 diff; timerlat_fd_read() local [all...] |
/kernel/linux/linux-5.10/arch/arm/mm/ |
H A D | pmsa-v7.c | 193 phys_addr_t diff = size; in allocate_region() local 196 while (diff) { in allocate_region() 201 diff -= size; in allocate_region() 202 size = diff; in allocate_region() 213 phys_addr_t p2size = (1 << __fls(diff)) - 1; in allocate_region()
|
/kernel/linux/linux-6.6/arch/arm/mm/ |
H A D | pmsa-v7.c | 193 phys_addr_t diff = size; in allocate_region() local 196 while (diff) { in allocate_region() 201 diff -= size; in allocate_region() 202 size = diff; in allocate_region() 213 phys_addr_t p2size = (1 << __fls(diff)) - 1; in allocate_region()
|
/kernel/linux/linux-5.10/tools/testing/selftests/firmware/ |
H A D | fw_filesystem.sh | 46 if diff -q "$FW" /dev/test_firmware >/dev/null ; then 63 if ! diff -q "$FW" /dev/test_firmware >/dev/null ; then 81 if ! diff -q "$FW" /dev/test_firmware >/dev/null ; then 223 if ! diff -q -Z "$fwfile" $DIR/read_firmware 2>/dev/null ; then 264 if diff -q -Z "$FW" $DIR/read_firmware 2>/dev/null ; then
|
/kernel/linux/linux-5.10/drivers/video/fbdev/i810/ |
H A D | i810_gtf.c | 228 u32 i, size = 0, pixclock, wm_best = 0, min, diff; in i810_get_watermark() local 266 diff = wmark[i].freq - pixclock; in i810_get_watermark() 268 diff = pixclock - wmark[i].freq; in i810_get_watermark() 269 if (diff < min) { in i810_get_watermark() 271 min = diff; in i810_get_watermark()
|
/kernel/linux/linux-6.6/drivers/video/fbdev/i810/ |
H A D | i810_gtf.c | 228 u32 i, size = 0, pixclock, wm_best = 0, min, diff; in i810_get_watermark() local 266 diff = wmark[i].freq - pixclock; in i810_get_watermark() 268 diff = pixclock - wmark[i].freq; in i810_get_watermark() 269 if (diff < min) { in i810_get_watermark() 271 min = diff; in i810_get_watermark()
|
/kernel/linux/linux-6.6/drivers/gpu/drm/amd/amdgpu/ |
H A D | amdgpu_pll.c | 209 unsigned diff; in amdgpu_pll_compute() local 212 diff = abs(target_clock - (pll->reference_freq * fb_div) / in amdgpu_pll_compute() 215 if (diff < diff_best || (diff == diff_best && in amdgpu_pll_compute() 219 diff_best = diff; in amdgpu_pll_compute()
|
/kernel/linux/linux-5.10/drivers/cpuidle/ |
H A D | cpuidle.c | 260 s64 diff, delay = drv->states[entered_state].exit_latency_ns; in cpuidle_enter_state() local 268 diff = ktime_sub(time_end, time_start); in cpuidle_enter_state() 270 dev->last_residency_ns = diff; in cpuidle_enter_state() 271 dev->states_usage[entered_state].time_ns += diff; in cpuidle_enter_state() 274 if (diff < drv->states[entered_state].target_residency_ns) { in cpuidle_enter_state() 283 } else if (diff > delay) { in cpuidle_enter_state() 292 if (diff - delay >= drv->states[i].target_residency_ns) in cpuidle_enter_state()
|
/kernel/linux/linux-5.10/drivers/net/ethernet/ti/ |
H A D | am65-cpsw-qos.c | 391 s64 diff; in am65_cpsw_timer_act() local 410 diff = taprio_new->base_time - taprio_oper->base_time; in am65_cpsw_timer_act() 411 diff = diff < 0 ? -diff : diff; in am65_cpsw_timer_act() 412 if (diff % taprio_new->cycle_time) in am65_cpsw_timer_act()
|
/kernel/linux/linux-5.10/net/rxrpc/ |
H A D | local_object.c | 37 long diff; in rxrpc_local_cmp_key() local 39 diff = ((local->srx.transport_type - srx->transport_type) ?: in rxrpc_local_cmp_key() 42 if (diff != 0) in rxrpc_local_cmp_key() 43 return diff; in rxrpc_local_cmp_key() 204 long diff; in rxrpc_lookup_local() local 215 diff = rxrpc_local_cmp_key(local, srx); in rxrpc_lookup_local() 216 if (diff != 0) in rxrpc_lookup_local()
|
/kernel/linux/linux-5.10/fs/nfs/ |
H A D | fscache.c | 117 int diff; in nfs_fscache_get_super_cookie() local 157 diff = memcmp(&key->key, &xkey->key, sizeof(key->key)); in nfs_fscache_get_super_cookie() 158 if (diff < 0) in nfs_fscache_get_super_cookie() 160 if (diff > 0) in nfs_fscache_get_super_cookie() 165 diff = memcmp(key->key.uniquifier, in nfs_fscache_get_super_cookie() 168 if (diff < 0) in nfs_fscache_get_super_cookie() 170 if (diff > 0) in nfs_fscache_get_super_cookie()
|
/kernel/linux/linux-5.10/drivers/gpu/drm/nouveau/nvkm/subdev/clk/ |
H A D | gt215.c | 192 s32 diff; in gt215_clk_info() local 210 diff = ((khz + 3000) - oclk); in gt215_clk_info() 214 if (diff < 0) { in gt215_clk_info() 241 int P, N, M, diff; in gt215_pll_info() local 249 diff = khz - ret; in gt215_pll_info() 250 if (!pll || (diff >= -2000 && diff < 3000)) { in gt215_pll_info()
|