Home
last modified time | relevance | path

Searched refs:read_from_user (Results 1 – 6 of 6) sorted by relevance

/DragonOS/kernel/src/bpf/map/
H A Dmod.rs265 let key = key_buf.read_from_user(0)?; in bpf_map_update_elem()
266 let value = value_buf.read_from_user(0)?; in bpf_map_update_elem()
295 let key = key_buf.read_from_user(0)?; in bpf_lookup_elem()
322 let key = key_buf.read_from_user(0)?.to_vec(); in bpf_map_get_next_key()
352 let key = key_buf.read_from_user(0)?; in bpf_map_delete_elem()
399 let key = key_buf.read_from_user(0)?; in bpf_map_lookup_and_delete_elem()
/DragonOS/kernel/src/bpf/prog/
H A Dutil.rs92 let insns = insns_buf.read_from_user::<u8>(0)?.to_vec(); in try_from()
/DragonOS/kernel/src/syscall/
H A Duser_access.rs189 pub fn read_from_user<T>(&self, offset: usize) -> Result<&[T], SystemError> { in read_from_user() method
H A Dmod.rs177 let user_buf = user_buffer_reader.read_from_user(0)?; in handle()
210 let buf = user_buffer_reader.read_from_user(0)?; in handle()
/DragonOS/kernel/src/filesystem/vfs/
H A Dsyscall.rs1765 let times = times_reader.read_from_user::<PosixTimeSpec>(0)?; in sys_utimensat()
1782 let times = times_reader.read_from_user::<PosixTimeval>(0)?; in sys_utimes()
/DragonOS/kernel/src/mm/
H A Ducontext.rs554 let old_buf: &[u8] = old_buffer_reader.read_from_user(0)?; in mremap()