Home
last modified time | relevance | path

Searched defs:htab (Results 1 – 10 of 10) sorted by relevance

/linux-6.12.1/kernel/bpf/
Dhashtab.c132 static inline bool htab_is_prealloc(const struct bpf_htab *htab) in htab_is_prealloc()
137 static void htab_init_buckets(struct bpf_htab *htab) in htab_init_buckets()
150 static inline int htab_lock_bucket(const struct bpf_htab *htab, in htab_lock_bucket()
173 static inline void htab_unlock_bucket(const struct bpf_htab *htab, in htab_unlock_bucket()
186 static bool htab_is_lru(const struct bpf_htab *htab) in htab_is_lru()
192 static bool htab_is_percpu(const struct bpf_htab *htab) in htab_is_percpu()
214 static struct htab_elem *get_htab_elem(struct bpf_htab *htab, int i) in get_htab_elem()
219 static bool htab_has_extra_elems(struct bpf_htab *htab) in htab_has_extra_elems()
224 static void htab_free_prealloced_timers_and_wq(struct bpf_htab *htab) in htab_free_prealloced_timers_and_wq()
246 static void htab_free_prealloced_fields(struct bpf_htab *htab) in htab_free_prealloced_fields()
[all …]
/linux-6.12.1/tools/testing/selftests/bpf/
Dbpf_arena_htab.h13 struct htab { struct
14 htab_bucket_t *buckets; argument
17 typedef struct htab __arena htab_t; argument
19 static inline htab_bucket_t *__select_bucket(htab_t *htab, __u32 hash) in __select_bucket()
27 static inline arena_list_head_t *select_bucket(htab_t *htab, __u32 hash) in select_bucket()
93 void htab_init(htab_t *htab) in htab_init()
/linux-6.12.1/tools/testing/selftests/bpf/prog_tests/
Darena_htab.c16 static void test_arena_htab_common(struct htab *htab) in test_arena_htab_common()
37 struct htab *htab; in test_arena_htab_llvm() local
69 struct htab *htab; in test_arena_htab_asm() local
/linux-6.12.1/net/core/
Dsock_map.c866 static struct bpf_shtab_bucket *sock_hash_select_bucket(struct bpf_shtab *htab, in sock_hash_select_bucket()
889 struct bpf_shtab *htab = container_of(map, struct bpf_shtab, map); in __sock_hash_lookup_elem() local
903 static void sock_hash_free_elem(struct bpf_shtab *htab, in sock_hash_free_elem()
913 struct bpf_shtab *htab = container_of(map, struct bpf_shtab, map); in sock_hash_delete_from_link() local
937 struct bpf_shtab *htab = container_of(map, struct bpf_shtab, map); in sock_hash_delete_elem() local
958 static struct bpf_shtab_elem *sock_hash_alloc_elem(struct bpf_shtab *htab, in sock_hash_alloc_elem()
988 struct bpf_shtab *htab = container_of(map, struct bpf_shtab, map); in sock_hash_update_common() local
1053 struct bpf_shtab *htab = container_of(map, struct bpf_shtab, map); in sock_hash_get_next_key() local
1092 struct bpf_shtab *htab; in sock_hash_alloc() local
1140 struct bpf_shtab *htab = container_of(map, struct bpf_shtab, map); in sock_hash_free() local
[all …]
/linux-6.12.1/tools/testing/selftests/bpf/progs/
Darena_htab.c29 struct htab __arena *htab; in arena_htab_llvm() local
/linux-6.12.1/drivers/s390/char/
Dsclp_rw.c41 sclp_make_buffer(void *page, unsigned short columns, unsigned short htab) in sclp_make_buffer()
Dsclp_rw.h75 unsigned short htab; member
/linux-6.12.1/arch/powerpc/kvm/
Dbook3s_32_mmu_host.c46 static ulong htab; variable
/linux-6.12.1/net/xfrm/
Dxfrm_policy.c4205 struct xfrm_policy_hash *htab; in xfrm_policy_init() local
4235 struct xfrm_policy_hash *htab; in xfrm_policy_init() local
4260 struct xfrm_policy_hash *htab; in xfrm_policy_fini() local
/linux-6.12.1/tools/testing/selftests/net/
Dbpf_offload.py1147 htab = maps[0] if maps[0]["type"] == "hash" else maps[1] variable