| /kernel/linux/linux-6.6/kernel/bpf/ |
| D | hashtab.c | 131 static inline bool htab_is_prealloc(const struct bpf_htab *htab) in htab_is_prealloc() 136 static void htab_init_buckets(struct bpf_htab *htab) in htab_init_buckets() 149 static inline int htab_lock_bucket(const struct bpf_htab *htab, in htab_lock_bucket() 172 static inline void htab_unlock_bucket(const struct bpf_htab *htab, in htab_unlock_bucket() 185 static bool htab_is_lru(const struct bpf_htab *htab) in htab_is_lru() 191 static bool htab_is_percpu(const struct bpf_htab *htab) in htab_is_percpu() 213 static struct htab_elem *get_htab_elem(struct bpf_htab *htab, int i) in get_htab_elem() 218 static bool htab_has_extra_elems(struct bpf_htab *htab) in htab_has_extra_elems() 223 static void htab_free_prealloced_timers(struct bpf_htab *htab) in htab_free_prealloced_timers() 242 static void htab_free_prealloced_fields(struct bpf_htab *htab) in htab_free_prealloced_fields() [all …]
|
| /kernel/linux/linux-5.10/kernel/bpf/ |
| D | hashtab.c | 111 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-6.6/net/core/ |
| D | sock_map.c | 859 static struct bpf_shtab_bucket *sock_hash_select_bucket(struct bpf_shtab *htab, in sock_hash_select_bucket() 882 struct bpf_shtab *htab = container_of(map, struct bpf_shtab, map); in __sock_hash_lookup_elem() local 896 static void sock_hash_free_elem(struct bpf_shtab *htab, in sock_hash_free_elem() 906 struct bpf_shtab *htab = container_of(map, struct bpf_shtab, map); in sock_hash_delete_from_link() local 930 struct bpf_shtab *htab = container_of(map, struct bpf_shtab, map); in sock_hash_delete_elem() local 951 static struct bpf_shtab_elem *sock_hash_alloc_elem(struct bpf_shtab *htab, in sock_hash_alloc_elem() 981 struct bpf_shtab *htab = container_of(map, struct bpf_shtab, map); in sock_hash_update_common() local 1046 struct bpf_shtab *htab = container_of(map, struct bpf_shtab, map); in sock_hash_get_next_key() local 1085 struct bpf_shtab *htab; in sock_hash_alloc() local 1133 struct bpf_shtab *htab = container_of(map, struct bpf_shtab, map); in sock_hash_free() local [all …]
|
| /kernel/linux/linux-5.10/net/core/ |
| D | sock_map.c | 881 static struct bpf_shtab_bucket *sock_hash_select_bucket(struct bpf_shtab *htab, in sock_hash_select_bucket() 904 struct bpf_shtab *htab = container_of(map, struct bpf_shtab, map); in __sock_hash_lookup_elem() local 918 static void sock_hash_free_elem(struct bpf_shtab *htab, in sock_hash_free_elem() 928 struct bpf_shtab *htab = container_of(map, struct bpf_shtab, map); in sock_hash_delete_from_link() local 952 struct bpf_shtab *htab = container_of(map, struct bpf_shtab, map); in sock_hash_delete_elem() local 973 static struct bpf_shtab_elem *sock_hash_alloc_elem(struct bpf_shtab *htab, in sock_hash_alloc_elem() 1002 struct bpf_shtab *htab = container_of(map, struct bpf_shtab, map); in sock_hash_update_common() local 1074 struct bpf_shtab *htab = container_of(map, struct bpf_shtab, map); in sock_hash_get_next_key() local 1113 struct bpf_shtab *htab; in sock_hash_alloc() local 1175 struct bpf_shtab *htab = container_of(map, struct bpf_shtab, map); in sock_hash_free() local [all …]
|
| /kernel/linux/linux-6.6/drivers/s390/char/ |
| D | sclp_rw.c | 41 sclp_make_buffer(void *page, unsigned short columns, unsigned short htab) in sclp_make_buffer()
|
| D | sclp_rw.h | 75 unsigned short htab; member
|
| /kernel/linux/linux-5.10/drivers/s390/char/ |
| D | sclp_rw.c | 48 sclp_make_buffer(void *page, unsigned short columns, unsigned short htab) in sclp_make_buffer()
|
| D | sclp_rw.h | 75 unsigned short htab; member
|
| /kernel/linux/linux-6.6/arch/powerpc/kvm/ |
| D | book3s_32_mmu_host.c | 46 static ulong htab; variable
|
| /kernel/linux/linux-5.10/arch/powerpc/kvm/ |
| D | book3s_32_mmu_host.c | 46 static ulong htab; variable
|
| /kernel/linux/linux-5.10/net/xfrm/ |
| D | xfrm_policy.c | 4085 struct xfrm_policy_hash *htab; in xfrm_policy_init() local 4116 struct xfrm_policy_hash *htab; in xfrm_policy_init() local 4141 struct xfrm_policy_hash *htab; in xfrm_policy_fini() local
|
| /kernel/linux/linux-6.6/net/xfrm/ |
| D | xfrm_policy.c | 4136 struct xfrm_policy_hash *htab; in xfrm_policy_init() local 4167 struct xfrm_policy_hash *htab; in xfrm_policy_init() local 4192 struct xfrm_policy_hash *htab; in xfrm_policy_fini() local
|
| /kernel/linux/linux-5.10/tools/testing/selftests/bpf/ |
| D | test_offload.py | 1209 htab = maps[0] if maps[0]["type"] == "hash" else maps[1] variable
|
| /kernel/linux/linux-6.6/tools/testing/selftests/bpf/ |
| D | test_offload.py | 1211 htab = maps[0] if maps[0]["type"] == "hash" else maps[1] variable
|