Searched refs:c_int (Results 1 – 10 of 10) sorted by relevance
/linux/rust/kernel/ |
H A D | task.rs | 9 ffi::{c_int, c_long, c_uint}, 19 pub const TASK_INTERRUPTIBLE: c_int = bindings::TASK_INTERRUPTIBLE as c_int; 21 pub const TASK_UNINTERRUPTIBLE: c_int = bindings::TASK_UNINTERRUPTIBLE as c_int;
|
H A D | error.rs | 91 pub struct Error(core::ffi::c_int); 98 pub(crate) fn from_errno(errno: core::ffi::c_int) -> Error { in from_errno() 118 unsafe fn from_errno_unchecked(errno: core::ffi::c_int) -> Error { in from_errno_unchecked() 125 pub fn to_errno(self) -> core::ffi::c_int { in to_errno() argument 242 pub fn to_result(err: core::ffi::c_int) -> Result { in to_result() 290 return Err(unsafe { Error::from_errno_unchecked(err as core::ffi::c_int) }); in from_err_ptr()
|
/linux/tools/perf/scripts/python/ |
H A D | libxed.py | 19 c_void_p, c_bool, c_byte, c_char, c_int, c_uint, c_longlong, c_ulonglong 26 ("mode", c_int), 27 ("width", c_int) 71 self.xed_decode.restype = c_int 76 …self.xed_format_context.argtypes = [ c_int, c_void_p, c_void_p, c_int, c_ulonglong, c_void_p, c_vo…
|
H A D | export-to-postgresql.py | 247 PQstatus.restype = c_int 253 PQresultStatus.restype = c_int 256 PQputCopyData.restype = c_int 257 PQputCopyData.argtypes = [ c_void_p, c_void_p, c_int ] 259 PQputCopyEnd.restype = c_int
|
H A D | exported-sql-viewer.py | 136 c_void_p, c_bool, c_byte, c_char, c_int, c_uint, c_longlong, c_ulonglong
|
/linux/rust/kernel/net/ |
H A D | phy.rs | 317 ) -> core::ffi::c_int { in soft_reset_callback() argument 331 unsafe extern "C" fn probe_callback(phydev: *mut bindings::phy_device) -> core::ffi::c_int { in probe_callback() argument 348 ) -> core::ffi::c_int { in get_features_callback() argument 362 unsafe extern "C" fn suspend_callback(phydev: *mut bindings::phy_device) -> core::ffi::c_int { in suspend_callback() argument 376 unsafe extern "C" fn resume_callback(phydev: *mut bindings::phy_device) -> core::ffi::c_int { in resume_callback() argument 392 ) -> core::ffi::c_int { in config_aneg_callback() argument 408 ) -> core::ffi::c_int { in read_status_callback() argument 424 ) -> core::ffi::c_int { in match_phy_device_callback() argument
|
/linux/rust/kernel/sync/ |
H A D | condvar.rs | 17 use core::ffi::{c_int, c_long}; 118 wait_state: c_int, in wait_internal() argument 185 fn notify(&self, count: c_int) { in notify() argument
|
/linux/rust/kernel/block/mq/ |
H A D | operations.rs | 134 ) -> core::ffi::c_int { in poll_callback() argument 150 ) -> core::ffi::c_int { in init_hctx_callback() argument 181 ) -> core::ffi::c_int { in init_request_callback() argument
|
/linux/tools/crypto/ccp/ |
H A D | dbc.py | 59 arg = ctypes.c_int(data if data else 0)
|
/linux/tools/kvm/kvm_stat/ |
H A D | kvm_stat | 506 ctypes.c_int(pid), ctypes.c_int(cpu), 507 ctypes.c_int(group_fd), ctypes.c_long(flags))
|