Searched refs:to_vec (Results 1 – 14 of 14) sorted by relevance
45 self.data.put(key.to_vec(), value.to_vec()); in update_elem()
47 self.data.insert(key.to_vec(), value.to_vec()); in update_elem()
132 self.push(value.to_vec(), flag) in update_elem()
322 let key = key_buf.read_from_user(0)?.to_vec(); in bpf_map_get_next_key()
92 let insns = insns_buf.read_from_user::<u8>(0)?.to_vec(); in try_from()
118 .flat_map(|ins| ins.to_vec()) in relocation()
43 EbpfVmRawOwned::new(Some(prog_slice.to_vec())).map_err(|_| SystemError::EINVAL)?; in do_set_bpf_prog()
2103 let mut mem = TCP_SACK_MATCH.to_vec(); in test_cranelift_tcp_sack_match()2115 let mut mem = TCP_SACK_NOMATCH.to_vec(); in test_cranelift_tcp_sack_nomatch()
601 assert_eq!(assemble(TCP_SACK_ASM), Ok(TCP_SACK_BIN.to_vec())); in test_tcp_sack()
2873 let mut mem = TCP_SACK_MATCH.to_vec(); in test_jit_tcp_sack_match()2884 let mut mem = TCP_SACK_NOMATCH.to_vec(); in test_jit_tcp_sack_nomatch()
2658 let mut mem = TCP_SACK_MATCH.to_vec(); in test_vm_tcp_sack_match()2666 let mut mem = TCP_SACK_NOMATCH.to_vec(); in test_vm_tcp_sack_nomatch()
202 vc_data.font.data = font.data.to_vec(); in con_init()681 fbcon_data.cursor_state.image.data = vc_data.font.data[char_offset..].to_vec(); in cursor()795 .to_vec(); in cursor()
150 data[index * BLOCK_SIZE..(index + 1) * BLOCK_SIZE].to_vec(), in insert()
508 pub fn to_vec(&self) -> Vec<u8> { in to_vec() method