Home
last modified time | relevance | path

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

/Linux-v5.15/kernel/bpf/
Dhashtab.c116 struct bpf_htab *htab; member
130 static inline bool htab_is_prealloc(const struct bpf_htab *htab) in htab_is_prealloc()
135 static inline bool htab_use_raw_lock(const struct bpf_htab *htab) in htab_use_raw_lock()
140 static void htab_init_buckets(struct bpf_htab *htab) in htab_init_buckets()
159 static inline int htab_lock_bucket(const struct bpf_htab *htab, in htab_lock_bucket()
183 static inline void htab_unlock_bucket(const struct bpf_htab *htab, in htab_unlock_bucket()
198 static bool htab_is_lru(const struct bpf_htab *htab) in htab_is_lru()
204 static bool htab_is_percpu(const struct bpf_htab *htab) in htab_is_percpu()
226 static struct htab_elem *get_htab_elem(struct bpf_htab *htab, int i) in get_htab_elem()
231 static bool htab_has_extra_elems(struct bpf_htab *htab) in htab_has_extra_elems()
[all …]
/Linux-v5.15/net/core/
Dsock_map.c836 static struct bpf_shtab_bucket *sock_hash_select_bucket(struct bpf_shtab *htab, in sock_hash_select_bucket()
859 struct bpf_shtab *htab = container_of(map, struct bpf_shtab, map); in __sock_hash_lookup_elem() local
873 static void sock_hash_free_elem(struct bpf_shtab *htab, in sock_hash_free_elem()
883 struct bpf_shtab *htab = container_of(map, struct bpf_shtab, map); in sock_hash_delete_from_link() local
907 struct bpf_shtab *htab = container_of(map, struct bpf_shtab, map); in sock_hash_delete_elem() local
928 static struct bpf_shtab_elem *sock_hash_alloc_elem(struct bpf_shtab *htab, in sock_hash_alloc_elem()
958 struct bpf_shtab *htab = container_of(map, struct bpf_shtab, map); in sock_hash_update_common() local
1023 struct bpf_shtab *htab = container_of(map, struct bpf_shtab, map); in sock_hash_get_next_key() local
1062 struct bpf_shtab *htab; in sock_hash_alloc() local
1112 struct bpf_shtab *htab = container_of(map, struct bpf_shtab, map); in sock_hash_free() local
[all …]
/Linux-v5.15/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-v5.15/arch/powerpc/kvm/
Dbook3s_32_mmu_host.c46 static ulong htab; variable
/Linux-v5.15/net/xfrm/
Dxfrm_policy.c4017 struct xfrm_policy_hash *htab; in xfrm_policy_init() local
4048 struct xfrm_policy_hash *htab; in xfrm_policy_init() local
4073 struct xfrm_policy_hash *htab; in xfrm_policy_fini() local
/Linux-v5.15/tools/testing/selftests/bpf/
Dtest_offload.py1209 htab = maps[0] if maps[0]["type"] == "hash" else maps[1] variable