Lines Matching refs:u32
84 u32 elem_size, index_mask, max_entries; in array_map_alloc()
157 static void *array_map_elem_ptr(struct bpf_array* array, u32 index) in array_map_elem_ptr()
166 u32 index = *(u32 *)key; in array_map_lookup_elem()
175 u32 off) in array_map_direct_value_addr()
189 u32 *off) in array_map_direct_value_meta()
209 u32 elem_size = array->elem_size; in array_map_gen_lookup()
241 u32 index = *(u32 *)key; in percpu_array_map_lookup_elem()
249 static void *percpu_array_map_lookup_percpu_elem(struct bpf_map *map, void *key, u32 cpu) in percpu_array_map_lookup_percpu_elem()
252 u32 index = *(u32 *)key; in percpu_array_map_lookup_percpu_elem()
266 u32 index = *(u32 *)key; in bpf_percpu_array_copy()
269 u32 size; in bpf_percpu_array_copy()
294 u32 index = key ? *(u32 *)key : U32_MAX; in array_map_get_next_key()
295 u32 *next = (u32 *)next_key; in array_map_get_next_key()
322 u32 index = *(u32 *)key; in array_map_update_elem()
361 u32 index = *(u32 *)key; in bpf_percpu_array_update()
364 u32 size; in bpf_percpu_array_update()
467 seq_printf(m, "%u: ", *(u32 *)key); in array_map_seq_show_elem()
478 u32 index = *(u32 *)key; in percpu_array_map_seq_show_elem()
484 seq_printf(m, "%u: {\n", *(u32 *)key); in percpu_array_map_seq_show_elem()
502 u32 int_data; in array_map_check_btf()
519 int_data = *(u32 *)(key_type + 1); in array_map_check_btf()
557 u32 index;
565 u32 index; in bpf_array_map_seq_start()
584 u32 index; in bpf_array_map_seq_next()
608 u32 size; in __bpf_array_map_seq_show()
656 u32 buf_size; in bpf_iter_init_array_map()
701 u32 i, key, num_elems = 0; in bpf_for_each_array_elem()
781 if (attr->value_size != sizeof(u32)) in fd_array_map_alloc_check()
807 int bpf_fd_array_map_lookup_elem(struct bpf_map *map, void *key, u32 *value) in bpf_fd_array_map_lookup_elem()
832 u32 index = *(u32 *)key, ufd; in bpf_fd_array_map_update_elem()
840 ufd = *(u32 *)value; in bpf_fd_array_map_update_elem()
863 u32 index = *(u32 *)key; in fd_array_map_delete_elem()
906 static u32 prog_fd_array_sys_lookup_elem(void *ptr) in prog_fd_array_sys_lookup_elem()
925 u32 prog_id; in prog_array_map_seq_show_elem()
933 seq_printf(m, "%u: ", *(u32 *)key); in prog_array_map_seq_show_elem()
1006 static void prog_array_map_poke_run(struct bpf_map *map, u32 key, in prog_array_map_poke_run()
1312 u32 elem_size = array->elem_size; in array_of_map_gen_lookup()