Home
last modified time | relevance | path

Searched refs:expected (Results 1 – 25 of 29) sorted by relevance

12

/arch/arc/include/asm/
Dcmpxchg.h20 __cmpxchg(volatile void *ptr, unsigned long expected, unsigned long new) in __cmpxchg() argument
38 "ir"(expected), in __cmpxchg()
50 __cmpxchg(volatile void *ptr, unsigned long expected, unsigned long new) in __cmpxchg() argument
61 if (prev == expected) in __cmpxchg()
70 __cmpxchg(volatile void *ptr, unsigned long expected, unsigned long new) in __cmpxchg() argument
77 write_aux_reg(CTOP_AUX_GPA1, expected); in __cmpxchg()
Dentry-arcv2.h119 ; Set Z flag if this was from U mode (expected by INTERRUPT_PROLOGUE)
130 PUSHAX ecr ; r9 contains ECR, expected by EV_Trap
Datomic.h488 atomic64_cmpxchg(atomic64_t *ptr, long long expected, long long new)
502 : "r"(ptr), "ir"(expected), "r"(new)
/arch/blackfin/kernel/
Dpseudodbg.c108 int expected = ((opcode >> PseudoDbg_Assert_expected_bits) & PseudoDbg_Assert_expected_mask); in execute_pseudodbg_assert() local
123 if (expected != (value & 0xFFFF)) { in execute_pseudodbg_assert()
126 expected, (unsigned int)(value & 0xFFFF)); in execute_pseudodbg_assert()
133 if (expected != ((value >> 16) & 0xFFFF)) { in execute_pseudodbg_assert()
136 expected, (unsigned int)((value >> 16) & 0xFFFF)); in execute_pseudodbg_assert()
/arch/um/drivers/
Dnet_user.c52 int remain, ret, expected; in read_output() local
67 expected = sizeof(remain); in read_output()
73 expected = (remain < len) ? remain : len; in read_output()
74 ret = read(fd, output, expected); in read_output()
75 if (ret != expected) { in read_output()
92 "%d of %d bytes\n", str, ret, expected); in read_output()
/arch/alpha/kernel/
Dirq_alpha.c128 const char *machine, int expected) in process_mcheck_info() argument
141 expected ? "expected." : "NOT expected!!!"); in process_mcheck_info()
145 if (expected) { in process_mcheck_info()
Dproto.h211 unsigned char expected __attribute__((aligned(8))); member
216 #define mcheck_expected(cpu) (*((void)(cpu), &__mcheck_info.expected))
222 const char *machine, int expected);
Dcore_mcpcia.c577 int expected; in mcpcia_machine_check() local
580 expected = mcheck_expected(cpu); in mcpcia_machine_check()
586 switch (expected) { in mcpcia_machine_check()
608 process_mcheck_info(vector, la_ptr, "MCPCIA", expected != 0); in mcpcia_machine_check()
609 if (!expected && vector != 0x620 && vector != 0x630) { in mcpcia_machine_check()
Dcore_cia.c1198 int expected; in cia_machine_check() local
1208 expected = mcheck_expected(0); in cia_machine_check()
1209 if (!expected && vector == 0x660) in cia_machine_check()
1210 expected = cia_decode_mchk(la_ptr); in cia_machine_check()
1211 process_mcheck_info(vector, la_ptr, "CIA", expected); in cia_machine_check()
/arch/x86/mm/
Dpageattr-test.c50 long i, expected, missed = 0; in print_split() local
100 expected = (s->gpg*GPS + s->lpg*LPS)/PAGE_SIZE + s->spg + missed; in print_split()
101 if (expected != i) { in print_split()
103 max_pfn_mapped, expected); in print_split()
/arch/s390/kernel/
Djump_label.c39 static void jump_label_bug(struct jump_entry *entry, struct insn *expected, in jump_label_bug() argument
43 unsigned char *ipe = (unsigned char *)expected; in jump_label_bug()
/arch/arc/kernel/
Dprocess.c44 SYSCALL_DEFINE3(arc_usr_cmpxchg, int *, uaddr, int, expected, int, new) in SYSCALL_DEFINE3() argument
68 if (uval == expected) { in SYSCALL_DEFINE3()
/arch/x86/kernel/
Dnmi_selftest.c112 static void __init dotest(void (*testcase_fn)(void), int expected) in dotest() argument
118 if (nmi_fail != expected) { in dotest()
/arch/powerpc/sysdev/
Dmsi_bitmap.c228 DECLARE_BITMAP(expected, size); in test_of_node()
258 WARN_ON(bitmap_parselist(expected_str, expected, size)); in test_of_node()
259 WARN_ON(!bitmap_equal(expected, bmp.bitmap, size)); in test_of_node()
/arch/um/os-Linux/skas/
Dmem.c111 unsigned long *args, long expected, void **addr, in run_syscall_stub() argument
126 *stack++ = expected; in run_syscall_stub()
/arch/powerpc/platforms/pseries/
Dmsi.c346 int expected; in check_msix_entries() local
352 expected = 0; in check_msix_entries()
354 if (entry->msi_attrib.entry_nr != expected) { in check_msix_entries()
358 expected++; in check_msix_entries()
/arch/powerpc/oprofile/cell/
Dvma_map.c98 static const unsigned char expected[EI_PAD] = { in create_vma_map() local
135 if (memcmp(ehdr.e_ident, expected, EI_PAD) != 0) { in create_vma_map()
/arch/sh/kernel/
Dtraps_32.c304 struct mem_access *ma, int expected, in handle_unaligned_access() argument
326 if (!expected) { in handle_unaligned_access()
/arch/um/include/shared/
Dos.h260 int syscall, unsigned long *args, long expected,
/arch/sh/kernel/cpu/sh3/
Dentry.S486 * expected path for the NMI (and any other brilliantly implemented
/arch/m68k/fpsp040/
Dscale.S129 movew %d1,ETEMP(%a6) |input expected in ETEMP
Dgen_except.S261 | caller set CU_ONLY. If so, the exceptional operand is expected in
/arch/m68k/q40/
DREADME128 behave exactly as expected.
/arch/ia64/include/asm/
Dpal.h1279 ia64_pal_mc_expected (u64 expected, u64 *previous) in ia64_pal_mc_expected() argument
1282 PAL_CALL(iprv, PAL_MC_EXPECTED, expected, 0, 0); in ia64_pal_mc_expected()
/arch/cris/arch-v32/kernel/
Dentry.S384 ;; If we receive a watchdog interrupt while it is not expected, then set

12