| /linux/rust/kernel/ |
| H A D | print.rs | 10 ffi::{c_char, c_void}, 25 buf: *mut c_char, in rust_fmt_argument() 26 end: *mut c_char, in rust_fmt_argument() 28 ) -> *mut c_char { in rust_fmt_argument() 20 rust_fmt_argument( buf: *mut c_char, end: *mut c_char, ptr: *const c_void, ) -> *mut c_char rust_fmt_argument() argument 21 rust_fmt_argument( buf: *mut c_char, end: *mut c_char, ptr: *const c_void, ) -> *mut c_char rust_fmt_argument() argument 23 rust_fmt_argument( buf: *mut c_char, end: *mut c_char, ptr: *const c_void, ) -> *mut c_char rust_fmt_argument() argument
|
| H A D | str.rs | 206 pub const fn as_char_ptr_in_const_context(c_str: &CStr) -> *const c_char { 226 // core::ffi::c_char` rather than a `*const crate::ffi::c_char`. 227 unsafe fn from_char_ptr<'a>(ptr: *const c_char) -> &'a Self; 240 // core::ffi::c_char` rather than a `*const crate::ffi::c_char`. 241 fn as_char_ptr(&self) -> *const c_char; 337 unsafe fn from_char_ptr<'a>(ptr: *const c_char) -> &'a Self { 353 fn as_char_ptr(&self) -> *const c_char { in make_ascii_uppercase() 193 as_char_ptr_in_const_context(c_str: &CStr) -> *const c_char as_char_ptr_in_const_context() argument 228 as_char_ptr(&self) -> *const c_char as_char_ptr() argument 340 as_char_ptr(&self) -> *const c_char as_char_ptr() argument
|
| H A D | uaccess.rs | 12 ffi::{c_char, c_void}, 648 dst.as_mut_ptr().cast::<c_char>(), in raw_strncpy_from_user() 649 src.as_const_ptr().cast::<c_char>(), in raw_strncpy_from_user()
|
| H A D | kunit.rs | 247 const KUNIT_TEST_SUITE_NAME: [::kernel::ffi::c_char; 256] = { 261 ret[i] = name_u8[i] as ::kernel::ffi::c_char;
|
| H A D | prelude.rs | 27 c_char,
|
| H A D | configfs.rs | 345 name: *const kernel::ffi::c_char, in make_group() 551 page: *mut kernel::ffi::c_char, in show() 584 page: *const kernel::ffi::c_char, in store() 346 make_group( this: *mut bindings::config_group, name: *const kernel::ffi::c_char, ) -> *mut bindings::config_group make_group() argument 552 show( item: *mut bindings::config_item, page: *mut kernel::ffi::c_char, ) -> isize show() argument 585 store( item: *mut bindings::config_item, page: *const kernel::ffi::c_char, size: usize, ) -> isize store() argument
|
| 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() argument
|
| H A D | firmware.rs | 24 *const ffi::c_char,
|
| H A D | opp.rs | 16 ffi::{c_char, c_ulong}, 91 fn to_c_str_array(names: &[CString]) -> Result<KVec<*const c_char>> { in to_c_str_array() argument
|
| H A D | cpufreq.rs | 18 ffi::{c_char, c_ulong}, 1021 const fn copy_name(name: &'static CStr) -> [c_char; CPUFREQ_NAME_LEN] {
|
| H A D | device.rs | 410 klevel.as_ptr().cast::<crate::ffi::c_char>(), in pr_err()
|
| /linux/rust/kernel/debugfs/ |
| H A D | file_ops.rs | 148 fn read<T: Reader + Sync>(data: &T, buf: *const c_char, count: usize) -> isize { in read() 166 buf: *const c_char, in write() 225 buf: *const c_char, in write_only_write() 258 buf: *mut c_char, in blob_read() 312 buf: *const c_char, in blob_write() 140 read<T: Reader + Sync>(data: &T, buf: *const c_char, count: usize) -> isize read() argument 158 write<T: Reader + Sync>( file: *mut bindings::file, buf: *const c_char, count: usize, _ppos: *mut bindings::loff_t, ) -> isize write() argument 218 write_only_write<T: Reader + Sync>( file: *mut bindings::file, buf: *const c_char, count: usize, _ppos: *mut bindings::loff_t, ) -> isize write_only_write() argument 252 blob_read<T: BinaryWriter>( file: *mut bindings::file, buf: *mut c_char, count: usize, ppos: *mut bindings::loff_t, ) -> isize blob_read() argument 307 blob_write<T: BinaryReader>( file: *mut bindings::file, buf: *const c_char, count: usize, ppos: *mut bindings::loff_t, ) -> isize blob_write() argument
|
| /linux/rust/ |
| H A D | ffi.rs | 28 c_char = u8;
|
| /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/android/binder/ |
| H A D | rust_binder_main.rs | 338 name: *const kernel::ffi::c_char, in rust_binder_new_context() argument
|
| /linux/Documentation/rust/ |
| H A D | coding-guidelines.rst | 293 fn f(p: *const c_char) -> c_int {
|