/linux-6.6.21/rust/alloc/ |
D | raw_vec.rs | 131 pub fn with_capacity_in(capacity: usize, alloc: A) -> Self { in with_capacity_in() 138 pub fn try_with_capacity_in(capacity: usize, alloc: A) -> Result<Self, TryReserveError> { in try_with_capacity_in() 146 pub fn with_capacity_zeroed_in(capacity: usize, alloc: A) -> Self { in with_capacity_zeroed_in() 177 fn allocate_in(capacity: usize, init: AllocInit, alloc: A) -> Self { in allocate_in() 212 … fn try_allocate_in(capacity: usize, init: AllocInit, alloc: A) -> Result<Self, TryReserveError> { in try_allocate_in() 247 pub unsafe fn from_raw_parts_in(ptr: *mut T, capacity: usize, alloc: A) -> Self { in from_raw_parts_in() 263 pub fn capacity(&self) -> usize { in capacity() 311 pub fn reserve(&mut self, len: usize, additional: usize) { in reserve() 319 len: usize, in reserve() 320 additional: usize, in reserve() [all …]
|
D | alloc.rs | 30 fn __rust_alloc(size: usize, align: usize) -> *mut u8; in __rust_alloc() 33 fn __rust_dealloc(ptr: *mut u8, size: usize, align: usize); in __rust_dealloc() 36 fn __rust_realloc(ptr: *mut u8, old_size: usize, align: usize, new_size: usize) -> *mut u8; in __rust_realloc() 39 fn __rust_alloc_zeroed(size: usize, align: usize) -> *mut u8; in __rust_alloc_zeroed() 330 unsafe fn exchange_malloc(size: usize, align: usize) -> *mut u8 { in exchange_malloc() 345 fn __rust_alloc_error_handler(size: usize, align: usize) -> !; in __rust_alloc_error_handler() 390 pub unsafe fn __rdl_oom(size: usize, _align: usize) -> ! { in __rdl_oom()
|
D | boxed.rs | 764 pub fn new_uninit_slice_in(len: usize, alloc: A) -> Box<[mem::MaybeUninit<T>], A> { in new_uninit_slice_in() 792 pub fn new_zeroed_slice_in(len: usize, alloc: A) -> Box<[mem::MaybeUninit<T>], A> { in new_zeroed_slice_in() 1413 fn write_usize(&mut self, i: usize) { in write_usize() 1434 fn write_length_prefix(&mut self, len: usize) { in write_length_prefix() 1947 fn size_hint(&self) -> (usize, Option<usize>) { in size_hint() 1995 fn len(&self) -> usize { in len() 2159 fn size_hint(&self) -> (usize, Option<usize>) { in size_hint()
|
/linux-6.6.21/rust/alloc/vec/ |
D | mod.rs | 643 pub unsafe fn from_raw_parts(ptr: *mut T, length: usize, capacity: usize) -> Self { in from_raw_parts() 727 pub fn with_capacity_in(capacity: usize, alloc: A) -> Self { in with_capacity_in() 787 pub fn try_with_capacity_in(capacity: usize, alloc: A) -> Result<Self, TryReserveError> { in try_with_capacity_in() 901 pub unsafe fn from_raw_parts_in(ptr: *mut T, length: usize, capacity: usize, alloc: A) -> Self { in from_raw_parts_in() 938 pub fn into_raw_parts(self) -> (*mut T, usize, usize) { in into_raw_parts() argument 982 pub fn into_raw_parts_with_alloc(self) -> (*mut T, usize, usize, A) { in into_raw_parts_with_alloc() argument 1003 pub fn capacity(&self) -> usize { in capacity() 1026 pub fn reserve(&mut self, additional: usize) { in reserve() 1056 pub fn reserve_exact(&mut self, additional: usize) { in reserve_exact() 1185 pub fn shrink_to(&mut self, min_capacity: usize) { in shrink_to() [all …]
|
D | set_len_on_drop.rs | 20 pub(super) fn increment_len(&mut self, increment: usize) { in increment_len() 25 pub(super) fn current_len(&self) -> usize { in current_len()
|
D | extract_if.rs | 87 fn size_hint(&self) -> (usize, Option<usize>) { in size_hint()
|
D | into_iter.rs | 209 fn size_hint(&self) -> (usize, Option<usize>) { in size_hint() 237 fn count(self) -> usize { in count()
|
D | drain.rs | 162 fn size_hint(&self) -> (usize, Option<usize>) { in size_hint()
|
/linux-6.6.21/arch/x86/kernel/cpu/mce/ |
D | dev-mcelog.c | 162 static int __mce_read_apei(char __user **ubuf, size_t usize) in __mce_read_apei() 203 size_t usize, loff_t *off) in mce_chrdev_read() 294 size_t usize, loff_t *off) in mce_chrdev_write()
|
/linux-6.6.21/lib/crypto/mpi/ |
D | mpi-add.c | 23 mpi_size_t usize, wsize; in mpi_add_ui() local 70 mpi_size_t usize, vsize, wsize; in mpi_add() local
|
D | mpih-mul.c | 347 mpi_ptr_t up, mpi_size_t usize, in mpihelp_mul_karatsuba_case() 452 mpihelp_mul(mpi_ptr_t prodp, mpi_ptr_t up, mpi_size_t usize, in mpihelp_mul()
|
D | generic_mpih-rshift.c | 29 mpihelp_rshift(mpi_ptr_t wp, mpi_ptr_t up, mpi_size_t usize, unsigned cnt) in mpihelp_rshift()
|
D | generic_mpih-lshift.c | 28 mpihelp_lshift(mpi_ptr_t wp, mpi_ptr_t up, mpi_size_t usize, unsigned int cnt) in mpihelp_lshift()
|
D | mpi-cmp.c | 50 mpi_size_t usize; in do_mpi_cmp() local
|
D | mpi-mul.c | 18 mpi_size_t usize, vsize, wsize; in mpi_mul() local
|
D | mpiutil.c | 253 mpi_size_t usize = u->nlimbs; in mpi_set() local
|
/linux-6.6.21/drivers/acpi/apei/ |
D | erst-dbg.c | 83 size_t usize, loff_t *off) in erst_dbg_read() 153 size_t usize, loff_t *off) in erst_dbg_write()
|
/linux-6.6.21/rust/kernel/ |
D | str.rs | 68 pub const fn len(&self) -> usize { in len() 74 pub const fn len_with_nul(&self) -> usize { in len_with_nul() 315 impl CStrIndex for usize {} implementation 453 pub(crate) fn bytes_written(&self) -> usize { in bytes_written()
|
D | ioctl.rs | 70 pub const fn _IOC_SIZE(nr: u32) -> usize { in _IOC_SIZE()
|
D | init.rs | 1019 pub fn init_array_from_fn<I, const N: usize, T, E>( in init_array_from_fn() 1063 pub fn pin_init_array_from_fn<I, const N: usize, T, E>( in pin_init_array_from_fn()
|
/linux-6.6.21/arch/x86/kernel/fpu/ |
D | xstate.c | 1499 unsigned int usize, struct fpu_guest *guest_fpu) in fpstate_realloc() 1568 static int validate_sigaltstack(unsigned int usize) in validate_sigaltstack() 1596 unsigned int ksize, usize; in __xstate_request_perm() local 1679 unsigned int ksize, usize; in __xfd_enable_feature() local
|
/linux-6.6.21/tools/testing/selftests/bpf/progs/ |
D | test_get_stack_rawtp.c | 62 long usize, ksize; in bpf_prog1() local
|
/linux-6.6.21/lib/ |
D | test_user_copy.c | 110 size_t ksize, usize; in test_copy_struct_from_user() local
|
/linux-6.6.21/drivers/xen/ |
D | mcelog.c | 107 size_t usize, loff_t *off) in xen_mce_chrdev_read()
|
/linux-6.6.21/security/landlock/ |
D | syscalls.c | 49 const size_t usize) in copy_min_struct_from_user()
|