Home
last modified time | relevance | path

Searched refs:diff (Results 1 – 25 of 28) sorted by relevance

12

/arch/x86/math-emu/
Dreg_add_sub.c45 int diff, tag, expa, expb; in FPU_add() local
59 diff = expa - expb; in FPU_add()
60 if (!diff) { in FPU_add()
61 diff = a->sigh - b->sigh; /* This works only if the ms bits in FPU_add()
63 if (!diff) { in FPU_add()
64 diff = a->sigl > b->sigl; in FPU_add()
65 if (!diff) in FPU_add()
66 diff = -(a->sigl < b->sigl); in FPU_add()
70 if (diff > 0) { in FPU_add()
74 } else if (diff < 0) { in FPU_add()
[all …]
Dreg_compare.c26 int diff, exp0, expb; in compare() local
141 diff = exp0 - expb; in compare()
142 if (diff == 0) { in compare()
143 diff = st0_ptr->sigh - b->sigh; /* Works only if ms bits are in compare()
145 if (diff == 0) { in compare()
146 diff = st0_ptr->sigl > b->sigl; in compare()
147 if (diff == 0) in compare()
148 diff = -(st0_ptr->sigl < b->sigl); in compare()
152 if (diff > 0) { in compare()
157 if (diff < 0) { in compare()
/arch/arm64/lib/
Dstrncmp.S35 #define diff x6 macro
81 eor diff, data1, data2 /* Non-zero if differences found. */
82 csinv endloop, diff, xzr, hi /* Last Dword or differences. */
90 orr syndrome, diff, has_nul
142 orr syndrome, diff, has_nul
251 eor diff, data1, data2 /* Non-zero if differences found. */
253 csinv endloop, diff, xzr, hi /* If limit, set to all ones. */
273 eor diff, data2, data1 /* Non-zero if differences found. */
279 orr syndrome, diff, has_nul
288 eor diff, data2, data1 /* Non-zero if differences found. */
[all …]
Dstrcmp.S34 #define diff x5 macro
60 eor diff, data1, data2 /* Non-zero if differences found. */
62 orr syndrome, diff, has_nul
102 orr syndrome, diff, has_nul
165 eor diff, data1, data2 /* Non-zero if differences found. */
167 orr syndrome, diff, has_nul
/arch/x86/include/asm/
Dtlbflush.h280 unsigned long diff = oldflags ^ newflags; in pte_flags_need_flush() local
287 diff &= ~software_flags; in pte_flags_need_flush()
290 diff &= ~_PAGE_ACCESSED; in pte_flags_need_flush()
296 if (diff & oldflags & flush_on_clear) in pte_flags_need_flush()
300 if (diff & flush_on_change) in pte_flags_need_flush()
305 (diff & ~(flush_on_clear | software_flags | flush_on_change))) { in pte_flags_need_flush()
/arch/powerpc/boot/
Dcuboot-acadia.c48 unsigned short diff; /* smallest diff */ in get_clocks() local
129 diff = 256; /* highest possible */ in get_clocks()
142 } else if (idiff < diff) { in get_clocks()
144 diff = idiff; /* update lowest diff*/ in get_clocks()
/arch/alpha/kernel/
Dtime.c394 long diff; in time_init() local
422 diff = cycle_freq - est_cycle_freq; in time_init()
423 if (diff < 0) in time_init()
424 diff = -diff; in time_init()
425 if ((unsigned long)diff > tolerance) { in time_init()
/arch/x86/hyperv/
Dmmu.c30 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()
/arch/powerpc/platforms/powermac/
Dbacklight.c89 int diff = abs(info->bl_curve[i] - value); in pmac_backlight_curve_lookup() local
90 if (diff < max) { in pmac_backlight_curve_lookup()
91 max = diff; in pmac_backlight_curve_lookup()
/arch/x86/boot/
Dboot.h190 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()
Dstring.c34 bool diff; in memcmp() local
36 : CC_OUT(nz) (diff), "+D" (s1), "+S" (s2), "+c" (len)); in memcmp()
37 return diff; in memcmp()
/arch/arm/mm/
Dpmsa-v7.c193 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()
/arch/mips/kernel/
Drelocate.c198 size_t diff, i; in rotate_xor() local
200 diff = (void *)ptr - area; in rotate_xor()
201 if (unlikely(size < diff + sizeof(hash))) in rotate_xor()
204 size = ALIGN_DOWN(size - diff, sizeof(hash)); in rotate_xor()
/arch/um/kernel/
Dum_arch.c307 unsigned long avail, diff; in linux_main() local
351 diff = UML_ROUND_UP(brk_start) - UML_ROUND_UP(&_end); in linux_main()
352 if (diff > 1024 * 1024) { in linux_main()
354 "exec-shield gap\n", diff); in linux_main()
/arch/m68k/math-emu/
Dfp_arith.c63 int diff; in fp_fadd() local
95 if ((diff = dest->exp - src->exp) > 0) in fp_fadd()
96 fp_denormalize(src, diff); in fp_fadd()
97 else if ((diff = -diff) > 0) in fp_fadd()
98 fp_denormalize(dest, diff); in fp_fadd()
/arch/mips/alchemy/common/
Dclock.c406 long tdv, tpr, pr, nr, br, bpr, diff, lastdiff; in alchemy_clk_fgcs_detr() local
439 diff = req->rate - nr; in alchemy_clk_fgcs_detr()
443 if (diff < lastdiff) { in alchemy_clk_fgcs_detr()
444 lastdiff = diff; in alchemy_clk_fgcs_detr()
449 if (diff == 0) in alchemy_clk_fgcs_detr()
467 diff = req->rate - nr; in alchemy_clk_fgcs_detr()
470 if (diff < lastdiff) { in alchemy_clk_fgcs_detr()
471 lastdiff = diff; in alchemy_clk_fgcs_detr()
476 if (diff == 0) in alchemy_clk_fgcs_detr()
/arch/parisc/math-emu/
DREADME6 make their 'diff' job easier if our code is relatively unmodified.
/arch/um/drivers/
Dmconsole_kern.c292 unsigned long long diff; in mem_config() local
313 diff = memparse(str, &ret); in mem_config()
319 diff /= PAGE_SIZE; in mem_config()
322 for (i = 0; i < diff; i++) { in mem_config()
/arch/ia64/kernel/
Dsmpboot.c283 long diff; /* difference between midpoint and master's timestamp */ in ia64_sync_itc() member
327 t[i].diff = delta; in ia64_sync_itc()
337 t[i].rt, t[i].master, t[i].diff, t[i].lat); in ia64_sync_itc()
/arch/sparc/kernel/
Dsbus.c206 unsigned long diff = SYSIO_ICLR_UNUSED0 - SYSIO_IMAP_SLOT0; in sysio_imap_to_iclr() local
207 return imap + diff; in sysio_imap_to_iclr()
Dprom_irqtrans.c644 unsigned long diff = SYSIO_ICLR_UNUSED0 - SYSIO_IMAP_SLOT0; in sysio_imap_to_iclr() local
645 return imap + diff; in sysio_imap_to_iclr()
Dsmp_64.c208 long diff; /* difference between midpoint and master's timestamp */ in smp_synchronize_tick_client() member
237 t[i].diff = delta; in smp_synchronize_tick_client()
247 t[i].rt, t[i].master, t[i].diff, t[i].lat); in smp_synchronize_tick_client()
Dldc.c252 unsigned long limit, tail, new_tail, diff; in tx_has_space_for() local
262 diff = limit - new_tail; in tx_has_space_for()
264 diff = (limit + in tx_has_space_for()
266 diff /= LDC_PACKET_SIZE; in tx_has_space_for()
269 if (diff * mss < size) in tx_has_space_for()
/arch/m68k/fpsp040/
Dround.S442 subw LOCAL_EX(%a0),%d0 |diff = threshold - exp
443 cmpw #67,%d0 |if diff > 67 (mant + grs bits)
455 subw LOCAL_EX(%a0),%d0 |diff = threshold - exp
456 cmpw #67,%d0 |if diff > 67 (mant + grs bits)
/arch/x86/kvm/vmx/
Dpmu_intel.c63 u64 diff = pmu->global_ctrl ^ data; in global_ctrl_changed() local
67 for_each_set_bit(bit, (unsigned long *)&diff, X86_PMC_IDX_MAX) in global_ctrl_changed()

12