Home
last modified time | relevance | path

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

/linux-6.1.9/kernel/bpf/
Dbpf_struct_ops.c249 struct bpf_struct_ops_map *st_map = (struct bpf_struct_ops_map *)map; in bpf_struct_ops_map_sys_lookup_elem() local
256 kvalue = &st_map->kvalue; in bpf_struct_ops_map_sys_lookup_elem()
268 memcpy(uvalue, st_map->uvalue, map->value_size); in bpf_struct_ops_map_sys_lookup_elem()
280 static void bpf_struct_ops_map_put_progs(struct bpf_struct_ops_map *st_map) in bpf_struct_ops_map_put_progs() argument
282 const struct btf_type *t = st_map->st_ops->type; in bpf_struct_ops_map_put_progs()
286 if (st_map->links[i]) { in bpf_struct_ops_map_put_progs()
287 bpf_link_put(st_map->links[i]); in bpf_struct_ops_map_put_progs()
288 st_map->links[i] = NULL; in bpf_struct_ops_map_put_progs()
355 struct bpf_struct_ops_map *st_map = (struct bpf_struct_ops_map *)map; in bpf_struct_ops_map_update_elem() local
356 const struct bpf_struct_ops *st_ops = st_map->st_ops; in bpf_struct_ops_map_update_elem()
[all …]