Home
last modified time | relevance | path

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

/kernel/bpf/
Dbpf_local_storage.c19 struct bpf_local_storage_elem *selem) in select_bucket() argument
21 return &smap->buckets[hash_ptr(selem, smap->bucket_log)]; in select_bucket()
51 static bool selem_linked_to_storage_lockless(const struct bpf_local_storage_elem *selem) in selem_linked_to_storage_lockless() argument
53 return !hlist_unhashed_lockless(&selem->snode); in selem_linked_to_storage_lockless()
56 static bool selem_linked_to_storage(const struct bpf_local_storage_elem *selem) in selem_linked_to_storage() argument
58 return !hlist_unhashed(&selem->snode); in selem_linked_to_storage()
61 static bool selem_linked_to_map_lockless(const struct bpf_local_storage_elem *selem) in selem_linked_to_map_lockless() argument
63 return !hlist_unhashed_lockless(&selem->map_node); in selem_linked_to_map_lockless()
66 static bool selem_linked_to_map(const struct bpf_local_storage_elem *selem) in selem_linked_to_map() argument
68 return !hlist_unhashed(&selem->map_node); in selem_linked_to_map()
[all …]
Dbpf_inode_storage.c57 struct bpf_local_storage_elem *selem; in bpf_inode_storage_free() local
85 hlist_for_each_entry_safe(selem, n, &local_storage->list, snode) { in bpf_inode_storage_free()
89 bpf_selem_unlink_map(selem); in bpf_inode_storage_free()
91 local_storage, selem, false); in bpf_inode_storage_free()
Dbpf_task_storage.c72 struct bpf_local_storage_elem *selem; in bpf_task_storage_free() local
97 hlist_for_each_entry_safe(selem, n, &local_storage->list, snode) { in bpf_task_storage_free()
101 bpf_selem_unlink_map(selem); in bpf_task_storage_free()
103 local_storage, selem, false); in bpf_task_storage_free()