Home
last modified time | relevance | path

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

12

/linux/rust/kernel/
H A Dpage.rs27 pub const fn page_align(addr: usize) -> usize { in page_align()
147 off: usize, in with_pointer_into_page()
148 len: usize, in with_pointer_into_page()
174 pub unsafe fn read_raw(&self, dst: *mut u8, offset: usize, len: usize) -> Result { in read_raw()
196 pub unsafe fn write_raw(&self, src: *const u8, offset: usize, len: usize) -> Result { in write_raw()
216 pub unsafe fn fill_zero_raw(&self, offset: usize, len: usize) -> Result { in fill_zero_raw()
242 offset: usize, in copy_from_user_slice_raw()
243 len: usize, in copy_from_user_slice_raw()
H A Ddevice_id.rs43 fn index(&self) -> usize; in index()
55 pub const fn size(&self) -> usize { in size()
H A Dcpufreq.rs187 impl From<TableIndex> for usize { implementation
795 fn adjust_perf(_policy: &mut Policy, _min_perf: usize, _target_perf: usize, _capacity: usize) { in adjust_perf()
1267 min_perf: usize, in adjust_perf_callback()
1268 target_perf: usize, in adjust_perf_callback()
1269 capacity: usize, in adjust_perf_callback()
H A Dstr.rs18 pub const fn len(&self) -> usize { in len()
205 pub const fn len(&self) -> usize { in len()
211 pub const fn len_with_nul(&self) -> usize { in len_with_nul()
533 impl CStrIndex for usize {} implementation
762 pub(crate) fn bytes_written(&self) -> usize { in bytes_written()
H A Dxarray.rs180 fn load<F, U>(&self, index: usize, f: F) -> Option<U> in load()
228 index: usize, in store()
H A Dfirmware.rs94 pub fn size(&self) -> usize { in size()
333 pub const fn build_length(self) -> usize { in build_length()
H A Duaccess.rs200 pub fn len(&self) -> usize { in len()
308 pub fn len(&self) -> usize { in len()
H A Ddma.rs156 count: usize, in alloc_attrs()
198 count: usize, in alloc_coherent()
H A Dmiscdevice.rs148 _arg: usize, in ioctl()
165 _arg: usize, in compat_ioctl()
H A Dconfigfs.rs586 size: usize, in store()
655 fn show(data: &Self::Data, page: &mut [u8; PAGE_SIZE]) -> Result<usize>; in show()
709 pub const unsafe fn add<const I: usize, const ID: u64, O>( in add()
H A Dpci.rs173 fn index(&self) -> usize { in index()
327 unsafe fn do_release(pdev: &Device, ioptr: usize, num: i32) { in do_release()
/linux/rust/kernel/alloc/
H A Dkvec.rs177 pub fn capacity(&self) -> usize { in capacity()
187 pub fn len(&self) -> usize { in len()
198 pub unsafe fn inc_len(&mut self, additional: usize) { in inc_len()
383 index: usize, in insert_within_capacity()
487 pub fn with_capacity(capacity: usize, flags: Flags) -> Result<Self, AllocError> { in with_capacity()
536 pub unsafe fn from_raw_parts(ptr: *mut T, length: usize, capacity: usize) -> Self { in from_raw_parts()
562 pub fn into_raw_parts(self) -> (*mut T, usize, usize) { in into_raw_parts() argument
608 pub fn reserve(&mut self, additional: usize, flags: Flags) -> Result<(), AllocError> { in reserve()
663 pub fn truncate(&mut self, len: usize) { in truncate()
725 pub fn extend_with(&mut self, n: usize, value: T, flags: Flags) -> Result<(), AllocError> { in extend_with()
[all …]
H A Dallocator_test.rs27 fn libc_aligned_alloc(align: usize, size: usize) -> *mut crate::ffi::c_void; in libc_aligned_alloc()
/linux/rust/kernel/mm/
H A Dvirt.rs81 pub fn start(&self) -> usize { in start()
89 pub fn end(&self) -> usize { in end()
116 pub fn zap_page_range_single(&self, address: usize, size: usize) { in zap_page_range_single()
194 pub fn vm_insert_page(&self, address: usize, page: &Page) -> Result { in vm_insert_page()
/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()
287 size_t usize, loff_t *off) in mce_chrdev_write()
/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()
/linux/fs/
H A Dnsfs.c131 struct mnt_ns_info __user *uinfo, size_t usize, in copy_ns_info_to_user()
277 size_t usize = _IOC_SIZE(ioctl); in ns_ioctl() local
298 size_t usize = _IOC_SIZE(ioctl); in ns_ioctl() local
/linux/lib/crypto/mpi/
H A Dmpih-mul.c322 mpi_ptr_t up, mpi_size_t usize, in mpihelp_mul_karatsuba_case()
427 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, vsize; in mpi_cmp() 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 Dmpi-mul.c18 mpi_size_t usize, vsize, wsize; in mpi_mul() local
H A Dmpi-add.c19 mpi_size_t usize, vsize, wsize; in mpi_add() local
/linux/tools/testing/selftests/bpf/progs/
H A Dtest_get_stack_rawtp.c62 long usize, ksize; in bpf_prog1() local
/linux/security/
H A Dlsm_syscalls.c100 u32 usize; in SYSCALL_DEFINE3() local

12