/arch/x86/math-emu/ |
D | reg_add_sub.c | 45 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 …]
|
D | reg_compare.c | 26 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/ |
D | strncmp.S | 35 #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 …]
|
D | strcmp.S | 34 #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/ |
D | tlbflush.h | 280 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/ |
D | cuboot-acadia.c | 48 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/ |
D | time.c | 394 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/ |
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()
|
/arch/powerpc/platforms/powermac/ |
D | backlight.c | 89 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/ |
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()
|
D | string.c | 34 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/ |
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()
|
/arch/mips/kernel/ |
D | relocate.c | 198 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/ |
D | um_arch.c | 307 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/ |
D | fp_arith.c | 63 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/ |
D | clock.c | 406 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/ |
D | README | 6 make their 'diff' job easier if our code is relatively unmodified.
|
/arch/um/drivers/ |
D | mconsole_kern.c | 292 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/ |
D | smpboot.c | 283 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/ |
D | sbus.c | 206 unsigned long diff = SYSIO_ICLR_UNUSED0 - SYSIO_IMAP_SLOT0; in sysio_imap_to_iclr() local 207 return imap + diff; in sysio_imap_to_iclr()
|
D | prom_irqtrans.c | 644 unsigned long diff = SYSIO_ICLR_UNUSED0 - SYSIO_IMAP_SLOT0; in sysio_imap_to_iclr() local 645 return imap + diff; in sysio_imap_to_iclr()
|
D | smp_64.c | 208 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()
|
D | ldc.c | 252 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/ |
D | round.S | 442 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/ |
D | pmu_intel.c | 63 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()
|