Searched refs:hash_size (Results 26 - 50 of 56) sorted by relevance

123

/netgear-WNDR4500v2-V1.0.0.60_1.0.38/ap/gpl/dnsmasq-2.15/src/
H A Dcache.c19 static int bignames_left, log_queries, cache_size, hash_size; variable
53 /* hash_size is a power of two. */
54 for (hash_size = 64; hash_size < cache_size/10; hash_size = hash_size << 1);
55 hash_table = safe_malloc(hash_size*sizeof(struct crec *));
56 for(i=0; i < hash_size; i++)
71 /* hash_size is a power of two */
72 return hash_table + (val & (hash_size
[all...]
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/ap/gpl/timemachine/netatalk-2.2.0/libatalk/tdb/
H A Dtdb.c105 #define BUCKET(hash) ((hash) % tdb->header.hash_size)
252 if (list < -1 || list >= (int)tdb->header.hash_size) {
291 if (list < -1 || list >= (int)tdb->header.hash_size) {
292 TDB_LOG((tdb, 0, "tdb_unlock: list %d invalid (%d)\n", list, tdb->header.hash_size));
560 for (i=0;i<tdb->header.hash_size;i++) {
668 if (left > TDB_HASH_TOP(tdb->header.hash_size-1)) {
927 static int tdb_new_database(TDB_CONTEXT *tdb, int hash_size) argument
933 size = sizeof(struct tdb_header) + (hash_size+1)*sizeof(tdb_off);
939 newdb->hash_size = hash_size;
1670 tdb_open(const char *name, int hash_size, int tdb_flags, int open_flags, mode_t mode) argument
1677 tdb_open_ex(const char *name, int hash_size, int tdb_flags, int open_flags, mode_t mode, tdb_log_func log_fn) argument
[all...]
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/ap/gpl/timemachine/netatalk-2.2.5/libatalk/tdb/
H A Dtdb.c105 #define BUCKET(hash) ((hash) % tdb->header.hash_size)
252 if (list < -1 || list >= (int)tdb->header.hash_size) {
291 if (list < -1 || list >= (int)tdb->header.hash_size) {
292 TDB_LOG((tdb, 0, "tdb_unlock: list %d invalid (%d)\n", list, tdb->header.hash_size));
560 for (i=0;i<tdb->header.hash_size;i++) {
668 if (left > TDB_HASH_TOP(tdb->header.hash_size-1)) {
927 static int tdb_new_database(TDB_CONTEXT *tdb, int hash_size) argument
933 size = sizeof(struct tdb_header) + (hash_size+1)*sizeof(tdb_off);
939 newdb->hash_size = hash_size;
1670 tdb_open(const char *name, int hash_size, int tdb_flags, int open_flags, mode_t mode) argument
1677 tdb_open_ex(const char *name, int hash_size, int tdb_flags, int open_flags, mode_t mode, tdb_log_func log_fn) argument
[all...]
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/include/linux/sunrpc/
H A Dcache.h64 int hash_size; member in struct:cache_detail
140 for (({read_lock(&(detail)->hash_lock); index = (detail)->hash_size;}) ; \
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/drivers/md/
H A Ddm-snap.c349 sector_t hash_size, cow_dev_size, origin_dev_size, max_buckets; local
359 hash_size = min(origin_dev_size, cow_dev_size) >> s->chunk_shift;
360 hash_size = min(hash_size, max_buckets);
363 hash_size = round_down(hash_size);
364 if (init_exception_table(&s->complete, hash_size))
371 hash_size >>= 3;
372 if (hash_size < 64)
373 hash_size
[all...]
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/ap/gpl/timemachine/gettext-0.17/gettext-runtime/intl/
H A Dloadmsgcat.c930 domain->hash_size = W (domain->must_swap, data->hash_tab_size);
932 (domain->hash_size > 2
1010 memneed = domain->hash_size * sizeof (nls_uint32);
1087 mem += domain->hash_size * sizeof (nls_uint32);
1205 for (i = 0; i < domain->hash_size; i++)
1212 nls_uint32 idx = hash_val % domain->hash_size;
1214 1 + (hash_val % (domain->hash_size - 2));
1225 if (idx >= domain->hash_size - incr)
1226 idx -= domain->hash_size - incr;
H A DgettextP.h187 nls_uint32 hash_size; member in struct:loaded_domain
H A Ddcigettext.c913 nls_uint32 idx = hash_val % domain->hash_size;
914 nls_uint32 incr = 1 + (hash_val % (domain->hash_size - 2));
945 if (idx >= domain->hash_size - incr)
946 idx -= domain->hash_size - incr;
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/include/linux/
H A Damigaffs.h50 __be32 hash_size; member in struct:affs_root_head
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/ap/gpl/timemachine/libgpg-error-1.10/src/
H A Dw32-gettext.c1134 uint32_t hash_size;
1286 domain->hash_size = SWAPIT (domain->must_swap, data->hash_tab_size);
1741 if (domain->hash_size > 2 && domain->hash_tab)
1746 uint32_t idx = hash_val % domain->hash_size;
1747 uint32_t incr = 1 + (hash_val % (domain->hash_size - 2));
1762 if (idx >= domain->hash_size - incr)
1763 idx -= domain->hash_size - incr;
1131 uint32_t hash_size; member in struct:loaded_domain
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/ap/gpl/samba-3.0.13/source/tdb/
H A Dtdbback.c123 tdb_new = tdb_open(tmp_name, tdb->header.hash_size,
H A Dtdbutil.c734 TDB_CONTEXT *tdb_open_log(const char *name, int hash_size, int tdb_flags, argument
742 tdb = tdb_open_ex(name, hash_size, tdb_flags,
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/lib/zlib_deflate/
H A Ddefutil.h113 uInt hash_size; /* number of elements in hash table */ member in struct:deflate_state
114 uInt hash_bits; /* log2(hash_size) */
115 uInt hash_mask; /* hash_size-1 */
H A Ddeflate.c163 s->head[s->hash_size-1] = NIL; \
164 memset((char *)s->head, 0, (unsigned)(s->hash_size-1)*sizeof(*s->head));
212 s->hash_size = 1 << s->hash_bits;
213 s->hash_mask = s->hash_size - 1;
764 n = s->hash_size;
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/net/sunrpc/
H A Dcache.c395 current_index >= current_detail->hash_size) {
407 current_index = current_detail->hash_size;
416 current_index < current_detail->hash_size &&
422 if (current_detail && current_index < current_detail->hash_size) {
1151 } while(hash < cd->hash_size &&
1153 if (hash >= cd->hash_size)
1175 while (hash < cd->hash_size &&
1180 if (hash >= cd->hash_size)
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/drivers/net/bonding/
H A Dbond_alb.c115 static inline u8 _simple_hash(const u8 *hash_start, int hash_size) argument
120 for (i = 0; i < hash_size; i++) {
1268 int hash_size = 0; local
1298 hash_size = sizeof(iph->daddr);
1308 hash_size = sizeof(ipv6_hdr(skb)->daddr);
1328 hash_size = ETH_ALEN;
1342 hash_index = _simple_hash(hash_start, hash_size);
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/ap/gpl/samba-3.0.13/source/python/
H A Dpy_tdb.c80 static char *kwlist[] = { "name", "hash_size", "tdb_flags",
83 int hash_size = 0, flags = TDB_DEFAULT, open_flags = -1, open_mode = 0600; local
87 args, kw, "s|iiii", kwlist, &name, &hash_size, &flags,
100 if (!(tdb = tdb_open(name, hash_size, flags, open_flags, open_mode))) {
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/ap/gpl/minidlna/zlib-1.2.3/
H A Ddeflate.c200 s->head[s->hash_size-1] = NIL; \
201 zmemzero((Bytef *)s->head, (unsigned)(s->hash_size-1)*sizeof(*s->head));
283 s->hash_size = 1 << s->hash_bits;
284 s->hash_mask = s->hash_size - 1;
289 s->head = (Posf *) ZALLOC(strm, s->hash_size, sizeof(Pos));
922 ds->head = (Posf *) ZALLOC(dest, ds->hash_size, sizeof(Pos));
934 zmemcpy(ds->head, ss->head, ds->hash_size * sizeof(Pos));
1307 n = s->hash_size;
H A Ddeflate.h137 uInt hash_size; /* number of elements in hash table */ member in struct:internal_state
138 uInt hash_bits; /* log2(hash_size) */
139 uInt hash_mask; /* hash_size-1 */
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/ap/gpl/timemachine/zlib-1.2.3/
H A Ddeflate.c200 s->head[s->hash_size-1] = NIL; \
201 zmemzero((Bytef *)s->head, (unsigned)(s->hash_size-1)*sizeof(*s->head));
283 s->hash_size = 1 << s->hash_bits;
284 s->hash_mask = s->hash_size - 1;
289 s->head = (Posf *) ZALLOC(strm, s->hash_size, sizeof(Pos));
922 ds->head = (Posf *) ZALLOC(dest, ds->hash_size, sizeof(Pos));
934 zmemcpy(ds->head, ss->head, ds->hash_size * sizeof(Pos));
1307 n = s->hash_size;
H A Ddeflate.h137 uInt hash_size; /* number of elements in hash table */ member in struct:internal_state
138 uInt hash_bits; /* log2(hash_size) */
139 uInt hash_mask; /* hash_size-1 */
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/fs/nfsd/
H A Dnfs4idmap.c187 .hash_size = ENT_HASHMAX,
359 .hash_size = ENT_HASHMAX,
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/ap/gpl/timemachine/netatalk-2.2.0/etc/afpd/
H A Dhash.c812 #undef hash_size macro
813 hashcount_t hash_size(hash_t *hash) function
1057 printf("%lu\n", (unsigned long) hash_size(h));
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/ap/gpl/timemachine/netatalk-2.2.5/etc/afpd/
H A Dhash.c812 #undef hash_size macro
813 hashcount_t hash_size(hash_t *hash) function
1057 printf("%lu\n", (unsigned long) hash_size(h));
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/router/dhcp6/
H A Dlease.c140 for (i = 0; i < lease_hash_table->hash_size; i++) {

Completed in 282 milliseconds

123