Home
last modified time | relevance | path

Searched defs:usize (Results 1 – 25 of 42) sorted by relevance

12

/openbmc/linux/rust/alloc/
H A Draw_vec.rs131 pub fn with_capacity_in(capacity: usize, alloc: A) -> Self { in with_capacity_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()
334 pub fn reserve_for_push(&mut self, len: usize) { in reserve_for_push()
371 pub fn reserve_exact(&mut self, len: usize, additional: usize) { in reserve_exact()
378 len: usize, in try_reserve_exact()
379 additional: usize, in try_reserve_exact()
395 pub fn shrink_to_fit(&mut self, cap: usize) { in shrink_to_fit()
[all …]
H A Dalloc.rs30 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()
H A Dboxed.rs764 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()
/openbmc/linux/rust/alloc/vec/
H A Dmod.rs938 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
1516 fn assert_failed(index: usize, len: usize) -> ! { in swap_remove()
1557 fn assert_failed(index: usize, len: usize) -> ! { in insert()
1619 fn assert_failed(index: usize, len: usize) -> ! { in remove()
1745 original_len: usize, in retain_mut()
2132 R: RangeBounds<usize>, in drain()
2202 pub fn len(&self) -> usize { in len()
2250 fn assert_failed(at: usize, len: usize) -> ! { in split_off()
2630 R: RangeBounds<usize>, in extend_from_within()
[all …]
H A Dset_len_on_drop.rs20 pub(super) fn increment_len(&mut self, increment: usize) { in increment_len()
25 pub(super) fn current_len(&self) -> usize { in current_len()
H A Dextract_if.rs87 fn size_hint(&self) -> (usize, Option<usize>) { in size_hint()
H A Dinto_iter.rs209 fn size_hint(&self) -> (usize, Option<usize>) { in size_hint()
237 fn count(self) -> usize { in count()
H A Ddrain.rs162 fn size_hint(&self) -> (usize, Option<usize>) { in size_hint()
/openbmc/linux/arch/x86/kernel/cpu/mce/
H A Ddev-mcelog.c162 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()
/openbmc/linux/lib/crypto/mpi/
H A Dmpi-add.c23 mpi_size_t usize, wsize; in mpi_add_ui() local
70 mpi_size_t usize, vsize, wsize; in mpi_add() local
H A Dgeneric_mpih-lshift.c28 mpihelp_lshift(mpi_ptr_t wp, mpi_ptr_t up, mpi_size_t usize, unsigned int cnt) in mpihelp_lshift()
H A Dgeneric_mpih-rshift.c29 mpihelp_rshift(mpi_ptr_t wp, mpi_ptr_t up, mpi_size_t usize, unsigned cnt) in mpihelp_rshift()
H A Dmpih-mul.c347 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()
H A Dmpi-cmp.c50 mpi_size_t usize; in do_mpi_cmp() local
H A Dmpi-mul.c18 mpi_size_t usize, vsize, wsize; in mpi_mul() local
H A Dmpiutil.c253 mpi_size_t usize = u->nlimbs; in mpi_set() local
/openbmc/linux/drivers/acpi/apei/
H A Derst-dbg.c83 size_t usize, loff_t *off) in erst_dbg_read()
153 size_t usize, loff_t *off) in erst_dbg_write()
/openbmc/linux/rust/kernel/
H A Dstr.rs68 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()
H A Dioctl.rs70 pub const fn _IOC_SIZE(nr: u32) -> usize { in _IOC_SIZE()
H A Dinit.rs1019 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()
/openbmc/linux/tools/testing/selftests/bpf/progs/
H A Dtest_get_stack_rawtp.c62 long usize, ksize; in bpf_prog1() local
/openbmc/linux/arch/x86/kernel/fpu/
H A Dxstate.c1500 unsigned int usize, struct fpu_guest *guest_fpu) in fpstate_realloc()
1569 static int validate_sigaltstack(unsigned int usize) in validate_sigaltstack()
1597 unsigned int ksize, usize; in __xstate_request_perm() local
1680 unsigned int ksize, usize; in __xfd_enable_feature() local
/openbmc/linux/lib/
H A Dtest_user_copy.c110 size_t ksize, usize; in test_copy_struct_from_user() local
/openbmc/linux/drivers/xen/
H A Dmcelog.c107 size_t usize, loff_t *off) in xen_mce_chrdev_read()
/openbmc/linux/security/landlock/
H A Dsyscalls.c61 const size_t usize) in copy_min_struct_from_user()

12