Searched refs:buckets (Results 1 - 9 of 9) sorted by relevance

/asus-wl-520gu-7.0.1.45/src/router/vsftpd/
H A Dhash.h8 struct hash* hash_alloc(unsigned int buckets, unsigned int key_size,
H A Dhash.c24 unsigned int buckets; member in struct:hash
36 hash_alloc(unsigned int buckets, unsigned int key_size, argument
41 p_hash->buckets = buckets;
45 size = sizeof(struct hash_node*) * buckets;
123 unsigned int bucket = (*p_hash->hash_func)(p_hash->buckets, p_key);
124 if (bucket >= p_hash->buckets)
H A Dstandalone.c33 static unsigned int hash_ip(unsigned int buckets, void* p_key);
34 static unsigned int hash_pid(unsigned int buckets, void* p_key);
257 hash_ip(unsigned int buckets, void* p_key) argument
272 return val % buckets;
276 hash_pid(unsigned int buckets, void* p_key) argument
279 return (*p_pid) % buckets;
/asus-wl-520gu-7.0.1.45/src/router/samba/source/include/
H A Dhash.h59 * buckets: a list of buckets, implemented as a dLinkList.
67 ubi_dlList *buckets; member in struct:hash_table
/asus-wl-520gu-7.0.1.45/src/router/rp-l2tp/libevent/
H A Dhash.c59 tab->buckets[i] = NULL;
84 b->next = tab->buckets[val];
88 tab->buckets[val] = b;
112 tab->buckets[val] = b->next;
136 for (b = tab->buckets[val]; b; b = b->next) {
180 if (tab->buckets[i]) {
183 *cursor = hash_next_cursor(tab, tab->buckets[i]);
184 return GET_ITEM(tab, tab->buckets[i]);
230 if (tab->buckets[i]) return tab->buckets[
[all...]
H A Dhash.h29 hash_bucket *buckets[HASHTAB_SIZE]; member in struct:hash_table_t
/asus-wl-520gu-7.0.1.45/src/router/samba/source/lib/
H A Dhash.c37 * This number of hash buckets is always rounded up to a power of
41 * num_buckets -- the number of buckets to be allocated. This
69 if(!(table->buckets = (ubi_dlList *) malloc(sizeof(ubi_dlList) * table->size))) {
74 for (i=0, bucket = table->buckets; i < table->size; i++, bucket++)
148 return (hash_chain_find(table, &table->buckets[string_hash(table->size, key)], key));
200 bucket = &table->buckets[string_hash(table->size, key)];
260 ubi_dlList *buckets; local
265 buckets = table->buckets;
273 for (old_bucket = buckets; siz
[all...]
/asus-wl-520gu-7.0.1.45/src/linux/linux/drivers/md/
H A Dlvm-snap.c518 unsigned long buckets, max_buckets, size; local
521 buckets = lv->lv_remap_end;
523 buckets = min(buckets, max_buckets);
524 while (buckets & (buckets-1))
525 buckets &= (buckets-1);
527 size = buckets * sizeof(struct list_head);
537 lv->lv_snapshot_hash_mask = buckets
[all...]
/asus-wl-520gu-7.0.1.45/src/linux/linux/drivers/message/fusion/
H A Dmptlan.c114 atomic_t buckets_out; /* number of unused buckets on IOC */
128 int max_buckets_out; /* Max buckets to send to IOC */
486 any buckets it still has. */
530 dlprintk((KERN_INFO MYNAM ":lan_close: Posted %d buckets "
902 dioprintk((MYNAM "/receive_skb: %d buckets remaining\n",
908 dioprintk((KERN_INFO MYNAM "/receive_post_reply: %d buckets "
984 "IOC returned %d buckets, freeing them...\n", count));
1014 /* dlprintk((KERN_INFO MYNAM "/receive_post_reply: freed %d buckets\n",
1017 /**/ dlprintk((KERN_INFO MYNAM "@receive_post_reply: %d buckets "
1074 // dioprintk((KERN_INFO MYNAM ": %s/%s: Multiple buckets returne
1207 u32 curr, buckets, count, max; local
[all...]

Completed in 96 milliseconds