| /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 | 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 | 224 pub fn from_errno(errno: crate::ffi::c_int) -> Error { 240 const fn try_from_errno(errno: crate::ffi::c_int) -> Option<Error> { 254 const unsafe fn from_errno_unchecked(errno: crate::ffi::c_int) -> Error { 262 pub fn to_errno(self) -> crate::ffi::c_int { 523 /// # pub(super) unsafe fn f1() -> c_int { 0 } 524 /// # pub(super) unsafe fn f2() -> c_int { EINVAL.to_errno() } 541 pub fn to_result(err: crate::ffi::c_int) -> Result { 619 return Err(unsafe { Error::from_errno_unchecked(err as crate::ffi::c_int) }); 639 /// ) -> kernel::ffi::c_int { 161 to_errno(self) -> crate::ffi::c_int to_errno() argument
|
| H A D | cpufreq.rs | 1081 unsafe extern "C" fn init_callback(ptr: *mut bindings::cpufreq_policy) -> c_int { 1114 unsafe extern "C" fn online_callback(ptr: *mut bindings::cpufreq_policy) -> c_int { 1129 unsafe extern "C" fn offline_callback(ptr: *mut bindings::cpufreq_policy) -> c_int { 1144 unsafe extern "C" fn suspend_callback(ptr: *mut bindings::cpufreq_policy) -> c_int { 1159 unsafe extern "C" fn resume_callback(ptr: *mut bindings::cpufreq_policy) -> c_int { 1187 unsafe extern "C" fn verify_callback(ptr: *mut bindings::cpufreq_policy_data) -> c_int { 1202 unsafe extern "C" fn setpolicy_callback(ptr: *mut bindings::cpufreq_policy) -> c_int { 1221 ) -> c_int { 1239 ) -> c_int { 1318 ) -> c_int { 1067 init_callback(ptr: *mut bindings::cpufreq_policy) -> c_int init_callback() argument 1100 online_callback(ptr: *mut bindings::cpufreq_policy) -> c_int online_callback() argument 1115 offline_callback(ptr: *mut bindings::cpufreq_policy) -> c_int offline_callback() argument 1130 suspend_callback(ptr: *mut bindings::cpufreq_policy) -> c_int suspend_callback() argument 1145 resume_callback(ptr: *mut bindings::cpufreq_policy) -> c_int resume_callback() argument 1173 verify_callback(ptr: *mut bindings::cpufreq_policy_data) -> c_int verify_callback() argument 1188 setpolicy_callback(ptr: *mut bindings::cpufreq_policy) -> c_int setpolicy_callback() argument 1207 target_callback( ptr: *mut bindings::cpufreq_policy, target_freq: c_uint, relation: c_uint, ) -> c_int target_callback() argument 1225 target_index_callback( ptr: *mut bindings::cpufreq_policy, index: c_uint, ) -> c_int target_index_callback() argument 1303 target_intermediate_callback( ptr: *mut bindings::cpufreq_policy, index: c_uint, ) -> c_int target_intermediate_callback() argument 1348 bios_limit_callback(cpu: c_int, limit: *mut c_uint) -> c_int bios_limit_callback() argument 1368 set_boost_callback( ptr: *mut bindings::cpufreq_policy, state: c_int, ) -> c_int set_boost_callback() argument 1369 set_boost_callback( ptr: *mut bindings::cpufreq_policy, state: c_int, ) -> c_int set_boost_callback() argument [all...] |
| H A D | prelude.rs | 28 c_int,
|
| H A D | bug.rs | 95 line!() as $crate::ffi::c_int,
|
| H A D | module_param.rs | 58 unsafe extern "C" fn set_param<T>(val: *const c_char, param: *const bindings::kernel_param) -> c_int in set_param()
|
| H A D | opp.rs | 521 ) -> c_int { in config_clks() argument 546 ) -> c_int { in config_regulators() argument
|
| H A D | auxiliary.rs | 87 ) -> c_int { in probe_callback() 80 probe_callback( adev: *mut bindings::auxiliary_device, id: *const bindings::auxiliary_device_id, ) -> c_int probe_callback() argument
|
| H A D | pci.rs | 105 ) -> c_int { in probe_callback() 103 probe_callback( pdev: *mut bindings::pci_dev, id: *const bindings::pci_device_id, ) -> c_int probe_callback() argument
|
| H A D | usb.rs | 77 ) -> kernel::ffi::c_int { 82 probe_callback( intf: *mut bindings::usb_interface, id: *const bindings::usb_device_id, ) -> kernel::ffi::c_int probe_callback() argument
|
| H A D | platform.rs | 97 extern "C" fn probe_callback(pdev: *mut bindings::platform_device) -> kernel::ffi::c_int { in probe_callback() argument
|
| H A D | i2c.rs | 145 extern "C" fn probe_callback(idev: *mut bindings::i2c_client) -> kernel::ffi::c_int { in probe_callback() argument
|
| /linux/samples/rust/ |
| H A D | rust_print_main.rs | 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/debugfs/ |
| H A D | file_ops.rs | 94 ) -> c_int { in writer_open() 115 ) -> c_int { in writer_act() 211 ) -> c_int { 85 writer_open<T: Writer + Sync>( inode: *mut bindings::inode, file: *mut bindings::file, ) -> c_int writer_open() argument 106 writer_act<T: Writer + Sync>( seq: *mut bindings::seq_file, _: *mut c_void, ) -> c_int writer_act() argument 204 write_only_open( inode: *mut bindings::inode, file: *mut bindings::file, ) -> c_int write_only_open() 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/drm/ |
| H A D | ioctl.rs | 140 ) -> core::ffi::c_int {
|
| /linux/rust/kernel/io/ |
| H A D | resource.rs | 119 flags.0 as c_int, in request_region()
|
| /linux/rust/kernel/alloc/ |
| H A D | allocator.rs | 71 crate::ffi::c_int,
|
| /linux/rust/kernel/drm/gem/ |
| H A D | mod.rs | 130 ) -> core::ffi::c_int { in open_callback() 119 open_callback<T: DriverObject>( raw_obj: *mut bindings::drm_gem_object, raw_file: *mut bindings::drm_file, ) -> core::ffi::c_int 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))
|
| /linux/Documentation/rust/ |
| H A D | coding-guidelines.rst | 285 ``c_int``, which are readily available from the ``kernel`` prelude. Please do 293 fn f(p: *const c_char) -> c_int {
|