Home
last modified time | relevance | path

Searched refs:check (Results 1 – 25 of 160) sorted by relevance

1234567

/arch/powerpc/lib/
Dcode-patching.c424 #define check(x) \ macro
435 check(instr_is_branch_iform(0x48000000)); in test_branch_iform()
437 check(instr_is_branch_iform(0x4bffffff)); in test_branch_iform()
439 check(!instr_is_branch_iform(0xcbffffff)); in test_branch_iform()
441 check(!instr_is_branch_iform(0x7bffffff)); in test_branch_iform()
444 check(instr_is_branch_iform(0x48000001)); in test_branch_iform()
446 check(instr_is_branch_iform(0x4bfffffd)); in test_branch_iform()
448 check(instr_is_branch_iform(0x4bff00fd)); in test_branch_iform()
450 check(!instr_is_branch_iform(0x7bfffffd)); in test_branch_iform()
454 check(instr_is_branch_to_addr(&instr, 0x100)); in test_branch_iform()
[all …]
Dfeature-fixups.c479 #define check(x) \ macro
504 check(memcmp(ftr_fixup_test1, ftr_fixup_test1_orig, size) == 0); in test_basic_patching()
508 check(memcmp(ftr_fixup_test1, ftr_fixup_test1_orig, size) == 0); in test_basic_patching()
512 check(memcmp(ftr_fixup_test1, ftr_fixup_test1_expected, size) == 0); in test_basic_patching()
516 check(memcmp(ftr_fixup_test1, ftr_fixup_test1_orig, size) == 0); in test_basic_patching()
518 check(memcmp(ftr_fixup_test1, ftr_fixup_test1_expected, size) == 0); in test_basic_patching()
537 check(memcmp(ftr_fixup_test2, ftr_fixup_test2_orig, size) == 0); in test_alternative_patching()
541 check(memcmp(ftr_fixup_test2, ftr_fixup_test2_orig, size) == 0); in test_alternative_patching()
545 check(memcmp(ftr_fixup_test2, ftr_fixup_test2_expected, size) == 0); in test_alternative_patching()
549 check(memcmp(ftr_fixup_test2, ftr_fixup_test2_orig, size) == 0); in test_alternative_patching()
[all …]
/arch/x86/pci/
Dpcbios.c291 union bios32 *check; in pci_find_bios() local
301 for (check = (union bios32 *) __va(0xe0000); in pci_find_bios()
302 check <= (union bios32 *) __va(0xffff0); in pci_find_bios()
303 ++check) { in pci_find_bios()
305 if (probe_kernel_address(&check->fields.signature, sig)) in pci_find_bios()
308 if (check->fields.signature != BIOS32_SIGNATURE) in pci_find_bios()
310 length = check->fields.length * 16; in pci_find_bios()
315 sum += check->chars[i]; in pci_find_bios()
318 if (check->fields.revision != 0) { in pci_find_bios()
320 check->fields.revision, check); in pci_find_bios()
[all …]
/arch/ia64/scripts/
Dtoolchain-flags17 $CC -nostdlib -static -Wl,-T$dir/check-segrel.lds $dir/check-segrel.S -o $out
31 $CC -c $dir/check-text-align.S -o $out
39 if ! $CC -c $dir/check-model.c -o $out 2>&1 | grep __model__ | grep -q attrib
47 $CC -c $dir/check-serialize.S -o $out 2>/dev/null
Dcheck-gas8 $CC -c $dir/check-gas-asm.S -o $out
/arch/mn10300/unit-asb2364/include/unit/
Dsmsc911x.h86 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/
Dget_op.S503 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 …]
Dx_operr.S159 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 …]
Dsint.S144 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
Dscale.S55 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
Dx_snan.S147 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
Dres_func.S82 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/mips/jazz/
DKconfig10 the MIPS architecture, check out the Linux/MIPS FAQ on the WWW at
22 the MIPS architecture, check out the Linux/MIPS FAQ on the WWW at
33 the MIPS architecture, check out the Linux/MIPS FAQ on the WWW at
/arch/h8300/lib/
Dmemcpy.S21 ;; address check
37 ;; n < sizeof(unsigned long) check
39 adds #4,er4 ; loop count check value
/arch/cris/boot/rescue/
Dhead_v10.S161 ;; we now should go through the checksum-table and check the listed
174 ;; check for correct magic
199 bne notfirst ; check if it is the partition containing ptable
201 move.d $r8, $r1 ; for its checksum check, skip the ptable
213 btstq 16, $r4 ; check ro flag
216 btstq 17, $r4 ; check bootable flag
287 ;; check if we got something on the serial port
310 ;; check r7, which contains either -1 or the partition to boot from
/arch/ia64/include/asm/
Duaccess.h148 #define __do_get_user(check, x, ptr, size) \ argument
154 if (!check || __access_ok(__gu_ptr, size)) \
175 #define __do_put_user(check, x, ptr, size) \ argument
182 if (!check || __access_ok(__pu_ptr, __pu_size)) \
/arch/m68k/ifpsp060/
Dos.S89 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/xtensa/
DKconfig.debug10 Enable this to turn on TLB sanity check on each entry to userspace.
11 This check can spot missing TLB invalidation/wrong PTE permissions/
/arch/arm/mach-vexpress/
Ddcscb_setup.S17 cmp r0, #0 @ check affinity level
/arch/sparc/kernel/
Dunaligned_32.c281 int check = (dir == load) ? VERIFY_READ : VERIFY_WRITE; in ok_for_user() local
293 if (!access_ok(check, WINREG_ADDR(reg - 16), size)) in ok_for_user()
298 if (!access_ok(check, WINREG_ADDR(reg - 16), size)) in ok_for_user()
304 if (!access_ok(check, WINREG_ADDR(reg - 16), size)) in ok_for_user()
/arch/arm/nwfpe/
Dentry.S86 bl arm_check_condition @ check the condition
111 b emulate @ check condition and emulate
/arch/sh/lib64/
Dstrlen.S21 /* beqi r2, 0, tr4 */ ! Sanity check
/arch/arm64/
DKconfig.debug53 This check also includes UXN, which should be set on all kernel
60 or like this, if the check failed:
64 Note that even if the check fails, your kernel is possibly
70 once the kernel has booted up - it's a one time check.
/arch/arm/mm/
Dabort-ev4t.S26 tst r3, #1 << 20 @ check write
/arch/arm/mach-nspire/
Dnspire.c44 .check = clcdfb_check,

1234567