Home
last modified time | relevance | path

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

/linux/kernel/bpf/
H A Dhashtab.c131 static inline bool htab_is_prealloc(const struct bpf_htab *htab) in htab_is_prealloc() argument
136 static void htab_init_buckets(struct bpf_htab *htab) in htab_init_buckets() argument
166 static bool htab_is_lru(const struct bpf_htab *htab) in htab_is_lru() argument
172 htab_is_percpu(const struct bpf_htab * htab) htab_is_percpu() argument
178 is_fd_htab(const struct bpf_htab * htab) is_fd_htab() argument
204 get_htab_elem(struct bpf_htab * htab,int i) get_htab_elem() argument
213 htab_has_extra_elems(struct bpf_htab * htab) htab_has_extra_elems() argument
218 htab_free_prealloced_timers_and_wq(struct bpf_htab * htab) htab_free_prealloced_timers_and_wq() argument
240 htab_free_prealloced_fields(struct bpf_htab * htab) htab_free_prealloced_fields() argument
270 htab_free_elems(struct bpf_htab * htab) htab_free_elems() argument
300 prealloc_lru_pop(struct bpf_htab * htab,void * key,u32 hash) prealloc_lru_pop() argument
316 prealloc_init(struct bpf_htab * htab) prealloc_init() argument
375 prealloc_destroy(struct bpf_htab * htab) prealloc_destroy() argument
385 alloc_extra_elems(struct bpf_htab * htab) alloc_extra_elems() argument
478 struct bpf_htab *htab; htab_map_alloc() local
606 __select_bucket(struct bpf_htab * htab,u32 hash) __select_bucket() argument
611 select_bucket(struct bpf_htab * htab,u32 hash) select_bucket() argument
659 struct bpf_htab *htab = container_of(map, struct bpf_htab, map); __htab_map_lookup_elem() local
763 check_and_free_fields(struct bpf_htab * htab,struct htab_elem * elem) check_and_free_fields() argument
787 struct bpf_htab *htab = arg; htab_lru_map_delete_node() local
820 struct bpf_htab *htab = container_of(map, struct bpf_htab, map); htab_map_get_next_key() local
876 htab_elem_free(struct bpf_htab * htab,struct htab_elem * l) htab_elem_free() argument
885 htab_put_fd_value(struct bpf_htab * htab,struct htab_elem * l) htab_put_fd_value() argument
896 is_map_full(struct bpf_htab * htab) is_map_full() argument
904 inc_elem_count(struct bpf_htab * htab) inc_elem_count() argument
914 dec_elem_count(struct bpf_htab * htab) dec_elem_count() argument
925 free_htab_elem(struct bpf_htab * htab,struct htab_elem * l) free_htab_elem() argument
939 pcpu_copy_value(struct bpf_htab * htab,void __percpu * pptr,void * value,bool onallcpus) pcpu_copy_value() argument
956 pcpu_init_value(struct bpf_htab * htab,void __percpu * pptr,void * value,bool onallcpus) pcpu_init_value() argument
979 fd_htab_map_needs_adjust(const struct bpf_htab * htab) fd_htab_map_needs_adjust() argument
984 alloc_htab_elem(struct bpf_htab * htab,void * key,void * value,u32 key_size,u32 hash,bool percpu,bool onallcpus,struct htab_elem * old_elem) alloc_htab_elem() argument
1063 check_flags(struct bpf_htab * htab,struct htab_elem * l_old,u64 map_flags) check_flags() argument
1081 struct bpf_htab *htab = container_of(map, struct bpf_htab, map); htab_map_update_elem() local
1179 htab_lru_push_free(struct bpf_htab * htab,struct htab_elem * elem) htab_lru_push_free() argument
1189 struct bpf_htab *htab = container_of(map, struct bpf_htab, map); htab_lru_map_update_elem() local
1257 struct bpf_htab *htab = container_of(map, struct bpf_htab, map); htab_map_update_elem_in_place() local
1321 struct bpf_htab *htab = container_of(map, struct bpf_htab, map); __htab_lru_percpu_map_update_elem() local
1403 struct bpf_htab *htab = container_of(map, struct bpf_htab, map); htab_map_delete_elem() local
1439 struct bpf_htab *htab = container_of(map, struct bpf_htab, map); htab_lru_map_delete_elem() local
1473 delete_all_elements(struct bpf_htab * htab) delete_all_elements() argument
1493 htab_free_malloced_timers_and_wq(struct bpf_htab * htab) htab_free_malloced_timers_and_wq() argument
1519 struct bpf_htab *htab = container_of(map, struct bpf_htab, map); htab_map_free_timers_and_wq() local
1533 struct bpf_htab *htab = container_of(map, struct bpf_htab, map); htab_map_free() local
1586 struct bpf_htab *htab = container_of(map, struct bpf_htab, map); __htab_map_lookup_and_delete_elem() local
1683 struct bpf_htab *htab = container_of(map, struct bpf_htab, map); __htab_map_lookup_and_delete_batch() local
1978 struct bpf_htab *htab; global() member
1988 const struct bpf_htab *htab = info->htab; bpf_hash_map_seq_find_next() local
2163 struct bpf_htab *htab = container_of(map, struct bpf_htab, map); bpf_for_each_hash_elem() local
2215 struct bpf_htab *htab = container_of(map, struct bpf_htab, map); htab_map_mem_usage() local
2403 struct bpf_htab *htab = container_of(map, struct bpf_htab, map); bpf_percpu_hash_update() local
2497 struct bpf_htab *htab = container_of(map, struct bpf_htab, map); fd_htab_map_free() local
[all...]
/linux/tools/testing/selftests/bpf/
H A Dbpf_arena_htab.h13 struct htab { struct
17 typedef struct htab __arena htab_t; argument
19 static inline htab_bucket_t *__select_bucket(htab_t *htab, __u32 hash) in __select_bucket() argument
27 static inline arena_list_head_t *select_bucket(htab_t *htab, __u32 hash) in select_bucket() argument
14 bucketshtab global() argument
93 htab_init(htab_t * htab) htab_init() argument
[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() argument
37 struct htab *htab; test_arena_htab_llvm() local
69 struct htab *htab; test_arena_htab_asm() local
[all...]
/linux/net/core/
H A Dsock_map.c872 static struct bpf_shtab_bucket *sock_hash_select_bucket(struct bpf_shtab *htab, in sock_hash_select_bucket() argument
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() argument
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); sock_hash_delete_elem() local
964 sock_hash_alloc_elem(struct bpf_shtab * htab,void * key,u32 key_size,u32 hash,struct sock * sk,struct bpf_shtab_elem * old) sock_hash_alloc_elem() argument
994 struct bpf_shtab *htab = container_of(map, struct bpf_shtab, map); sock_hash_update_common() local
1059 struct bpf_shtab *htab = container_of(map, struct bpf_shtab, map); sock_hash_get_next_key() local
1098 struct bpf_shtab *htab; sock_hash_alloc() local
1146 struct bpf_shtab *htab = container_of(map, struct bpf_shtab, map); sock_hash_free() local
1312 struct bpf_shtab *htab; global() member
1319 const struct bpf_shtab *htab = info->htab; sock_hash_seq_find_next() local
1429 struct bpf_shtab *htab = container_of(map, struct bpf_shtab, map); sock_hash_mem_usage() local
[all...]
/linux/tools/testing/selftests/bpf/progs/
H A Darena_htab.c29 struct htab __arena *htab; in arena_htab_llvm() local
[all...]
/linux/drivers/s390/char/
H A Dsclp_rw.c41 sclp_make_buffer(void *page, unsigned short columns, unsigned short htab) in sclp_make_buffer() argument
H A Dsclp_rw.h75 unsigned short htab; member
/linux/arch/powerpc/kvm/
H A Dbook3s_32_mmu_host.c46 static ulong htab; variable
/linux/net/xfrm/
H A Dxfrm_policy.c4226 struct xfrm_policy_hash *htab; in xfrm_policy_init() local
4256 struct xfrm_policy_hash *htab; in xfrm_policy_init() local
4281 struct xfrm_policy_hash *htab; xfrm_policy_fini() local
[all...]
/linux/tools/testing/selftests/net/
H A Dbpf_offload.py1163 htab = maps[0] if maps[0]["type"] == "hash" else maps[1] variable