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

/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/router/flex/
H A Dsym.c160 register int hashval; local
163 hashval = 0;
168 hashval = (hashval << 1) + (unsigned char) str[locstr++];
169 hashval %= hash_size;
172 return hashval;
H A Ddfa.c244 * hashval is the hash value for the dfa corresponding to the state set.
251 int numstates = *ns_addr, nacc, hashval, transsym, nfaccnum; local
291 hashval += state; \
309 nacc = stkend = hashval = 0;
322 hashval += ns;
360 *hv_addr = hashval;
398 int sym, hashval, numstates, dsize; local
567 nset = epsclosure( nset, &numstates, accset, &nacc, &hashval );
569 if ( snstods( nset, numstates, accset, nacc, hashval, &ds ) )
622 accset, &nacc, &hashval );
[all...]
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/fs/xfs/
H A Dxfs_dir2_trace.c84 (void *)(unsigned long)args->hashval,
99 (void *)(unsigned long)args->hashval,
116 (void *)(unsigned long)args->hashval,
156 (void *)(unsigned long)args->hashval,
172 (void *)(unsigned long)args->hashval,
189 (void *)(unsigned long)args->hashval,
207 (void *)(unsigned long)args->hashval,
H A Dxfs_da_btree.c223 * Update the btree to show the new hashval for this child.
352 node->btree[0].hashval = cpu_to_be32(blk1->hashval);
354 node->btree[1].hashval = cpu_to_be32(blk2->hashval);
427 * (updating last hashval in the process).
483 ((be32_to_cpu(node2->btree[0].hashval) < be32_to_cpu(node1->btree[0].hashval)) ||
484 (be32_to_cpu(node2->btree[be16_to_cpu(node2->hdr.count)-1].hashval) <
485 be32_to_cpu(node1->btree[be16_to_cpu(node1->hdr.count)-1].hashval)))) {
1057 xfs_dahash_t hashval, btreehashval; local
[all...]
H A Dxfs_dir2_block.c297 if ((hash = be32_to_cpu(blp[mid].hashval)) == args->hashval)
299 if (hash < args->hashval)
304 while (mid >= 0 && be32_to_cpu(blp[mid].hashval) >= args->hashval) {
393 blp[mid].hashval = cpu_to_be32(args->hashval);
682 if ((hash = be32_to_cpu(blp[mid].hashval)) == args->hashval)
684 if (hash < args->hashval)
[all...]
H A Dxfs_attr_leaf.c544 nargs.hashval = xfs_da_hashname((char *)sfe->nameval,
582 (!((cursor)->initted) && !((cursor)->hashval) && \
586 * Shortform attribute lists are not stored in hashval sorted order.
663 * It didn't all fit, so we have to sort everything on hashval.
712 if (sbp->hash == cursor->hashval) {
717 } else if (sbp->hash > cursor->hashval) {
735 if (cursor->hashval != sbp->hash) {
736 cursor->hashval = sbp->hash;
871 nargs.hashval = be32_to_cpu(entry->hashval);
1964 xfs_dahash_t hashval; local
[all...]
H A Dxfs_dir2_node.c224 ASSERT(index == 0 || be32_to_cpu(leaf->ents[index - 1].hashval) <= args->hashval);
226 be32_to_cpu(leaf->ents[index].hashval) >= args->hashval);
329 lep->hashval = cpu_to_be32(args->hashval);
358 ASSERT(be32_to_cpu(leaf->ents[i].hashval) <=
359 be32_to_cpu(leaf->ents[i + 1].hashval));
385 return be32_to_cpu(leaf->ents[be16_to_cpu(leaf->hdr.count) - 1].hashval);
458 index < be16_to_cpu(leaf->hdr.count) && be32_to_cpu(lep->hashval)
[all...]
H A Dxfs_attr.h26 * then that int is used as the index into the Btree. Since the hashval
142 __u32 hashval; /* hash value of next entry to add */ member in struct:attrlist_cursor_kern
H A Dxfs_da_btree.h68 __be32 hashval; /* hash value for this descendant */ member in struct:xfs_da_intnode::xfs_da_node_entry
110 xfs_dahash_t hashval; /* hash value of name */ member in struct:xfs_da_args
173 xfs_dahash_t hashval; /* last hash value in block */ member in struct:xfs_da_state_blk
H A Dxfs_dir2.c168 args.hashval = xfs_da_hashname(name, namelen);
214 args.hashval = xfs_da_hashname(name, namelen);
267 args.hashval = xfs_da_hashname(name, namelen);
365 args.hashval = xfs_da_hashname(name, namelen);
408 args.hashval = xfs_da_hashname(name, namelen);
H A Dxfs_attr.c129 args.hashval = xfs_da_hashname(args.name, args.namelen);
222 args.hashval = xfs_da_hashname(args.name, args.namelen);
459 args.hashval = xfs_da_hashname(args.name, args.namelen);
720 (cursor->hashval || cursor->blkno || cursor->offset))
1844 * If anything is amiss, ignore the cursor and look up the hashval
1863 if (cursor->hashval > be32_to_cpu(leaf->entries[
1864 be16_to_cpu(leaf->hdr.count)-1].hashval)) {
1869 } else if (cursor->hashval <=
1870 be32_to_cpu(leaf->entries[0].hashval)) {
1920 if (cursor->hashval
[all...]
H A Dxfs_dir2_leaf.c222 index < be16_to_cpu(leaf->hdr.count) && be32_to_cpu(lep->hashval) == args->hashval;
531 lep->hashval = cpu_to_be32(args->hashval);
582 ASSERT(be32_to_cpu(leaf->ents[i].hashval) <=
583 be32_to_cpu(leaf->ents[i + 1].hashval));
1374 index < be16_to_cpu(leaf->hdr.count) && be32_to_cpu(lep->hashval) == args->hashval;
1647 hashwant = args->hashval;
1650 if ((hash = be32_to_cpu(lep[mid].hashval))
[all...]
H A Dxfs_attr_leaf.h26 * then that int is used as the index into the Btree. Since the hashval
92 __be32 hashval; /* hash value of name */ member in struct:xfs_attr_leaf_entry
H A Dxfs_dir2_leaf.h57 __be32 hashval; /* hash value of name */ member in struct:xfs_dir2_leaf_entry
H A Dxfs_dir2_data.c145 be32_to_cpu(lep[i].hashval) == hash)
161 ASSERT(be32_to_cpu(lep[i].hashval) >= be32_to_cpu(lep[i - 1].hashval));
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/shared/nvram/
H A Dnvram.c78 uint hashval = 0; local
81 hashval = 31 *hashval + *s++;
83 return hashval;
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/shared/
H A Dnvram.c104 uint hashval = 0; local
107 hashval = 31 *hashval + *s++;
109 return hashval;
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/fs/
H A Dinode.c656 static unsigned long hash(struct super_block *sb, unsigned long hashval) argument
660 tmp = (hashval * (unsigned long)sb) ^ (GOLDEN_RATIO_PRIME + hashval) /
797 * @hashval: hash value (usually inode number) to search for
801 * ilookup5() uses ifind() to search for the inode specified by @hashval and
815 struct inode *ilookup5_nowait(struct super_block *sb, unsigned long hashval, argument
818 struct hlist_head *head = inode_hashtable + hash(sb, hashval);
828 * @hashval: hash value (usually inode number) to search for
832 * ilookup5() uses ifind() to search for the inode specified by @hashval and
844 struct inode *ilookup5(struct super_block *sb, unsigned long hashval, argument
899 iget5_locked(struct super_block *sb, unsigned long hashval, int (*test)(struct inode *, void *), int (*set)(struct inode *, void *), void *data) argument
960 __insert_inode_hash(struct inode *inode, unsigned long hashval) argument
[all...]
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/net/ipv4/netfilter/
H A Dipt_CLUSTERIP.c241 unsigned long hashval; local
266 hashval = jhash_1word(ntohl(iph->saddr),
270 hashval = jhash_2words(ntohl(iph->saddr), sport,
274 hashval = jhash_3words(ntohl(iph->saddr), sport, dport,
279 hashval = 0;
288 return ((hashval % config->num_total_nodes)+1);
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/fs/nfsd/
H A Dnfs4state.c559 find_confirmed_client_by_str(const char *dname, unsigned int hashval) argument
563 list_for_each_entry(clp, &conf_str_hashtbl[hashval], cl_strhash) {
571 find_unconfirmed_client_by_str(const char *dname, unsigned int hashval) argument
575 list_for_each_entry(clp, &unconf_str_hashtbl[hashval], cl_strhash) {
976 unsigned int hashval = file_hashval(ino); local
984 list_add(&fp->fi_hash, &file_hashtbl[hashval]);
1138 unsigned int hashval = stateid_hashval(sop->so_id, fp->fi_id); local
1144 list_add(&stp->st_hash, &stateid_hashtbl[hashval]);
1196 find_openstateowner_str(unsigned int hashval, struct nfsd4_open *open) argument
1200 list_for_each_entry(so, &ownerstr_hashtbl[hashval], so_strhas
1211 unsigned int hashval = file_hashval(ino); local
2445 unsigned int hashval; local
2537 unsigned int hashval = lock_ownerstr_hashval(inode, clid->cl_id, owner); local
2592 unsigned int hashval = stateid_hashval(sop->so_id, fp->fi_id); local
[all...]
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/fs/isofs/
H A Dinode.c1366 unsigned long hashval; local
1376 hashval = (block << sb->s_blocksize_bits) | offset;
1378 inode = iget5_locked(sb, hashval, &isofs_iget5_test,
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/fs/ext3/
H A Dnamei.c600 __u32 hashval; local
643 hashval = ~0;
645 frame, frames, &hashval);
646 *next_hash = hashval;
657 (count && ((hashval & 1) == 0)))
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/fs/ext4/
H A Dnamei.c600 __u32 hashval; local
643 hashval = ~0;
645 frame, frames, &hashval);
646 *next_hash = hashval;
657 (count && ((hashval & 1) == 0)))
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/include/linux/
H A Dfs.h1692 unsigned long hashval, int (*test)(struct inode *, void *),
1694 extern struct inode *ilookup5(struct super_block *sb, unsigned long hashval,
1722 extern void __insert_inode_hash(struct inode *, unsigned long hashval);
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/router/busybox-1.x/shell/
H A Dash.c1799 unsigned hashval; local
1801 hashval = ((unsigned char) *p) << 4;
1803 hashval += (unsigned char) *p++;
1804 return &vartab[hashval % VTABSIZE];
2908 unsigned int hashval; local
2916 hashval = ch << 4;
2918 hashval += ch;
2921 app = &atab[hashval % ATABSIZE];
6618 unsigned int hashval; local
6624 hashval
[all...]

Completed in 252 milliseconds