Home
last modified time | relevance | path

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

/openbmc/linux/kernel/bpf/
H A Dbpf_local_storage.c22 struct bpf_local_storage_elem *selem) in select_bucket() argument
24 return &smap->buckets[hash_ptr(selem, smap->bucket_log)]; in select_bucket()
54 static bool selem_linked_to_storage_lockless(const struct bpf_local_storage_elem *selem) in selem_linked_to_storage_lockless() argument
56 return !hlist_unhashed_lockless(&selem->snode); in selem_linked_to_storage_lockless()
59 static bool selem_linked_to_storage(const struct bpf_local_storage_elem *selem) in selem_linked_to_storage() argument
61 return !hlist_unhashed(&selem->snode); in selem_linked_to_storage()
64 static bool selem_linked_to_map_lockless(const struct bpf_local_storage_elem *selem) in selem_linked_to_map_lockless() argument
66 return !hlist_unhashed_lockless(&selem->map_node); in selem_linked_to_map_lockless()
69 static bool selem_linked_to_map(const struct bpf_local_storage_elem *selem) in selem_linked_to_map() argument
71 return !hlist_unhashed(&selem->map_node); in selem_linked_to_map()
[all …]
/openbmc/linux/net/core/
H A Dbpf_sk_storage.c136 struct bpf_local_storage_elem *selem) in bpf_sk_storage_clone_elem() argument
146 SDATA(selem)->data, true); in bpf_sk_storage_clone_elem()
149 SDATA(selem)->data); in bpf_sk_storage_clone_elem()
158 struct bpf_local_storage_elem *selem; in bpf_sk_storage_clone() local
169 hlist_for_each_entry_rcu(selem, &sk_storage->list, snode) { in bpf_sk_storage_clone()
174 smap = rcu_dereference(SDATA(selem)->smap); in bpf_sk_storage_clone()
187 copy_selem = bpf_sk_storage_clone_elem(newsk, smap, selem); in bpf_sk_storage_clone()
587 struct bpf_local_storage_elem *selem; in bpf_sk_storage_diag_put_all() local
607 hlist_for_each_entry_rcu(selem, &sk_storage->list, snode) { in bpf_sk_storage_diag_put_all()
608 smap = rcu_dereference(SDATA(selem)->smap); in bpf_sk_storage_diag_put_all()
[all …]
/openbmc/linux/include/linux/
H A Dbpf_local_storage.h149 struct bpf_local_storage_elem *selem);
151 void bpf_selem_unlink(struct bpf_local_storage_elem *selem, bool reuse_now);
154 struct bpf_local_storage_elem *selem);
160 void bpf_selem_free(struct bpf_local_storage_elem *selem,
/openbmc/qemu/target/arm/tcg/
H A Da64.decode540 &ldst_mult rm rn rt sz q p rpt selem
542 ST_mult 0 . 001100 . 0 0 ..... 0000 .. ..... ..... @ldst_mult rpt=1 selem=4
543 ST_mult 0 . 001100 . 0 0 ..... 0010 .. ..... ..... @ldst_mult rpt=4 selem=1
544 ST_mult 0 . 001100 . 0 0 ..... 0100 .. ..... ..... @ldst_mult rpt=1 selem=3
545 ST_mult 0 . 001100 . 0 0 ..... 0110 .. ..... ..... @ldst_mult rpt=3 selem=1
546 ST_mult 0 . 001100 . 0 0 ..... 0111 .. ..... ..... @ldst_mult rpt=1 selem=1
547 ST_mult 0 . 001100 . 0 0 ..... 1000 .. ..... ..... @ldst_mult rpt=1 selem=2
548 ST_mult 0 . 001100 . 0 0 ..... 1010 .. ..... ..... @ldst_mult rpt=2 selem=1
550 LD_mult 0 . 001100 . 1 0 ..... 0000 .. ..... ..... @ldst_mult rpt=1 selem=4
551 LD_mult 0 . 001100 . 1 0 ..... 0010 .. ..... ..... @ldst_mult rpt=4 selem=1
[all …]
H A Dtranslate-a64.c3699 if (size == 3 && !a->q && a->selem != 1) { in trans_LD_mult()
3716 total = a->rpt * a->selem * (a->q ? 16 : 8); in trans_LD_mult()
3731 if (a->selem == 1 && endian == MO_LE) { in trans_LD_mult()
3746 for (xs = 0; xs < a->selem; xs++) { in trans_LD_mult()
3761 for (r = 0; r < a->rpt * a->selem; r++) { in trans_LD_mult()
3790 if (size == 3 && !a->q && a->selem != 1) { in trans_ST_mult()
3807 total = a->rpt * a->selem * (a->q ? 16 : 8); in trans_ST_mult()
3822 if (a->selem == 1 && endian == MO_LE) { in trans_ST_mult()
3837 for (xs = 0; xs < a->selem; xs++) { in trans_ST_mult()
3872 total = a->selem << a->scale; in trans_ST_single()
[all …]