Home
last modified time | relevance | path

Searched refs:nstype (Results 1 – 13 of 13) sorted by relevance

/third_party/musl/src/linux/
Dsetns.c5 int setns(int fd, int nstype) in setns() argument
7 return syscall(SYS_setns, fd, nstype); in setns()
/third_party/ltp/include/lapi/
Dsetns.h14 static inline int setns(int fd, int nstype) in setns() argument
16 return tst_syscall(__NR_setns, fd, nstype); in setns()
/third_party/musl/libc-test/src/functionalext/supplement/linux/
Dsetns.c56 int nstype = 0; in setns_0200() local
59 int result = setns(fd, nstype); in setns_0200()
/third_party/toybox/toys/other/
Dnsenter.c71 #define setns(fd, nstype) syscall(SYS_setns, fd, nstype) argument
/third_party/ltp/lib/
Dtst_safe_macros.c422 int safe_setns(const char *file, const int lineno, int fd, int nstype) in safe_setns() argument
426 ret = setns(fd, nstype); in safe_setns()
430 fd, nstype); in safe_setns()
433 "Invalid setns(%i, %i) return value %d", fd, nstype, in safe_setns()
/third_party/rust/crates/nix/src/
Dsched.rs139 pub fn setns(fd: RawFd, nstype: CloneFlags) -> Result<()> { in setns()
140 let res = unsafe { libc::setns(fd, nstype.bits()) }; in setns()
/third_party/rust/crates/rustix/src/backend/linux_raw/thread/
Dsyscalls.rs288 pub(crate) fn setns(fd: BorrowedFd, nstype: c::c_int) -> io::Result<c::c_int> { in setns()
289 unsafe { ret_c_int(syscall_readonly!(__NR_setns, fd, c_int(nstype))) } in setns()
/third_party/rust/crates/rustix/src/backend/libc/thread/
Dsyscalls.rs293 pub(crate) fn setns(fd: BorrowedFd, nstype: c::c_int) -> io::Result<c::c_int> { in setns()
294 unsafe { ret_c_int(c::setns(borrowed_fd(fd), nstype)) } in setns()
/third_party/ltp/include/
Dtst_safe_macros.h616 int safe_setns(const char *file, const int lineno, int fd, int nstype);
617 #define SAFE_SETNS(fd, nstype) safe_setns(__FILE__, __LINE__, (fd), (nstype)) argument
/third_party/rust/crates/libc/src/unix/linux_like/android/
Dmod.rs3256 pub fn setns(fd: ::c_int, nstype: ::c_int) -> ::c_int; in setns()
/third_party/rust/crates/libc/src/unix/linux_like/linux/
Dmod.rs4154 pub fn setns(fd: ::c_int, nstype: ::c_int) -> ::c_int; in setns()
/third_party/libabigail/tests/data/test-read-dwarf/
Dtest15-pr18892.so.abi12441 …<parameter type-id='type-id-41' name='nstype' filepath='../../.././libsanitizer/sanitizer_common/s…
12447 …<parameter type-id='type-id-41' name='nstype' filepath='../../.././libsanitizer/sanitizer_common/s…
/third_party/libabigail/tests/data/test-annotate/
Dtest15-pr18892.so.abi22136 …<parameter type-id='type-id-41' name='nstype' filepath='../../.././libsanitizer/sanitizer_common/s…
22147 …<parameter type-id='type-id-41' name='nstype' filepath='../../.././libsanitizer/sanitizer_common/s…