/kernel/linux/linux-6.6/arch/x86/hyperv/ |
H A D | mmu.c | 30 unsigned long cur = start, diff; in fill_gva_list() local 33 diff = end > cur ? end - cur : 0; in fill_gva_list() 40 if (diff >= HV_TLB_FLUSH_UNIT) { in fill_gva_list() 43 } else if (diff) { in fill_gva_list() 44 gva_list[gva_n] |= (diff - 1) >> PAGE_SHIFT; in fill_gva_list()
|
/kernel/linux/linux-6.6/tools/testing/selftests/firmware/ |
H A D | fw_filesystem.sh | 49 if diff -q "$FW" /dev/test_firmware >/dev/null ; then 66 if ! diff -q "$FW" /dev/test_firmware >/dev/null ; then 84 if ! diff -q "$FW" /dev/test_firmware >/dev/null ; then 226 if ! diff -q -Z "$fwfile" $DIR/read_firmware 2>/dev/null ; then 267 if diff -q -Z "$FW" $DIR/read_firmware 2>/dev/null ; then
|
/kernel/linux/linux-6.6/kernel/power/ |
H A D | wakelock.c | 155 int diff; in wakelock_lookup_add() local 159 diff = strncmp(name, wl->name, len); in wakelock_lookup_add() 160 if (diff == 0) { in wakelock_lookup_add() 162 diff = -1; in wakelock_lookup_add() 166 if (diff < 0) in wakelock_lookup_add()
|
/kernel/linux/linux-6.6/net/ipv4/ |
H A D | tcp_vegas.c | 198 u32 rtt, diff; in tcp_vegas_cong_avoid() local 227 diff = tcp_snd_cwnd(tp) * (rtt-vegas->baseRTT) / vegas->baseRTT; in tcp_vegas_cong_avoid() 229 if (diff > gamma && tcp_in_slow_start(tp)) { in tcp_vegas_cong_avoid() 254 if (diff > beta) { in tcp_vegas_cong_avoid() 261 } else if (diff < alpha) { in tcp_vegas_cong_avoid()
|
H A D | tcp_veno.c | 33 u32 diff; /* calculate the diff rate */ member 153 veno->diff = (tcp_snd_cwnd(tp) << V_PARAM_SHIFT) - target_cwnd; in tcp_veno_cong_avoid() 163 if (veno->diff < beta) { in tcp_veno_cong_avoid() 200 if (veno->diff < beta) in tcp_veno_ssthresh()
|
/kernel/linux/linux-5.10/lib/mpi/ |
H A D | mpih-cmp.c | 34 goto diff; in mpihelp_cmp() 38 diff: in mpihelp_cmp()
|
/kernel/linux/linux-6.6/lib/crypto/mpi/ |
H A D | mpih-cmp.c | 34 goto diff; in mpihelp_cmp() 38 diff: in mpihelp_cmp()
|
/kernel/linux/linux-5.10/include/math-emu/ |
H A D | op-common.h | 236 _FP_I_TYPE diff = X##_e - Y##_e; \ 238 if (diff < 0) \ 240 diff = -diff; \ 241 if (diff <= _FP_WFRACBITS_##fs) \ 242 _FP_FRAC_SRS_##wc(X, diff, _FP_WFRACBITS_##fs); \ 249 if (diff > 0) \ 251 if (diff <= _FP_WFRACBITS_##fs) \ 252 _FP_FRAC_SRS_##wc(Y, diff, _FP_WFRACBITS_##fs); \ 293 _FP_FRAC_CLZ_##wc(diff, [all...] |
/kernel/linux/linux-6.6/include/math-emu/ |
H A D | op-common.h | 236 _FP_I_TYPE diff = X##_e - Y##_e; \ 238 if (diff < 0) \ 240 diff = -diff; \ 241 if (diff <= _FP_WFRACBITS_##fs) \ 242 _FP_FRAC_SRS_##wc(X, diff, _FP_WFRACBITS_##fs); \ 249 if (diff > 0) \ 251 if (diff <= _FP_WFRACBITS_##fs) \ 252 _FP_FRAC_SRS_##wc(Y, diff, _FP_WFRACBITS_##fs); \ 293 _FP_FRAC_CLZ_##wc(diff, [all...] |
/kernel/linux/linux-5.10/drivers/net/ethernet/amd/xgbe/ |
H A D | xgbe-ptp.c | 144 u32 addend, diff; in xgbe_adjfreq() local 154 diff = div_u64(adjust, 1000000000UL); in xgbe_adjfreq() 156 addend = (neg_adjust) ? pdata->tstamp_addend - diff : in xgbe_adjfreq() 157 pdata->tstamp_addend + diff; in xgbe_adjfreq()
|
/kernel/linux/linux-6.6/arch/loongarch/kernel/ |
H A D | relocate.c | 73 size_t i, diff; in rotate_xor() local 76 diff = (void *)ptr - area; in rotate_xor() 77 if (size < diff + sizeof(hash)) in rotate_xor() 80 size = ALIGN_DOWN(size - diff, sizeof(hash)); in rotate_xor()
|
/kernel/linux/linux-5.10/tools/testing/selftests/timers/ |
H A D | adjtick.c | 72 long long diff = 0, tmp; in get_monotonic_and_raw() local 87 if (diff == 0 || newdiff < diff) { in get_monotonic_and_raw() 88 diff = newdiff; in get_monotonic_and_raw()
|
/kernel/linux/linux-5.10/net/ipv4/ |
H A D | tcp_veno.c | 33 u32 diff; /* calculate the diff rate */ member 153 veno->diff = (tp->snd_cwnd << V_PARAM_SHIFT) - target_cwnd; in tcp_veno_cong_avoid() 163 if (veno->diff < beta) { in tcp_veno_cong_avoid() 200 if (veno->diff < beta) in tcp_veno_ssthresh()
|
H A D | tcp_htcp.c | 177 u32 diff = htcp_cong_time(ca); in htcp_alpha_update() local 179 if (diff > HZ) { in htcp_alpha_update() 180 diff -= HZ; in htcp_alpha_update() 181 factor = 1 + (10 * diff + ((diff / 2) * (diff / 2) / HZ)) / HZ; in htcp_alpha_update()
|
/kernel/linux/linux-6.6/drivers/gpu/drm/mcde/ |
H A D | mcde_clk_div.c | 54 unsigned long this_prate, div_rate, diff; in mcde_clk_div_choose_div() local 61 diff = abs(rate - div_rate); in mcde_clk_div_choose_div() 63 if (diff < best_diff) { in mcde_clk_div_choose_div() 65 best_diff = diff; in mcde_clk_div_choose_div()
|
/kernel/linux/linux-6.6/tools/perf/bench/ |
H A D | pmu-scan.c | 131 struct timeval start, end, diff; in run_pmu_scan() local 155 timersub(&end, &start, &diff); in run_pmu_scan() 156 runtime_us = diff.tv_sec * USEC_PER_SEC + diff.tv_usec; in run_pmu_scan()
|
/kernel/linux/linux-6.6/tools/testing/selftests/timers/ |
H A D | adjtick.c | 72 long long diff = 0, tmp; in get_monotonic_and_raw() local 87 if (diff == 0 || newdiff < diff) { in get_monotonic_and_raw() 88 diff = newdiff; in get_monotonic_and_raw()
|
/kernel/linux/linux-5.10/arch/alpha/kernel/ |
H A D | time.c | 399 long diff; in time_init() 427 diff = cycle_freq - est_cycle_freq; in time_init() 428 if (diff < 0) in time_init() 429 diff = -diff; in time_init() 430 if ((unsigned long)diff > tolerance) { in time_init() 394 long diff; time_init() local
|
/kernel/linux/linux-5.10/arch/x86/boot/ |
H A D | boot.h | 190 bool diff; in memcmp_fs() local 192 : CC_OUT(nz) (diff), "+D" (s1), "+S" (s2), "+c" (len)); in memcmp_fs() 193 return diff; in memcmp_fs() 197 bool diff; in memcmp_gs() local 199 : CC_OUT(nz) (diff), "+D" (s1), "+S" (s2), "+c" (len)); in memcmp_gs() 200 return diff; in memcmp_gs()
|
/kernel/linux/linux-6.6/arch/alpha/kernel/ |
H A D | time.c | 399 long diff; in time_init() 427 diff = cycle_freq - est_cycle_freq; in time_init() 428 if (diff < 0) in time_init() 429 diff = -diff; in time_init() 430 if ((unsigned long)diff > tolerance) { in time_init() 394 long diff; time_init() local
|
/kernel/linux/linux-6.6/arch/x86/boot/ |
H A D | boot.h | 157 bool diff; in memcmp_fs() local 159 : CC_OUT(nz) (diff), "+D" (s1), "+S" (s2), "+c" (len)); in memcmp_fs() 160 return diff; in memcmp_fs() 164 bool diff; in memcmp_gs() local 166 : CC_OUT(nz) (diff), "+D" (s1), "+S" (s2), "+c" (len)); in memcmp_gs() 167 return diff; in memcmp_gs()
|
/kernel/linux/linux-5.10/drivers/s390/cio/ |
H A D | blacklist.c | 80 int diff; in pure_hex() local 82 diff = 0; in pure_hex() 85 while (diff <= max_digit) { in pure_hex() 92 diff++; in pure_hex() 95 if ((diff < min_digit) || (diff > max_digit) || (*val > max_val)) in pure_hex()
|
/kernel/linux/linux-5.10/drivers/staging/media/atomisp/pci/isp/kernels/s3a/s3a_1.0/ |
H A D | ia_css_s3a.host.c | 239 int sum_r, diff; in ia_css_s3a_hmem_decode() 289 diff = sum_r - count_for_3a; in ia_css_s3a_hmem_decode() 290 out_ptr[0].r -= diff; in ia_css_s3a_hmem_decode() 291 out_ptr[0].g -= diff; in ia_css_s3a_hmem_decode() 292 out_ptr[0].b -= diff; in ia_css_s3a_hmem_decode() 293 out_ptr[0].y -= diff; in ia_css_s3a_hmem_decode()
|
/kernel/linux/linux-6.6/drivers/staging/media/atomisp/pci/isp/kernels/s3a/s3a_1.0/ |
H A D | ia_css_s3a.host.c | 235 int sum_r, diff; in ia_css_s3a_hmem_decode() local 285 diff = sum_r - count_for_3a; in ia_css_s3a_hmem_decode() 286 out_ptr[0].r -= diff; in ia_css_s3a_hmem_decode() 287 out_ptr[0].g -= diff; in ia_css_s3a_hmem_decode() 288 out_ptr[0].b -= diff; in ia_css_s3a_hmem_decode() 289 out_ptr[0].y -= diff; in ia_css_s3a_hmem_decode()
|
/kernel/linux/linux-6.6/drivers/gpu/drm/loongson/ |
H A D | lsdc_pixpll.c | 177 * possible combination. Compute the diff and find the combination with 178 * minimal diff. 209 unsigned int diff = 0; in lsdc_pixel_pll_compute() local 219 diff = clock - computed; in lsdc_pixel_pll_compute() 221 diff = computed - clock; in lsdc_pixel_pll_compute() 223 if (diff < min) { in lsdc_pixel_pll_compute() 224 min = diff; in lsdc_pixel_pll_compute() 229 if (diff == 0) { in lsdc_pixel_pll_compute()
|