/arch/powerpc/lib/ |
D | code-patching.c | 164 #define check(x) \ macro 175 check(instr_is_branch_iform(0x48000000)); in test_branch_iform() 177 check(instr_is_branch_iform(0x4bffffff)); in test_branch_iform() 179 check(!instr_is_branch_iform(0xcbffffff)); in test_branch_iform() 181 check(!instr_is_branch_iform(0x7bffffff)); in test_branch_iform() 184 check(instr_is_branch_iform(0x48000001)); in test_branch_iform() 186 check(instr_is_branch_iform(0x4bfffffd)); in test_branch_iform() 188 check(instr_is_branch_iform(0x4bff00fd)); in test_branch_iform() 190 check(!instr_is_branch_iform(0x7bfffffd)); in test_branch_iform() 194 check(instr_is_branch_to_addr(&instr, 0x100)); in test_branch_iform() [all …]
|
D | feature-fixups.c | 156 #define check(x) \ macro 181 check(memcmp(&ftr_fixup_test1, &ftr_fixup_test1_orig, size) == 0); in test_basic_patching() 185 check(memcmp(&ftr_fixup_test1, &ftr_fixup_test1_orig, size) == 0); in test_basic_patching() 189 check(memcmp(&ftr_fixup_test1, &ftr_fixup_test1_expected, size) == 0); in test_basic_patching() 193 check(memcmp(&ftr_fixup_test1, &ftr_fixup_test1_orig, size) == 0); in test_basic_patching() 195 check(memcmp(&ftr_fixup_test1, &ftr_fixup_test1_expected, size) == 0); in test_basic_patching() 214 check(memcmp(&ftr_fixup_test2, &ftr_fixup_test2_orig, size) == 0); in test_alternative_patching() 218 check(memcmp(&ftr_fixup_test2, &ftr_fixup_test2_orig, size) == 0); in test_alternative_patching() 222 check(memcmp(&ftr_fixup_test2, &ftr_fixup_test2_expected, size) == 0); in test_alternative_patching() 226 check(memcmp(&ftr_fixup_test2, &ftr_fixup_test2_orig, size) == 0); in test_alternative_patching() [all …]
|
/arch/powerpc/sysdev/ |
D | msi_bitmap.c | 143 #define check(x) \ macro 152 check(msi_bitmap_alloc(&bmp, 0, NULL) != 0); in test_basics() 155 check(0 == msi_bitmap_alloc(&bmp, size, NULL)); in test_basics() 158 check(0 == bitmap_find_free_region(bmp.bitmap, size, in test_basics() 163 check(msi_bitmap_reserve_dt_hwirqs(&bmp) > 0); in test_basics() 166 check(0 == bitmap_find_free_region(bmp.bitmap, size, in test_basics() 172 check(msi_bitmap_alloc_hwirqs(&bmp, 1) >= 0); in test_basics() 174 check(msi_bitmap_alloc_hwirqs(&bmp, 1) < 0); in test_basics() 177 check(bitmap_find_free_region(bmp.bitmap, size, 0) < 0); in test_basics() 181 check(msi_bitmap_alloc_hwirqs(&bmp, 1) == size / 2); in test_basics() [all …]
|
/arch/x86/pci/ |
D | pcbios.c | 317 union bios32 *check; in pci_find_bios() local 327 for (check = (union bios32 *) __va(0xe0000); in pci_find_bios() 328 check <= (union bios32 *) __va(0xffff0); in pci_find_bios() 329 ++check) { in pci_find_bios() 331 if (probe_kernel_address(&check->fields.signature, sig)) in pci_find_bios() 334 if (check->fields.signature != BIOS32_SIGNATURE) in pci_find_bios() 336 length = check->fields.length * 16; in pci_find_bios() 341 sum += check->chars[i]; in pci_find_bios() 344 if (check->fields.revision != 0) { in pci_find_bios() 346 check->fields.revision, check); in pci_find_bios() [all …]
|
/arch/ia64/scripts/ |
D | toolchain-flags | 16 $CC -nostdlib -static -Wl,-T$dir/check-segrel.lds $dir/check-segrel.S -o $out 30 $CC -c $dir/check-text-align.S -o $out 38 if ! $CC -c $dir/check-model.c -o $out 2>&1 | grep __model__ | grep -q attrib 46 $CC -c $dir/check-serialize.S -o $out 2>/dev/null
|
D | check-gas | 7 $CC -c $dir/check-gas-asm.S -o $out
|
/arch/arm/mach-mv78xx0/include/mach/ |
D | entry-macro.S | 18 @ check low interrupts 25 @ if no low interrupts set, check high interrupts 32 @ if no high interrupts set, check error interrupts
|
/arch/mn10300/unit-asb2364/include/unit/ |
D | smsc911x.h | 86 int check; in smsc_get_mac() local 102 check = 0; in smsc_get_mac() 105 check++; in smsc_get_mac() 109 if (check == 3) { in smsc_get_mac()
|
/arch/m68k/fpsp040/ |
D | get_op.S | 503 tstl ETEMP_HI(%a6) |check ms mantissa 505 tstl ETEMP_LO(%a6) |check ls mantissa 516 tstw %d0 |check for zero. 518 tstl ETEMP_HI(%a6) |check words 3 and 2 520 tstl ETEMP_LO(%a6) |check words 1 and 0 555 tstl ETEMP_HI(%a6) |check ms mantissa 557 tstl ETEMP_LO(%a6) |check ls mantissa 561 tstl ETEMP(%a6) |check sign 575 tstl ETEMP(%a6) |check for sign 583 tstw %d0 |check for zero. [all …]
|
D | x_operr.S | 159 cmpib #0x60,%d0 |check for nan 162 bnes chkwerr |if not equal, check for incorrect operr 163 bsr check_upper |check if exp and ms mant are special 165 bnes chkwerr |if d0 is true, check for incorrect operr 186 cmpib #0x60,%d0 |check for nan 189 bnes chkberr |if not equal, check for incorrect operr 190 bsr check_upper |check if exp and ms mant are special 192 bnes chkberr |if d0 is true, check for incorrect operr 232 tstw FPTEMP_EX(%a6) |check sign 288 cmpil #0xffffffff,FPTEMP_HI(%a6) |check if first byte is all 1's [all …]
|
D | sint.S | 144 cmpw #0x403e,LOCAL_EX(%a0) |check if (unbiased) exp > 63 146 cmpw #0x3ffd,LOCAL_EX(%a0) |check if (unbiased) exp < 0 149 | Input is less than zero. Restore sign, and check for directed 153 btstb #1,L_SCR1+3(%a6) |check for rn and rz 155 tstb LOCAL_SGN(%a0) |check for sign 160 cmpib #3,L_SCR1+3(%a6) |check for rp 171 cmpib #2,L_SCR1+3(%a6) |check for rm 182 tstb LOCAL_SGN(%a0) |check for sign
|
D | scale.S | 55 movew ETEMP(%a6),%d0 |check src bounds 62 | The source input is below 1, so we check for denormalized numbers 90 tstw ETEMP(%a6) |check src sign 98 tstw %d1 |check for denorm 127 tstl FPTEMP_HI(%a6) |check j bit 212 btstb #4,FPCR_MODE(%a6) |check which one 215 tstb L_SCR1(%a6) |check sign 220 tstb L_SCR1(%a6) |check sign
|
D | x_snan.S | 147 cmpil #0,%d0 |check for long 150 cmpil #4,%d0 |check for word 153 cmpil #6,%d0 |check for byte 173 tstl %a0 |check if <ea> is 0 195 tstl %a0 |check if <ea> is 0 217 tstl %a0 |check if <ea> is 0 258 cmpib #3,%d0 |check for nan in destination 261 btstb #6,FPTEMP_HI(%a6) |check if dest nan is an snan 262 bnes issrc |no, so check source for snan
|
D | res_func.S | 82 btstb #direction_bit,CMDREG1B(%a6) |check direction 481 btstb #2,CMDREG1B+1(%a6) |check for rd 483 btstb #6,CMDREG1B+1(%a6) |check for rs 491 tstb %d0 |check for extended 493 cmpib #1,%d0 |check for single 501 tstw LOCAL_EX(%a0) |check sign 503 cmpib #3,%d1 |check for rp 507 cmpib #2,%d1 |check for rm 516 tstw LOCAL_EX(%a0) |check sign 518 cmpib #3,%d1 |check for rp [all …]
|
/arch/arm/mach-dove/include/mach/ |
D | entry-macro.S | 18 @ check low interrupts 24 @ if no low interrupts set, check high interrupts
|
/arch/arm/mach-kirkwood/include/mach/ |
D | entry-macro.S | 18 @ check low interrupts 25 @ if no low interrupts set, check high interrupts
|
/arch/mips/jazz/ |
D | Kconfig | 9 the MIPS architecture, check out the Linux/MIPS FAQ on the WWW at 21 the MIPS architecture, check out the Linux/MIPS FAQ on the WWW at 32 the MIPS architecture, check out the Linux/MIPS FAQ on the WWW at
|
/arch/h8300/lib/ |
D | memcpy.S | 21 ;; address check 37 ;; n < sizeof(unsigned long) check 39 adds #4,er4 ; loop count check value
|
/arch/cris/boot/rescue/ |
D | head_v10.S | 160 ;; we now should go through the checksum-table and check the listed 173 ;; check for correct magic 198 bne notfirst ; check if it is the partition containing ptable 200 move.d $r8, $r1 ; for its checksum check, skip the ptable 212 btstq 16, $r4 ; check ro flag 215 btstq 17, $r4 ; check bootable flag 289 ;; check if we got something on the serial port 312 ;; check r7, which contains either -1 or the partition to boot from
|
/arch/m68k/ifpsp060/ |
D | os.S | 89 btst #0x5,0x4(%a6) | check for supervisor state 122 btst #0x5,0x4(%a6) | check for supervisor state 153 btst #0x5,0x4(%a6) | check for supervisor state 189 btst #0x5,0x4(%a6) | check for supervisor state 224 btst #0x5,0x4(%a6) | check for supervisor state 246 btst #0x5,0x4(%a6) | check for supervisor state 268 btst #0x5,0x4(%a6) | check for supervisor state 292 btst #0x5,0x4(%a6) | check for supervisor state
|
/arch/arm/mach-vt8500/include/mach/ |
D | entry-macro.S | 19 cmp \irqnr, #63 @ may be false positive, check interrupt status
|
/arch/arm/nwfpe/ |
D | entry.S | 86 bl arm_check_condition @ check the condition 110 b emulate @ check condition and emulate
|
/arch/sh/lib64/ |
D | strlen.S | 20 /* beqi r2, 0, tr4 */ ! Sanity check
|
/arch/arm/kernel/ |
D | entry-common.S | 90 ldr r1, [tsk, #TI_FLAGS] @ check for syscall tracing 378 A710( and ip, r10, #0x0f000000 @ check for SWI ) 392 A710( and ip, ip, #0x0f000000 @ check for SWI ) 407 A710( and ip, scno, #0x0f000000 @ check for SWI ) 435 eor scno, scno, #__NR_SYSCALL_BASE @ check OS number 439 ldr r10, [tsk, #TI_FLAGS] @ check for syscall tracing 450 cmp scno, #NR_syscalls @ check upper syscall limit 475 cmp scno, #NR_syscalls @ check upper syscall limit 522 cmpne scno, #NR_syscalls @ check range
|
/arch/sparc/kernel/ |
D | unaligned_32.c | 276 int check = (dir == load) ? VERIFY_READ : VERIFY_WRITE; in ok_for_user() local 288 if (!access_ok(check, WINREG_ADDR(reg - 16), size)) in ok_for_user() 293 if (!access_ok(check, WINREG_ADDR(reg - 16), size)) in ok_for_user() 299 if (!access_ok(check, WINREG_ADDR(reg - 16), size)) in ok_for_user()
|