Home
last modified time | relevance | path

Searched refs:pass_usize (Results 1 – 6 of 6) sorted by relevance

/third_party/rust/crates/rustix/src/backend/linux_raw/mm/
Dsyscalls.rs12 use super::super::conv::{c_uint, no_fd, pass_usize, ret, ret_owned_fd, ret_void_star};
29 pass_usize(len), in madvise()
37 ret(syscall!(__NR_msync, addr, pass_usize(len), flags)) in msync()
58 pass_usize(length), in mmap()
64 .map(pass_usize) in mmap()
73 pass_usize(length), in mmap()
98 pass_usize(length), in mmap_anonymous()
102 pass_usize(0) in mmap_anonymous()
110 pass_usize(length), in mmap_anonymous()
125 ret(syscall!(__NR_mprotect, ptr, pass_usize(len), flags)) in mprotect()
[all …]
/third_party/rust/crates/rustix/src/backend/linux_raw/
Dconv.rs56 pass_usize(sys as usize) in x86_sys()
69 pass_usize(x as usize) in lo()
82 pass_usize(x as usize) in hi()
94 pass_usize(core::mem::size_of::<T>()) in size_of()
102 pub(super) fn pass_usize<'a, Num: ArgNumber>(t: usize) -> ArgReg<'a, Num> { in pass_usize() function
176 pass_usize(fd as c::c_uint as usize) in raw_fd()
183 pass_usize(!0_usize) in no_fd()
196 (slice_just_addr(v), pass_usize(v.len())) in slice()
203 (raw_arg(v.as_mut_ptr().cast()), pass_usize(v.len())) in slice_mut()
247 pass_usize(i as usize) in c_int()
[all …]
/third_party/rust/crates/rustix/src/backend/linux_raw/io_uring/
Dsyscalls.rs9 use super::super::conv::{by_mut, c_uint, pass_usize, ret, ret_c_uint, ret_owned_fd};
61 pass_usize(size) in io_uring_enter()
/third_party/rust/crates/rustix/src/backend/linux_raw/io/
Dsyscalls.rs13 by_ref, c_int, c_uint, opt_mut, pass_usize, raw_fd, ret, ret_c_uint, ret_discarded_fd,
621 pass_usize(num_events), in epoll_wait()
631 pass_usize(num_events), in epoll_wait()
655 pass_usize(len), in splice()
/third_party/rust/crates/rustix/src/backend/linux_raw/fs/
Dsyscalls.rs12 by_ref, c_int, c_uint, dev_t, oflags_for_open_how, opt_mut, pass_usize, raw_fd, ret, ret_c_int,
231 pass_usize((offset >> 32) as usize), in _seek()
232 pass_usize(offset as usize), in _seek()
1356 pass_usize(len), in _copy_file_range()
1381 pass_usize(count) in sendfile()
1391 pass_usize(count) in sendfile()
/third_party/rust/crates/rustix/src/backend/linux_raw/process/
Dsyscalls.rs11 by_mut, by_ref, c_int, c_uint, negative_pid, pass_usize, ret, ret_c_int, ret_c_uint,
548 unsafe { ret(syscall_readonly!(__NR_kill, pass_usize(0), sig)) } in kill_current_process_group()