Searched refs:hash_table (Results 1 - 25 of 37) sorted by relevance

12

/asus-wl-520gu-7.0.1.45/src/router/rp-l2tp/libevent/
H A Dhash.h34 } hash_table; typedef in typeref:struct:hash_table_t
37 void hash_init(hash_table *tab,
41 void hash_insert(hash_table *tab, void *item);
42 void hash_remove(hash_table *tab, void *item);
43 void *hash_find(hash_table *tab, void *item);
44 void *hash_find_next(hash_table *tab, void *item);
45 size_t hash_num_entries(hash_table *tab);
48 void *hash_start(hash_table *tab, void **cursor);
49 void *hash_next(hash_table *tab, void **cursor);
H A Dhash.c32 static void *hash_next_cursor(hash_table *tab, hash_bucket *b);
48 hash_init(hash_table *tab,
76 hash_insert(hash_table *tab,
103 hash_remove(hash_table *tab,
131 hash_find(hash_table *tab,
155 hash_find_next(hash_table *tab,
176 hash_start(hash_table *tab, void **cursor)
202 hash_next(hash_table *tab, void **cursor)
222 hash_next_cursor(hash_table *tab, hash_bucket *b)
236 hash_num_entries(hash_table *ta
[all...]
H A Devent_sig.c59 static hash_table child_process_table;
/asus-wl-520gu-7.0.1.45/src/router/samba/source/include/
H A Dhash.h66 typedef struct hash_table { struct
72 } hash_table; typedef in typeref:struct:hash_table
/asus-wl-520gu-7.0.1.45/src/linux/linux/drivers/md/
H A Dlinear.c72 conf->hash_table = kmalloc (sizeof (struct linear_hash) * nb_zone,
74 if (!conf->hash_table)
80 table = conf->hash_table;
98 if (table-conf->hash_table != nb_zone)
114 kfree(conf->hash_table);
131 hash = conf->hash_table + (block / conf->smallest->size);
169 partition_name(conf->hash_table[j].dev0->dev));
171 if (conf->hash_table[j].dev1)
173 partition_name(conf->hash_table[j].dev1->dev));
H A Draid0.c151 conf->hash_table = vmalloc (sizeof (struct raid0_hash)*nb_zone);
152 if (!conf->hash_table)
158 conf->hash_table[i].zone0 = conf->strip_zone + cur;
164 conf->hash_table[i++].zone1 = NULL;
178 conf->hash_table[i].zone1=NULL;
187 conf->hash_table[i++].zone1 = conf->strip_zone + cur;
208 vfree (conf->hash_table);
209 conf->hash_table = NULL;
232 hash = conf->hash_table + block / conf->smallest->size;
296 conf->hash_table[
[all...]
H A Dlvm-snap.c110 struct list_head * hash_table = lv->lv_snapshot_hash_table, * next; local
116 hash_table = &hash_table[hashfn(org_dev, org_start, mask, chunk_size)];
118 for (next = hash_table->next; next != hash_table; next = next->next)
130 list_move(next, hash_table);
133 list_add(next, hash_table);
148 struct list_head * hash_table = lv->lv_snapshot_hash_table; local
152 if (!hash_table)
154 hash_table
[all...]
/asus-wl-520gu-7.0.1.45/src/router/iproute2/reference/linux/raid/
H A Dlinear.h21 struct linear_hash *hash_table; member in struct:linear_private_data
H A Draid0.h22 struct raid0_hash *hash_table; /* Dynamically allocated */ member in struct:raid0_private_data
/asus-wl-520gu-7.0.1.45/src/linux/linux/include/linux/raid/
H A Dlinear.h21 struct linear_hash *hash_table; member in struct:linear_private_data
H A Draid0.h22 struct raid0_hash *hash_table; /* Dynamically allocated */ member in struct:raid0_private_data
/asus-wl-520gu-7.0.1.45/src/router/samba/source/lib/
H A Dhash.c30 static BOOL enlarge_hash_table(hash_table *table);
50 BOOL hash_table_init(hash_table *table, unsigned num_buckets, compare_function compare_func)
116 static hash_element *hash_chain_find(hash_table *table, ubi_dlList *hash_chain, char *key)
146 hash_element *hash_lookup(hash_table *table, char *key)
168 hash_element *hash_insert(hash_table *table, char *value, char *key)
236 void hash_remove(hash_table *table, hash_element *hash_elem)
256 static BOOL enlarge_hash_table(hash_table *table)
301 void hash_clear(hash_table *table)
/asus-wl-520gu-7.0.1.45/src/linux/linux/fs/jbd/
H A Drevoke.c96 struct list_head *hash_table; member in struct:jbd_revoke_table_s
132 hash_list = &journal->j_revoke->hash_table[hash(journal, blocknr)];
152 hash_list = &journal->j_revoke->hash_table[hash(journal, blocknr)];
213 journal->j_revoke->hash_table =
215 if (!journal->j_revoke->hash_table) {
222 INIT_LIST_HEAD(&journal->j_revoke->hash_table[tmp]);
240 hash_list = &table->hash_table[i];
244 kfree(table->hash_table);
444 hash_list = &revoke->hash_table[i];
627 hash_list = &revoke->hash_table[
[all...]
/asus-wl-520gu-7.0.1.45/src/router/e2fsprogs-1.40.8/e2fsck/
H A Drevoke.c96 struct list_head *hash_table; member in struct:jbd_revoke_table_s
135 hash_list = &journal->j_revoke->hash_table[hash(journal, blocknr)];
160 hash_list = &journal->j_revoke->hash_table[hash(journal, blocknr)];
221 journal->j_revoke->hash_table =
223 if (!journal->j_revoke->hash_table) {
230 INIT_LIST_HEAD(&journal->j_revoke->hash_table[tmp]);
248 hash_list = &table->hash_table[i];
252 kfree(table->hash_table);
452 hash_list = &revoke->hash_table[i];
632 hash_list = &revoke->hash_table[
[all...]
/asus-wl-520gu-7.0.1.45/src/linux/linux/fs/jfs/
H A Djfs_metapage.c42 #define HASH_BITS 10 /* This makes hash_table 1 4K page */
44 static struct metapage **hash_table = NULL; variable in typeref:struct:metapage
200 hash_table =
202 assert(hash_table);
203 memset(hash_table, 0, PAGE_SIZE << hash_order);
223 return hash_table + (s(i + index) & (HASH_SIZE - 1));
/asus-wl-520gu-7.0.1.45/src/linux/linux/drivers/net/
H A Dau1000_eth.h216 u8 *hash_table; member in struct:au1000_private
H A Dsunbmac.c1011 u16 hash_table[4]; local
1014 hash_table[i] = 0;
1025 hash_table[crc >> 4] |= 1 << (crc & 0xf);
1027 sbus_writel(hash_table[0], bregs + BMAC_HTABLE0);
1028 sbus_writel(hash_table[1], bregs + BMAC_HTABLE1);
1029 sbus_writel(hash_table[2], bregs + BMAC_HTABLE2);
1030 sbus_writel(hash_table[3], bregs + BMAC_HTABLE3);
H A Dgt96100eth.c413 tblEntryAddr = (u32 *)gp->hash_table;
727 if (gp->hash_table == NULL) {
728 gp->hash_table = (char*)dmaalloc(RX_HASH_TABLE_SIZE,
730 if (gp->hash_table == NULL) {
740 dbg(3, "%s: hash=%p\n", __FUNCTION__, gp->hash_table);
907 memset(gp->hash_table, 0, RX_HASH_TABLE_SIZE); // clear it
H A Dyellowfin.c1355 u16 hash_table[4];
1357 memset(hash_table, 0, sizeof(hash_table));
1364 hash_table);
1366 hash_table);
1368 hash_table);
1371 hash_table);
1375 outw(hash_table[i], ioaddr + HashTbl + i*2);
H A Dsunqe.c649 u16 hash_table[4]; local
650 u8 *hbytes = (unsigned char *) &hash_table[0];
653 hash_table[i] = 0;
663 hash_table[crc >> 4] |= 1 << (crc & 0xf);
H A Dgt96100eth.h314 char* hash_table; member in struct:gt96100_private
H A Dbmac.c1034 u16 hash_table[4]; local
1040 for(i = 0; i < 4; i++) hash_table[i] = 0;
1051 hash_table[crc >> 4] |= 1 << (crc & 0xf);
1053 bmwrite(dev, BHASH0, hash_table[0]);
1054 bmwrite(dev, BHASH1, hash_table[1]);
1055 bmwrite(dev, BHASH2, hash_table[2]);
1056 bmwrite(dev, BHASH3, hash_table[3]);
H A Ddl2k.c1085 u32 hash_table[2]; local
1092 hash_table[0] = hash_table[1] = 0;
1094 hash_table[1] |= cpu_to_le32(0x02000000);
1119 hash_table[index / 32] |= (1 << (index % 32));
1129 writel (hash_table[0], ioaddr + HashTable0);
1130 writel (hash_table[1], ioaddr + HashTable1);
/asus-wl-520gu-7.0.1.45/src/router/samba/source/smbd/
H A Dstatcache.c39 static hash_table stat_cache;
/asus-wl-520gu-7.0.1.45/src/router/rp-l2tp/
H A Dl2tp.h109 hash_table sessions_by_my_id; /* Sessions in this tunnel */
380 void l2tp_session_hash_init(hash_table *tab);

Completed in 297 milliseconds

12