Searched refs:selem (Results 1 – 5 of 5) sorted by relevance
/linux/kernel/bpf/ |
A D | bpf_local_storage.c | 72 if (selem) { in bpf_selem_alloc() 75 return selem; in bpf_selem_alloc() 131 SDATA(selem)) in bpf_selem_unlink_storage_nolock() 134 kfree_rcu(selem, rcu); in bpf_selem_unlink_storage_nolock() 225 if (!selem) in bpf_local_storage_lookup() 228 sdata = SDATA(selem); in bpf_local_storage_lookup() 353 if (!selem) in bpf_local_storage_update() 358 kfree(selem); in bpf_local_storage_update() 363 return SDATA(selem); in bpf_local_storage_update() 418 if (!selem) { in bpf_local_storage_update() [all …]
|
A D | bpf_inode_storage.c | 57 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()
|
A D | bpf_task_storage.c | 72 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()
|
/linux/net/core/ |
A D | bpf_sk_storage.c | 75 bpf_selem_unlink_map(selem); in bpf_sk_storage_free() 77 selem, true); in bpf_sk_storage_free() 747 selem = prev_selem; in bpf_sk_storage_map_seq_find_next() 749 while (selem) { in bpf_sk_storage_map_seq_find_next() 750 selem = hlist_entry_safe(rcu_dereference(hlist_next_rcu(&selem->map_node)), in bpf_sk_storage_map_seq_find_next() 752 if (!selem) { in bpf_sk_storage_map_seq_find_next() 762 return selem; in bpf_sk_storage_map_seq_find_next() 776 return selem; in bpf_sk_storage_map_seq_find_next() 794 if (!selem) in bpf_sk_storage_map_seq_start() 799 return selem; in bpf_sk_storage_map_seq_start() [all …]
|
/linux/include/linux/ |
A D | bpf_local_storage.h | 138 struct bpf_local_storage_elem *selem); 141 struct bpf_local_storage_elem *selem, 144 void bpf_selem_unlink(struct bpf_local_storage_elem *selem); 147 struct bpf_local_storage_elem *selem); 149 void bpf_selem_unlink_map(struct bpf_local_storage_elem *selem);
|
Completed in 15 milliseconds