Lines Matching refs:key
458 static int cpu_map_delete_elem(struct bpf_map *map, void *key) in cpu_map_delete_elem() argument
461 u32 key_cpu = *(u32 *)key; in cpu_map_delete_elem()
471 static int cpu_map_update_elem(struct bpf_map *map, void *key, void *value, in cpu_map_update_elem() argument
478 u32 key_cpu = *(u32 *)key; in cpu_map_update_elem()
558 struct bpf_cpu_map_entry *__cpu_map_lookup_elem(struct bpf_map *map, u32 key) in __cpu_map_lookup_elem() argument
563 if (key >= map->max_entries) in __cpu_map_lookup_elem()
566 rcpu = READ_ONCE(cmap->cpu_map[key]); in __cpu_map_lookup_elem()
570 static void *cpu_map_lookup_elem(struct bpf_map *map, void *key) in cpu_map_lookup_elem() argument
573 __cpu_map_lookup_elem(map, *(u32 *)key); in cpu_map_lookup_elem()
578 static int cpu_map_get_next_key(struct bpf_map *map, void *key, void *next_key) in cpu_map_get_next_key() argument
581 u32 index = key ? *(u32 *)key : U32_MAX; in cpu_map_get_next_key()