Home
last modified time | relevance | path

Searched refs:hash_table (Results 1 – 25 of 68) sorted by relevance

123

/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 Dhash-table.h374 class hash_table
380 explicit hash_table (size_t, bool ggc = false,
385 explicit hash_table (const hash_table &, bool ggc = false,
390 ~hash_table ();
393 static hash_table *
396 hash_table *table = ggc_alloc<hash_table> ();
397 new (table) hash_table (n, true, sanitize_eq_and_hash, GATHER_STATISTICS,
512 void operator= (hash_table&);
514 template<typename T> friend void gt_ggc_mx (hash_table<T> *);
515 template<typename T> friend void gt_pch_nx (hash_table<T> *);
[all …]
H A Dhash-set.h88 for (typename hash_table<Traits, Lazy>::iterator iter = m_table.begin (); in traverse()
107 explicit iterator (const typename hash_table<Traits, in iterator()
130 typename hash_table<Traits, Lazy>::iterator m_iter;
148 hash_table<Traits, Lazy> m_table;
H A Dtree-ssa-scopedtables.h130 avail_exprs_stack (hash_table<expr_elt_hasher> *table) in avail_exprs_stack()
146 hash_table<expr_elt_hasher> *avail_exprs (void) in avail_exprs()
157 hash_table<expr_elt_hasher> *m_avail_exprs;
H A Dhash-map.h221 for (typename hash_table<hash_entry>::iterator iter = m_table.begin (); in class()
230 for (typename hash_table<hash_entry>::iterator iter = m_table.begin (); in class()
246 explicit iterator (const typename hash_table<hash_entry>::iterator &iter) : in class()
282 typename hash_table<hash_entry>::iterator m_iter; in class()
297 hash_table<hash_entry> m_table; in class()
H A Dgimple-ssa.h96 hash_table<ssa_name_hasher> *default_defs;
114 hash_table<tm_restart_hasher> *tm_restart;
H A Dlibfuncs.h61 hash_table<libfunc_hasher> *GTY(()) x_libfunc_hash;
H A Dtree-hasher.h64 typedef hash_table <int_tree_hasher> int_tree_htab_type;
/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 Dhash-table.h374 class hash_table
380 explicit hash_table (size_t, bool ggc = false,
385 explicit hash_table (const hash_table &, bool ggc = false,
390 ~hash_table ();
393 static hash_table *
396 hash_table *table = ggc_alloc<hash_table> ();
397 new (table) hash_table (n, true, sanitize_eq_and_hash, GATHER_STATISTICS,
512 void operator= (hash_table&);
514 template<typename T> friend void gt_ggc_mx (hash_table<T> *);
515 template<typename T> friend void gt_pch_nx (hash_table<T> *);
[all …]
H A Dhash-set.h88 for (typename hash_table<Traits, Lazy>::iterator iter = m_table.begin (); in traverse()
107 explicit iterator (const typename hash_table<Traits, in iterator()
130 typename hash_table<Traits, Lazy>::iterator m_iter;
148 hash_table<Traits, Lazy> m_table;
H A Dtree-ssa-scopedtables.h130 avail_exprs_stack (hash_table<expr_elt_hasher> *table) in avail_exprs_stack()
146 hash_table<expr_elt_hasher> *avail_exprs (void) in avail_exprs()
157 hash_table<expr_elt_hasher> *m_avail_exprs;
H A Dhash-map.h221 for (typename hash_table<hash_entry>::iterator iter = m_table.begin (); in class()
230 for (typename hash_table<hash_entry>::iterator iter = m_table.begin (); in class()
246 explicit iterator (const typename hash_table<hash_entry>::iterator &iter) : in class()
282 typename hash_table<hash_entry>::iterator m_iter; in class()
297 hash_table<hash_entry> m_table; in class()
H A Dgimple-ssa.h96 hash_table<ssa_name_hasher> *default_defs;
114 hash_table<tm_restart_hasher> *tm_restart;
H A Dlibfuncs.h61 hash_table<libfunc_hasher> *GTY(()) x_libfunc_hash;
H A Dtree-hasher.h64 typedef hash_table <int_tree_hasher> int_tree_htab_type;
/OK3568_Linux_fs/kernel/fs/jbd2/
H A Drevoke.c117 struct list_head *hash_table; member
151 hash_list = &journal->j_revoke->hash_table[hash(journal, blocknr)]; in insert_revoke_hash()
166 hash_list = &journal->j_revoke->hash_table[hash(journal, blocknr)]; in find_revoke_record()
233 table->hash_table = in jbd2_journal_init_revoke_table()
235 if (!table->hash_table) { in jbd2_journal_init_revoke_table()
242 INIT_LIST_HEAD(&table->hash_table[tmp]); in jbd2_journal_init_revoke_table()
254 hash_list = &table->hash_table[i]; in jbd2_journal_destroy_revoke_table()
258 kfree(table->hash_table); in jbd2_journal_destroy_revoke_table()
492 hash_list = &revoke->hash_table[i]; in jbd2_clear_buffer_revoked_flags()
523 INIT_LIST_HEAD(&journal->j_revoke->hash_table[i]); in jbd2_journal_switch_revoke_table()
[all …]
/OK3568_Linux_fs/kernel/drivers/misc/
H A Duid_sys_stats.c33 DECLARE_HASHTABLE(hash_table, UID_HASH_BITS);
303 hash_for_each_possible(hash_table, uid_entry, hash, uid) { in find_uid_entry()
326 hash_add(hash_table, &uid_entry->hash, uid); in find_or_register_uid()
343 hash_for_each(hash_table, bkt, uid_entry, hash) { in uid_cputime_show()
369 hash_for_each(hash_table, bkt, uid_entry, hash) { in uid_cputime_show()
429 hash_for_each_possible_safe(hash_table, uid_entry, tmp, in uid_remove_write()
476 hash_for_each(hash_table, bkt, uid_entry, hash) { in update_io_stats_all_locked()
493 hash_for_each(hash_table, bkt, uid_entry, hash) { in update_io_stats_all_locked()
536 hash_for_each(hash_table, bkt, uid_entry, hash) { in uid_io_show()
661 hash_init(hash_table); in proc_uid_sys_stats_init()
/OK3568_Linux_fs/kernel/drivers/net/ppp/
H A Dpppoe.c103 struct pppox_sock *hash_table[PPPOE_HASH_SIZE]; member
165 ret = pn->hash_table[hash]; in __get_item()
182 ret = pn->hash_table[hash]; in __set_item()
191 po->next = pn->hash_table[hash]; in __set_item()
192 pn->hash_table[hash] = po; in __set_item()
203 ret = pn->hash_table[hash]; in __delete_item()
204 src = &pn->hash_table[hash]; in __delete_item()
281 struct pppox_sock *po = pn->hash_table[i]; in pppoe_flush_dev()
324 po = pn->hash_table[i]; in pppoe_flush_dev()
1036 po = pn->hash_table[i]; in pppoe_get_idx()
[all …]
/OK3568_Linux_fs/kernel/net/sunrpc/
H A Dcache.c63 struct hlist_head *head = &detail->hash_table[hash]; in sunrpc_cache_find_rcu()
102 struct hlist_head *head = &detail->hash_table[hash]; in sunrpc_cache_add_entry()
231 hlist_add_head(&tmp->cache_list, &detail->hash_table[hash]); in sunrpc_cache_update()
455 hlist_empty(&current_detail->hash_table[current_index])) in cache_clean()
470 head = &current_detail->hash_table[current_index]; in cache_clean()
543 head = &detail->hash_table[i]; in cache_purge()
1356 hlist_for_each_entry_rcu(ch, &cd->hash_table[hash], cache_list) in __cache_seq_start()
1364 hlist_empty(&cd->hash_table[hash])); in __cache_seq_start()
1369 hlist_first_rcu(&cd->hash_table[hash])), in __cache_seq_start()
1392 hlist_empty(&cd->hash_table[hash])) { in cache_seq_next()
[all …]
/OK3568_Linux_fs/external/rknpu2/examples/librknn_api_android_demo/include/stb/
H A Dstb_image_write.h871 …unsigned char ***hash_table = (unsigned char***) STBIW_MALLOC(stbiw__ZHASH * sizeof(unsigned char*… in stbi_zlib_compress()
872 if (hash_table == NULL) in stbi_zlib_compress()
882 hash_table[i] = NULL; in stbi_zlib_compress()
889 unsigned char **hlist = hash_table[h]; in stbi_zlib_compress()
898 if (hash_table[h] && stbiw__sbn(hash_table[h]) == 2*quality) { in stbi_zlib_compress()
899 STBIW_MEMMOVE(hash_table[h], hash_table[h]+quality, sizeof(hash_table[h][0])*quality); in stbi_zlib_compress()
900 stbiw__sbn(hash_table[h]) = quality; in stbi_zlib_compress()
902 stbiw__sbpush(hash_table[h],data+i); in stbi_zlib_compress()
907 hlist = hash_table[h]; in stbi_zlib_compress()
944 (void) stbiw__sbfree(hash_table[i]); in stbi_zlib_compress()
[all …]
/OK3568_Linux_fs/external/rknpu2/examples/3rdparty/stb/
H A Dstb_image_write.h871 …unsigned char ***hash_table = (unsigned char***) STBIW_MALLOC(stbiw__ZHASH * sizeof(unsigned char*… in stbi_zlib_compress()
872 if (hash_table == NULL) in stbi_zlib_compress()
882 hash_table[i] = NULL; in stbi_zlib_compress()
889 unsigned char **hlist = hash_table[h]; in stbi_zlib_compress()
898 if (hash_table[h] && stbiw__sbn(hash_table[h]) == 2*quality) { in stbi_zlib_compress()
899 STBIW_MEMMOVE(hash_table[h], hash_table[h]+quality, sizeof(hash_table[h][0])*quality); in stbi_zlib_compress()
900 stbiw__sbn(hash_table[h]) = quality; in stbi_zlib_compress()
902 stbiw__sbpush(hash_table[h],data+i); in stbi_zlib_compress()
907 hlist = hash_table[h]; in stbi_zlib_compress()
944 (void) stbiw__sbfree(hash_table[i]); in stbi_zlib_compress()
[all …]
/OK3568_Linux_fs/kernel/drivers/net/bonding/
H A Dbond_alb.c194 struct tlb_client_info *hash_table; in __tlb_choose_channel() local
197 hash_table = bond_info->tx_hashtbl; in __tlb_choose_channel()
198 assigned_slave = hash_table[hash_index].tx_slave; in __tlb_choose_channel()
207 hash_table[hash_index].tx_slave = assigned_slave; in __tlb_choose_channel()
208 hash_table[hash_index].next = next_index; in __tlb_choose_channel()
209 hash_table[hash_index].prev = TLB_NULL_INDEX; in __tlb_choose_channel()
212 hash_table[next_index].prev = hash_index; in __tlb_choose_channel()
216 hash_table[hash_index].load_history; in __tlb_choose_channel()
221 hash_table[hash_index].tx_bytes += skb_len; in __tlb_choose_channel()
/OK3568_Linux_fs/kernel/drivers/net/ethernet/rdc/
H A Dr6040.c853 u16 hash_table[4] = { 0 }; in r6040_multicast_list() local
882 hash_table[i] = 0xffff; in r6040_multicast_list()
920 hash_table[crc >> 4] |= 1 << (crc & 0xf); in r6040_multicast_list()
928 iowrite16(hash_table[0], ioaddr + MAR0); in r6040_multicast_list()
929 iowrite16(hash_table[1], ioaddr + MAR1); in r6040_multicast_list()
930 iowrite16(hash_table[2], ioaddr + MAR2); in r6040_multicast_list()
931 iowrite16(hash_table[3], ioaddr + MAR3); in r6040_multicast_list()
/OK3568_Linux_fs/kernel/drivers/net/ethernet/packetengines/
H A Dyellowfin.c1306 u16 hash_table[4]; in set_rx_mode() local
1309 memset(hash_table, 0, sizeof(hash_table)); in set_rx_mode()
1317 hash_table[bit >> 4] |= (1 << bit); in set_rx_mode()
1319 hash_table[bit >> 4] |= (1 << bit); in set_rx_mode()
1321 hash_table[bit >> 4] |= (1 << bit); in set_rx_mode()
1324 hash_table[bit >> 4] |= (1 << bit); in set_rx_mode()
1328 iowrite16(hash_table[i], ioaddr + HashTbl + i*2); in set_rx_mode()
/OK3568_Linux_fs/kernel/drivers/net/ethernet/sun/
H A Dsunqe.c646 u16 hash_table[4]; in qe_set_multicast() local
647 u8 *hbytes = (unsigned char *) &hash_table[0]; in qe_set_multicast()
649 memset(hash_table, 0, sizeof(hash_table)); in qe_set_multicast()
653 hash_table[crc >> 4] |= 1 << (crc & 0xf); in qe_set_multicast()
H A Dsunhme.c1528 u16 hash_table[4]; in happy_meal_init() local
1532 memset(hash_table, 0, sizeof(hash_table)); in happy_meal_init()
1536 hash_table[crc >> 4] |= 1 << (crc & 0xf); in happy_meal_init()
1538 hme_write32(hp, bregs + BMAC_HTABLE0, hash_table[0]); in happy_meal_init()
1539 hme_write32(hp, bregs + BMAC_HTABLE1, hash_table[1]); in happy_meal_init()
1540 hme_write32(hp, bregs + BMAC_HTABLE2, hash_table[2]); in happy_meal_init()
1541 hme_write32(hp, bregs + BMAC_HTABLE3, hash_table[3]); in happy_meal_init()
2418 u16 hash_table[4]; in happy_meal_set_multicast() local
2420 memset(hash_table, 0, sizeof(hash_table)); in happy_meal_set_multicast()
2424 hash_table[crc >> 4] |= 1 << (crc & 0xf); in happy_meal_set_multicast()
[all …]

123