/linux/rust/kernel/ |
H A D | uaccess.rs | 11 ffi::{c_char, c_void}, 492 dst.as_mut_ptr().cast::<c_char>(), in raw_strncpy_from_user() 493 src.as_const_ptr().cast::<c_char>(), in raw_strncpy_from_user()
|
H A D | kunit.rs | 262 const KUNIT_TEST_SUITE_NAME: [::kernel::ffi::c_char; 256] = { 276 ret[i] = name_u8[i] as ::kernel::ffi::c_char;
|
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 | str.rs | 183 pub const fn as_char_ptr_in_const_context(c_str: &CStr) -> *const c_char { in as_char_ptr_in_const_context() argument 244 pub unsafe fn from_char_ptr<'a>(ptr: *const c_char) -> &'a Self { in from_char_ptr() 311 pub const fn as_char_ptr(&self) -> *const c_char { in as_char_ptr() argument
|
H A D | configfs.rs | 346 name: *const kernel::ffi::c_char, in make_group() argument 552 page: *mut kernel::ffi::c_char, in show() argument 585 page: *const kernel::ffi::c_char, in store() argument
|
H A D | firmware.rs | 17 *const ffi::c_char,
|
H A D | device.rs | 265 klevel.as_ptr().cast::<crate::ffi::c_char>(), in printk()
|
H A D | cpufreq.rs | 18 ffi::{c_char, c_ulong}, 1020 const fn copy_name(name: &'static CStr) -> [c_char; CPUFREQ_NAME_LEN] { in copy_name()
|
/linux/rust/ |
H A D | ffi.rs | 26 // `core::ffi::c_char` is either `i8` or `u8` depending on architecture. In the kernel, we use 28 c_char = u8;
|
/linux/rust/kernel/block/mq/ |
H A D | raw_writer.rs | 28 a: &'a mut [crate::ffi::c_char; N], in from_array()
|
/linux/rust/kernel/sync/lock/ |
H A D | spinlock.rs | 106 name: *const crate::ffi::c_char, in init() argument
|
/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
|
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 2667 self.buffer = Array(c_char, self.buffer_size, lock=False)
|
/linux/rust/kernel/sync/ |
H A D | lock.rs | 55 name: *const crate::ffi::c_char, in init() argument
|
/linux/drivers/gpu/drm/ |
H A D | drm_panic_qr.rs | 922 url: *const kernel::ffi::c_char, in drm_panic_qr_generate() argument
|
/linux/Documentation/rust/ |
H A D | coding-guidelines.rst | 218 fn f(p: *const c_char) -> c_int {
|