/linux/rust/kernel/ |
H A D | page.rs | 27 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 D | device_id.rs | 43 fn index(&self) -> usize; in index() 55 pub const fn size(&self) -> usize { in size()
|
H A D | cpufreq.rs | 187 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 D | str.rs | 18 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 D | xarray.rs | 180 fn load<F, U>(&self, index: usize, f: F) -> Option<U> in load() 228 index: usize, in store()
|
H A D | firmware.rs | 94 pub fn size(&self) -> usize { in size() 333 pub const fn build_length(self) -> usize { in build_length()
|
H A D | uaccess.rs | 200 pub fn len(&self) -> usize { in len() 308 pub fn len(&self) -> usize { in len()
|
H A D | dma.rs | 156 count: usize, in alloc_attrs() 198 count: usize, in alloc_coherent()
|
H A D | miscdevice.rs | 148 _arg: usize, in ioctl() 165 _arg: usize, in compat_ioctl()
|
H A D | configfs.rs | 586 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 D | pci.rs | 173 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 D | kvec.rs | 177 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 D | allocator_test.rs | 27 fn libc_aligned_alloc(align: usize, size: usize) -> *mut crate::ffi::c_void; in libc_aligned_alloc()
|
/linux/rust/kernel/mm/ |
H A D | virt.rs | 81 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 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() 287 size_t usize, loff_t *off) in mce_chrdev_write()
|
/linux/drivers/acpi/apei/ |
H A 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/fs/ |
H A D | nsfs.c | 131 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 D | mpih-mul.c | 322 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 D | mpi-cmp.c | 50 mpi_size_t usize, vsize; in mpi_cmp() local
|
H A 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()
|
H A 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()
|
H A D | mpi-mul.c | 18 mpi_size_t usize, vsize, wsize; in mpi_mul() local
|
H A D | mpi-add.c | 19 mpi_size_t usize, vsize, wsize; in mpi_add() local
|
/linux/tools/testing/selftests/bpf/progs/ |
H A D | test_get_stack_rawtp.c | 62 long usize, ksize; in bpf_prog1() local
|
/linux/security/ |
H A D | lsm_syscalls.c | 100 u32 usize; in SYSCALL_DEFINE3() local
|