Home
last modified time | relevance | path

Searched refs:name (Results 1 – 11 of 11) sorted by relevance

/rust/kernel/init/
Dmacros.rs536 $vis:vis struct $name:ident
557 @name($name),
585 @name($name:ident),
607 @name($name),
623 @name($name:ident),
640 @name($name),
656 @name($name:ident),
673 @name($name),
689 @name($name:ident),
705 @name($name),
[all …]
/rust/kernel/sync/lock/
Dspinlock.rs15 ($inner:expr $(, $name:literal)? $(,)?) => {
17 $inner, $crate::optional_name!($($name)?), $crate::static_lock_class!())
99 name: *const core::ffi::c_char, in init()
104 unsafe { bindings::__spin_lock_init(ptr, name, key) } in init()
Dmutex.rs15 ($inner:expr $(, $name:literal)? $(,)?) => {
17 $inner, $crate::optional_name!($($name)?), $crate::static_lock_class!())
100 name: *const core::ffi::c_char, in init()
105 unsafe { bindings::__mutex_init(ptr, name, key) } in init()
/rust/kernel/sync/
Dcondvar.rs16 ($($name:literal)?) => {
17 $crate::sync::CondVar::new($crate::optional_name!($($name)?), $crate::static_lock_class!())
95 pub fn new(name: &'static CStr, key: &'static LockClassKey) -> impl PinInit<Self> { in new()
101 bindings::__init_waitqueue_head(slot, name.as_char_ptr(), key.as_ptr()) in new()
Dlock.rs42 name: *const core::ffi::c_char, in init()
103 pub fn new(t: T, name: &'static CStr, key: &'static LockClassKey) -> impl PinInit<Self> { in new()
110 B::init(slot, name.as_char_ptr(), key.as_ptr()) in new()
/rust/kernel/
Dkunit.rs52 ($name:literal, $file:literal, $diff:expr, $condition:expr $(,)?) => {
75 $name
158 ($name:literal, $file:literal, $diff:expr, $left:expr, $right:expr $(,)?) => {{
161 $crate::kunit_assert!($name, $file, $diff, $left == $right);
Dsync.rs57 ($name:literal) => {
58 $crate::c_str!($name)
Derror.rs142 pub fn name(&self) -> Option<&'static CStr> { in name() method
159 pub fn name(&self) -> Option<&'static CStr> { in name() method
166 match self.name() { in fmt()
170 Some(name) => f in fmt()
171 .debug_tuple(unsafe { core::str::from_utf8_unchecked(name) }) in fmt()
/rust/macros/
Dmodule.rs96 name: String, field
129 "name" => info.name = expect_string_ascii(it), in parse()
176 let mut modinfo = ModInfoBuilder::new(info.name.as_ref()); in module()
341 name = info.name, in module()
/rust/
Dhelpers.c46 void rust_helper___spin_lock_init(spinlock_t *lock, const char *name, in rust_helper___spin_lock_init() argument
50 __raw_spin_lock_init(spinlock_check(lock), name, key, LD_WAIT_CONFIG); in rust_helper___spin_lock_init()
DMakefile80 --crate-name $(subst rustdoc-,,$@) \
98 $(Q)find $(rustdoc_output) -name '*.html' -type f -print0 | xargs -0 sed -Ei \
144 --crate-name $(subst rusttest-,,$(subst rusttestlib-,,$@)) $<
168 --crate-name $(subst rusttest-,,$@) $<
179 --no-run --crate-name kernel -Zunstable-options \
200 --crate-name $(subst rusttest-,,$@) $<; \
387 --crate-name $(patsubst lib%.so,%,$(notdir $@)) $<
403 --crate-name $(patsubst %.o,%,$(notdir $@)) $< \