Home
last modified time | relevance | path

Searched refs:c_str (Results 1 – 17 of 17) sorted by relevance

/linux-6.15/tools/perf/util/
H A Dllvm-c-helpers.cpp63 *file = strdup(line_info.FileName.c_str()); in extract_file_and_line()
112 dst.filename = strdup(src.FileName.c_str()); in llvm_addr2line()
113 dst.funcname = strdup(src.FunctionName.c_str()); in llvm_addr2line()
176 dso, res_or_err->FunctionName.c_str(), in llvm_name_for_code()
194 dso, res_or_err->Name.c_str(), in llvm_name_for_data()
/linux-6.15/drivers/net/phy/
H A Dax88796b_rust.rs8 c_str,
44 const NAME: &'static CStr = c_str!("Asix Electronics AX88772A");
108 const NAME: &'static CStr = c_str!("Asix Electronics AX88772C");
128 const NAME: &'static CStr = c_str!("Asix Electronics AX88796B");
H A Dqt2025.rs12 use kernel::c_str;
39 const NAME: &'static CStr = c_str!("QT2025 10Gpbs SFP+");
72 let fw = Firmware::request(c_str!("qt2025-2.0.3.3.fw"), dev.as_ref())?; in probe()
/linux-6.15/samples/rust/
H A Drust_driver_faux.rs5 use kernel::{c_str, faux, prelude::*, Module};
23 let reg = faux::Registration::new(c_str!("rust-faux-sample-device"), None)?; in init()
H A Drust_driver_platform.rs5 use kernel::{c_str, device::Core, of, platform, prelude::*, types::ARef};
17 [(of::DeviceId::new(c_str!("test,rust-device")), Info(42))]
H A Drust_driver_pci.rs7 use kernel::{bindings, c_str, device::Core, devres::Devres, pci, prelude::*, types::ARef};
76 let bar = pdev.iomap_region_sized::<{ Regs::END }>(0, c_str!("rust_driver_pci"))?; in probe()
H A Drust_misc_device.rs101 c_str,
136 name: c_str!("rust-misc-device"), in init()
/linux-6.15/rust/kernel/
H A Dseq_file.rs7 use crate::{bindings, c_str, types::NotThreadSafe, types::Opaque};
39 c_str!("%pA").as_char_ptr(), in call_printf()
H A Dsync.rs109 $crate::c_str!(::core::concat!(::core::file!(), ":", ::core::line!()))
112 $crate::c_str!($name)
H A Ddevice.rs15 use crate::c_str;
179 c_str!("%pA").as_char_ptr(), in printk()
H A Dkunit.rs61 static FILE: &'static $crate::str::CStr = $crate::c_str!($file);
63 static CONDITION: &'static $crate::str::CStr = $crate::c_str!(stringify!($condition));
H A Dfirmware.rs199 $crate::c_str!("")
H A Dstr.rs564 macro_rules! c_str { macro
/linux-6.15/drivers/gpu/nova-core/
H A Ddriver.rs3 use kernel::{bindings, c_str, device::Core, pci, prelude::*};
36 let bar = pdev.iomap_region_sized::<BAR0_SIZE>(0, c_str!("nova-core/bar0"))?; in probe()
/linux-6.15/tools/testing/selftests/bpf/
H A Dtest_cpp.cpp92 fprintf(stderr, "Unexpected program name: %s\n", prog_name.c_str()); in try_skeleton_template()
/linux-6.15/drivers/target/iscsi/
H A Discsi_target_auth.c40 char *c_str, in chap_gen_challenge() argument
62 *c_len += sprintf(c_str + *c_len, "CHAP_C=0x%s", challenge_asciihex); in chap_gen_challenge()
/linux-6.15/rust/kernel/sync/lock/
H A Dglobal.rs270 const NAME: &'static $crate::str::CStr = $crate::c_str!(::core::stringify!($name));