Home
last modified time | relevance | path

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

/kernel/linux/linux-4.19/kernel/bpf/
Dhashtab.c55 struct bpf_htab *htab; member
70 static bool htab_is_lru(const struct bpf_htab *htab) in htab_is_lru()
76 static bool htab_is_percpu(const struct bpf_htab *htab) in htab_is_percpu()
82 static bool htab_is_prealloc(const struct bpf_htab *htab) in htab_is_prealloc()
103 static struct htab_elem *get_htab_elem(struct bpf_htab *htab, int i) in get_htab_elem()
108 static void htab_free_elems(struct bpf_htab *htab) in htab_free_elems()
127 static struct htab_elem *prealloc_lru_pop(struct bpf_htab *htab, void *key, in prealloc_lru_pop()
142 static int prealloc_init(struct bpf_htab *htab) in prealloc_init()
200 static void prealloc_destroy(struct bpf_htab *htab) in prealloc_destroy()
210 static int alloc_extra_elems(struct bpf_htab *htab) in alloc_extra_elems()
[all …]
Dsockmap.c281 static inline struct bucket *__select_bucket(struct bpf_htab *htab, u32 hash) in __select_bucket()
286 static inline struct hlist_head *select_bucket(struct bpf_htab *htab, u32 hash) in select_bucket()
291 static void free_htab_elem(struct bpf_htab *htab, struct htab_elem *l) in free_htab_elem()
344 struct bpf_htab *htab = container_of(e->map, struct bpf_htab, map); in bpf_tcp_remove() local
2054 struct bpf_htab *htab = container_of(map, struct bpf_htab, map); in sock_map_prog() local
2153 struct bpf_htab *htab = container_of(map, struct bpf_htab, map); in sock_map_release() local
2172 struct bpf_htab *htab; in sock_hash_alloc() local
2241 struct bpf_htab *htab; in __bpf_htab_free() local
2250 struct bpf_htab *htab = container_of(map, struct bpf_htab, map); in sock_hash_free() local
2294 static struct htab_elem *alloc_sock_hash_elem(struct bpf_htab *htab, in alloc_sock_hash_elem()
[all …]
/kernel/linux/linux-5.10/kernel/bpf/
Dhashtab.c111 struct bpf_htab *htab; member
125 static inline bool htab_is_prealloc(const struct bpf_htab *htab) in htab_is_prealloc()
130 static inline bool htab_use_raw_lock(const struct bpf_htab *htab) in htab_use_raw_lock()
135 static void htab_init_buckets(struct bpf_htab *htab) in htab_init_buckets()
148 static inline unsigned long htab_lock_bucket(const struct bpf_htab *htab, in htab_lock_bucket()
160 static inline void htab_unlock_bucket(const struct bpf_htab *htab, in htab_unlock_bucket()
172 static bool htab_is_lru(const struct bpf_htab *htab) in htab_is_lru()
178 static bool htab_is_percpu(const struct bpf_htab *htab) in htab_is_percpu()
200 static struct htab_elem *get_htab_elem(struct bpf_htab *htab, int i) in get_htab_elem()
205 static void htab_free_elems(struct bpf_htab *htab) in htab_free_elems()
[all …]
/kernel/linux/linux-5.10/net/core/
Dsock_map.c872 static struct bpf_shtab_bucket *sock_hash_select_bucket(struct bpf_shtab *htab, in sock_hash_select_bucket()
895 struct bpf_shtab *htab = container_of(map, struct bpf_shtab, map); in __sock_hash_lookup_elem() local
909 static void sock_hash_free_elem(struct bpf_shtab *htab, in sock_hash_free_elem()
919 struct bpf_shtab *htab = container_of(map, struct bpf_shtab, map); in sock_hash_delete_from_link() local
943 struct bpf_shtab *htab = container_of(map, struct bpf_shtab, map); in sock_hash_delete_elem() local
964 static struct bpf_shtab_elem *sock_hash_alloc_elem(struct bpf_shtab *htab, in sock_hash_alloc_elem()
993 struct bpf_shtab *htab = container_of(map, struct bpf_shtab, map); in sock_hash_update_common() local
1065 struct bpf_shtab *htab = container_of(map, struct bpf_shtab, map); in sock_hash_get_next_key() local
1104 struct bpf_shtab *htab; in sock_hash_alloc() local
1166 struct bpf_shtab *htab = container_of(map, struct bpf_shtab, map); in sock_hash_free() local
[all …]
/kernel/linux/linux-4.19/drivers/s390/char/
Dsclp_rw.c48 sclp_make_buffer(void *page, unsigned short columns, unsigned short htab) in sclp_make_buffer()
352 sclp_set_htab(struct sclp_buffer *buffer, unsigned short htab) in sclp_set_htab()
Dsclp_rw.h75 unsigned short htab; member
/kernel/linux/linux-5.10/drivers/s390/char/
Dsclp_rw.c48 sclp_make_buffer(void *page, unsigned short columns, unsigned short htab) in sclp_make_buffer()
Dsclp_rw.h75 unsigned short htab; member
/kernel/linux/linux-5.10/arch/powerpc/kvm/
Dbook3s_32_mmu_host.c46 static ulong htab; variable
/kernel/linux/linux-4.19/arch/powerpc/kvm/
Dbook3s_32_mmu_host.c58 static ulong htab; variable
/kernel/linux/linux-4.19/drivers/isdn/i4l/
Disdn_bsdcomp.c311 static unsigned int htab[][2] = { in bsd_alloc() local
/kernel/linux/linux-4.19/net/xfrm/
Dxfrm_policy.c2838 struct xfrm_policy_hash *htab; in xfrm_policy_init() local
2868 struct xfrm_policy_hash *htab; in xfrm_policy_init() local
2892 struct xfrm_policy_hash *htab; in xfrm_policy_fini() local
/kernel/linux/linux-5.10/net/xfrm/
Dxfrm_policy.c4045 struct xfrm_policy_hash *htab; in xfrm_policy_init() local
4076 struct xfrm_policy_hash *htab; in xfrm_policy_init() local
4101 struct xfrm_policy_hash *htab; in xfrm_policy_fini() local
/kernel/linux/linux-4.19/tools/testing/selftests/bpf/
Dtest_offload.py1093 htab = maps[0] if maps[0]["type"] == "hash" else maps[1] variable
/kernel/linux/linux-5.10/tools/testing/selftests/bpf/
Dtest_offload.py1209 htab = maps[0] if maps[0]["type"] == "hash" else maps[1] variable