Home
last modified time | relevance | path

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

/linux/kernel/bpf/
H A Dbpf_struct_ops.c1416 struct bpf_map *st_ops_assoc; in bpf_prog_assoc_struct_ops() local
1420 st_ops_assoc = rcu_dereference_protected(prog->aux->st_ops_assoc, in bpf_prog_assoc_struct_ops()
1422 if (st_ops_assoc && st_ops_assoc == map) in bpf_prog_assoc_struct_ops()
1425 if (st_ops_assoc) { in bpf_prog_assoc_struct_ops()
1429 rcu_assign_pointer(prog->aux->st_ops_assoc, BPF_PTR_POISON); in bpf_prog_assoc_struct_ops()
1433 * Bump the refcount to make sure st_ops_assoc is always valid. in bpf_prog_assoc_struct_ops()
1438 rcu_assign_pointer(prog->aux->st_ops_assoc, map); in bpf_prog_assoc_struct_ops()
1446 struct bpf_map *st_ops_assoc; in bpf_prog_disassoc_struct_ops() local
1474 struct bpf_map *st_ops_assoc; bpf_prog_get_assoc_struct_ops() local
[all...]
/linux/include/linux/
H A Dbpf.h1770 struct bpf_map __rcu *st_ops_assoc; member