• Home
  • Raw
  • Download

Lines Matching refs:key

163 static void *array_map_lookup_elem(struct bpf_map *map, void *key)  in array_map_lookup_elem()  argument
166 u32 index = *(u32 *)key; in array_map_lookup_elem()
238 static void *percpu_array_map_lookup_elem(struct bpf_map *map, void *key) in percpu_array_map_lookup_elem() argument
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() argument
252 u32 index = *(u32 *)key; in percpu_array_map_lookup_percpu_elem()
263 int bpf_percpu_array_copy(struct bpf_map *map, void *key, void *value) in bpf_percpu_array_copy() argument
266 u32 index = *(u32 *)key; in bpf_percpu_array_copy()
291 static int array_map_get_next_key(struct bpf_map *map, void *key, void *next_key) in array_map_get_next_key() argument
294 u32 index = key ? *(u32 *)key : U32_MAX; in array_map_get_next_key()
318 static int array_map_update_elem(struct bpf_map *map, void *key, void *value, in array_map_update_elem() argument
322 u32 index = *(u32 *)key; in array_map_update_elem()
357 int bpf_percpu_array_update(struct bpf_map *map, void *key, void *value, in bpf_percpu_array_update() argument
361 u32 index = *(u32 *)key; in bpf_percpu_array_update()
397 static int array_map_delete_elem(struct bpf_map *map, void *key) in array_map_delete_elem() argument
453 static void array_map_seq_show_elem(struct bpf_map *map, void *key, in array_map_seq_show_elem() argument
460 value = array_map_lookup_elem(map, key); in array_map_seq_show_elem()
467 seq_printf(m, "%u: ", *(u32 *)key); in array_map_seq_show_elem()
474 static void percpu_array_map_seq_show_elem(struct bpf_map *map, void *key, in percpu_array_map_seq_show_elem() argument
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()
618 ctx.key = &info->index; in __bpf_array_map_seq_show()
701 u32 i, key, num_elems = 0; in bpf_for_each_array_elem() local
720 key = i; in bpf_for_each_array_elem()
721 ret = callback_fn((u64)(long)map, (u64)(long)&key, in bpf_for_each_array_elem()
801 static void *fd_array_map_lookup_elem(struct bpf_map *map, void *key) in fd_array_map_lookup_elem() argument
807 int bpf_fd_array_map_lookup_elem(struct bpf_map *map, void *key, u32 *value) in bpf_fd_array_map_lookup_elem() argument
816 elem = array_map_lookup_elem(map, key); in bpf_fd_array_map_lookup_elem()
828 void *key, void *value, u64 map_flags) in bpf_fd_array_map_update_elem() argument
832 u32 index = *(u32 *)key, ufd; in bpf_fd_array_map_update_elem()
859 static int fd_array_map_delete_elem(struct bpf_map *map, void *key) in fd_array_map_delete_elem() argument
863 u32 index = *(u32 *)key; in fd_array_map_delete_elem()
921 static void prog_array_map_seq_show_elem(struct bpf_map *map, void *key, in prog_array_map_seq_show_elem() argument
929 elem = array_map_lookup_elem(map, key); 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() argument
1047 poke->tail_call.key != key) in prog_array_map_poke_run()
1298 static void *array_of_map_lookup_elem(struct bpf_map *map, void *key) in array_of_map_lookup_elem() argument
1300 struct bpf_map **inner_map = array_map_lookup_elem(map, key); in array_of_map_lookup_elem()