Lines Matching defs:usize
29 pub unsafe fn clear_user(dest: VirtAddr, len: usize) -> Result<usize, SystemError> { in clear_user()
38 pub unsafe fn copy_to_user(dest: VirtAddr, src: &[u8]) -> Result<usize, SystemError> { in copy_to_user()
48 pub unsafe fn copy_from_user(dst: &mut [u8], src: VirtAddr) -> Result<usize, SystemError> { in copy_from_user()
77 max_length: Option<usize>, in check_and_clone_cstr()
171 pub fn new<U>(addr: *const U, len: usize, from_user: bool) -> Result<Self, SystemError> { in new()
180 pub fn size(&self) -> usize { in size()
209 offset: usize, in copy_from_user()
210 ) -> Result<usize, SystemError> { in copy_from_user()
224 offset: usize, in copy_one_from_user()
279 pub fn new<U>(addr: *mut U, len: usize, from_user: bool) -> Result<Self, SystemError> { in new()
288 pub fn size(&self) -> usize { in size()
301 offset: usize, in copy_to_user()
302 ) -> Result<usize, SystemError> { in copy_to_user()
317 offset: usize, in copy_one_to_user()