Home
last modified time | relevance | path

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

/DragonOS/kernel/src/bpf/map/
H A Dmod.rs262 let key_buf = UserBufferReader::new(arg.key as *const u8, key_size, true)?; in bpf_map_update_elem() localVariable
265 let key = key_buf.read_from_user(0)?; in bpf_map_update_elem()
292 let key_buf = UserBufferReader::new(arg.key as *const u8, key_size, true)?; in bpf_lookup_elem() localVariable
295 let key = key_buf.read_from_user(0)?; in bpf_lookup_elem()
321 let key_buf = UserBufferReader::new(key_ptr as *const u8, key_size, true)?; in bpf_map_get_next_key() localVariable
322 let key = key_buf.read_from_user(0)?.to_vec(); in bpf_map_get_next_key()
351 let key_buf = UserBufferReader::new(arg.key as *const u8, key_size, true)?; in bpf_map_delete_elem() localVariable
352 let key = key_buf.read_from_user(0)?; in bpf_map_delete_elem()
395 let key_buf = UserBufferReader::new(arg.key as *const u8, key_size, true)?; in bpf_map_lookup_and_delete_elem() localVariable
399 let key = key_buf.read_from_user(0)?; in bpf_map_lookup_and_delete_elem()