/linux-6.12.1/rust/kernel/ |
D | init.rs | 888 fn pin_chain<F>(self, f: F) -> ChainPinInit<Self, F, T, E> in pin_chain() argument 987 fn chain<F>(self, f: F) -> ChainInit<Self, F, T, E> in chain() argument 1043 ) -> impl PinInit<T, E> { in pin_init_from_closure() 1062 ) -> impl Init<T, E> { in init_from_closure() 1070 pub fn uninit<T, E>() -> impl Init<MaybeUninit<T>, E> { in uninit() argument 1084 pub fn init_array_from_fn<I, const N: usize, T, E>( in init_array_from_fn() argument 1088 I: Init<T, E>, 1128 pub fn pin_init_array_from_fn<I, const N: usize, T, E>( in pin_init_array_from_fn() argument 1132 I: PinInit<T, E>, 1163 unsafe impl<T, E> Init<T, E> for T { implementation [all …]
|
D | list.rs | 249 pub fn push_back(&mut self, item: ListArc<T, ID>) { in push_back() 288 pub fn push_front(&mut self, item: ListArc<T, ID>) { in push_front() 327 pub fn pop_back(&mut self) -> Option<ListArc<T, ID>> { in pop_back() 339 pub fn pop_front(&mut self) -> Option<ListArc<T, ID>> { in pop_front() 356 pub unsafe fn remove(&mut self, item: &T) -> Option<ListArc<T, ID>> { in remove() 396 unsafe fn remove_internal(&mut self, item: *mut ListLinksFields) -> ListArc<T, ID> { in remove_internal() 415 ) -> ListArc<T, ID> { in remove_internal_inner() 463 pub fn push_all_back(&mut self, other: &mut List<T, ID>) { in push_all_back() 494 pub fn cursor_front(&mut self) -> Option<Cursor<'_, T, ID>> { in cursor_front() argument 506 pub fn iter(&self) -> Iter<'_, T, ID> { in iter() argument [all …]
|
D | types.rs | 81 unsafe fn borrow<'a>(ptr: *const core::ffi::c_void) -> &'a T { in borrow() 104 unsafe fn borrow<'a>(ptr: *const core::ffi::c_void) -> Pin<&'a T> { in borrow() 212 pub fn new_with_data(data: T, cleanup_func: F) -> Self { in new_with_data() 218 pub fn dismiss(mut self) -> T { in dismiss() 235 fn deref(&self) -> &T { in deref() 242 fn deref_mut(&mut self) -> &mut T { in deref_mut() 303 pub const fn get(&self) -> *mut T { in get() 311 pub const fn raw_get(this: *const Self) -> *mut T { in raw_get() 425 pub fn into_raw(me: Self) -> NonNull<T> { in into_raw() 497 unsafe impl<T: FromBytes> FromBytes for [T] {} implementation [all …]
|
D | error.rs | 137 pub(crate) fn to_ptr<T>(self) -> *mut T { in to_ptr() 273 pub(crate) fn from_err_ptr<T>(ptr: *mut T) -> Result<*mut T> { in from_err_ptr() 320 pub(crate) fn from_result<T, F>(f: F) -> T in from_result() 323 F: FnOnce() -> Result<T>, in from_result()
|
D | page.rs | 95 fn with_page_mapped<T>(&self, f: impl FnOnce(*mut u8) -> T) -> T { in with_page_mapped() 140 f: impl FnOnce(*mut u8) -> Result<T>, in with_pointer_into_page()
|
D | workqueue.rs | 212 func: T, in try_spawn() 235 fn project(self: Pin<&mut Self>) -> &mut Option<T> { in project() 456 unsafe fn raw_get_work(ptr: *mut Self) -> *mut Work<T, ID> { in raw_get_work() 467 unsafe fn work_container_of(ptr: *mut Work<T, ID>) -> *mut Self in work_container_of()
|
/linux-6.12.1/rust/kernel/alloc/ |
D | box_ext.rs | 14 fn new(x: T, flags: Flags) -> Result<Self, AllocError>; in new() 19 fn new_uninit(flags: Flags) -> Result<Box<MaybeUninit<T>>, AllocError>; in new_uninit() 37 fn drop_contents(this: Self) -> Box<MaybeUninit<T>>; in drop_contents() 41 fn new(x: T, flags: Flags) -> Result<Self, AllocError> { in new() 49 fn new_uninit(_flags: Flags) -> Result<Box<MaybeUninit<T>>, AllocError> { in new_uninit() 54 fn new_uninit(flags: Flags) -> Result<Box<MaybeUninit<T>>, AllocError> { in new_uninit() 77 fn drop_contents(this: Self) -> Box<MaybeUninit<T>> { in drop_contents()
|
D | vec_ext.rs | 35 fn push(&mut self, v: T, flags: Flags) -> Result<(), AllocError>; in push() 52 fn extend_from_slice(&mut self, other: &[T], flags: Flags) -> Result<(), AllocError> in extend_from_slice() 84 fn push(&mut self, v: T, flags: Flags) -> Result<(), AllocError> { in push() 96 fn extend_from_slice(&mut self, other: &[T], flags: Flags) -> Result<(), AllocError> in extend_from_slice() 166 fn destructure<T>(v: &mut Vec<T>) -> (*mut T, usize, usize) { in destructure() 181 unsafe fn rebuild<T>(v: &mut Vec<T>, ptr: *mut T, len: usize, cap: usize) { in rebuild()
|
/linux-6.12.1/rust/kernel/list/ |
D | arc.rs | 172 pub fn new(contents: T, flags: Flags) -> Result<Self, AllocError> { in new() 182 pub fn pin_init<E>(init: impl PinInit<T, E>, flags: Flags) -> Result<Self, E> in pin_init() 193 pub fn init<E>(init: impl Init<T, E>, flags: Flags) -> Result<Self, E> in init() 236 pub fn pair_from_unique<const ID2: u64>(unique: UniqueArc<T>) -> (Self, ListArc<T, ID2>) in pair_from_unique() 248 mut unique: Pin<UniqueArc<T>>, in pair_from_pin_unique() 249 ) -> (Self, ListArc<T, ID2>) in pair_from_pin_unique() 336 fn transmute_to_arc(self) -> Arc<T> { in transmute_to_arc() 348 pub fn into_raw(self) -> *const T { in into_raw() 370 pub fn into_arc(self) -> Arc<T> { in into_arc() 379 pub fn clone_arc(&self) -> Arc<T> { in clone_arc() [all …]
|
D | arc_field.rs | 37 pub fn get_mut(&mut self) -> &mut T { in get_mut() 47 pub unsafe fn assert_ref(&self) -> &T { in assert_ref() 60 pub unsafe fn assert_mut(&self) -> &mut T { in assert_mut()
|
/linux-6.12.1/rust/kernel/sync/ |
D | arc.rs | 148 unsafe fn container_of(ptr: *const T) -> NonNull<ArcInner<T>> { in container_of() 199 pub fn new(contents: T, flags: Flags) -> Result<Self, AllocError> { in new() 233 pub fn into_raw(self) -> *const T { in into_raw() 261 pub fn as_arc_borrow(&self) -> ArcBorrow<'_, T> { in as_arc_borrow() argument 307 pub fn into_unique_or_drop(self) -> Option<Pin<UniqueArc<T>>> { in into_unique_or_drop() 343 unsafe fn borrow<'a>(ptr: *const core::ffi::c_void) -> ArcBorrow<'a, T> { in borrow() argument 372 fn as_ref(&self) -> &T { in as_ref() 640 pub fn new(value: T, flags: Flags) -> Result<Self, AllocError> { in new() 648 pub fn new_uninit(flags: Flags) -> Result<UniqueArc<MaybeUninit<T>>, AllocError> { in new_uninit() 668 pub fn write(mut self, value: T) -> UniqueArc<T> { in write() [all …]
|
D | condvar.rs | 116 fn wait_internal<T: ?Sized, B: Backend>( in wait_internal() argument 147 pub fn wait<T: ?Sized, B: Backend>(&self, guard: &mut Guard<'_, T, B>) { in wait() argument 158 pub fn wait_interruptible<T: ?Sized, B: Backend>(&self, guard: &mut Guard<'_, T, B>) -> bool { in wait_interruptible() argument 169 pub fn wait_interruptible_timeout<T: ?Sized, B: Backend>( in wait_interruptible_timeout() argument
|
D | lock.rs | 109 pub fn new(t: T, name: &'static CStr, key: &'static LockClassKey) -> impl PinInit<Self> { in new() 124 pub fn lock(&self) -> Guard<'_, T, B> { in lock() argument 190 pub(crate) unsafe fn new(lock: &'a Lock<T, B>, state: B::GuardState) -> Self { in new()
|
/linux-6.12.1/drivers/comedi/drivers/tests/ |
D | ni_routes_test.c | 310 const struct ni_route_tables *T = &private.routing_tables; in test_ni_route_to_register() local 360 const struct ni_route_tables *T = &private.routing_tables; in test_ni_lookup_route_register() local 399 const struct ni_route_tables *T = &private.routing_tables; in test_route_is_valid() local 454 const struct ni_route_tables *T = &private.routing_tables; in test_ni_count_valid_routes() local 462 const struct ni_route_tables *T = &private.routing_tables; in test_ni_get_valid_routes() local 479 const struct ni_route_tables *T = &private.routing_tables; in test_ni_find_route_source() local 496 const struct ni_route_tables *T = &private.routing_tables; in test_route_register_is_valid() local 511 const struct ni_route_tables *T = &private.routing_tables; in test_ni_check_trigger_arg() local 544 const struct ni_route_tables *T = &private.routing_tables; in test_ni_get_reg_value() local
|
/linux-6.12.1/drivers/gpu/drm/i915/ |
D | i915_params.c | 44 #define i915_param_named(name, T, perm, desc) \ argument 47 #define i915_param_named_unsafe(name, T, perm, desc) \ argument 52 #define MEMBER(T, member, value, ...) .member = (value), argument 185 #define PRINT(T, x, ...) _param_print(p, #x, params->x); in i915_params_dump() argument 207 #define DUP(T, x, ...) _param_dup(&dest->x); in i915_params_copy() argument 226 #define FREE(T, x, ...) _param_free(¶ms->x); in i915_params_free() argument
|
D | i915_selftest.h | 89 #define i915_subtests(T, data) \ argument 93 #define i915_live_subtests(T, data) ({ \ argument 100 #define intel_gt_live_subtests(T, data) ({ \ argument
|
/linux-6.12.1/drivers/gpu/drm/i915/display/ |
D | intel_display_params.c | 9 #define intel_display_param_named(name, T, perm, desc) \ argument 12 #define intel_display_param_named_unsafe(name, T, perm, desc) \ argument 17 #define MEMBER(T, member, value, ...) .member = (value), argument 183 #define PRINT(T, x, ...) _param_print(p, display->drm->driver->name, #x, display->params.x); in intel_display_params_dump() argument 206 #define DUP(T, x, ...) _param_dup(&dest->x); in intel_display_params_copy() argument 226 #define FREE(T, x, ...) _param_free(¶ms->x); in intel_display_params_free() argument
|
/linux-6.12.1/include/linux/ |
D | overflow.h | 34 #define __type_max(T) ((T)((__type_half_max(T) - 1) + __type_half_max(T))) argument 36 #define __type_min(T) ((T)((T)-type_max(T)-(T)1)) argument 210 #define __overflows_type_constexpr(x, T) ( \ argument 217 #define __overflows_type(x, T) ({ \ argument 236 #define overflows_type(n, T) \ argument 252 #define castable_to_type(n, T) \ argument
|
/linux-6.12.1/lib/ |
D | test_scanf.c | 187 #define value_representable_in_type(T, val) \ argument 193 #define test_one_number(T, gen_fmt, scan_fmt, val, fn) \ argument 202 #define simple_numbers_loop(T, gen_fmt, scan_fmt, fn) \ argument 286 #define random_for_type(T) \ argument 352 #define numbers_list_8(T, gen_fmt, field_sep, scan_fmt, fn) \ argument 372 #define numbers_list_fix_width(T, gen_fmt, field_sep, width, scan_fmt, fn) \ argument 380 #define numbers_list_val_width(T, gen_fmt, field_sep, scan_fmt, fn) \ argument 606 #define test_number_prefix(T, str, scan_fmt, expect0, expect1, n_args, fn) \ argument 682 #define _test_simple_strtoxx(T, fn, gen_fmt, expect, base) \ argument 708 #define test_simple_strtoxx(T, fn, gen_fmt, base) \ argument
|
/linux-6.12.1/tools/testing/selftests/kvm/ |
D | guest_print_test.c | 41 #define TYPE(fn, ext, fmt_t, T) TYPE_##ext, argument 49 #define BUILD_TYPE_STRINGS_AND_HELPER(fn, ext, fmt_t, T) \ argument 64 #define TYPE(fn, ext, fmt_t, T) \ argument 73 #define TYPE(fn, ext, fmt_t, T) \ in guest_code() argument
|
/linux-6.12.1/drivers/gpu/drm/nouveau/nvkm/subdev/top/ |
D | gk104.c | 75 #define I_(T,I) do { info->type = (T); info->inst = (I); } while(0) in gk104_top_parse() argument 76 #define O_(T,I) do { WARN_ON(inst); I_(T, I); } while (0) in gk104_top_parse() argument
|
D | ga100.c | 71 #define I_(T,I) do { info->type = (T); info->inst = (I); } while(0) in ga100_top_parse() argument 72 #define O_(T,I) do { WARN_ON(inst); I_(T, I); } while (0) in ga100_top_parse() argument
|
/linux-6.12.1/drivers/ata/ |
D | libata-pata-timings.c | 61 struct ata_timing *q, int T, int UT) in ata_timing_quantize() 116 struct ata_timing *t, int T, int UT) in ata_timing_compute()
|
/linux-6.12.1/arch/loongarch/kernel/ |
D | hw_breakpoint.c | 36 #define READ_WB_REG_CASE(OFF, N, REG, T, VAL) \ argument 41 #define WRITE_WB_REG_CASE(OFF, N, REG, T, VAL) \ argument 46 #define GEN_READ_WB_REG_CASES(OFF, REG, T, VAL) \ argument 56 #define GEN_WRITE_WB_REG_CASES(OFF, REG, T, VAL) \ argument
|
/linux-6.12.1/tools/include/linux/ |
D | overflow.h | 33 #define type_max(T) ((T)((__type_half_max(T) - 1) + __type_half_max(T))) argument 34 #define type_min(T) ((T)((T)-type_max(T)-(T)1)) argument
|