Home
last modified time | relevance | path

Searched refs:shmflg (Results 1 – 17 of 17) sorted by relevance

/external/ltp/include/
Dtst_safe_sysv_ipc.h48 int shmflg);
49 #define SAFE_SHMGET(key, size, shmflg) \ argument
50 safe_shmget(__FILE__, __LINE__, (key), (size), (shmflg))
53 const void *shmaddr, int shmflg);
54 #define SAFE_SHMAT(shmid, shmaddr, shmflg) \ argument
55 safe_shmat(__FILE__, __LINE__, (shmid), (shmaddr), (shmflg))
/external/ltp/lib/
Dtst_safe_sysv_ipc.c92 int shmflg) in safe_shmget() argument
96 rval = shmget(key, size, shmflg); in safe_shmget()
99 file, lineno, (int)key, size, shmflg); in safe_shmget()
106 const void *shmaddr, int shmflg) in safe_shmat() argument
110 rval = shmat(shmid, shmaddr, shmflg); in safe_shmat()
113 file, lineno, shmid, shmaddr, shmflg); in safe_shmat()
/external/bcc/tools/
Dshmsnoop_example.txt7 19813 server SHMGET 10000 key: 0x78020001, size: 20, shmflg: 0x3b6 (IPC_CREAT…
8 19813 server SHMAT 7f1cf8b1f000 shmid: 0x10000, shmaddr: 0x0, shmflg: 0x0
9 19816 client SHMGET 10000 key: 0x78020001, size: 20, shmflg: 0x1b6 (0666)
10 19816 client SHMAT 7f4fd8ee7000 shmid: 0x10000, shmaddr: 0x0, shmflg: 0x0
Dshmsnoop.py303 (event.key, event.size, shmflg_str(event.shmflg, shmget_flags)))
307 (event.shmid, event.shmaddr, shmflg_str(event.shmflg, shmat_flags)))
/external/rust/crates/libc/src/unix/bsd/netbsdlike/
Dmod.rs722 pub fn shmget(key: ::key_t, size: ::size_t, shmflg: ::c_int) -> ::c_int; in shmget()
723 pub fn shmat(shmid: ::c_int, shmaddr: *const ::c_void, shmflg: ::c_int) -> *mut ::c_void; in shmat()
/external/llvm-project/compiler-rt/include/sanitizer/
Dnetbsd_syscall_hooks.h1196 #define __sanitizer_syscall_pre_shmat(shmid, shmaddr, shmflg) \ argument
1198 (long long)(shmflg))
1199 #define __sanitizer_syscall_post_shmat(res, shmid, shmaddr, shmflg) \ argument
1201 res, (long long)(shmid), (long long)(shmaddr), (long long)(shmflg))
1212 #define __sanitizer_syscall_pre_shmget(key, size, shmflg) \ argument
1214 (long long)(shmflg))
1215 #define __sanitizer_syscall_post_shmget(res, key, size, shmflg) \ argument
1217 (long long)(size), (long long)(shmflg))
3757 long long shmflg);
3759 long long shmaddr, long long shmflg);
[all …]
Dlinux_syscall_hooks.h1328 #define __sanitizer_syscall_pre_shmat(shmid, shmaddr, shmflg) \ argument
1330 (long)(shmflg))
1331 #define __sanitizer_syscall_post_shmat(res, shmid, shmaddr, shmflg) \ argument
1333 (long)(shmflg))
2758 void __sanitizer_syscall_pre_impl_shmat(long shmid, long shmaddr, long shmflg);
2760 long shmflg);
/external/rust/crates/libc/src/unix/bsd/freebsdlike/freebsd/
Dmod.rs1398 pub fn shmget(key: ::key_t, size: ::size_t, shmflg: ::c_int) -> ::c_int; in shmget()
1399 pub fn shmat(shmid: ::c_int, shmaddr: *const ::c_void, shmflg: ::c_int) -> *mut ::c_void; in shmat()
/external/compiler-rt/include/sanitizer/
Dlinux_syscall_hooks.h1329 #define __sanitizer_syscall_pre_shmat(shmid, shmaddr, shmflg) \ argument
1331 (long)(shmflg))
1332 #define __sanitizer_syscall_post_shmat(res, shmid, shmaddr, shmflg) \ argument
1334 (long)(shmflg))
2757 void __sanitizer_syscall_pre_impl_shmat(long shmid, long shmaddr, long shmflg);
2759 long shmflg);
/external/compiler-rt/lib/msan/
Dmsan_interceptors.cc1191 INTERCEPTOR(void *, shmat, int shmid, const void *shmaddr, int shmflg) { in DECLARE_REAL()
1193 void *p = REAL(shmat)(shmid, shmaddr, shmflg); in DECLARE_REAL()
/external/llvm-project/compiler-rt/lib/msan/
Dmsan_interceptors.cpp1478 INTERCEPTOR(void *, shmat, int shmid, const void *shmaddr, int shmflg) { in INTERCEPTOR() argument
1480 void *p = REAL(shmat)(shmid, shmaddr, shmflg); in INTERCEPTOR()
/external/rust/crates/libc/src/unix/solarish/
Dmod.rs2326 pub fn shmat(shmid: ::c_int, shmaddr: *const ::c_void, shmflg: ::c_int) -> *mut ::c_void; in shmat()
2332 pub fn shmget(key: key_t, size: ::size_t, shmflg: ::c_int) -> ::c_int; in shmget()
/external/rust/crates/libc/src/unix/linux_like/linux/
Dmod.rs3042 pub fn shmget(key: ::key_t, size: ::size_t, shmflg: ::c_int) -> ::c_int; in shmget()
3043 pub fn shmat(shmid: ::c_int, shmaddr: *const ::c_void, shmflg: ::c_int) -> *mut ::c_void; in shmat()
/external/rust/crates/libc/src/unix/bsd/apple/
Dmod.rs3520 pub fn shmat(shmid: ::c_int, shmaddr: *const ::c_void, shmflg: ::c_int) -> *mut ::c_void; in shmat()
3527 pub fn shmget(key: key_t, size: ::size_t, shmflg: ::c_int) -> ::c_int; in shmget()
/external/rust/crates/libc/src/fuchsia/
Dmod.rs3935 pub fn shmget(key: ::key_t, size: ::size_t, shmflg: ::c_int) -> ::c_int; in shmget()
3936 pub fn shmat(shmid: ::c_int, shmaddr: *const ::c_void, shmflg: ::c_int) -> *mut ::c_void; in shmat()
/external/compiler-rt/lib/sanitizer_common/
Dsanitizer_common_syscalls.inc2118 PRE_SYSCALL(shmat)(long shmid, void *shmaddr, long shmflg) {}
2120 POST_SYSCALL(shmat)(long res, long shmid, void *shmaddr, long shmflg) {
/external/llvm-project/compiler-rt/lib/sanitizer_common/
Dsanitizer_common_syscalls.inc2117 PRE_SYSCALL(shmat)(long shmid, void *shmaddr, long shmflg) {}
2119 POST_SYSCALL(shmat)(long res, long shmid, void *shmaddr, long shmflg) {