Home
last modified time | relevance | path

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

/linux/tools/testing/selftests/bpf/
H A Dbpf_arena_htab.h13 struct htab { struct
14 bucketshtab global() argument
17 n_bucketshtab global() argument
19 __select_bucket(htab_t * htab,__u32 hash) __select_bucket() argument
27 select_bucket(htab_t * htab,__u32 hash) select_bucket() argument
93 htab_init(htab_t * htab) htab_init() argument
[all...]
/linux/kernel/bpf/
H A Dhashtab.c134 static inline bool htab_is_prealloc(const struct bpf_htab *htab) in htab_is_prealloc()
139 static void htab_init_buckets(struct bpf_htab *htab) in htab_init_buckets()
169 static bool htab_is_lru(const struct bpf_htab *htab) in htab_is_lru()
175 static bool htab_is_percpu(const struct bpf_htab *htab) in htab_is_percpu()
181 static inline bool is_fd_htab(const struct bpf_htab *htab) in is_fd_htab()
207 static struct htab_elem *get_htab_elem(struct bpf_htab *htab, int i) in get_htab_elem()
216 static bool htab_has_extra_elems(struct bpf_htab *htab) in htab_has_extra_elems()
221 static void htab_free_prealloced_internal_structs(struct bpf_htab *htab) in htab_free_prealloced_internal_structs()
239 static void htab_free_prealloced_fields(struct bpf_htab *htab) in htab_free_prealloced_fields()
273 static void htab_free_elems(struct bpf_htab *htab) in htab_free_elems()
[all …]
/linux/tools/testing/selftests/bpf/prog_tests/
H A 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/net/core/
H A Dsock_map.c874 static struct bpf_shtab_bucket *sock_hash_select_bucket(struct bpf_shtab *htab, in sock_hash_select_bucket()
897 struct bpf_shtab *htab = container_of(map, struct bpf_shtab, map); in __sock_hash_lookup_elem() local
911 static void sock_hash_free_elem(struct bpf_shtab *htab, in sock_hash_free_elem()
921 struct bpf_shtab *htab = container_of(map, struct bpf_shtab, map); in sock_hash_delete_from_link() local
945 struct bpf_shtab *htab = container_of(map, struct bpf_shtab, map); in sock_hash_delete_elem() local
966 static struct bpf_shtab_elem *sock_hash_alloc_elem(struct bpf_shtab *htab, in sock_hash_alloc_elem()
996 struct bpf_shtab *htab = container_of(map, struct bpf_shtab, map); in sock_hash_update_common() local
1061 struct bpf_shtab *htab = container_of(map, struct bpf_shtab, map); in sock_hash_get_next_key() local
1100 struct bpf_shtab *htab; in sock_hash_alloc() local
1148 struct bpf_shtab *htab = container_of(map, struct bpf_shtab, map); in sock_hash_free() local
[all …]
/linux/tools/testing/selftests/bpf/progs/
H A Darena_htab.c29 struct htab __arena *htab; in arena_htab_llvm() local
/linux/drivers/s390/char/
H A Dsclp_rw.c41 sclp_make_buffer(void *page, unsigned short columns, unsigned short htab) in sclp_make_buffer()
H A Dsclp_rw.h75 unsigned short htab; member
/linux/net/xfrm/
H A Dxfrm_policy.c4233 struct xfrm_policy_hash *htab; in xfrm_policy_init() local
4263 struct xfrm_policy_hash *htab; in xfrm_policy_init() local
4292 struct xfrm_policy_hash *htab; in xfrm_policy_fini() local
/linux/tools/testing/selftests/net/
H A Dbpf_offload.py1163 htab = maps[0] if maps[0]["type"] == "hash" else maps[1] variable