| /OK3568_Linux_fs/u-boot/lib/ |
| H A D | hashtable.c | 66 static void _hdelete(const char *key, struct hsearch_data *htab, ENTRY *ep, 100 int hcreate_r(size_t nel, struct hsearch_data *htab) in hcreate_r() argument 103 if (htab == NULL) { in hcreate_r() 109 if (htab->table != NULL) in hcreate_r() 117 htab->size = nel; in hcreate_r() 118 htab->filled = 0; in hcreate_r() 121 htab->table = (_ENTRY *) calloc(htab->size + 1, sizeof(_ENTRY)); in hcreate_r() 122 if (htab->table == NULL) in hcreate_r() 139 void hdestroy_r(struct hsearch_data *htab) in hdestroy_r() argument 144 if (htab == NULL) { in hdestroy_r() [all …]
|
| /OK3568_Linux_fs/kernel/kernel/bpf/ |
| H A 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() argument 127 return !(htab->map.map_flags & BPF_F_NO_PREALLOC); in htab_is_prealloc() 130 static inline bool htab_use_raw_lock(const struct bpf_htab *htab) in htab_use_raw_lock() argument 132 return (!IS_ENABLED(CONFIG_PREEMPT_RT) || htab_is_prealloc(htab)); in htab_use_raw_lock() 135 static void htab_init_buckets(struct bpf_htab *htab) in htab_init_buckets() argument 139 for (i = 0; i < htab->n_buckets; i++) { in htab_init_buckets() 140 INIT_HLIST_NULLS_HEAD(&htab->buckets[i].head, i); in htab_init_buckets() 141 if (htab_use_raw_lock(htab)) in htab_init_buckets() 142 raw_spin_lock_init(&htab->buckets[i].raw_lock); in htab_init_buckets() [all …]
|
| /OK3568_Linux_fs/kernel/net/core/ |
| H A D | sock_map.c | 881 static struct bpf_shtab_bucket *sock_hash_select_bucket(struct bpf_shtab *htab, in sock_hash_select_bucket() argument 884 return &htab->buckets[hash & (htab->buckets_num - 1)]; in sock_hash_select_bucket() 904 struct bpf_shtab *htab = container_of(map, struct bpf_shtab, map); in __sock_hash_lookup_elem() local 912 bucket = sock_hash_select_bucket(htab, hash); in __sock_hash_lookup_elem() 918 static void sock_hash_free_elem(struct bpf_shtab *htab, in sock_hash_free_elem() argument 921 atomic_dec(&htab->count); in sock_hash_free_elem() 928 struct bpf_shtab *htab = container_of(map, struct bpf_shtab, map); in sock_hash_delete_from_link() local 933 bucket = sock_hash_select_bucket(htab, elem->hash); in sock_hash_delete_from_link() 945 sock_hash_free_elem(htab, elem); in sock_hash_delete_from_link() 952 struct bpf_shtab *htab = container_of(map, struct bpf_shtab, map); in sock_hash_delete_elem() local [all …]
|
| /OK3568_Linux_fs/kernel/tools/testing/selftests/bpf/progs/ |
| H A D | sample_map_ret0.c | 5 struct bpf_map_def SEC("maps") htab = { 26 value = bpf_map_lookup_elem(&htab, &key); in func()
|
| /OK3568_Linux_fs/kernel/drivers/s390/char/ |
| H A 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()
|
| H A D | sclp_rw.h | 75 unsigned short htab; member
|
| /OK3568_Linux_fs/yocto/poky/meta/recipes-support/db/db/ |
| H A D | 0001-Fix-libc-compatibility-by-renaming-atomic_init-API.patch | 93 MTX_MPOOL_FILE_BUCKET, 0, &htab[i].mtx_hash)) != 0) 95 SH_TAILQ_INIT(&htab[i].hash_bucket); 96 - atomic_init(&htab[i].hash_page_dirty, 0); 97 + __db_atomic_init(&htab[i].hash_page_dirty, 0);
|
| /OK3568_Linux_fs/prebuilts/gcc/linux-x86/arm/gcc-arm-10.3-2021.07-x86_64-arm-none-linux-gnueabihf/lib/gcc/arm-none-linux-gnueabihf/10.3.1/plugin/include/ |
| H A D | hashtab.h | 95 struct htab { struct 139 typedef struct htab *htab_t; argument
|
| H A D | valtrack.h | 71 hash_table<dead_debug_hash_descr> *htab; member
|
| H A D | line-map.h | 749 struct htab; 762 struct htab * GTY((skip)) htab;
|
| /OK3568_Linux_fs/prebuilts/gcc/linux-x86/aarch64/gcc-arm-10.3-2021.07-x86_64-aarch64-none-linux-gnu/lib/gcc/aarch64-none-linux-gnu/10.3.1/plugin/include/ |
| H A D | hashtab.h | 95 struct htab { struct 139 typedef struct htab *htab_t; argument
|
| H A D | valtrack.h | 71 hash_table<dead_debug_hash_descr> *htab; member
|
| H A D | line-map.h | 749 struct htab; 762 struct htab * GTY((skip)) htab;
|
| /OK3568_Linux_fs/kernel/arch/powerpc/kvm/ |
| H A D | book3s_32_mmu_host.c | 46 static ulong htab; variable 110 ulong pteg = htab; in kvmppc_mmu_get_pteg() 123 htab, hash, htabmask, pteg); in kvmppc_mmu_get_pteg() 383 htab = (ulong)__va(sdr1 & 0xffff0000); in kvmppc_mmu_init_pr()
|
| /OK3568_Linux_fs/kernel/arch/powerpc/platforms/ps3/ |
| H A D | Makefile | 2 obj-y += setup.o mm.o time.o hvcall.o htab.o repository.o
|
| /OK3568_Linux_fs/kernel/net/xfrm/ |
| H A D | xfrm_policy.c | 4073 struct xfrm_policy_hash *htab; in xfrm_policy_init() local 4079 htab = &net->xfrm.policy_bydst[dir]; in xfrm_policy_init() 4080 htab->table = xfrm_hash_alloc(sz); in xfrm_policy_init() 4081 if (!htab->table) in xfrm_policy_init() 4083 htab->hmask = hmask; in xfrm_policy_init() 4084 htab->dbits4 = 32; in xfrm_policy_init() 4085 htab->sbits4 = 32; in xfrm_policy_init() 4086 htab->dbits6 = 128; in xfrm_policy_init() 4087 htab->sbits6 = 128; in xfrm_policy_init() 4104 struct xfrm_policy_hash *htab; in xfrm_policy_init() local [all …]
|
| /OK3568_Linux_fs/kernel/tools/testing/selftests/bpf/ |
| H A D | test_offload.py | 1209 htab = maps[0] if maps[0]["type"] == "hash" else maps[1] variable 1271 bpftool("map delete id %d key %s" % (htab["id"], int2str("I", i))) 1276 (htab["id"], int2str("I", i)), fail=False)
|
| /OK3568_Linux_fs/prebuilts/gcc/linux-x86/aarch64/gcc-arm-10.3-2021.07-x86_64-aarch64-none-linux-gnu/aarch64-none-linux-gnu/libc/usr/share/info/ |
| H A D | libc.info-4 | 3956 Preliminary: | MT-Safe race:htab | AS-Unsafe heap | AC-Unsafe 3975 Preliminary: | MT-Safe race:htab | AS-Unsafe heap | AC-Unsafe 3986 Preliminary: | MT-Safe race:htab | AS-Safe | AC-Unsafe
|
| /OK3568_Linux_fs/prebuilts/gcc/linux-x86/arm/gcc-arm-10.3-2021.07-x86_64-arm-none-linux-gnueabihf/arm-none-linux-gnueabihf/libc/usr/share/info/ |
| H A D | libc.info-4 | 3956 Preliminary: | MT-Safe race:htab | AS-Unsafe heap | AC-Unsafe 3975 Preliminary: | MT-Safe race:htab | AS-Unsafe heap | AC-Unsafe 3986 Preliminary: | MT-Safe race:htab | AS-Safe | AC-Unsafe
|
| /OK3568_Linux_fs/prebuilts/gcc/linux-x86/arm/gcc-arm-10.3-2021.07-x86_64-arm-none-linux-gnueabihf/lib/gcc/arm-none-linux-gnueabihf/10.3.1/plugin/ |
| H A D | gtype.state | 7295 gc_unused "htab"nil 15345 (!pair "htab"
|
| /OK3568_Linux_fs/prebuilts/gcc/linux-x86/aarch64/gcc-arm-10.3-2021.07-x86_64-aarch64-none-linux-gnu/lib/gcc/aarch64-none-linux-gnu/10.3.1/plugin/ |
| H A D | gtype.state | 7293 gc_unused "htab"nil 15379 (!pair "htab"
|