Searched refs:htab (Results 1 – 10 of 10) sorted by relevance
/Linux-v4.19/kernel/bpf/ |
D | hashtab.c | 55 struct bpf_htab *htab; member 70 static bool htab_is_lru(const struct bpf_htab *htab) in htab_is_lru() argument 72 return htab->map.map_type == BPF_MAP_TYPE_LRU_HASH || in htab_is_lru() 73 htab->map.map_type == BPF_MAP_TYPE_LRU_PERCPU_HASH; in htab_is_lru() 76 static bool htab_is_percpu(const struct bpf_htab *htab) in htab_is_percpu() argument 78 return htab->map.map_type == BPF_MAP_TYPE_PERCPU_HASH || in htab_is_percpu() 79 htab->map.map_type == BPF_MAP_TYPE_LRU_PERCPU_HASH; in htab_is_percpu() 82 static bool htab_is_prealloc(const struct bpf_htab *htab) in htab_is_prealloc() argument 84 return !(htab->map.map_flags & BPF_F_NO_PREALLOC); in htab_is_prealloc() 103 static struct htab_elem *get_htab_elem(struct bpf_htab *htab, int i) in get_htab_elem() argument [all …]
|
D | sockmap.c | 281 static inline struct bucket *__select_bucket(struct bpf_htab *htab, u32 hash) in __select_bucket() argument 283 return &htab->buckets[hash & (htab->n_buckets - 1)]; in __select_bucket() 286 static inline struct hlist_head *select_bucket(struct bpf_htab *htab, u32 hash) in select_bucket() argument 288 return &__select_bucket(htab, hash)->head; in select_bucket() 291 static void free_htab_elem(struct bpf_htab *htab, struct htab_elem *l) in free_htab_elem() argument 293 atomic_dec(&htab->count); in free_htab_elem() 344 struct bpf_htab *htab = container_of(e->map, struct bpf_htab, map); in bpf_tcp_remove() local 349 b = __select_bucket(htab, link->hash); in bpf_tcp_remove() 354 htab->map.key_size); in bpf_tcp_remove() 361 free_htab_elem(htab, link); in bpf_tcp_remove() [all …]
|
/Linux-v4.19/drivers/s390/char/ |
D | sclp_rw.c | 48 sclp_make_buffer(void *page, unsigned short columns, unsigned short htab) in sclp_make_buffer() argument 66 buffer->htab = htab; in sclp_make_buffer() 242 } while (buffer->current_length % buffer->htab); in sclp_write() 352 sclp_set_htab(struct sclp_buffer *buffer, unsigned short htab) in sclp_set_htab() argument 354 buffer->htab = htab; in sclp_set_htab()
|
D | sclp_rw.h | 75 unsigned short htab; member
|
/Linux-v4.19/tools/testing/selftests/bpf/ |
D | sample_map_ret0.c | 5 struct bpf_map_def SEC("maps") htab = { 26 value = bpf_map_lookup_elem(&htab, &key); in func()
|
D | test_offload.py | 1093 htab = maps[0] if maps[0]["type"] == "hash" else maps[1] variable 1155 bpftool("map delete id %d key %s" % (htab["id"], int2str("I", i))) 1160 (htab["id"], int2str("I", i)), fail=False)
|
/Linux-v4.19/arch/powerpc/kvm/ |
D | book3s_32_mmu_host.c | 58 static ulong htab; variable 122 ulong pteg = htab; in kvmppc_mmu_get_pteg() 135 htab, hash, htabmask, pteg); in kvmppc_mmu_get_pteg() 395 htab = (ulong)__va(sdr1 & 0xffff0000); in kvmppc_mmu_init()
|
/Linux-v4.19/arch/powerpc/platforms/ps3/ |
D | Makefile | 2 obj-y += setup.o mm.o time.o hvcall.o htab.o repository.o
|
/Linux-v4.19/net/xfrm/ |
D | xfrm_policy.c | 2836 struct xfrm_policy_hash *htab; in xfrm_policy_init() local 2842 htab = &net->xfrm.policy_bydst[dir]; in xfrm_policy_init() 2843 htab->table = xfrm_hash_alloc(sz); in xfrm_policy_init() 2844 if (!htab->table) in xfrm_policy_init() 2846 htab->hmask = hmask; in xfrm_policy_init() 2847 htab->dbits4 = 32; in xfrm_policy_init() 2848 htab->sbits4 = 32; in xfrm_policy_init() 2849 htab->dbits6 = 128; in xfrm_policy_init() 2850 htab->sbits6 = 128; in xfrm_policy_init() 2866 struct xfrm_policy_hash *htab; in xfrm_policy_init() local [all …]
|
/Linux-v4.19/drivers/isdn/i4l/ |
D | isdn_bsdcomp.c | 311 static unsigned int htab[][2] = { in bsd_alloc() local 325 hsize = htab[bits - 9][0]; in bsd_alloc() 326 hshift = htab[bits - 9][1]; in bsd_alloc()
|