Searched refs:nstype (Results 1 - 11 of 11) sorted by relevance
/third_party/musl/src/linux/ |
H A D | setns.c | 5 int setns(int fd, int nstype) in setns() argument 7 return syscall(SYS_setns, fd, nstype); in setns()
|
/third_party/ltp/include/lapi/ |
H A D | setns.h | 14 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/ |
H A D | setns.c | 56 int nstype = 0; in setns_0200() local 59 int result = setns(fd, nstype); in setns_0200()
|
/third_party/toybox/toys/other/ |
H A D | nsenter.c | 71 #define setns(fd, nstype) syscall(SYS_setns, fd, nstype)
|
/third_party/ltp/lib/ |
H A D | tst_safe_macros.c | 461 int safe_setns(const char *file, const int lineno, int fd, int nstype) in safe_setns() argument 465 ret = setns(fd, nstype); in safe_setns() 469 fd, nstype); in safe_setns() 472 "Invalid setns(%i, %i) return value %d", fd, nstype, in safe_setns()
|
/third_party/rust/crates/nix/src/ |
H A D | sched.rs | 139 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/libc/thread/ |
H A D | syscalls.rs | 293 pub(crate) fn setns(fd: BorrowedFd, nstype: c::c_int) -> io::Result<c::c_int> { 294 unsafe { ret_c_int(c::setns(borrowed_fd(fd), nstype)) }
|
/third_party/rust/crates/rustix/src/backend/linux_raw/thread/ |
H A D | syscalls.rs | 288 pub(crate) fn setns(fd: BorrowedFd, nstype: c::c_int) -> io::Result<c::c_int> { 289 unsafe { ret_c_int(syscall_readonly!(__NR_setns, fd, c_int(nstype))) }
|
/third_party/ltp/include/ |
H A D | tst_safe_macros.h | 646 int safe_setns(const char *file, const int lineno, int fd, int nstype); 647 #define SAFE_SETNS(fd, nstype) safe_setns(__FILE__, __LINE__, (fd), (nstype))
|
/third_party/rust/crates/libc/src/unix/linux_like/android/ |
H A D | mod.rs | 3256 pub fn setns(fd: ::c_int, nstype: ::c_int) -> ::c_int; in setns()
|
/third_party/rust/crates/libc/src/unix/linux_like/linux/ |
H A D | mod.rs | 4154 pub fn setns(fd: ::c_int, nstype: ::c_int) -> ::c_int; in setns()
|
Completed in 24 milliseconds