/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
|
/linux/rust/kernel/ |
H A D | task.rs | 9 ffi::{c_int, c_long, c_uint}, 24 pub const TASK_INTERRUPTIBLE: c_int = bindings::TASK_INTERRUPTIBLE as c_int; 26 pub const TASK_UNINTERRUPTIBLE: c_int = bindings::TASK_UNINTERRUPTIBLE as c_int; 28 pub const TASK_FREEZABLE: c_int = bindings::TASK_FREEZABLE as c_int;
|
H A D | error.rs | 106 pub fn from_errno(errno: crate::ffi::c_int) -> Error { in from_errno() 122 const fn try_from_errno(errno: crate::ffi::c_int) -> Option<Error> { in try_from_errno() 136 const unsafe fn from_errno_unchecked(errno: crate::ffi::c_int) -> Error { in from_errno_unchecked() 144 pub fn to_errno(self) -> crate::ffi::c_int { in to_errno() argument 380 pub fn to_result(err: crate::ffi::c_int) -> Result { in to_result() 427 return Err(unsafe { Error::from_errno_unchecked(err as crate::ffi::c_int) }); in from_err_ptr()
|
H A D | cpufreq.rs | 1067 unsafe extern "C" fn init_callback(ptr: *mut bindings::cpufreq_policy) -> c_int { in init_callback() argument 1100 unsafe extern "C" fn online_callback(ptr: *mut bindings::cpufreq_policy) -> c_int { in online_callback() argument 1115 unsafe extern "C" fn offline_callback(ptr: *mut bindings::cpufreq_policy) -> c_int { in offline_callback() argument 1130 unsafe extern "C" fn suspend_callback(ptr: *mut bindings::cpufreq_policy) -> c_int { in suspend_callback() argument 1145 unsafe extern "C" fn resume_callback(ptr: *mut bindings::cpufreq_policy) -> c_int { in resume_callback() argument 1173 unsafe extern "C" fn verify_callback(ptr: *mut bindings::cpufreq_policy_data) -> c_int { in verify_callback() argument 1188 unsafe extern "C" fn setpolicy_callback(ptr: *mut bindings::cpufreq_policy) -> c_int { in setpolicy_callback() argument 1207 ) -> c_int { in target_callback() argument 1225 ) -> c_int { in target_index_callback() argument 1304 ) -> c_int { in target_intermediate_callback() argument [all …]
|
H A D | miscdevice.rs | 15 ffi::{c_int, c_long, c_uint, c_ulong}, 36 result.minor = bindings::MISC_DYNAMIC_MINOR as ffi::c_int; in into_raw() 193 unsafe extern "C" fn open(inode: *mut bindings::inode, raw_file: *mut bindings::file) -> c_int { in open() argument 234 unsafe extern "C" fn release(_inode: *mut bindings::inode, file: *mut bindings::file) -> c_int { in release() argument 255 ) -> c_int { in mmap() argument
|
H A D | prelude.rs | 18 c_char, c_int, c_long, c_longlong, c_schar, c_short, c_uchar, c_uint, c_ulong, c_ulonglong,
|
H A D | bug.rs | 84 line!() as $crate::ffi::c_int,
|
H A D | workqueue.rs | 287 bindings::wq_misc_consts_WORK_CPU_UNBOUND as ffi::c_int, in enqueue() 322 bindings::wq_misc_consts_WORK_CPU_UNBOUND as ffi::c_int, in enqueue_delayed()
|
H A D | opp.rs | 519 ) -> c_int { in config_clks() argument 544 ) -> c_int { in config_regulators() argument
|
H A D | platform.rs | 67 extern "C" fn probe_callback(pdev: *mut bindings::platform_device) -> kernel::ffi::c_int { in probe_callback() argument
|
H A D | auxiliary.rs | 58 ) -> kernel::ffi::c_int { in probe_callback() argument
|
H A D | pci.rs | 63 ) -> kernel::ffi::c_int { in probe_callback() argument
|
/linux/rust/kernel/drm/ |
H A D | driver.rs | 46 prime_fd: *mut core::ffi::c_int, 47 ) -> core::ffi::c_int, 53 prime_fd: core::ffi::c_int, 55 ) -> core::ffi::c_int, 75 ) -> core::ffi::c_int, 83 ) -> core::ffi::c_int,
|
H A D | file.rs | 60 ) -> core::ffi::c_int { in open_callback() argument
|
H A D | ioctl.rs | 127 ) -> core::ffi::c_int {
|
/linux/rust/kernel/net/ |
H A D | phy.rs | 166 unsafe { (*phydev).speed = speed as c_int }; in set_speed() 179 unsafe { (*phydev).duplex = v as c_int }; in set_duplex() 315 unsafe extern "C" fn soft_reset_callback(phydev: *mut bindings::phy_device) -> c_int { in soft_reset_callback() argument 329 unsafe extern "C" fn probe_callback(phydev: *mut bindings::phy_device) -> c_int { in probe_callback() argument 344 unsafe extern "C" fn get_features_callback(phydev: *mut bindings::phy_device) -> c_int { in get_features_callback() argument 358 unsafe extern "C" fn suspend_callback(phydev: *mut bindings::phy_device) -> c_int { in suspend_callback() argument 372 unsafe extern "C" fn resume_callback(phydev: *mut bindings::phy_device) -> c_int { in resume_callback() argument 386 unsafe extern "C" fn config_aneg_callback(phydev: *mut bindings::phy_device) -> c_int { in config_aneg_callback() argument 400 unsafe extern "C" fn read_status_callback(phydev: *mut bindings::phy_device) -> c_int { in read_status_callback() argument 417 ) -> c_int { in match_phy_device_callback() argument
|
/linux/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/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/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/rust/ |
H A D | ffi.rs | 36 c_int = i32;
|
/linux/tools/crypto/ccp/ |
H A D | dbc.py | 59 arg = ctypes.c_int(data if data else 0)
|
/linux/rust/kernel/io/ |
H A D | resource.rs | 116 flags.0 as c_int, in request_region()
|
/linux/rust/kernel/drm/gem/ |
H A D | mod.rs | 86 ) -> core::ffi::c_int { in open_callback() argument
|
/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))
|