Home
last modified time | relevance | path

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

/openbmc/linux/tools/testing/selftests/bpf/progs/
H A Dtest_btf_map_in_map.c81 struct outer_hash { struct
90 } outer_hash SEC(".maps") = {
135 inner_map = bpf_map_lookup_elem(&outer_hash, &key); in handle__sys_enter()
H A Dlsm.c73 struct outer_hash { struct
78 } outer_hash SEC(".maps") = {
148 inner_map = bpf_map_lookup_elem(&outer_hash, &key); in BPF_PROG()
/openbmc/linux/net/sched/
H A Dsch_cake.c805 u32 outer_hash = reduced_hash - inner_hash; in cake_hash() local
815 if (q->tags[outer_hash + k] == flow_hash) { in cake_hash()
819 if (!q->flows[outer_hash + k].set) { in cake_hash()
834 if (!q->flows[outer_hash + k].set) { in cake_hash()
849 if (q->flows[outer_hash + k].set == CAKE_SET_BULK) { in cake_hash()
850 cake_dec_srchost_bulk_flow_count(q, &q->flows[outer_hash + k], flow_mode); in cake_hash()
851 cake_dec_dsthost_bulk_flow_count(q, &q->flows[outer_hash + k], flow_mode); in cake_hash()
855 reduced_hash = outer_hash + k; in cake_hash()
861 outer_hash = srchost_idx - inner_hash; in cake_hash()
864 if (q->hosts[outer_hash + k].srchost_tag == in cake_hash()
[all …]
/openbmc/linux/tools/testing/selftests/bpf/prog_tests/
H A Dbtf_map_in_map.c45 outer_hash_fd = bpf_map__fd(skel->maps.outer_hash); in test_lookup_update()