Home
last modified time | relevance | path

Searched refs:specialfile (Results 1 – 2 of 2) sorted by relevance

/external/compiler-rt/include/sanitizer/
Dlinux_syscall_hooks.h1417 #define __sanitizer_syscall_pre_swapon(specialfile, swap_flags) \ argument
1418 __sanitizer_syscall_pre_impl_swapon((long)(specialfile), (long)(swap_flags))
1419 #define __sanitizer_syscall_post_swapon(res, specialfile, swap_flags) \ argument
1420 __sanitizer_syscall_post_impl_swapon(res, (long)(specialfile), \
1422 #define __sanitizer_syscall_pre_swapoff(specialfile) \ argument
1423 __sanitizer_syscall_pre_impl_swapoff((long)(specialfile))
1424 #define __sanitizer_syscall_post_swapoff(res, specialfile) \ argument
1425 __sanitizer_syscall_post_impl_swapoff(res, (long)(specialfile))
2813 void __sanitizer_syscall_pre_impl_swapon(long specialfile, long swap_flags);
2814 void __sanitizer_syscall_post_impl_swapon(long res, long specialfile,
[all …]
/external/compiler-rt/lib/sanitizer_common/
Dsanitizer_common_syscalls.inc2233 PRE_SYSCALL(swapon)(const void *specialfile, long swap_flags) {
2234 if (specialfile)
2235 PRE_READ(specialfile,
2236 __sanitizer::internal_strlen((const char *)specialfile) + 1);
2239 POST_SYSCALL(swapon)(long res, const void *specialfile, long swap_flags) {}
2241 PRE_SYSCALL(swapoff)(const void *specialfile) {
2242 if (specialfile)
2243 PRE_READ(specialfile,
2244 __sanitizer::internal_strlen((const char *)specialfile) + 1);
2247 POST_SYSCALL(swapoff)(long res, const void *specialfile) {}