Searched refs:c_int (Results 1 – 7 of 7) sorted by relevance
/DragonOS/kernel/src/time/ |
H A D | syscall.rs | 2 ffi::{c_int, c_longlong}, 17 pub type PosixSusecondsT = c_int; 31 pub tz_minuteswest: c_int, 33 pub tz_dsttime: c_int, 137 pub fn clock_gettime(clock_id: c_int, tp: *mut PosixTimeSpec) -> Result<usize, SystemError> { in clock_gettime() argument
|
/DragonOS/kernel/src/bpf/helper/ |
H A D | print.rs | 2 ffi::{c_char, c_int}, 9 pub unsafe extern "C" fn printf(w: &mut impl Write, str: *const c_char, mut args: ...) -> c_int { in printf() argument
|
/DragonOS/kernel/src/syscall/ |
H A D | mod.rs | 2 ffi::{c_int, c_void}, 278 let options = args[2] as c_int; in handle() 322 let pipefd: *mut i32 = args[0] as *mut c_int; in handle() 331 let pipefd: *mut i32 = args[0] as *mut c_int; in handle() 391 let sig = args[1] as c_int; in handle() 397 let sig = args[0] as c_int; in handle() 411 let oldfd: i32 = args[0] as c_int; in handle() 417 let oldfd: i32 = args[0] as c_int; in handle() 418 let newfd: i32 = args[1] as c_int; in handle() 423 let oldfd: i32 = args[0] as c_int; in handle() [all …]
|
/DragonOS/user/apps/test-for-robustfutex/src/ |
H A D | main.rs | 20 c_int, mmap, perror, EXIT_FAILURE, MAP_ANONYMOUS, MAP_FAILED, MAP_SHARED, PROT_READ, PROT_WRITE, 244 (size_of::<c_int>() * 2) as libc::size_t, in test01() 316 (size_of::<c_int>() * 2) as libc::size_t, in test02() 329 (size_of::<c_int>() * 2) as libc::size_t, in test02()
|
/DragonOS/kernel/src/ipc/ |
H A D | syscall.rs | 2 ffi::{c_int, c_void}, 59 let mut user_buffer = UserBufferWriter::new(fd, core::mem::size_of::<[c_int; 2]>(), true)?; in pipe2() 95 pub fn kill(pid: Pid, sig: c_int) -> Result<usize, SystemError> { in kill() 129 sig: c_int, in sigaction() argument
|
H A D | signal_types.rs | 120 sig: ::core::ffi::c_int,
|
/DragonOS/kernel/src/include/bindings/ |
H A D | linux_bpf.rs | 184 pub type __s32 = ::core::ffi::c_int; 923 pub type _bindgen_ty_15 = ::core::ffi::c_int; 956 pub fd: ::core::ffi::c_int, 968 pub fd: ::core::ffi::c_int, 2396 pub ifi_index: ::core::ffi::c_int, 2406 pub tcm_ifindex: ::core::ffi::c_int, 2428 pub const AYA_PERF_EVENT_IOC_ENABLE: ::core::ffi::c_int = 9216; 2429 pub const AYA_PERF_EVENT_IOC_DISABLE: ::core::ffi::c_int = 9217; 2430 pub const AYA_PERF_EVENT_IOC_SET_BPF: ::core::ffi::c_int = 1074013192;
|