Home
last modified time | relevance | path

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

1234567

/arch/powerpc/lib/
Dcode-patching.c214 #define check(x) \ macro
225 check(instr_is_branch_iform(0x48000000)); in test_branch_iform()
227 check(instr_is_branch_iform(0x4bffffff)); in test_branch_iform()
229 check(!instr_is_branch_iform(0xcbffffff)); in test_branch_iform()
231 check(!instr_is_branch_iform(0x7bffffff)); in test_branch_iform()
234 check(instr_is_branch_iform(0x48000001)); in test_branch_iform()
236 check(instr_is_branch_iform(0x4bfffffd)); in test_branch_iform()
238 check(instr_is_branch_iform(0x4bff00fd)); in test_branch_iform()
240 check(!instr_is_branch_iform(0x7bfffffd)); in test_branch_iform()
244 check(instr_is_branch_to_addr(&instr, 0x100)); in test_branch_iform()
[all …]
Dfeature-fixups.c531 #define check(x) \ macro
556 check(memcmp(&ftr_fixup_test1, &ftr_fixup_test1_orig, size) == 0); in test_basic_patching()
560 check(memcmp(&ftr_fixup_test1, &ftr_fixup_test1_orig, size) == 0); in test_basic_patching()
564 check(memcmp(&ftr_fixup_test1, &ftr_fixup_test1_expected, size) == 0); in test_basic_patching()
568 check(memcmp(&ftr_fixup_test1, &ftr_fixup_test1_orig, size) == 0); in test_basic_patching()
570 check(memcmp(&ftr_fixup_test1, &ftr_fixup_test1_expected, size) == 0); in test_basic_patching()
589 check(memcmp(&ftr_fixup_test2, &ftr_fixup_test2_orig, size) == 0); in test_alternative_patching()
593 check(memcmp(&ftr_fixup_test2, &ftr_fixup_test2_orig, size) == 0); in test_alternative_patching()
597 check(memcmp(&ftr_fixup_test2, &ftr_fixup_test2_expected, size) == 0); in test_alternative_patching()
601 check(memcmp(&ftr_fixup_test2, &ftr_fixup_test2_orig, size) == 0); in test_alternative_patching()
[all …]
/arch/x86/pci/
Dpcbios.c317 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/
Dtoolchain-flags16 $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
Dcheck-gas7 $CC -c $dir/check-gas-asm.S -o $out
/arch/arm/mach-mv78xx0/include/mach/
Dentry-macro.S18 @ 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/
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/arm/mach-dove/include/mach/
Dentry-macro.S18 @ check low interrupts
24 @ if no low interrupts set, check high interrupts
/arch/mips/jazz/
DKconfig9 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/
Dmemcpy.S20 ;; address check
36 ;; n < sizeof(unsigned long) check
38 adds #4,er4 ; loop count check value
/arch/cris/boot/rescue/
Dhead_v10.S160 ;; 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
286 ;; check if we got something on the serial port
309 ;; check r7, which contains either -1 or the partition to boot from
/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/x86/include/asm/
Dlivepatch.h44 #error Live patching support is disabled; check CONFIG_LIVEPATCH
/arch/s390/include/asm/
Dlivepatch.h40 #error Live patching support is disabled; check CONFIG_LIVEPATCH
/arch/xtensa/
DKconfig.debug9 Enable this to turn on TLB sanity check on each entry to userspace.
10 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.c280 int check = (dir == load) ? VERIFY_READ : VERIFY_WRITE; in ok_for_user() local
292 if (!access_ok(check, WINREG_ADDR(reg - 16), size)) in ok_for_user()
297 if (!access_ok(check, WINREG_ADDR(reg - 16), size)) in ok_for_user()
303 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.S20 /* beqi r2, 0, tr4 */ ! Sanity check

1234567