/freebsd/contrib/arm-optimized-routines/string/arm/ |
H A D | strcpy.c | 19 #define magic2(REG) "#0x80808080" macro 22 #define magic2(REG) #REG ", lsl #7" macro 50 "tst r2, "magic2(r5)"\n\t" in __strcpy_arm() 64 "tst r2, "magic2(r5)"\n\t" in __strcpy_arm() 69 "tst r2, "magic2(r5)"\n\t" in __strcpy_arm()
|
/freebsd/contrib/wpa/src/crypto/ |
H A D | ms_funcs.c | 239 static const u8 magic2[41] = { in generate_authenticator_response_pwhash() local 251 const size_t len2[3] = { SHA1_MAC_LEN, 8, sizeof(magic2) }; in generate_authenticator_response_pwhash() 259 addr2[2] = magic2; in generate_authenticator_response_pwhash() 361 static const u8 magic2[84] = { in get_asymetric_start_key() local 403 addr[2] = is_server ? magic3 : magic2; in get_asymetric_start_key() 405 addr[2] = is_server ? magic2 : magic3; in get_asymetric_start_key()
|
/freebsd/sys/geom/label/ |
H A D | g_label_ufs.c | 74 uint32_t magic1, magic2; in g_label_ufs_ignore_bsdlabel_slice() local 116 magic2 = le32dec(buf + 132); in g_label_ufs_ignore_bsdlabel_slice() 118 if (magic1 == DISKMAGIC && magic2 == DISKMAGIC) in g_label_ufs_ignore_bsdlabel_slice()
|
/freebsd/stand/kboot/libkboot/ |
H A D | host_syscalls.c | 129 host_reboot(int magic1, int magic2, int cmd, uintptr_t arg) in host_reboot() argument 131 return host_syscall(SYS_reboot, magic1, magic2, cmd, arg); in host_reboot()
|
/freebsd/sys/amd64/linux/ |
H A D | linux_sysvec.c | 295 uint32_t magic2; in linux_xrstor() local 320 error = copyin(PTRIN(sc->sc_fpstate), &magic2, LINUX_FP_XSTATE_MAGIC2_SIZE); in linux_xrstor() 321 if (error != 0 || magic2 != LINUX_FP_XSTATE_MAGIC2) { in linux_xrstor() 324 p->p_pid, td->td_name, magic2, error); in linux_xrstor() 460 uint32_t magic2; in linux_xsave() local 482 magic2 = LINUX_FP_XSTATE_MAGIC2; in linux_xsave() 483 return (copyout(&magic2, ufp, LINUX_FP_XSTATE_MAGIC2_SIZE)); in linux_xsave()
|
H A D | linux_systrace_args.c | 1375 iarg[a++] = p->magic2; /* l_int */ in systrace_args()
|
/freebsd/tools/test/stress2/misc/ |
H A D | syscall4.sh | 156 static int magic1, syscallno, magic2; 297 if (magic1 != MAGIC || magic2 != MAGIC) 313 magic1 = magic2 = MAGIC;
|
/freebsd/contrib/netbsd-tests/kernel/ |
H A D | t_ptrace_wait.c | 2554 const int magic2 = (int)random(); in ATF_TC_BODY() local 2566 lookup_me2 = magic2; in ATF_TC_BODY() 2596 ATF_REQUIRE_EQ_MSG(lookup_me2, magic2, in ATF_TC_BODY() 2597 "got value %#x != expected %#x", lookup_me2, magic2); in ATF_TC_BODY() 2628 const int magic2 = (int)random(); in ATF_TC_BODY() local 2641 lookup_me2 = magic2; in ATF_TC_BODY() 2672 ATF_REQUIRE_EQ_MSG(lookup_me2, magic2, in ATF_TC_BODY() 2673 "got value %#x != expected %#x", lookup_me2, magic2); in ATF_TC_BODY() 2714 const int magic2 = (int)random(); in ATF_TC_BODY() local 2728 lookup_me2 = magic2; in ATF_TC_BODY() [all …]
|
/freebsd/sys/geom/part/ |
H A D | g_part_bsd.c | 358 uint32_t magic1, magic2; in g_part_bsd_probe() local 375 magic2 = le32dec(buf + 132); in g_part_bsd_probe() 377 return ((magic1 == DISKMAGIC && magic2 == DISKMAGIC) in g_part_bsd_probe()
|
/freebsd/sys/dev/usb/wlan/ |
H A D | if_uathreg.h | 263 uint32_t magic2; member 389 uint32_t magic2; member
|
H A D | if_uath.c | 2103 memset(crypto.magic2, 0xff, sizeof(crypto.magic2)); in uath_set_key()
|
/freebsd/contrib/llvm-project/compiler-rt/include/sanitizer/ |
H A D | linux_syscall_hooks.h | 316 #define __sanitizer_syscall_pre_reboot(magic1, magic2, cmd, arg) \ argument 317 __sanitizer_syscall_pre_impl_reboot((long)(magic1), (long)(magic2), \ 319 #define __sanitizer_syscall_post_reboot(res, magic1, magic2, cmd, arg) \ argument 320 __sanitizer_syscall_post_impl_reboot(res, (long)(magic1), (long)(magic2), \ 2200 void __sanitizer_syscall_pre_impl_reboot(long magic1, long magic2, long cmd, 2202 void __sanitizer_syscall_post_impl_reboot(long res, long magic1, long magic2,
|
/freebsd/sys/contrib/dev/ath/ath_hal/ar9300/ |
H A D | ar9300_eeprom.c | 3393 u_int16_t magic, magic2; in ar9300_check_eeprom() 3414 magic2 = SWAP16(magic); in ar9300_check_eeprom() 3416 if (magic2 == AR9300_EEPROM_MAGIC) { in ar9300_check_eeprom()
|
/freebsd/contrib/llvm-project/compiler-rt/lib/sanitizer_common/ |
H A D | sanitizer_common_syscalls.inc | 669 PRE_SYSCALL(reboot)(long magic1, long magic2, long cmd, void *arg) {} 671 POST_SYSCALL(reboot)(long res, long magic1, long magic2, long cmd, void *arg) {}
|
/freebsd/sys/compat/linux/ |
H A D | linux_misc.c | 1444 switch (args->magic2) { in linux_reboot()
|
/freebsd/sys/arm64/linux/ |
H A D | linux_systrace_args.c | 1133 iarg[a++] = p->magic2; /* l_int */ in systrace_args()
|
/freebsd/sys/i386/linux/ |
H A D | linux_systrace_args.c | 596 iarg[a++] = p->magic2; /* l_int */ in systrace_args()
|
/freebsd/sys/amd64/linux32/ |
H A D | linux32_systrace_args.c | 589 iarg[a++] = p->magic2; /* l_int */ in systrace_args()
|
/freebsd/contrib/sqlite3/ |
H A D | sqlite3.c | 47078 u32 magic2; /* Magic number to detect structure corruption. */ 47099 #define winMemAssertMagic2() assert( win_mem_data.magic2==WINMEM_MAGIC2 ) 48228 assert( pWinMemData->magic2==WINMEM_MAGIC2 ); 48277 assert( pWinMemData->magic2==WINMEM_MAGIC2 );
|