| /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 | error.rs | 123 pub fn from_errno(errno: crate::ffi::c_int) -> Error { in from_errno() 139 const fn try_from_errno(errno: crate::ffi::c_int) -> Option<Error> { in try_from_errno() 153 const unsafe fn from_errno_unchecked(errno: crate::ffi::c_int) -> Error { in from_errno_unchecked() 161 pub fn to_errno(self) -> crate::ffi::c_int { in to_errno() argument 434 pub fn to_result(err: crate::ffi::c_int) -> Result { in to_result() 481 return Err(unsafe { Error::from_errno_unchecked(err as crate::ffi::c_int) }); in from_err_ptr()
|
| H A D | cpufreq.rs | 1065 unsafe extern "C" fn init_callback(ptr: *mut bindings::cpufreq_policy) -> c_int { in init_callback() argument 1098 unsafe extern "C" fn online_callback(ptr: *mut bindings::cpufreq_policy) -> c_int { in online_callback() argument 1113 unsafe extern "C" fn offline_callback(ptr: *mut bindings::cpufreq_policy) -> c_int { in offline_callback() argument 1128 unsafe extern "C" fn suspend_callback(ptr: *mut bindings::cpufreq_policy) -> c_int { in suspend_callback() argument 1143 unsafe extern "C" fn resume_callback(ptr: *mut bindings::cpufreq_policy) -> c_int { in resume_callback() argument 1171 unsafe extern "C" fn verify_callback(ptr: *mut bindings::cpufreq_policy_data) -> c_int { in verify_callback() argument 1186 unsafe extern "C" fn setpolicy_callback(ptr: *mut bindings::cpufreq_policy) -> c_int { in setpolicy_callback() argument 1205 ) -> c_int { in target_callback() argument 1223 ) -> c_int { in target_index_callback() argument 1302 ) -> c_int { in target_intermediate_callback() argument [all …]
|
| H A D | prelude.rs | 21 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 | 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 | 60 ) -> c_int { in probe_callback() argument
|
| H A D | pci.rs | 87 ) -> c_int { in probe_callback() argument
|
| H A D | usb.rs | 64 ) -> kernel::ffi::c_int { in probe_callback() argument
|
| H A D | platform.rs | 69 extern "C" fn probe_callback(pdev: *mut bindings::platform_device) -> kernel::ffi::c_int { in probe_callback() argument
|
| H A D | i2c.rs | 147 extern "C" fn probe_callback(idev: *mut bindings::i2c_client) -> kernel::ffi::c_int { in probe_callback() argument
|
| /linux/drivers/android/binder/ |
| H A D | rust_binder_main.rs | 55 pub fn init_rust_binderfs() -> kernel::ffi::c_int; in init_rust_binderfs() 60 pid: kernel::ffi::c_int, in rust_binderfs_create_proc_file() argument 70 pub minor: kernel::ffi::c_int, 359 ) -> kernel::ffi::c_int { in rust_binder_open() argument 394 ) -> kernel::ffi::c_int { in rust_binder_release() argument 424 ) -> kernel::ffi::c_int { in rust_binder_mmap() argument 458 ) -> kernel::ffi::c_int { in rust_binder_flush() argument 473 ) -> kernel::ffi::c_int { in rust_binder_stats_show() argument 489 ) -> kernel::ffi::c_int { in rust_binder_state_show() argument 505 ) -> kernel::ffi::c_int { in rust_binder_proc_show() argument [all …]
|
| H A D | error.rs | 45 pub(crate) fn as_errno(&self) -> kernel::ffi::c_int { in as_errno() 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/debugfs/ |
| H A D | file_ops.rs | 85 ) -> c_int { in writer_open() argument 106 ) -> c_int { in writer_act() argument 204 ) -> c_int { in 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 | 127 ) -> 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 | 60 crate::ffi::c_int,
|
| /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 {
|