Home
last modified time | relevance | path

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

/DragonOS/kernel/src/bpf/map/
H A Dmod.rs263 let value_buf = UserBufferReader::new(arg.value as *const u8, value_size, true)?; in bpf_map_update_elem() localVariable
266 let value = value_buf.read_from_user(0)?; in bpf_map_update_elem()
293 let mut value_buf = UserBufferWriter::new(arg.value as *mut u8, value_size, true)?; in bpf_lookup_elem() localVariable
300 value_buf.copy_to_user(r_value, 0)?; in bpf_lookup_elem()
396 let mut value_buf = UserBufferWriter::new(arg.value as *mut u8, value_size, true)?; in bpf_map_lookup_and_delete_elem() localVariable
398 let value = value_buf.buffer(0)?; in bpf_map_lookup_and_delete_elem()