Home
last modified time | relevance | path

Searched refs:memcmp (Results 1 – 25 of 88) sorted by relevance

1234

/arch/powerpc/lib/
Dfeature-fixups.c181 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()
228 check(memcmp(&ftr_fixup_test2, &ftr_fixup_test2_expected, size) == 0); in test_alternative_patching()
[all …]
Dppc_ksyms.c9 EXPORT_SYMBOL(memcmp);
/arch/x86/kernel/
Djump_label.c54 if (unlikely(memcmp((void *)entry->code, default_nop, 5) in __jump_label_transform()
62 if (unlikely(memcmp((void *)entry->code, ideal_nop, 5) in __jump_label_transform()
78 if (unlikely(memcmp((void *)entry->code, default_nop, 5) != 0)) in __jump_label_transform()
84 if (unlikely(memcmp((void *)entry->code, &code, 5) != 0)) in __jump_label_transform()
135 if (memcmp(ideal_nop, default_nop, 5) != 0) in arch_jump_label_transform_static()
Dftrace.c122 if (memcmp(replaced, old_code, MCOUNT_INSN_SIZE) != 0) in ftrace_modify_code_direct()
317 if (memcmp(replaced, old, MCOUNT_INSN_SIZE) != 0) in add_break()
398 if (memcmp(&ins[1], &nop[1], MCOUNT_INSN_SIZE - 1) != 0) { in remove_breakpoint()
408 if (memcmp(&ins[1], &nop[1], MCOUNT_INSN_SIZE - 1) == 0) in remove_breakpoint()
415 if (memcmp(&ins[1], &nop[1], MCOUNT_INSN_SIZE - 1) != 0) in remove_breakpoint()
/arch/x86/boot/
Dstring.h7 #undef memcmp
11 int memcmp(const void *s1, const void *s2, size_t len);
19 #define memcmp __builtin_memcmp macro
Dstring.c19 int memcmp(const void *s1, const void *s2, size_t len) in memcmp() function
153 if (!memcmp(s1, s2, l2)) in strstr()
/arch/sparc/lib/
Dmemcmp.S11 ENTRY(memcmp)
27 ENDPROC(memcmp)
/arch/powerpc/oprofile/cell/
Dvma_map.c135 if (memcmp(ehdr.e_ident, expected, EI_PAD) != 0) { in create_vma_map()
204 if (memcmp(name, "_ovly_table", 12) == 0) in create_vma_map()
206 if (memcmp(name, "_ovly_buf_table", 16) == 0) in create_vma_map()
208 if (memcmp(name, "_ovly_table_end", 16) == 0) in create_vma_map()
210 if (memcmp(name, "_ovly_buf_table_end", 20) == 0) in create_vma_map()
/arch/ia64/kernel/
Dftrace.c117 if (memcmp(replaced, old_code, MCOUNT_INSN_SIZE) != 0) in ftrace_modify_code()
145 if (memcmp(replaced, ftrace_call_code, MCOUNT_INSN_SIZE) != 0) in ftrace_make_nop_check()
155 if (memcmp(replaced, ftrace_orig_code, MCOUNT_INSN_SIZE) != 0) in ftrace_make_nop_check()
/arch/x86/platform/geode/
Dnet5501.c117 if (memcmp(bios, "comBIOS", 7)) in net5501_present()
123 if (!memcmp(model, boards[i].sig, boards[i].len)) { in net5501_present()
/arch/mips/bcm47xx/
Dprom.c89 if (!memcmp(prom_init, prom_init + mem, 32)) in prom_init_mem()
166 if (!memcmp(prom_init, (void *)(off + extmem), 16)) in bcm47xx_prom_highmem_init()
/arch/arc/lib/
DMakefile9 lib-y += memcmp.o memcpy-700.o memset.o
/arch/s390/include/asm/
Dschid.h18 return !memcmp(schid1, schid2, sizeof(struct subchannel_id)); in schid_equal()
/arch/arc/include/asm/
Dstring.h31 extern int memcmp(const void *, const void *, __kernel_size_t);
/arch/powerpc/include/asm/
Dstring.h27 extern int memcmp(const void *,const void *,__kernel_size_t);
/arch/arm64/include/asm/
Dstring.h50 extern int memcmp(const void *, const void *, size_t);
/arch/arm64/lib/
DMakefile4 memcmp.o strcmp.o strncmp.o strlen.o strnlen.o \
/arch/blackfin/lib/
DMakefile8 memcpy.o memset.o memcmp.o memchr.o memmove.o \
/arch/blackfin/include/asm/
Dstring.h31 extern int memcmp(const void *, const void *, __kernel_size_t);
/arch/arm64/kernel/
Darm64ksyms.c55 EXPORT_SYMBOL(memcmp);
/arch/powerpc/boot/
Dstring.h18 extern int memcmp(const void *s1, const void *s2, size_t n);
/arch/blackfin/mm/
Disram-driver.c258 if (memcmp(sdram, sdram + test_len, test_len)) { in isram_write_test()
273 if (memcmp(sdram, sdram + test_len, test_len)) { in _isram_memcpy_test()
305 if (memcmp(cmp, sdram + i, j)) { in isram_memcpy_test()
333 if (memcmp(cmp, sdram + i, j)) { in isram_memcpy_test()
/arch/x86/purgatory/
Dpurgatory.c55 if (memcmp(digest, sha256_digest, sizeof(digest))) in verify_sha256_digest()
/arch/sparc/include/asm/
Dstring_64.h49 int memcmp(const void *,const void *,__kernel_size_t);
/arch/arc/kernel/
Darcksyms.c54 EXPORT_SYMBOL(memcmp);

1234