Home
last modified time | relevance | path

Searched refs:c_char (Results 1 – 16 of 16) sorted by relevance

/linux/rust/kernel/
H A Duaccess.rs11 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 Dkunit.rs262 const KUNIT_TEST_SUITE_NAME: [::kernel::ffi::c_char; 256] = {
276 ret[i] = name_u8[i] as ::kernel::ffi::c_char;
H A Dprelude.rs18 c_char, c_int, c_long, c_longlong, c_schar, c_short, c_uchar, c_uint, c_ulong, c_ulonglong,
H A Dstr.rs183 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 Dconfigfs.rs346 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 Dfirmware.rs17 *const ffi::c_char,
H A Ddevice.rs265 klevel.as_ptr().cast::<crate::ffi::c_char>(), in printk()
H A Dcpufreq.rs18 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 Dffi.rs26 // `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 Draw_writer.rs28 a: &'a mut [crate::ffi::c_char; N], in from_array()
/linux/rust/kernel/sync/lock/
H A Dspinlock.rs106 name: *const crate::ffi::c_char, in init() argument
/linux/tools/perf/scripts/python/
H A Dlibxed.py19 c_void_p, c_bool, c_byte, c_char, c_int, c_uint, c_longlong, c_ulonglong
H A Dexported-sql-viewer.py136 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 Dlock.rs55 name: *const crate::ffi::c_char, in init() argument
/linux/drivers/gpu/drm/
H A Ddrm_panic_qr.rs922 url: *const kernel::ffi::c_char, in drm_panic_qr_generate() argument
/linux/Documentation/rust/
H A Dcoding-guidelines.rst218 fn f(p: *const c_char) -> c_int {