| /linux-6.15/rust/kernel/ |
| H A D | task.rs | 9 ffi::{c_int, c_long, c_uint}, 23 pub const TASK_INTERRUPTIBLE: c_int = bindings::TASK_INTERRUPTIBLE as c_int; 25 pub const TASK_UNINTERRUPTIBLE: c_int = bindings::TASK_UNINTERRUPTIBLE as c_int; 27 pub const TASK_FREEZABLE: c_int = bindings::TASK_FREEZABLE as c_int;
|
| H A D | error.rs | 105 pub fn from_errno(errno: crate::ffi::c_int) -> Error { in from_errno() 121 const fn try_from_errno(errno: crate::ffi::c_int) -> Option<Error> { in try_from_errno() 135 const unsafe fn from_errno_unchecked(errno: crate::ffi::c_int) -> Error { in from_errno_unchecked() 143 pub fn to_errno(self) -> crate::ffi::c_int { in to_errno() argument 379 pub fn to_result(err: crate::ffi::c_int) -> Result { in to_result() 426 return Err(unsafe { Error::from_errno_unchecked(err as crate::ffi::c_int) }); in from_err_ptr()
|
| H A D | miscdevice.rs | 15 ffi::{c_int, c_long, c_uint, c_ulong}, 171 unsafe extern "C" fn open(inode: *mut bindings::inode, raw_file: *mut bindings::file) -> c_int { in open() argument 212 unsafe extern "C" fn release(_inode: *mut bindings::inode, file: *mut bindings::file) -> c_int { in release() argument
|
| H A D | platform.rs | 60 extern "C" fn probe_callback(pdev: *mut bindings::platform_device) -> kernel::ffi::c_int { in probe_callback() argument
|
| H A D | pci.rs | 64 ) -> kernel::ffi::c_int { in probe_callback() argument
|
| /linux-6.15/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-6.15/samples/rust/ |
| H A D | rust_print_main.rs | 104 use kernel::ffi::c_int; 110 unsafe fn rust_sample_loaded(magic: c_int); 115 unsafe { rust_sample_loaded(magic as c_int) } in trace_rust_sample_loaded()
|
| /linux-6.15/rust/kernel/net/ |
| H A D | phy.rs | 317 ) -> crate::ffi::c_int { in soft_reset_callback() argument 331 unsafe extern "C" fn probe_callback(phydev: *mut bindings::phy_device) -> crate::ffi::c_int { in probe_callback() argument 348 ) -> crate::ffi::c_int { in get_features_callback() argument 362 unsafe extern "C" fn suspend_callback(phydev: *mut bindings::phy_device) -> crate::ffi::c_int { in suspend_callback() argument 376 unsafe extern "C" fn resume_callback(phydev: *mut bindings::phy_device) -> crate::ffi::c_int { in resume_callback() argument 392 ) -> crate::ffi::c_int { in config_aneg_callback() argument 408 ) -> crate::ffi::c_int { in read_status_callback() argument 424 ) -> crate::ffi::c_int { in match_phy_device_callback() argument
|
| /linux-6.15/rust/kernel/sync/ |
| H A D | condvar.rs | 10 ffi::{c_int, c_long}, 116 wait_state: c_int, in wait_internal() argument 202 fn notify(&self, count: c_int) { in notify() argument
|
| /linux-6.15/rust/kernel/block/mq/ |
| H A D | operations.rs | 135 ) -> crate::ffi::c_int { in poll_callback() argument 151 ) -> crate::ffi::c_int { in init_hctx_callback() argument 182 ) -> crate::ffi::c_int { in init_request_callback() argument
|
| /linux-6.15/rust/ |
| H A D | ffi.rs | 36 c_int = i32;
|
| /linux-6.15/tools/crypto/ccp/ |
| H A D | dbc.py | 59 arg = ctypes.c_int(data if data else 0)
|
| /linux-6.15/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))
|