Home
last modified time | relevance | path

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

12

/linux/rust/kernel/alloc/
H A Dvec_ext.rs
/linux/rust/kernel/
H A Dpage.rs138 with_pointer_into_page<T>( &self, off: usize, len: usize, f: impl FnOnce(*mut u8) -> Result<T>, ) -> Result<T> with_pointer_into_page() argument
139 with_pointer_into_page<T>( &self, off: usize, len: usize, f: impl FnOnce(*mut u8) -> Result<T>, ) -> Result<T> with_pointer_into_page() argument
165 read_raw(&self, dst: *mut u8, offset: usize, len: usize) -> Result read_raw() argument
187 write_raw(&self, src: *const u8, offset: usize, len: usize) -> Result write_raw() argument
207 fill_zero_raw(&self, offset: usize, len: usize) -> Result fill_zero_raw() argument
233 copy_from_user_slice_raw( &self, reader: &mut UserSliceReader, offset: usize, len: usize, ) -> Result copy_from_user_slice_raw() argument
234 copy_from_user_slice_raw( &self, reader: &mut UserSliceReader, offset: usize, len: usize, ) -> Result copy_from_user_slice_raw() argument
[all...]
H A Dstr.rs482 impl CStrIndex for usize {} implementation
19 len(&self) -> usize len() argument
158 len(&self) -> usize len() argument
164 len_with_nul(&self) -> usize len_with_nul() argument
698 bytes_written(&self) -> usize bytes_written() argument
[all...]
H A Duaccess.rs205 len(&self) -> usize len() argument
321 len(&self) -> usize len() argument
[all...]
H A Dfirmware.rs90 pub fn size(&self) -> usize { in size()
H A Dioctl.rs70 pub const fn _IOC_SIZE(nr: u32) -> usize { in _IOC_SIZE() argument
H A Dtypes.rs489 unsafe impl FromBytes for usize {} global() implementation
522 unsafe impl AsBytes for usize {} global() implementation
/linux/drivers/gpu/drm/
H A Ddrm_panic_qr.rs221 fn max_data(&self) -> usize { in max_data()
225 fn ec_size(&self) -> usize { in ec_size()
229 fn g1_blocks(&self) -> usize { in g1_blocks()
233 fn g2_blocks(&self) -> usize { in g2_blocks()
237 fn g1_blk_size(&self) -> usize { in g1_blk_size()
300 fn get_next_13b(data: &[u8], offset: usize) -> Option<(u16, usize)> { in get_next_13b() argument
335 fn get_header(&self) -> (u16, usize) { in get_header() argument
343 fn length_bits_count(&self, version: Version) -> usize { in length_bits_count()
359 fn character_count(&self) -> usize { in character_count()
374 fn get_length_field(&self, version: Version) -> (u16, usize) { in get_length_field() argument
[all …]
/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.c132 struct mnt_ns_info __user *uinfo, size_t usize, in copy_ns_info_to_user()
248 size_t usize = _IOC_SIZE(ioctl); in ns_ioctl() local
269 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/arch/x86/kernel/fpu/
H A Dxstate.c1520 unsigned int usize, struct fpu_guest *guest_fpu) in fpstate_realloc()
1589 static int validate_sigaltstack(unsigned int usize) in validate_sigaltstack()
1617 unsigned int ksize, usize; in __xstate_request_perm() local
1700 unsigned int ksize, usize; in __xfd_enable_feature() local
/linux/security/
H A Dlsm_syscalls.c100 u32 usize; in SYSCALL_DEFINE3() local
/linux/include/linux/
H A Duaccess.h383 size_t usize) in copy_struct_from_user()
479 copy_struct_to_user(void __user *dst, size_t usize, const void *src, in copy_struct_to_user()
H A Dsockptr.h88 sockptr_t src, size_t usize) in copy_struct_from_sockptr()
/linux/lib/
H A Dusercopy_kunit.c112 size_t ksize, usize; in usercopy_test_copy_struct_from_user() local
/linux/drivers/xen/
H A Dmcelog.c107 size_t usize, loff_t *off) in xen_mce_chrdev_read()
/linux/tools/perf/util/
H A Djitdump.c436 int ret, csize, usize; in jit_repipe_code_load() local
550 int usize; in jit_repipe_code_move() local

12