/linux-6.3-rc2/rust/alloc/ |
A D | slice.rs | 167 pub fn into_vec<T, A: Allocator>(b: Box<[T], A>) -> Vec<T, A> { in into_vec() argument 177 pub fn to_vec<T: ConvertVec, A: Allocator>(s: &[T], alloc: A) -> Vec<T, A> { in to_vec() argument 226 impl<T: Copy> ConvertVec for T { implementation 243 impl<T> [T] { implementation 840 fn borrow(&self) -> &[T] { in borrow() 854 impl<T: Clone> ToOwned for [T] { implementation 857 fn to_owned(&self) -> Vec<T> { in to_owned() 862 fn to_owned(&self) -> Vec<T> { in to_owned() 888 fn insert_head<T, F>(v: &mut [T], is_less: &mut F) in insert_head() 960 unsafe fn merge<T, F>(v: &mut [T], mid: usize, buf: *mut T, is_less: &mut F) in merge() [all …]
|
A D | boxed.rs | 265 pub fn pin(x: T) -> Pin<Box<T>> { in pin() 1030 pub fn into_raw(b: Self) -> *mut T { in into_raw() 1414 fn from(boxed: Box<T, A>) -> Self { in from() 1435 fn from(slice: &[T]) -> Box<[T]> { in from() 1556 fn from(array: [T; N]) -> Box<[T]> { in from() 1790 fn deref(&self) -> &T { in deref() 1798 fn deref_mut(&mut self) -> &mut T { in deref_mut() 1832 fn some<T>(_: Option<T>, x: T) -> Option<T> { in last() 1927 fn borrow(&self) -> &T { in borrow() 1941 fn as_ref(&self) -> &T { in as_ref() [all …]
|
A D | raw_vec.rs | 163 pub unsafe fn into_box(self, len: usize) -> Box<[MaybeUninit<T>], A> { in into_box() 248 pub unsafe fn from_raw_parts_in(ptr: *mut T, capacity: usize, alloc: A) -> Self { in from_raw_parts_in() 256 pub fn ptr(&self) -> *mut T { in ptr() 313 fn do_reserve_and_handle<T, A: Allocator>( in reserve() 314 slf: &mut RawVec<T, A>, in reserve()
|
A D | alloc.rs | 336 pub(crate) const unsafe fn box_free<T: ?Sized, A: ~const Allocator + ~const Destruct>( in box_free() 425 impl<T: Clone> WriteCloneIntoRaw for T { implementation 434 impl<T: Copy> WriteCloneIntoRaw for T { implementation
|
/linux-6.3-rc2/rust/alloc/vec/ |
A D | mod.rs | 1623 fn process_loop<F, T, A: Allocator, const DELETED: bool>( in retain_mut() argument 2134 F: FnMut() -> T, in resize_with() 2273 pub fn split_at_spare_mut(&mut self) -> (&mut [T], &mut [MaybeUninit<T>]) { in split_at_spare_mut() 2285 ) -> (&mut [T], &mut [MaybeUninit<T>], &mut usize) { in split_at_spare_mut_with_len() 2453 fn next(&mut self) -> T; in next() 2454 fn last(self) -> T; in last() 2462 fn last(self) -> T { in last() 2472 fn last(mut self) -> T { in last() 2538 pub fn from_elem<T: Clone>(elem: T, n: usize) -> Vec<T> { in from_elem() 2545 pub fn from_elem_in<T: Clone, A: Allocator>(elem: T, n: usize, alloc: A) -> Vec<T, A> { in from_elem_in() argument [all …]
|
A D | into_iter.rs | 66 pub fn as_slice(&self) -> &[T] { in as_slice() 84 pub fn as_mut_slice(&mut self) -> &mut [T] { in as_mut_slice() 95 fn as_raw_mut_slice(&mut self) -> *mut [T] { in as_raw_mut_slice() 137 fn as_ref(&self) -> &[T] { in as_ref() 152 fn next(&mut self) -> Option<T> { in next() 230 fn next_back(&mut self) -> Option<T> { in next_back() 291 impl<T: Copy> NonDrop for T {} implementation
|
A D | drain.rs | 59 pub fn as_slice(&self) -> &[T] { in as_slice() 74 fn as_ref(&self) -> &[T] { in as_ref() 89 fn next(&mut self) -> Option<T> { in next() 101 fn next_back(&mut self) -> Option<T> { in next_back()
|
A D | is_zero.rs | 40 unsafe impl<T> IsZero for *const T { implementation 47 unsafe impl<T> IsZero for *mut T { implementation
|
/linux-6.3-rc2/drivers/comedi/drivers/tests/ |
A 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.3-rc2/rust/kernel/ |
A D | types.rs | 73 unsafe fn borrow<'a>(ptr: *const core::ffi::c_void) -> &'a T { in borrow() 175 pub fn new_with_data(data: T, cleanup_func: F) -> Self { in new_with_data() 181 pub fn dismiss(mut self) -> T { in dismiss() 198 fn deref(&self) -> &T { in deref() 205 fn deref_mut(&mut self) -> &mut T { in deref_mut() 238 pub fn get(&self) -> *mut T { in get()
|
/linux-6.3-rc2/drivers/gpu/drm/i915/ |
A 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 272 #define PRINT(T, x, ...) _param_print(p, #x, params->x); in i915_params_dump() argument 294 #define DUP(T, x, ...) _param_dup(&dest->x); in i915_params_copy() argument 313 #define FREE(T, x, ...) _param_free(¶ms->x); in i915_params_free() argument
|
A 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.3-rc2/include/linux/ |
A D | overflow.h | 34 #define type_max(T) ((T)((__type_half_max(T) - 1) + __type_half_max(T))) argument 35 #define type_min(T) ((T)((T)-type_max(T)-(T)1)) argument 131 #define __overflows_type_constexpr(x, T) ( \ argument 138 #define __overflows_type(x, T) ({ \ argument 157 #define overflows_type(n, T) \ argument 173 #define castable_to_type(n, T) \ argument
|
/linux-6.3-rc2/lib/ |
A 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.3-rc2/drivers/gpu/drm/nouveau/nvkm/subdev/top/ |
A D | gk104.c | 73 #define I_(T,I) do { info->type = (T); info->inst = (I); } while(0) in gk104_top_parse() argument 74 #define O_(T,I) do { WARN_ON(inst); I_(T, I); } while (0) in gk104_top_parse() argument
|
A D | ga100.c | 69 #define I_(T,I) do { info->type = (T); info->inst = (I); } while(0) in ga100_top_parse() argument 70 #define O_(T,I) do { WARN_ON(inst); I_(T, I); } while (0) in ga100_top_parse() argument
|
/linux-6.3-rc2/drivers/ata/ |
A 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.3-rc2/arch/loongarch/kernel/ |
A 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.3-rc2/include/uapi/linux/ |
A D | const.h | 18 #define _AT(T,X) X argument 22 #define _AT(T,X) ((T)(X)) argument
|
/linux-6.3-rc2/tools/include/uapi/linux/ |
A D | const.h | 18 #define _AT(T,X) X argument 22 #define _AT(T,X) ((T)(X)) argument
|
/linux-6.3-rc2/tools/include/linux/ |
A 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
|
/linux-6.3-rc2/arch/x86/include/asm/ |
A D | kvm_para.h | 150 #define kvm_async_pf_task_wait_schedule(T) do {} while(0) argument 151 #define kvm_async_pf_task_wake(T) do {} while(0) argument
|
/linux-6.3-rc2/rust/kernel/sync/ |
A D | arc.rs | 188 pub fn as_arc_borrow(&self) -> ArcBorrow<'_, T> { in as_arc_borrow() argument 203 unsafe fn borrow<'a>(ptr: *const core::ffi::c_void) -> ArcBorrow<'a, T> { in borrow() argument 490 pub fn write(mut self, value: T) -> UniqueArc<T> { in write()
|
/linux-6.3-rc2/drivers/net/wireless/intel/iwlwifi/dvm/ |
A D | power.c | 55 #define ASLP_TOUT(T) cpu_to_le32(T) argument 57 #define SLP_TOUT(T) cpu_to_le32((T) * TU_TO_USEC) argument
|
/linux-6.3-rc2/arch/loongarch/include/asm/ |
A D | hw_breakpoint.h | 57 #define LOONGARCH_CSR_WATCH_READ(N, REG, T, VAL) \ argument 65 #define LOONGARCH_CSR_WATCH_WRITE(N, REG, T, VAL) \ argument
|