hash 81 arch/x86/crypto/crc32c-intel.c u32 *mctx = crypto_ahash_ctx(hash); hash 84 arch/x86/crypto/crc32c-intel.c crypto_ahash_set_flags(hash, CRYPTO_TFM_RES_BAD_KEY_LEN); hash 117 block/blk-core.c INIT_HLIST_NODE(&rq->hash); hash 1051 block/blk-core.c BUG_ON(!hlist_unhashed(&req->hash)); hash 53 block/elevator.c #define ELV_ON_HASH(rq) (!hlist_unhashed(&(rq)->hash)) hash 220 block/elevator.c eq->hash = kmalloc_node(sizeof(struct hlist_head) * ELV_HASH_ENTRIES, hash 222 block/elevator.c if (!eq->hash) hash 226 block/elevator.c INIT_HLIST_HEAD(&eq->hash[i]); hash 240 block/elevator.c kfree(e->hash); hash 324 block/elevator.c hlist_del_init(&rq->hash); hash 338 block/elevator.c hlist_add_head(&rq->hash, &e->hash[ELV_HASH_FN(rq_hash_key(rq))]); hash 350 block/elevator.c struct hlist_head *hash_list = &e->hash[ELV_HASH_FN(offset)]; hash 354 block/elevator.c hlist_for_each_entry_safe(rq, entry, next, hash_list, hash) { hash 116 crypto/authenc.c u8 *hash = aead_request_ctx(req); hash 119 crypto/authenc.c hash = (u8 *)ALIGN((unsigned long)hash + crypto_hash_alignmask(auth), hash 135 crypto/authenc.c err = crypto_hash_final(&desc, hash); hash 142 crypto/authenc.c return hash; hash 155 crypto/authenc.c u8 *hash; hash 165 crypto/authenc.c hash = crypto_authenc_hash(req, flags, cipher, cryptlen); hash 166 crypto/authenc.c if (IS_ERR(hash)) hash 167 crypto/authenc.c return PTR_ERR(hash); hash 169 crypto/authenc.c scatterwalk_map_and_copy(hash, cipher, cryptlen, hash 112 crypto/crc32c.c u32 *mctx = crypto_ahash_ctx(hash); hash 115 crypto/crc32c.c crypto_ahash_set_flags(hash, CRYPTO_TFM_RES_BAD_KEY_LEN); hash 123 crypto/digest.c struct crypto_tfm *tfm = crypto_hash_tfm(hash); hash 125 crypto/digest.c crypto_hash_clear_flags(hash, CRYPTO_TFM_RES_MASK); hash 189 crypto/gcm.c be128 hash; hash 216 crypto/gcm.c sg_init_one(data->sg, &data->hash, sizeof(data->hash)); hash 223 crypto/gcm.c sizeof(data->hash), data->iv); hash 239 crypto/gcm.c ctx->gf128 = gf128mul_init_4k_lle(&data->hash); hash 199 crypto/hmac.c struct crypto_hash *hash; hash 204 crypto/hmac.c hash = crypto_spawn_hash(spawn); hash 205 crypto/hmac.c if (IS_ERR(hash)) hash 206 crypto/hmac.c return PTR_ERR(hash); hash 208 crypto/hmac.c ctx->child = hash; hash 36 crypto/md4.c u32 hash[MD4_HASH_WORDS]; hash 87 crypto/md4.c a = hash[0]; hash 88 crypto/md4.c b = hash[1]; hash 89 crypto/md4.c c = hash[2]; hash 90 crypto/md4.c d = hash[3]; hash 143 crypto/md4.c hash[0] += a; hash 144 crypto/md4.c hash[1] += b; hash 145 crypto/md4.c hash[2] += c; hash 146 crypto/md4.c hash[3] += d; hash 152 crypto/md4.c md4_transform(ctx->hash, ctx->block); hash 159 crypto/md4.c mctx->hash[0] = 0x67452301; hash 160 crypto/md4.c mctx->hash[1] = 0xefcdab89; hash 161 crypto/md4.c mctx->hash[2] = 0x98badcfe; hash 162 crypto/md4.c mctx->hash[3] = 0x10325476; hash 216 crypto/md4.c md4_transform(mctx->hash, mctx->block); hash 217 crypto/md4.c cpu_to_le32_array(mctx->hash, sizeof(mctx->hash) / sizeof(u32)); hash 218 crypto/md4.c memcpy(out, mctx->hash, sizeof(mctx->hash)); hash 39 crypto/md5.c u32 hash[MD5_HASH_WORDS]; hash 48 crypto/md5.c a = hash[0]; hash 49 crypto/md5.c b = hash[1]; hash 50 crypto/md5.c c = hash[2]; hash 51 crypto/md5.c d = hash[3]; hash 121 crypto/md5.c hash[0] += a; hash 122 crypto/md5.c hash[1] += b; hash 123 crypto/md5.c hash[2] += c; hash 124 crypto/md5.c hash[3] += d; hash 147 crypto/md5.c md5_transform(ctx->hash, ctx->block); hash 154 crypto/md5.c mctx->hash[0] = 0x67452301; hash 155 crypto/md5.c mctx->hash[1] = 0xefcdab89; hash 156 crypto/md5.c mctx->hash[2] = 0x98badcfe; hash 157 crypto/md5.c mctx->hash[3] = 0x10325476; hash 211 crypto/md5.c md5_transform(mctx->hash, mctx->block); hash 212 crypto/md5.c cpu_to_le32_array(mctx->hash, sizeof(mctx->hash) / sizeof(u32)); hash 213 crypto/md5.c memcpy(out, mctx->hash, sizeof(mctx->hash)); hash 320 crypto/sha256_generic.c memcpy(hash, D, SHA224_DIGEST_SIZE); hash 212 crypto/sha512_generic.c __be64 *dst = (__be64 *)hash; hash 245 crypto/sha512_generic.c memcpy(hash, D, 48); hash 89 crypto/testmgr.c struct hash_test_suite hash; hash 1007 crypto/testmgr.c err = test_hash(tfm, desc->suite.hash.vecs, desc->suite.hash.count); hash 1139 crypto/testmgr.c .hash = { hash 1448 crypto/testmgr.c .hash = { hash 1457 crypto/testmgr.c .hash = { hash 1466 crypto/testmgr.c .hash = { hash 1475 crypto/testmgr.c .hash = { hash 1484 crypto/testmgr.c .hash = { hash 1493 crypto/testmgr.c .hash = { hash 1502 crypto/testmgr.c .hash = { hash 1511 crypto/testmgr.c .hash = { hash 1550 crypto/testmgr.c .hash = { hash 1559 crypto/testmgr.c .hash = { hash 1568 crypto/testmgr.c .hash = { hash 1607 crypto/testmgr.c .hash = { hash 1616 crypto/testmgr.c .hash = { hash 1625 crypto/testmgr.c .hash = { hash 1634 crypto/testmgr.c .hash = { hash 1654 crypto/testmgr.c .hash = { hash 1663 crypto/testmgr.c .hash = { hash 1672 crypto/testmgr.c .hash = { hash 1681 crypto/testmgr.c .hash = { hash 1690 crypto/testmgr.c .hash = { hash 1699 crypto/testmgr.c .hash = { hash 1708 crypto/testmgr.c .hash = { hash 1717 crypto/testmgr.c .hash = { hash 1726 crypto/testmgr.c .hash = { hash 1735 crypto/testmgr.c .hash = { hash 1744 crypto/testmgr.c .hash = { hash 1753 crypto/testmgr.c .hash = { hash 39 crypto/tgr192.c u8 hash[64]; hash 518 crypto/tgr192.c tgr192_transform(tctx, tctx->hash); hash 527 crypto/tgr192.c tctx->hash[tctx->count++] = *inbuf++; hash 544 crypto/tgr192.c tctx->hash[tctx->count++] = *inbuf++; hash 578 crypto/tgr192.c tctx->hash[tctx->count++] = 0x01; /* pad */ hash 580 crypto/tgr192.c tctx->hash[tctx->count++] = 0; /* pad */ hash 583 crypto/tgr192.c tctx->hash[tctx->count++] = 0x01; /* pad character */ hash 585 crypto/tgr192.c tctx->hash[tctx->count++] = 0; hash 588 crypto/tgr192.c memset(tctx->hash, 0, 56); /* fill next block with zeroes */ hash 591 crypto/tgr192.c le32p = (__le32 *)&tctx->hash[56]; hash 595 crypto/tgr192.c tgr192_transform(tctx, tctx->hash); hash 597 crypto/tgr192.c be64p = (__be64 *)tctx->hash; hash 43 crypto/wp512.c u64 hash[WP512_DIGEST_SIZE/8]; hash 787 crypto/wp512.c state[0] = block[0] ^ (K[0] = wctx->hash[0]); hash 788 crypto/wp512.c state[1] = block[1] ^ (K[1] = wctx->hash[1]); hash 789 crypto/wp512.c state[2] = block[2] ^ (K[2] = wctx->hash[2]); hash 790 crypto/wp512.c state[3] = block[3] ^ (K[3] = wctx->hash[3]); hash 791 crypto/wp512.c state[4] = block[4] ^ (K[4] = wctx->hash[4]); hash 792 crypto/wp512.c state[5] = block[5] ^ (K[5] = wctx->hash[5]); hash 793 crypto/wp512.c state[6] = block[6] ^ (K[6] = wctx->hash[6]); hash 794 crypto/wp512.c state[7] = block[7] ^ (K[7] = wctx->hash[7]); hash 972 crypto/wp512.c wctx->hash[0] ^= state[0] ^ block[0]; hash 973 crypto/wp512.c wctx->hash[1] ^= state[1] ^ block[1]; hash 974 crypto/wp512.c wctx->hash[2] ^= state[2] ^ block[2]; hash 975 crypto/wp512.c wctx->hash[3] ^= state[3] ^ block[3]; hash 976 crypto/wp512.c wctx->hash[4] ^= state[4] ^ block[4]; hash 977 crypto/wp512.c wctx->hash[5] ^= state[5] ^ block[5]; hash 978 crypto/wp512.c wctx->hash[6] ^= state[6] ^ block[6]; hash 979 crypto/wp512.c wctx->hash[7] ^= state[7] ^ block[7]; hash 991 crypto/wp512.c wctx->hash[i] = 0L; hash 1084 crypto/wp512.c digest[i] = cpu_to_be64(wctx->hash[i]); hash 210 fs/adfs/dir.c unsigned long hash; hash 222 fs/adfs/dir.c hash = init_name_hash(); hash 230 fs/adfs/dir.c hash = partial_name_hash(c, hash); hash 232 fs/adfs/dir.c qstr->hash = end_name_hash(hash); hash 64 fs/affs/namei.c unsigned long hash; hash 71 fs/affs/namei.c hash = init_name_hash(); hash 74 fs/affs/namei.c hash = partial_name_hash(toupper(*name), hash); hash 75 fs/affs/namei.c qstr->hash = end_name_hash(hash); hash 161 fs/affs/namei.c int hash; hash 163 fs/affs/namei.c hash = len = min(len, 30u); hash 165 fs/affs/namei.c hash = (hash * 13 + toupper(*name++)) & 0x7ff; hash 167 fs/affs/namei.c return hash % AFFS_SB(sb)->s_hashsize; hash 94 fs/anon_inodes.c this.hash = 0; hash 53 fs/autofs/autofs_i.h int hash; hash 76 fs/autofs/autofs_i.h int hash; hash 115 fs/autofs/dirhash.c DPRINTK(("autofs_hash_lookup: hash = 0x%08x, name = ", name->hash)); hash 118 fs/autofs/dirhash.c for ( dhn = dh->h[(unsigned) name->hash % AUTOFS_HASH_SIZE] ; dhn ; dhn = dhn->next ) { hash 119 fs/autofs/dirhash.c if ( name->hash == dhn->hash && hash 132 fs/autofs/dirhash.c DPRINTK(("autofs_hash_insert: hash = 0x%08x, name = ", ent->hash)); hash 139 fs/autofs/dirhash.c dhnp = &dh->h[(unsigned) ent->hash % AUTOFS_HASH_SIZE]; hash 207 fs/autofs/dirhash.c printk("autofs_hash_enum: found hash %08x, name", ent->hash); hash 330 fs/autofs/root.c ent->hash = dentry->d_name.hash; hash 472 fs/autofs/root.c ent->hash = dentry->d_name.hash; hash 117 fs/autofs/waitq.c if ( wq->hash == name->hash && hash 136 fs/autofs/waitq.c wq->hash = name->hash; hash 366 fs/autofs4/root.c unsigned int hash = name->hash; hash 389 fs/autofs4/root.c if (dentry->d_name.hash != hash) hash 418 fs/autofs4/root.c unsigned int hash = name->hash; hash 441 fs/autofs4/root.c if (dentry->d_name.hash != hash) hash 222 fs/autofs4/waitq.c if (wq->name.hash == qstr->hash && hash 361 fs/autofs4/waitq.c qstr.hash = full_name_hash(name, qstr.len); hash 376 fs/block_dev.c inode = iget5_locked(bd_mnt->mnt_sb, hash(dev), hash 602 fs/cifs/dir.c unsigned long hash; hash 605 fs/cifs/dir.c hash = init_name_hash(); hash 607 fs/cifs/dir.c hash = partial_name_hash(nls_tolower(codepage, q->name[i]), hash 608 fs/cifs/dir.c hash); hash 609 fs/cifs/dir.c q->hash = end_name_hash(hash); hash 73 fs/cifs/readdir.c qstring->hash = full_name_hash(qstring->name, qstring->len); hash 894 fs/cifs/readdir.c pqst->hash = full_name_hash(pqst->name, pqst->len); hash 63 fs/coda/cnode.c unsigned long hash = coda_f2i(fid); hash 65 fs/coda/cnode.c inode = iget5_locked(sb, hash, coda_test_inode, coda_set_inode, fid); hash 73 fs/coda/cnode.c inode->i_ino = hash; hash 114 fs/coda/cnode.c unsigned long hash = coda_f2i(newfid); hash 124 fs/coda/cnode.c inode->i_ino = hash; hash 125 fs/coda/cnode.c __insert_inode_hash(inode, hash); hash 132 fs/coda/cnode.c unsigned long hash = coda_f2i(fid); hash 139 fs/coda/cnode.c inode = ilookup5(sb, hash, coda_test_inode, fid); hash 2857 fs/compat_ioctl.c unsigned long hash; hash 2860 fs/compat_ioctl.c hash = ioctl32_hash (trans->cmd); hash 2861 fs/compat_ioctl.c if (!ioctl32_hash_table[hash]) hash 2862 fs/compat_ioctl.c ioctl32_hash_table[hash] = trans; hash 2864 fs/compat_ioctl.c t = ioctl32_hash_table[hash]; hash 594 fs/configfs/dir.c name.hash = full_name_hash(name.name, name.len); hash 1599 fs/configfs/dir.c name.hash = full_name_hash(name.name, name.len); hash 933 fs/dcache.c dentry->d_name.hash = name->hash; hash 976 fs/dcache.c q.hash = full_name_hash(q.name, q.len); hash 1029 fs/dcache.c unsigned int hash = entry->d_name.hash; hash 1039 fs/dcache.c if (qstr->hash != hash) hash 1108 fs/dcache.c hash += ((unsigned long) parent ^ GOLDEN_RATIO_PRIME) / L1_CACHE_BYTES; hash 1109 fs/dcache.c hash = hash ^ ((hash ^ GOLDEN_RATIO_PRIME) >> D_HASHBITS); hash 1110 fs/dcache.c return dentry_hashtable + (hash & D_HASHMASK); hash 1371 fs/dcache.c unsigned int hash = name->hash; hash 1373 fs/dcache.c struct hlist_head *head = d_hash(parent,hash); hash 1383 fs/dcache.c if (dentry->d_name.hash != hash) hash 1445 fs/dcache.c name->hash = full_name_hash(name->name, name->len); hash 1480 fs/dcache.c base = d_hash(dparent, dentry->d_name.hash); hash 1550 fs/dcache.c __d_rehash(entry, d_hash(entry->d_parent, entry->d_name.hash)); hash 1668 fs/dcache.c list = d_hash(target->d_parent, target->d_name.hash); hash 1680 fs/dcache.c do_switch(dentry->d_name.hash, target->d_name.hash); hash 1785 fs/dcache.c do_switch(dentry->d_name.hash, anon->d_name.hash); hash 92 fs/dlm/dir.c node = (hash >> 16) % ls->ls_total_weight; hash 99 fs/dlm/dir.c node = (hash >> 16) % ls->ls_num_nodes; hash 439 fs/dlm/lock.c uint32_t hash, bucket; hash 449 fs/dlm/lock.c hash = jhash(name, namelen, 0); hash 450 fs/dlm/lock.c bucket = hash & (ls->ls_rsbtbl_size - 1); hash 468 fs/dlm/lock.c r->res_hash = hash; hash 440 fs/ecryptfs/main.c .hash = 0,.name = "/",.len = 1}); hash 829 fs/ext2/xattr.c __u32 hash = le32_to_cpu(HDR(bh)->h_hash); hash 836 fs/ext2/xattr.c error = mb_cache_entry_insert(ce, bh->b_bdev, bh->b_blocknr, &hash); hash 845 fs/ext2/xattr.c ea_bdebug(bh, "inserting [%x] (%d cache entries)", (int)hash, hash 903 fs/ext2/xattr.c __u32 hash = le32_to_cpu(header->h_hash); hash 908 fs/ext2/xattr.c ea_idebug(inode, "looking for cached blocks [%x]", (int)hash); hash 911 fs/ext2/xattr.c inode->i_sb->s_bdev, hash); hash 943 fs/ext2/xattr.c ce = mb_cache_entry_find_next(ce, 0, inode->i_sb->s_bdev, hash); hash 959 fs/ext2/xattr.c __u32 hash = 0; hash 964 fs/ext2/xattr.c hash = (hash << NAME_HASH_SHIFT) ^ hash 965 fs/ext2/xattr.c (hash >> (8*sizeof(hash) - NAME_HASH_SHIFT)) ^ hash 974 fs/ext2/xattr.c hash = (hash << VALUE_HASH_SHIFT) ^ hash 975 fs/ext2/xattr.c (hash >> (8*sizeof(hash) - VALUE_HASH_SHIFT)) ^ hash 979 fs/ext2/xattr.c entry->e_hash = cpu_to_le32(hash); hash 996 fs/ext2/xattr.c __u32 hash = 0; hash 1003 fs/ext2/xattr.c hash = 0; hash 1006 fs/ext2/xattr.c hash = (hash << BLOCK_HASH_SHIFT) ^ hash 1007 fs/ext2/xattr.c (hash >> (8*sizeof(hash) - BLOCK_HASH_SHIFT)) ^ hash 1011 fs/ext2/xattr.c header->h_hash = cpu_to_le32(hash); hash 253 fs/ext3/dir.c __u32 hash; hash 345 fs/ext3/dir.c new_fn->hash = hash; hash 361 fs/ext3/dir.c if ((new_fn->hash == fname->hash) && hash 368 fs/ext3/dir.c if (new_fn->hash < fname->hash) hash 370 fs/ext3/dir.c else if (new_fn->hash > fname->hash) hash 405 fs/ext3/dir.c curr_pos = hash2pos(fname->hash, fname->minor_hash); hash 483 fs/ext3/dir.c info->curr_hash = fname->hash; hash 42 fs/ext3/hash.c __u32 hash = hash1 + (hash0 ^ (*name++ * 7152373)); hash 44 fs/ext3/hash.c if (hash & 0x80000000) hash -= 0x7fffffff; hash 46 fs/ext3/hash.c hash0 = hash; hash 93 fs/ext3/hash.c __u32 hash; hash 117 fs/ext3/hash.c hash = dx_hack_hash(name, len); hash 128 fs/ext3/hash.c hash = buf[1]; hash 138 fs/ext3/hash.c hash = buf[0]; hash 142 fs/ext3/hash.c hinfo->hash = 0; hash 145 fs/ext3/hash.c hash = hash & ~1; hash 146 fs/ext3/hash.c if (hash == (EXT3_HTREE_EOF << 1)) hash 147 fs/ext3/hash.c hash = (EXT3_HTREE_EOF-1) << 1; hash 148 fs/ext3/hash.c hinfo->hash = hash; hash 103 fs/ext3/namei.c __le32 hash; hash 147 fs/ext3/namei.c u32 hash; hash 211 fs/ext3/namei.c return le32_to_cpu(entry->hash); hash 216 fs/ext3/namei.c entry->hash = cpu_to_le32(value); hash 292 fs/ext3/namei.c printk(":%x.%u ", h.hash, hash 315 fs/ext3/namei.c u32 block = dx_get_block(entries), hash = i? dx_get_hash(entries): 0; hash 316 fs/ext3/namei.c u32 range = i < count - 1? (dx_get_hash(entries + 1) - hash): ~hash; hash 318 fs/ext3/namei.c printk("%s%3u:%03u hash %8x/%8x ",levels?"":" ", i, block, hash, range); hash 353 fs/ext3/namei.c u32 hash; hash 375 fs/ext3/namei.c hash = hinfo->hash; hash 407 fs/ext3/namei.c dxtrace (printk("Look up %x", hash)); hash 425 fs/ext3/namei.c if (dx_get_hash(m) > hash) hash 438 fs/ext3/namei.c if (dx_get_hash(++at) > hash) hash 543 fs/ext3/namei.c if ((hash & 1) == 0) { hash 544 fs/ext3/namei.c if ((bhash & ~1) != hash) hash 597 fs/ext3/namei.c if ((hinfo->hash < start_hash) || hash 598 fs/ext3/namei.c ((hinfo->hash == start_hash) && hash 604 fs/ext3/namei.c hinfo->hash, hinfo->minor_hash, de)) != 0) { hash 646 fs/ext3/namei.c hinfo.hash = start_hash; hash 723 fs/ext3/namei.c map_tail->hash = h.hash; hash 747 fs/ext3/namei.c if (p->hash < q->hash) hash 756 fs/ext3/namei.c if (q[1].hash >= q[0].hash) hash 773 fs/ext3/namei.c dx_set_hash(new, hash); hash 965 fs/ext3/namei.c u32 hash; hash 986 fs/ext3/namei.c hash = hinfo.hash; hash 1012 fs/ext3/namei.c retval = ext3_htree_next_block(dir, hash, frame, hash 1217 fs/ext3/namei.c hash2 = map[split].hash; hash 1218 fs/ext3/namei.c continued = hash2 == map[split - 1].hash; hash 1231 fs/ext3/namei.c if (hinfo->hash >= hash2) hash 1130 fs/ext3/xattr.c __u32 hash = le32_to_cpu(BHDR(bh)->h_hash); hash 1139 fs/ext3/xattr.c error = mb_cache_entry_insert(ce, bh->b_bdev, bh->b_blocknr, &hash); hash 1147 fs/ext3/xattr.c ea_bdebug(bh, "inserting [%x]", (int)hash); hash 1204 fs/ext3/xattr.c __u32 hash = le32_to_cpu(header->h_hash); hash 1209 fs/ext3/xattr.c ea_idebug(inode, "looking for cached blocks [%x]", (int)hash); hash 1212 fs/ext3/xattr.c inode->i_sb->s_bdev, hash); hash 1237 fs/ext3/xattr.c ce = mb_cache_entry_find_next(ce, 0, inode->i_sb->s_bdev, hash); hash 1253 fs/ext3/xattr.c __u32 hash = 0; hash 1258 fs/ext3/xattr.c hash = (hash << NAME_HASH_SHIFT) ^ hash 1259 fs/ext3/xattr.c (hash >> (8*sizeof(hash) - NAME_HASH_SHIFT)) ^ hash 1268 fs/ext3/xattr.c hash = (hash << VALUE_HASH_SHIFT) ^ hash 1269 fs/ext3/xattr.c (hash >> (8*sizeof(hash) - VALUE_HASH_SHIFT)) ^ hash 1273 fs/ext3/xattr.c entry->e_hash = cpu_to_le32(hash); hash 1290 fs/ext3/xattr.c __u32 hash = 0; hash 1297 fs/ext3/xattr.c hash = 0; hash 1300 fs/ext3/xattr.c hash = (hash << BLOCK_HASH_SHIFT) ^ hash 1301 fs/ext3/xattr.c (hash >> (8*sizeof(hash) - BLOCK_HASH_SHIFT)) ^ hash 1305 fs/ext3/xattr.c header->h_hash = cpu_to_le32(hash); hash 259 fs/ext4/dir.c __u32 hash; hash 351 fs/ext4/dir.c new_fn->hash = hash; hash 367 fs/ext4/dir.c if ((new_fn->hash == fname->hash) && hash 374 fs/ext4/dir.c if (new_fn->hash < fname->hash) hash 376 fs/ext4/dir.c else if (new_fn->hash > fname->hash) hash 412 fs/ext4/dir.c curr_pos = hash2pos(fname->hash, fname->minor_hash); hash 500 fs/ext4/dir.c info->curr_hash = fname->hash; hash 901 fs/ext4/ext4.h u32 hash; hash 42 fs/ext4/hash.c __u32 hash = hash1 + (hash0 ^ (*name++ * 7152373)); hash 44 fs/ext4/hash.c if (hash & 0x80000000) hash -= 0x7fffffff; hash 46 fs/ext4/hash.c hash0 = hash; hash 93 fs/ext4/hash.c __u32 hash; hash 117 fs/ext4/hash.c hash = dx_hack_hash(name, len); hash 128 fs/ext4/hash.c hash = buf[1]; hash 138 fs/ext4/hash.c hash = buf[0]; hash 142 fs/ext4/hash.c hinfo->hash = 0; hash 145 fs/ext4/hash.c hash = hash & ~1; hash 146 fs/ext4/hash.c if (hash == (EXT4_HTREE_EOF << 1)) hash 147 fs/ext4/hash.c hash = (EXT4_HTREE_EOF-1) << 1; hash 148 fs/ext4/hash.c hinfo->hash = hash; hash 103 fs/ext4/namei.c __le32 hash; hash 147 fs/ext4/namei.c u32 hash; hash 214 fs/ext4/namei.c return le32_to_cpu(entry->hash); hash 219 fs/ext4/namei.c entry->hash = cpu_to_le32(value); hash 295 fs/ext4/namei.c printk(":%x.%u ", h.hash, hash 319 fs/ext4/namei.c ext4_lblk_t hash = i ? dx_get_hash(entries): 0; hash 320 fs/ext4/namei.c u32 range = i < count - 1? (dx_get_hash(entries + 1) - hash): ~hash; hash 322 fs/ext4/namei.c printk("%s%3u:%03u hash %8x/%8x ",levels?"":" ", i, block, hash, range); hash 358 fs/ext4/namei.c u32 hash; hash 378 fs/ext4/namei.c hash = hinfo->hash; hash 410 fs/ext4/namei.c dxtrace(printk("Look up %x", hash)); hash 428 fs/ext4/namei.c if (dx_get_hash(m) > hash) hash 441 fs/ext4/namei.c if (dx_get_hash(++at) > hash) hash 546 fs/ext4/namei.c if ((hash & 1) == 0) { hash 547 fs/ext4/namei.c if ((bhash & ~1) != hash) hash 601 fs/ext4/namei.c if ((hinfo->hash < start_hash) || hash 602 fs/ext4/namei.c ((hinfo->hash == start_hash) && hash 608 fs/ext4/namei.c hinfo->hash, hinfo->minor_hash, de)) != 0) { hash 650 fs/ext4/namei.c hinfo.hash = start_hash; hash 727 fs/ext4/namei.c map_tail->hash = h.hash; hash 750 fs/ext4/namei.c if (p->hash < q->hash) hash 758 fs/ext4/namei.c if (q[1].hash >= q[0].hash) hash 775 fs/ext4/namei.c dx_set_hash(new, hash); hash 970 fs/ext4/namei.c u32 hash; hash 990 fs/ext4/namei.c hash = hinfo.hash; hash 1016 fs/ext4/namei.c retval = ext4_htree_next_block(dir, hash, frame, hash 1220 fs/ext4/namei.c hash2 = map[split].hash; hash 1221 fs/ext4/namei.c continued = hash2 == map[split - 1].hash; hash 1235 fs/ext4/namei.c if (hinfo->hash >= hash2) hash 1394 fs/ext4/xattr.c __u32 hash = le32_to_cpu(BHDR(bh)->h_hash); hash 1403 fs/ext4/xattr.c error = mb_cache_entry_insert(ce, bh->b_bdev, bh->b_blocknr, &hash); hash 1411 fs/ext4/xattr.c ea_bdebug(bh, "inserting [%x]", (int)hash); hash 1468 fs/ext4/xattr.c __u32 hash = le32_to_cpu(header->h_hash); hash 1473 fs/ext4/xattr.c ea_idebug(inode, "looking for cached blocks [%x]", (int)hash); hash 1476 fs/ext4/xattr.c inode->i_sb->s_bdev, hash); hash 1501 fs/ext4/xattr.c ce = mb_cache_entry_find_next(ce, 0, inode->i_sb->s_bdev, hash); hash 1517 fs/ext4/xattr.c __u32 hash = 0; hash 1522 fs/ext4/xattr.c hash = (hash << NAME_HASH_SHIFT) ^ hash 1523 fs/ext4/xattr.c (hash >> (8*sizeof(hash) - NAME_HASH_SHIFT)) ^ hash 1532 fs/ext4/xattr.c hash = (hash << VALUE_HASH_SHIFT) ^ hash 1533 fs/ext4/xattr.c (hash >> (8*sizeof(hash) - VALUE_HASH_SHIFT)) ^ hash 1537 fs/ext4/xattr.c entry->e_hash = cpu_to_le32(hash); hash 1554 fs/ext4/xattr.c __u32 hash = 0; hash 1561 fs/ext4/xattr.c hash = 0; hash 1564 fs/ext4/xattr.c hash = (hash << BLOCK_HASH_SHIFT) ^ hash 1565 fs/ext4/xattr.c (hash >> (8*sizeof(hash) - BLOCK_HASH_SHIFT)) ^ hash 1569 fs/ext4/xattr.c header->h_hash = cpu_to_le32(hash); hash 351 fs/gfs2/dir.c be32_to_cpu(dent->de_hash) == name->hash && hash 768 fs/gfs2/dir.c index = name->hash >> (32 - ip->i_depth); hash 811 fs/gfs2/dir.c struct qstr name = { .name = "", .len = 0, .hash = 0 }; hash 944 fs/gfs2/dir.c index = name->hash >> (32 - dip->i_depth); hash 1015 fs/gfs2/dir.c str.hash = be32_to_cpu(dent->de_hash); hash 1366 fs/gfs2/dir.c u32 hash, index; hash 1378 fs/gfs2/dir.c hash = gfs2_dir_offset2hash(*offset); hash 1379 fs/gfs2/dir.c index = hash >> (32 - dip->i_depth); hash 1551 fs/gfs2/dir.c index = name->hash >> (32 - ip->i_depth); hash 47 fs/gfs2/dir.h name->hash = gfs2_disk_hash(name->name, name->len); hash 55 fs/gfs2/dir.h dent->de_hash = cpu_to_be32(name->hash); hash 49 fs/gfs2/glock.c int hash; /* hash bucket index */ hash 217 fs/gfs2/glock.c hlist_for_each_entry(gl, h, &gl_hash_table[hash].hb_list, gl_list) { hash 242 fs/gfs2/glock.c unsigned int hash = gl_hash(sdp, name); hash 245 fs/gfs2/glock.c read_lock(gl_lock_addr(hash)); hash 246 fs/gfs2/glock.c gl = search_bucket(hash, sdp, name); hash 247 fs/gfs2/glock.c read_unlock(gl_lock_addr(hash)); hash 672 fs/gfs2/glock.c unsigned int hash = gl_hash(sdp, &name); hash 675 fs/gfs2/glock.c read_lock(gl_lock_addr(hash)); hash 676 fs/gfs2/glock.c gl = search_bucket(hash, sdp, &name); hash 677 fs/gfs2/glock.c read_unlock(gl_lock_addr(hash)); hash 694 fs/gfs2/glock.c gl->gl_hash = hash; hash 717 fs/gfs2/glock.c write_lock(gl_lock_addr(hash)); hash 718 fs/gfs2/glock.c tmp = search_bucket(hash, sdp, &name); hash 720 fs/gfs2/glock.c write_unlock(gl_lock_addr(hash)); hash 724 fs/gfs2/glock.c hlist_add_head(&gl->gl_list, &gl_hash_table[hash].hb_list); hash 725 fs/gfs2/glock.c write_unlock(gl_lock_addr(hash)); hash 1429 fs/gfs2/glock.c struct hlist_head *head = &gl_hash_table[hash].hb_list; hash 1431 fs/gfs2/glock.c read_lock(gl_lock_addr(hash)); hash 1439 fs/gfs2/glock.c read_unlock(gl_lock_addr(hash)); hash 1445 fs/gfs2/glock.c read_lock(gl_lock_addr(hash)); hash 1452 fs/gfs2/glock.c read_unlock(gl_lock_addr(hash)); hash 1814 fs/gfs2/glock.c read_lock(gl_lock_addr(gi->hash)); hash 1820 fs/gfs2/glock.c gi->gl = hlist_entry(gl_hash_table[gi->hash].hb_list.first, hash 1825 fs/gfs2/glock.c read_unlock(gl_lock_addr(gi->hash)); hash 1829 fs/gfs2/glock.c gi->hash++; hash 1830 fs/gfs2/glock.c if (gi->hash >= GFS2_GL_HASH_SIZE) hash 1832 fs/gfs2/glock.c read_lock(gl_lock_addr(gi->hash)); hash 1833 fs/gfs2/glock.c gi->gl = hlist_entry(gl_hash_table[gi->hash].hb_list.first, hash 1837 fs/gfs2/glock.c read_unlock(gl_lock_addr(gi->hash)); hash 1858 fs/gfs2/glock.c gi->hash = 0; hash 70 fs/gfs2/inode.c unsigned long hash = (unsigned long)no_addr; hash 71 fs/gfs2/inode.c return ilookup5(sb, hash, iget_test, &no_addr); hash 76 fs/gfs2/inode.c unsigned long hash = (unsigned long)no_addr; hash 77 fs/gfs2/inode.c return iget5_locked(sb, hash, iget_test, iget_set, &no_addr); hash 117 fs/gfs2/inode.c unsigned long hash = (unsigned long)no_addr; hash 121 fs/gfs2/inode.c return iget5_locked(sb, hash, iget_skip_test, iget_skip_set, &data); hash 581 fs/gfs2/log.c u32 hash; hash 601 fs/gfs2/log.c hash = gfs2_disk_hash(bh->b_data, sizeof(struct gfs2_log_header)); hash 602 fs/gfs2/log.c lh->lh_hash = cpu_to_be32(hash); hash 107 fs/gfs2/ops_dentry.c str->hash = gfs2_disk_hash(str->name, str->len); hash 154 fs/gfs2/recovery.c u32 hash; hash 161 fs/gfs2/recovery.c hash = crc32_le((u32)~0, bh->b_data, sizeof(struct gfs2_log_header) - hash 163 fs/gfs2/recovery.c hash = crc32_le(hash, (unsigned char const *)¬hing, sizeof(nothing)); hash 164 fs/gfs2/recovery.c hash ^= (u32)~0; hash 168 fs/gfs2/recovery.c if (error || lh.lh_blkno != blk || lh.lh_hash != hash) hash 385 fs/gfs2/recovery.c u32 hash; hash 416 fs/gfs2/recovery.c hash = gfs2_disk_hash((const char *)lh, sizeof(struct gfs2_log_header)); hash 417 fs/gfs2/recovery.c lh->lh_hash = cpu_to_be32(hash); hash 66 fs/gfs2/super.c name.hash = gfs2_disk_hash(name.name, name.len); hash 241 fs/hfs/bnode.c int size, block, i, hash; hash 265 fs/hfs/bnode.c hash = hfs_bnode_hash(cnid); hash 266 fs/hfs/bnode.c node->next_hash = tree->node_hash[hash]; hash 267 fs/hfs/bnode.c tree->node_hash[hash] = node; hash 57 fs/hfs/string.c unsigned int hash, len = this->len; hash 62 fs/hfs/string.c hash = init_name_hash(); hash 64 fs/hfs/string.c hash = partial_name_hash(caseorder[*name++], hash); hash 65 fs/hfs/string.c this->hash = end_name_hash(hash); hash 401 fs/hfsplus/bnode.c int size, block, i, hash; hash 425 fs/hfsplus/bnode.c hash = hfs_bnode_hash(cnid); hash 426 fs/hfsplus/bnode.c node->next_hash = tree->node_hash[hash]; hash 427 fs/hfsplus/bnode.c tree->node_hash[hash] = node; hash 329 fs/hfsplus/unicode.c unsigned long hash; hash 335 fs/hfsplus/unicode.c hash = init_name_hash(); hash 348 fs/hfsplus/unicode.c hash = partial_name_hash(c2, hash); hash 353 fs/hfsplus/unicode.c hash = partial_name_hash(c2, hash); hash 356 fs/hfsplus/unicode.c str->hash = end_name_hash(hash); hash 17 fs/hpfs/dentry.c unsigned long hash; hash 29 fs/hpfs/dentry.c hash = init_name_hash(); hash 31 fs/hpfs/dentry.c hash = partial_name_hash(hpfs_upcase(hpfs_sb(dentry->d_sb)->sb_cp_table,qstr->name[i]), hash); hash 32 fs/hpfs/dentry.c qstr->hash = end_name_hash(hash); hash 967 fs/hugetlbfs/inode.c quick_string.hash = 0; hash 742 fs/inode.c head = inode_hashtable + hash(sb, res); hash 863 fs/inode.c struct hlist_head *head = inode_hashtable + hash(sb, hashval); hash 892 fs/inode.c struct hlist_head *head = inode_hashtable + hash(sb, hashval); hash 915 fs/inode.c struct hlist_head *head = inode_hashtable + hash(sb, ino); hash 946 fs/inode.c struct hlist_head *head = inode_hashtable + hash(sb, hashval); hash 978 fs/inode.c struct hlist_head *head = inode_hashtable + hash(sb, ino); hash 1003 fs/inode.c struct hlist_head *head = inode_hashtable + hash(inode->i_sb, hashval); hash 175 fs/isofs/inode.c qstr->hash = full_name_hash(name, len); hash 189 fs/isofs/inode.c unsigned long hash; hash 198 fs/isofs/inode.c hash = init_name_hash(); hash 201 fs/isofs/inode.c hash = partial_name_hash(c, hash); hash 203 fs/isofs/inode.c qstr->hash = end_name_hash(hash); hash 82 fs/jbd/revoke.c struct list_head hash; hash 132 fs/jbd/revoke.c hash_list = &journal->j_revoke->hash_table[hash(journal, blocknr)]; hash 134 fs/jbd/revoke.c list_add(&record->hash, hash_list); hash 154 fs/jbd/revoke.c hash_list = &journal->j_revoke->hash_table[hash(journal, blocknr)]; hash 158 fs/jbd/revoke.c while (&(record->hash) != hash_list) { hash 163 fs/jbd/revoke.c record = (struct jbd_revoke_record_s *) record->hash.next; hash 435 fs/jbd/revoke.c list_del(&record->hash); hash 515 fs/jbd/revoke.c list_del(&record->hash); hash 686 fs/jbd/revoke.c list_del(&record->hash); hash 82 fs/jbd2/revoke.c struct list_head hash; hash 113 fs/jbd2/revoke.c int hash = (int)block ^ (int)((block >> 31) >> 1); hash 115 fs/jbd2/revoke.c return ((hash << (hash_shift - 6)) ^ hash 116 fs/jbd2/revoke.c (hash >> 13) ^ hash 117 fs/jbd2/revoke.c (hash << (hash_shift - 12))) & (table->hash_size - 1); hash 133 fs/jbd2/revoke.c hash_list = &journal->j_revoke->hash_table[hash(journal, blocknr)]; hash 135 fs/jbd2/revoke.c list_add(&record->hash, hash_list); hash 155 fs/jbd2/revoke.c hash_list = &journal->j_revoke->hash_table[hash(journal, blocknr)]; hash 159 fs/jbd2/revoke.c while (&(record->hash) != hash_list) { hash 164 fs/jbd2/revoke.c record = (struct jbd2_revoke_record_s *) record->hash.next; hash 434 fs/jbd2/revoke.c list_del(&record->hash); hash 514 fs/jbd2/revoke.c list_del(&record->hash); hash 693 fs/jbd2/revoke.c list_del(&record->hash); hash 92 fs/jffs2/dir.c for (fd_list = dir_f->dents; fd_list && fd_list->nhash <= target->d_name.hash; fd_list = fd_list->next) { hash 93 fs/jffs2/dir.c if (fd_list->nhash == target->d_name.hash && hash 1567 fs/jfs/namei.c unsigned long hash; hash 1570 fs/jfs/namei.c hash = init_name_hash(); hash 1572 fs/jfs/namei.c hash = partial_name_hash(tolower(this->name[i]), hash); hash 1573 fs/jfs/namei.c this->hash = end_name_hash(hash); hash 58 fs/lockd/host.c unsigned int hash = (__force u32)n ^ ((__force u32)n >> 16); hash 59 fs/lockd/host.c return hash ^ (hash >> 8); hash 80 fs/lockd/host.c unsigned int hash; hash 84 fs/lockd/host.c hash = __nlm_hash_addr4(sap); hash 87 fs/lockd/host.c hash = __nlm_hash_addr6(sap); hash 90 fs/lockd/host.c hash = 0; hash 92 fs/lockd/host.c return hash & (NLM_HOST_NRHASH - 1); hash 89 fs/lockd/svcsubs.c unsigned int hash; hash 94 fs/lockd/svcsubs.c hash = file_hash(f); hash 99 fs/lockd/svcsubs.c hlist_for_each_entry(file, pos, &nlm_files[hash], f_list) hash 126 fs/lockd/svcsubs.c hlist_add_head(&file->f_list, &nlm_files[hash]); hash 160 fs/msdos/namei.c qstr->hash = full_name_hash(msdos_name, MSDOS_NAME); hash 868 fs/namei.c unsigned long hash; hash 882 fs/namei.c hash = init_name_hash(); hash 885 fs/namei.c hash = partial_name_hash(c, hash); hash 889 fs/namei.c this.hash = end_name_hash(hash); hash 1257 fs/namei.c unsigned long hash; hash 1265 fs/namei.c hash = init_name_hash(); hash 1270 fs/namei.c hash = partial_name_hash(c, hash); hash 1272 fs/namei.c this->hash = end_name_hash(hash); hash 423 fs/namespace.c struct list_head *head = mount_hashtable + hash(mnt, dentry); hash 499 fs/namespace.c hash(path->mnt, path->dentry)); hash 521 fs/namespace.c hash(parent, mnt->mnt_mountpoint)); hash 106 fs/ncpfs/dir.c unsigned long hash; hash 112 fs/ncpfs/dir.c hash = init_name_hash(); hash 114 fs/ncpfs/dir.c hash = partial_name_hash(ncp_tolower(t, this->name[i]), hash 115 fs/ncpfs/dir.c hash); hash 116 fs/ncpfs/dir.c this->hash = end_name_hash(hash); hash 573 fs/ncpfs/dir.c qname.hash = full_name_hash(qname.name, qname.len); hash 111 fs/ncpfs/ncpsign_kernel.c unsigned char hash[16]; hash 121 fs/ncpfs/ncpsign_kernel.c nwsign(server->sign_last, data, hash); hash 122 fs/ncpfs/ncpsign_kernel.c return memcmp(sign_buff, hash, 8); hash 1114 fs/nfs/dir.c name.hash = full_name_hash(name.name, name.len); hash 482 fs/nfs/idmap.c unsigned int hash = FNV_1_32; hash 485 fs/nfs/idmap.c hash *= FNV_P_32; hash 486 fs/nfs/idmap.c hash ^= (unsigned int)*p; hash 489 fs/nfs/idmap.c return hash; hash 250 fs/nfs/inode.c unsigned long hash; hash 260 fs/nfs/inode.c hash = nfs_fattr_to_ino_t(fattr); hash 262 fs/nfs/inode.c inode = iget5_locked(sb, hash, nfs_find_actor, nfs_init_locked, &desc); hash 274 fs/nfs/inode.c inode->i_ino = hash; hash 276 fs/nfsd/export.c int hash = item->ek_fsidtype; hash 280 fs/nfsd/export.c hash ^= hash_mem(cp, len, EXPKEY_HASHBITS); hash 281 fs/nfsd/export.c hash ^= hash_ptr(item->ek_client, EXPKEY_HASHBITS); hash 282 fs/nfsd/export.c hash &= EXPKEY_HASHMASK; hash 285 fs/nfsd/export.c hash); hash 296 fs/nfsd/export.c int hash = new->ek_fsidtype; hash 300 fs/nfsd/export.c hash ^= hash_mem(cp, len, EXPKEY_HASHBITS); hash 301 fs/nfsd/export.c hash ^= hash_ptr(new->ek_client, EXPKEY_HASHBITS); hash 302 fs/nfsd/export.c hash &= EXPKEY_HASHMASK; hash 305 fs/nfsd/export.c &old->h, hash); hash 753 fs/nfsd/export.c int hash; hash 754 fs/nfsd/export.c hash = hash_ptr(exp->ex_client, EXPORT_HASHBITS); hash 755 fs/nfsd/export.c hash ^= hash_ptr(exp->ex_path.dentry, EXPORT_HASHBITS); hash 756 fs/nfsd/export.c hash ^= hash_ptr(exp->ex_path.mnt, EXPORT_HASHBITS); hash 759 fs/nfsd/export.c hash); hash 770 fs/nfsd/export.c int hash; hash 771 fs/nfsd/export.c hash = hash_ptr(old->ex_client, EXPORT_HASHBITS); hash 772 fs/nfsd/export.c hash ^= hash_ptr(old->ex_path.dentry, EXPORT_HASHBITS); hash 773 fs/nfsd/export.c hash ^= hash_ptr(old->ex_path.mnt, EXPORT_HASHBITS); hash 777 fs/nfsd/export.c hash); hash 1372 fs/nfsd/export.c unsigned hash, export; hash 1379 fs/nfsd/export.c hash = n >> 32; hash 1383 fs/nfsd/export.c for (ch=export_table[hash]; ch; ch=ch->next) hash 1388 fs/nfsd/export.c hash++; hash 1390 fs/nfsd/export.c } while(hash < EXPORT_HASHMAX && export_table[hash]==NULL); hash 1391 fs/nfsd/export.c if (hash >= EXPORT_HASHMAX) hash 1394 fs/nfsd/export.c return export_table[hash]; hash 1400 fs/nfsd/export.c int hash = (*pos >> 32); hash 1403 fs/nfsd/export.c hash = 0; hash 1405 fs/nfsd/export.c hash++; hash 1412 fs/nfsd/export.c while (hash < EXPORT_HASHMAX && export_table[hash] == NULL) { hash 1413 fs/nfsd/export.c hash++; hash 1416 fs/nfsd/export.c if (hash >= EXPORT_HASHMAX) hash 1419 fs/nfsd/export.c return export_table[hash]; hash 121 fs/nfsd/nfs4idmap.c uint32_t hash; hash 123 fs/nfsd/nfs4idmap.c hash = hash_str(ent->authname, ENT_HASHBITS); hash 124 fs/nfsd/nfs4idmap.c hash = hash_long(hash ^ ent->id, ENT_HASHBITS); hash 128 fs/nfsd/nfs4idmap.c hash ^= 1; hash 130 fs/nfsd/nfs4idmap.c return hash; hash 875 fs/nfsd/nfs4state.c unsigned int hash = hash 878 fs/nfsd/nfs4state.c hash); hash 793 fs/nfsd/vfs.c unsigned int hash; hash 796 fs/nfsd/vfs.c hash = jhash_2words(dev, ino, 0xfeedbeef) & RAPARM_HASH_MASK; hash 797 fs/nfsd/vfs.c rab = &raparm_hash[hash]; hash 817 fs/nfsd/vfs.c ra->p_hindex = hash; hash 1852 fs/ntfs/layout.h le32 hash; /* Hash of the security descriptor. */ hash 1873 fs/ntfs/layout.h le32 hash; /* Hash of the security descriptor. */ hash 1895 fs/ntfs/layout.h le32 hash; /* Hash of the security descriptor. */ hash 255 fs/ntfs/namei.c nls_name.hash = full_name_hash(nls_name.name, nls_name.len); hash 170 fs/ocfs2/dlm/dlmdomain.c bucket = dlm_lockres_hash(dlm, q->hash); hash 190 fs/ocfs2/dlm/dlmdomain.c bucket = dlm_lockres_hash(dlm, hash); hash 224 fs/ocfs2/dlm/dlmdomain.c res = __dlm_lookup_lockres_full(dlm, name, len, hash); hash 243 fs/ocfs2/dlm/dlmdomain.c unsigned int hash = dlm_lockid_hash(name, len); hash 246 fs/ocfs2/dlm/dlmdomain.c res = __dlm_lookup_lockres(dlm, name, len, hash); hash 582 fs/ocfs2/dlm/dlmmaster.c res->lockname.hash = dlm_lockid_hash(name, namelen); hash 708 fs/ocfs2/dlm/dlmmaster.c unsigned int hash; hash 715 fs/ocfs2/dlm/dlmmaster.c hash = dlm_lockid_hash(lockid, namelen); hash 721 fs/ocfs2/dlm/dlmmaster.c tmpres = __dlm_lookup_lockres_full(dlm, lockid, namelen, hash); hash 1398 fs/ocfs2/dlm/dlmmaster.c unsigned int namelen, hash; hash 1413 fs/ocfs2/dlm/dlmmaster.c hash = dlm_lockid_hash(name, namelen); hash 1422 fs/ocfs2/dlm/dlmmaster.c res = __dlm_lookup_lockres(dlm, name, namelen, hash); hash 1748 fs/ocfs2/dlm/dlmmaster.c unsigned int namelen, hash; hash 1758 fs/ocfs2/dlm/dlmmaster.c hash = dlm_lockid_hash(name, namelen); hash 1824 fs/ocfs2/dlm/dlmmaster.c res = __dlm_lookup_lockres(dlm, name, namelen, hash); hash 2234 fs/ocfs2/dlm/dlmmaster.c unsigned int hash; hash 2255 fs/ocfs2/dlm/dlmmaster.c hash = dlm_lockid_hash(name, namelen); hash 2258 fs/ocfs2/dlm/dlmmaster.c res = __dlm_lookup_lockres_full(dlm, name, namelen, hash); hash 3014 fs/ocfs2/dlm/dlmmaster.c unsigned int namelen, hash; hash 3022 fs/ocfs2/dlm/dlmmaster.c hash = dlm_lockid_hash(name, namelen); hash 3035 fs/ocfs2/dlm/dlmmaster.c res = __dlm_lookup_lockres(dlm, name, namelen, hash); hash 3162 fs/ocfs2/dlm/dlmmaster.c unsigned int hash; hash 3245 fs/ocfs2/dlm/dlmmaster.c hash = dlm_lockid_hash(mle->u.name.name, mle->u.name.len); hash 3247 fs/ocfs2/dlm/dlmmaster.c mle->u.name.len, hash); hash 1648 fs/ocfs2/dlm/dlmrecovery.c unsigned int hash; hash 1658 fs/ocfs2/dlm/dlmrecovery.c hash = dlm_lockid_hash(req->name, req->namelen); hash 1661 fs/ocfs2/dlm/dlmrecovery.c res = __dlm_lookup_lockres(dlm, req->name, req->namelen, hash); hash 155 fs/ocfs2/xattr.c u32 hash = OCFS2_SB(inode->i_sb)->uuid_hash; hash 160 fs/ocfs2/xattr.c hash = (hash << OCFS2_HASH_SHIFT) ^ hash 161 fs/ocfs2/xattr.c (hash >> (8*sizeof(hash) - OCFS2_HASH_SHIFT)) ^ hash 165 fs/ocfs2/xattr.c return hash; hash 177 fs/ocfs2/xattr.c u32 hash = 0; hash 180 fs/ocfs2/xattr.c hash = ocfs2_xattr_name_hash(inode, name, entry->xe_name_len); hash 181 fs/ocfs2/xattr.c entry->xe_name_hash = cpu_to_le32(hash); hash 14 fs/omfs/dir.c int i, hash = 0; hash 16 fs/omfs/dir.c hash ^= tolower(name[i]) << (i % 24); hash 17 fs/omfs/dir.c return hash % mod; hash 1548 fs/proc/base.c qname.hash = full_name_hash(name, len); hash 191 fs/proc/proc_sysctl.c qname.hash = full_name_hash(qname.name, qname.len); hash 246 fs/reiserfs/bitmap.c unsigned long hash; hash 253 fs/reiserfs/bitmap.c hash = keyed_hash(hash_in, 4); hash 254 fs/reiserfs/bitmap.c bm = hash % reiserfs_bmap_count(s); hash 670 fs/reiserfs/bitmap.c unsigned long hash; hash 681 fs/reiserfs/bitmap.c hash = bm * (sb->s_blocksize << 3); hash 684 fs/reiserfs/bitmap.c hash += sb->s_blocksize / 2; hash 685 fs/reiserfs/bitmap.c hint->search_start = hash; hash 696 fs/reiserfs/bitmap.c unsigned long hash; hash 707 fs/reiserfs/bitmap.c hash = (hint->inode->i_sb->s_blocksize << 3); hash 711 fs/reiserfs/bitmap.c hash = bm * (hint->inode->i_sb->s_blocksize << 3); hash 713 fs/reiserfs/bitmap.c hint->search_start = hash; hash 1434 fs/reiserfs/super.c __u32 hash = DEFAULT_HASH; hash 1453 fs/reiserfs/super.c hash = YURA_HASH; hash 1480 fs/reiserfs/super.c hash = UNSET_HASH; hash 1485 fs/reiserfs/super.c hash = YURA_HASH; hash 1488 fs/reiserfs/super.c hash = TEA_HASH; hash 1491 fs/reiserfs/super.c hash = R5_HASH; hash 1494 fs/reiserfs/super.c hash = UNSET_HASH; hash 1499 fs/reiserfs/super.c return hash; hash 544 fs/reiserfs/xattr.c __u32 hash = 0; hash 608 fs/reiserfs/xattr.c hash = le32_to_cpu(rxh->h_hash); hash 620 fs/reiserfs/xattr.c hash) { hash 1130 fs/reiserfs/xattr.c name->hash == priv_root->d_name.hash && hash 134 fs/smbfs/cache.c qname->hash = full_name_hash(qname->name, qname->len); hash 337 fs/smbfs/dir.c unsigned long hash; hash 340 fs/smbfs/dir.c hash = init_name_hash(); hash 342 fs/smbfs/dir.c hash = partial_name_hash(tolower(this->name[i]), hash); hash 343 fs/smbfs/dir.c this->hash = end_name_hash(hash); hash 36 fs/sysv/namei.c qstr->hash = full_name_hash(qstr->name, qstr->len); hash 67 fs/ubifs/debug.c switch (hash) { hash 152 fs/ubifs/key.h uint32_t hash = c->key_hash(nm->name, nm->len); hash 154 fs/ubifs/key.h ubifs_assert(!(hash & ~UBIFS_S_KEY_HASH_MASK)); hash 156 fs/ubifs/key.h key->u32[1] = hash | (UBIFS_DENT_KEY << UBIFS_S_KEY_HASH_BITS); hash 171 fs/ubifs/key.h ubifs_assert(!(hash & ~UBIFS_S_KEY_HASH_MASK)); hash 173 fs/ubifs/key.h key->u32[1] = hash | (UBIFS_DENT_KEY << UBIFS_S_KEY_HASH_BITS); hash 187 fs/ubifs/key.h uint32_t hash = c->key_hash(nm->name, nm->len); hash 189 fs/ubifs/key.h ubifs_assert(!(hash & ~UBIFS_S_KEY_HASH_MASK)); hash 191 fs/ubifs/key.h key->j32[1] = cpu_to_le32(hash | hash 220 fs/ubifs/key.h uint32_t hash = c->key_hash(nm->name, nm->len); hash 222 fs/ubifs/key.h ubifs_assert(!(hash & ~UBIFS_S_KEY_HASH_MASK)); hash 224 fs/ubifs/key.h key->u32[1] = hash | (UBIFS_XENT_KEY << UBIFS_S_KEY_HASH_BITS); hash 239 fs/ubifs/key.h ubifs_assert(!(hash & ~UBIFS_S_KEY_HASH_MASK)); hash 241 fs/ubifs/key.h key->u32[1] = hash | (UBIFS_XENT_KEY << UBIFS_S_KEY_HASH_BITS); hash 255 fs/ubifs/key.h uint32_t hash = c->key_hash(nm->name, nm->len); hash 257 fs/ubifs/key.h ubifs_assert(!(hash & ~UBIFS_S_KEY_HASH_MASK)); hash 259 fs/ubifs/key.h key->j32[1] = cpu_to_le32(hash | hash 67 fs/vfat/namei.c qstr->hash = full_name_hash(qstr->name, vfat_striptail_len(qstr)); hash 82 fs/vfat/namei.c unsigned long hash; hash 87 fs/vfat/namei.c hash = init_name_hash(); hash 89 fs/vfat/namei.c hash = partial_name_hash(nls_tolower(t, *name++), hash); hash 90 fs/vfat/namei.c qstr->hash = end_name_hash(hash); hash 493 fs/xfs/linux-2.6/xfs_buf.c xfs_bufhash_t *hash; hash 503 fs/xfs/linux-2.6/xfs_buf.c hash = &btp->bt_hash[hash_long((unsigned long)ioff, btp->bt_hashshift)]; hash 505 fs/xfs/linux-2.6/xfs_buf.c spin_lock(&hash->bh_lock); hash 507 fs/xfs/linux-2.6/xfs_buf.c list_for_each_entry_safe(bp, n, &hash->bh_list, b_hash_list) { hash 516 fs/xfs/linux-2.6/xfs_buf.c list_move(&bp->b_hash_list, &hash->bh_list); hash 525 fs/xfs/linux-2.6/xfs_buf.c new_bp->b_hash = hash; hash 526 fs/xfs/linux-2.6/xfs_buf.c list_add(&new_bp->b_hash_list, &hash->bh_list); hash 531 fs/xfs/linux-2.6/xfs_buf.c spin_unlock(&hash->bh_lock); hash 535 fs/xfs/linux-2.6/xfs_buf.c spin_unlock(&hash->bh_lock); hash 830 fs/xfs/linux-2.6/xfs_buf.c xfs_bufhash_t *hash = bp->b_hash; hash 834 fs/xfs/linux-2.6/xfs_buf.c if (unlikely(!hash)) { hash 842 fs/xfs/linux-2.6/xfs_buf.c if (atomic_dec_and_lock(&bp->b_hold, &hash->bh_lock)) { hash 845 fs/xfs/linux-2.6/xfs_buf.c spin_unlock(&hash->bh_lock); hash 848 fs/xfs/linux-2.6/xfs_buf.c spin_unlock(&hash->bh_lock); hash 852 fs/xfs/linux-2.6/xfs_buf.c spin_unlock(&hash->bh_lock); hash 1347 fs/xfs/linux-2.6/xfs_buf.c xfs_bufhash_t *hash; hash 1351 fs/xfs/linux-2.6/xfs_buf.c hash = &btp->bt_hash[i]; hash 1353 fs/xfs/linux-2.6/xfs_buf.c spin_lock(&hash->bh_lock); hash 1354 fs/xfs/linux-2.6/xfs_buf.c list_for_each_entry_safe(bp, n, &hash->bh_list, b_hash_list) { hash 1357 fs/xfs/linux-2.6/xfs_buf.c spin_unlock(&hash->bh_lock); hash 1367 fs/xfs/linux-2.6/xfs_buf.c spin_unlock(&hash->bh_lock); hash 2023 fs/xfs/quota/xfs_qm.c xfs_dqhash_t *hash; hash 2126 fs/xfs/quota/xfs_qm.c hash = dqp->q_hash; hash 2127 fs/xfs/quota/xfs_qm.c ASSERT(hash); hash 2132 fs/xfs/quota/xfs_qm.c XFS_DQ_HASH_UNLOCK(hash); hash 2146 fs/xfs/quota/xfs_qm.c XQM_HASHLIST_REMOVE(hash, dqp); hash 2149 fs/xfs/quota/xfs_qm.c XFS_DQ_HASH_UNLOCK(hash); hash 545 fs/xfs/xfs_attr_leaf.c if (sa->hash < sb->hash) { hash 547 fs/xfs/xfs_attr_leaf.c } else if (sa->hash > sb->hash) { hash 653 fs/xfs/xfs_attr_leaf.c sbp->hash = xfs_da_hashname((char *)sfe->nameval, sfe->namelen); hash 676 fs/xfs/xfs_attr_leaf.c if (sbp->hash == cursor->hashval) { hash 681 fs/xfs/xfs_attr_leaf.c } else if (sbp->hash > cursor->hashval) { hash 695 fs/xfs/xfs_attr_leaf.c if (cursor->hashval != sbp->hash) { hash 696 fs/xfs/xfs_attr_leaf.c cursor->hashval = sbp->hash; hash 56 fs/xfs/xfs_attr_sf.h xfs_dahash_t hash; /* this entry's hash value */ hash 1508 fs/xfs/xfs_da_btree.c xfs_dahash_t hash; hash 1513 fs/xfs/xfs_da_btree.c for (hash = 0; namelen >= 4; namelen -= 4, name += 4) hash 1514 fs/xfs/xfs_da_btree.c hash = (name[0] << 21) ^ (name[1] << 14) ^ (name[2] << 7) ^ hash 1515 fs/xfs/xfs_da_btree.c (name[3] << 0) ^ rol32(hash, 7 * 4); hash 1523 fs/xfs/xfs_da_btree.c rol32(hash, 7 * 3); hash 1525 fs/xfs/xfs_da_btree.c return (name[0] << 7) ^ (name[1] << 0) ^ rol32(hash, 7 * 2); hash 1527 fs/xfs/xfs_da_btree.c return (name[0] << 0) ^ rol32(hash, 7 * 1); hash 1529 fs/xfs/xfs_da_btree.c return hash; hash 83 fs/xfs/xfs_da_btree.h (((xfs_off_t)XFS_DA_MAKE_BNOENTRY(mp, bno, entry) << 32) | (hash)) hash 59 fs/xfs/xfs_dir2.c xfs_dahash_t hash; hash 62 fs/xfs/xfs_dir2.c for (i = 0, hash = 0; i < name->len; i++) hash 63 fs/xfs/xfs_dir2.c hash = tolower(name->name[i]) ^ rol32(hash, 7); hash 65 fs/xfs/xfs_dir2.c return hash; hash 82 fs/xfs/xfs_dir2_block.c xfs_dahash_t hash; /* hash value of found entry */ hash 303 fs/xfs/xfs_dir2_block.c if ((hash = be32_to_cpu(blp[mid].hashval)) == args->hashval) hash 305 fs/xfs/xfs_dir2_block.c if (hash < args->hashval) hash 641 fs/xfs/xfs_dir2_block.c xfs_dahash_t hash; /* found hash value */ hash 671 fs/xfs/xfs_dir2_block.c if ((hash = be32_to_cpu(blp[mid].hashval)) == args->hashval) hash 673 fs/xfs/xfs_dir2_block.c if (hash < args->hashval) hash 715 fs/xfs/xfs_dir2_block.c be32_to_cpu(blp[mid].hashval) == hash); hash 61 fs/xfs/xfs_dir2_data.c xfs_dahash_t hash; /* hash of current name */ hash 146 fs/xfs/xfs_dir2_data.c hash = mp->m_dirnameops->hashname(&name); hash 149 fs/xfs/xfs_dir2_data.c be32_to_cpu(lep[i].hashval) == hash) hash 1642 fs/xfs/xfs_dir2_leaf.c xfs_dahash_t hash=0; /* hash from this entry */ hash 1663 fs/xfs/xfs_dir2_leaf.c if ((hash = be32_to_cpu(lep[mid].hashval)) == hashwant) hash 1665 fs/xfs/xfs_dir2_leaf.c if (hash < hashwant) hash 1673 fs/xfs/xfs_dir2_leaf.c if (hash == hashwant) { hash 1681 fs/xfs/xfs_dir2_leaf.c else if (hash < hashwant) hash 2891 fs/xfs/xfs_log_recover.c unsigned long hash; hash 2913 fs/xfs/xfs_log_recover.c hash = XLOG_RHASH(tid); hash 2914 fs/xfs/xfs_log_recover.c trans = xlog_recover_find_tid(rhash[hash], tid); hash 2917 fs/xfs/xfs_log_recover.c xlog_recover_new_tid(&rhash[hash], tid, hash 2932 fs/xfs/xfs_log_recover.c &rhash[hash], trans, pass); hash 518 include/drm/drmP.h struct drm_hash_item hash; hash 170 include/linux/blkdev.h struct hlist_node hash; /* merge hash */ hash 317 include/linux/crypto.h #define cra_hash cra_u.hash hash 345 include/linux/crypto.h struct hash_alg hash; hash 464 include/linux/crypto.h #define crt_hash crt_u.hash hash 478 include/linux/crypto.h struct hash_tfm hash; hash 1272 include/linux/crypto.h return crypto_hash_crt(hash)->setkey(hash, key, keylen); hash 34 include/linux/dcache.h unsigned int hash; hash 65 include/linux/dcache.h return (unsigned int) hash; hash 72 include/linux/dcache.h unsigned long hash = init_name_hash(); hash 74 include/linux/dcache.h hash = partial_name_hash(*name++, hash); hash 75 include/linux/dcache.h return end_name_hash(hash); hash 91 include/linux/elevator.h struct hlist_head *hash; hash 701 include/linux/ext3_fs.h u32 hash; hash 36 include/linux/hash.h u64 hash = val; hash 39 include/linux/hash.h u64 n = hash; hash 41 include/linux/hash.h hash -= n; hash 43 include/linux/hash.h hash -= n; hash 45 include/linux/hash.h hash += n; hash 47 include/linux/hash.h hash -= n; hash 49 include/linux/hash.h hash += n; hash 51 include/linux/hash.h hash += n; hash 54 include/linux/hash.h return hash >> (64 - bits); hash 60 include/linux/hash.h u32 hash = val * GOLDEN_RATIO_PRIME_32; hash 63 include/linux/hash.h return hash >> (32 - bits); hash 199 include/linux/raid/raid5.h struct hlist_node hash; hash 120 include/linux/sunrpc/cache.h struct list_head hash; /* on hash chain */ hash 50 include/linux/sunrpc/svcauth.h struct hlist_node hash; hash 135 include/linux/sunrpc/svcauth.h unsigned long hash = 0; hash 146 include/linux/sunrpc/svcauth.h hash = hash_long(hash^l, BITS_PER_LONG); hash 148 include/linux/sunrpc/svcauth.h return hash >> (BITS_PER_LONG - bits); hash 153 include/linux/sunrpc/svcauth.h unsigned long hash = 0; hash 165 include/linux/sunrpc/svcauth.h hash = hash_long(hash^l, BITS_PER_LONG); hash 167 include/linux/sunrpc/svcauth.h return hash >> (BITS_PER_LONG - bits); hash 20 include/net/af_unix.h unsigned hash; hash 36 include/net/inet_frag.h struct hlist_head hash[INETFRAGS_HASHSZ]; hash 141 include/net/inet_hashtables.h return &hashinfo->ehash[hash & (hashinfo->ehash_size - 1)]; hash 148 include/net/inet_hashtables.h return &hashinfo->ehash_locks[hash & hashinfo->ehash_locks_mask]; hash 157 include/net/neighbour.h __u32 (*hash)(const void *pkey, const struct net_device *); hash 135 include/net/netfilter/nf_conntrack.h return container_of(hash, struct nf_conn, hash 136 include/net/netfilter/nf_conntrack.h tuplehash[hash->tuple.dst.dir]); hash 13 include/net/netns/conntrack.h struct hlist_head *hash; hash 241 include/net/request_sock.h req->dl_next = lopt->syn_table[hash]; hash 244 include/net/request_sock.h lopt->syn_table[hash] = req; hash 258 include/net/sch_generic.h struct hlist_head *hash; hash 278 include/net/sch_generic.h h = qdisc_class_hash(id, hash->hashmask); hash 279 include/net/sch_generic.h hlist_for_each_entry(cl, n, &hash->hash[h], hnode) { hash 565 include/net/sock.h void (*hash)(struct sock *sk); hash 661 include/net/sock.h sk->sk_prot->hash(sk); hash 24 init/initramfs.c struct hash *next; hash 38 init/initramfs.c struct hash **p, *q; hash 39 init/initramfs.c for (p = head + hash(major, minor, ino); *p; p = &(*p)->next) { hash 50 init/initramfs.c q = kmalloc(sizeof(struct hash), GFP_KERNEL); hash 65 init/initramfs.c struct hash **p, *q; hash 22 kernel/audit_tree.c struct list_head hash; hash 121 kernel/audit_tree.c INIT_LIST_HEAD(&chunk->hash); hash 168 kernel/audit_tree.c list_add_rcu(&chunk->hash, list); hash 177 kernel/audit_tree.c list_for_each_entry_rcu(p, list, hash) { hash 219 kernel/audit_tree.c list_del_rcu(&chunk->hash); hash 259 kernel/audit_tree.c list_replace_rcu(&chunk->hash, &new->hash); hash 375 kernel/audit_tree.c list_replace_rcu(&old->hash, &chunk->hash); hash 860 kernel/audit_tree.c list_del_rcu(&chunk->hash); hash 148 kernel/futex.c u32 hash = jhash2((u32*)&key->both.word, hash 151 kernel/futex.c return &futex_queues[hash & ((1 << FUTEX_HASHBITS)-1)]; hash 80 kernel/kprobes.c return &(kretprobe_table_locks[hash].lock); hash 399 kernel/kprobes.c unsigned long hash = hash_ptr(tsk, KPROBE_HASH_BITS); hash 402 kernel/kprobes.c *head = &kretprobe_inst_table[hash]; hash 403 kernel/kprobes.c hlist_lock = kretprobe_table_lock_ptr(hash); hash 409 kernel/kprobes.c spinlock_t *hlist_lock = kretprobe_table_lock_ptr(hash); hash 415 kernel/kprobes.c unsigned long hash = hash_ptr(tsk, KPROBE_HASH_BITS); hash 418 kernel/kprobes.c hlist_lock = kretprobe_table_lock_ptr(hash); hash 424 kernel/kprobes.c spinlock_t *hlist_lock = kretprobe_table_lock_ptr(hash); hash 439 kernel/kprobes.c unsigned long hash, flags = 0; hash 445 kernel/kprobes.c hash = hash_ptr(tk, KPROBE_HASH_BITS); hash 446 kernel/kprobes.c head = &kretprobe_inst_table[hash]; hash 447 kernel/kprobes.c kretprobe_table_lock(hash, &flags); hash 452 kernel/kprobes.c kretprobe_table_unlock(hash, &flags); hash 473 kernel/kprobes.c unsigned long flags, hash; hash 479 kernel/kprobes.c for (hash = 0; hash < KPROBE_TABLE_SIZE; hash++) { hash 480 kernel/kprobes.c kretprobe_table_lock(hash, &flags); hash 481 kernel/kprobes.c head = &kretprobe_inst_table[hash]; hash 486 kernel/kprobes.c kretprobe_table_unlock(hash, &flags); hash 878 kernel/kprobes.c unsigned long hash, flags = 0; hash 882 kernel/kprobes.c hash = hash_ptr(current, KPROBE_HASH_BITS); hash 902 kernel/kprobes.c kretprobe_table_lock(hash, &flags); hash 903 kernel/kprobes.c hlist_add_head(&ri->hlist, &kretprobe_inst_table[hash]); hash 904 kernel/kprobes.c kretprobe_table_unlock(hash, &flags); hash 360 kernel/marker.c u32 hash = jhash(name, strlen(name), 0); hash 362 kernel/marker.c head = &marker_table[hash & ((1 << MARKER_HASH_BITS)-1)]; hash 381 kernel/marker.c u32 hash = jhash(name, name_len-1, 0); hash 385 kernel/marker.c head = &marker_table[hash & ((1 << MARKER_HASH_BITS)-1)]; hash 436 kernel/marker.c u32 hash = jhash(name, len-1, 0); hash 438 kernel/marker.c head = &marker_table[hash & ((1 << MARKER_HASH_BITS)-1)]; hash 830 kernel/marker.c u32 hash = jhash(name, name_len-1, 0); hash 833 kernel/marker.c head = &marker_table[hash & ((1 << MARKER_HASH_BITS)-1)]; hash 202 lib/debugobjects.c unsigned long hash; hash 204 lib/debugobjects.c hash = hash_long((addr >> ODEBUG_CHUNK_SHIFT), ODEBUG_HASH_BITS); hash 205 lib/debugobjects.c return &obj_hash[hash]; hash 2551 mm/shmem.c this.hash = 0; /* will go */ hash 62 mm/tiny-shmem.c this.hash = 0; /* will go */ hash 255 net/802/tr.c unsigned int hash; hash 276 net/802/tr.c hash = rif_hash(trh->daddr); hash 280 net/802/tr.c for(entry=rif_table[hash];entry && memcmp(&(entry->addr[0]),&(trh->daddr[0]),TR_ALEN);entry=entry->next); hash 346 net/802/tr.c unsigned int hash, rii_p = 0; hash 367 net/802/tr.c hash = rif_hash(trh->saddr); hash 368 net/802/tr.c for(entry=rif_table[hash];entry && memcmp(&(entry->addr[0]),&(trh->saddr[0]),TR_ALEN);entry=entry->next); hash 395 net/802/tr.c entry->next=rif_table[hash]; hash 397 net/802/tr.c rif_table[hash]=entry; hash 71 net/8021q/vlan.c int hash = vlan_grp_hashfn(real_dev->ifindex); hash 73 net/8021q/vlan.c hlist_for_each_entry_rcu(grp, n, &vlan_group_hash[hash], hlist) { hash 416 net/appletalk/aarp.c int hash = sa->s_node % (AARP_HASH_SIZE - 1); hash 421 net/appletalk/aarp.c a = __aarp_find_entry(proxies[hash], dev, sa); hash 432 net/appletalk/aarp.c int hash = sa->s_node % (AARP_HASH_SIZE - 1); hash 433 net/appletalk/aarp.c struct aarp_entry *a = __aarp_find_entry(proxies[hash], dev, sa); hash 485 net/appletalk/aarp.c int hash, retval = -EPROTONOSUPPORT; hash 514 net/appletalk/aarp.c hash = sa->s_node % (AARP_HASH_SIZE - 1); hash 515 net/appletalk/aarp.c entry->next = proxies[hash]; hash 516 net/appletalk/aarp.c proxies[hash] = entry; hash 549 net/appletalk/aarp.c int hash; hash 605 net/appletalk/aarp.c hash = sa->s_node % (AARP_HASH_SIZE - 1); hash 615 net/appletalk/aarp.c a = __aarp_find_entry(resolved[hash], dev, sa); hash 625 net/appletalk/aarp.c a = __aarp_find_entry(unresolved[hash], dev, sa); hash 643 net/appletalk/aarp.c a->next = unresolved[hash]; hash 646 net/appletalk/aarp.c unresolved[hash] = a; hash 692 net/appletalk/aarp.c a->next = resolved[hash]; hash 693 net/appletalk/aarp.c resolved[hash] = a; hash 713 net/appletalk/aarp.c int hash, ret = 0; hash 739 net/appletalk/aarp.c hash = ea->pa_src_node % (AARP_HASH_SIZE - 1); hash 762 net/appletalk/aarp.c a = __aarp_find_entry(proxies[hash], dev, &da); hash 779 net/appletalk/aarp.c a = __aarp_find_entry(unresolved[hash], dev, &sa); hash 785 net/appletalk/aarp.c __aarp_resolved(&unresolved[hash], a, hash); hash 322 net/atm/clip.c .hash = clip_hash, hash 90 net/bridge/br_fdb.c hlist_for_each(h, &br->hash[i]) { hash 131 net/bridge/br_fdb.c hlist_for_each_entry_safe(f, h, n, &br->hash[i], hlist) { hash 158 net/bridge/br_fdb.c hlist_for_each_entry_safe(f, h, n, &br->hash[i], hlist) { hash 179 net/bridge/br_fdb.c hlist_for_each_safe(h, g, &br->hash[i]) { hash 218 net/bridge/br_fdb.c hlist_for_each_entry_rcu(fdb, h, &br->hash[br_mac_hash(addr)], hlist) { hash 273 net/bridge/br_fdb.c hlist_for_each_entry_rcu(f, h, &br->hash[i], hlist) { hash 343 net/bridge/br_fdb.c struct hlist_head *head = &br->hash[br_mac_hash(addr)]; hash 383 net/bridge/br_fdb.c struct hlist_head *head = &br->hash[br_mac_hash(addr)]; hash 93 net/bridge/br_private.h struct hlist_head hash[BR_HASH_SIZE]; hash 215 net/core/dev.c unsigned hash = full_name_hash(name, strnlen(name, IFNAMSIZ)); hash 216 net/core/dev.c return &net->dev_name_head[hash & ((1 << NETDEV_HASHBITS) - 1)]; hash 384 net/core/dev.c int hash; hash 390 net/core/dev.c hash = ntohs(pt->type) & PTYPE_HASH_MASK; hash 391 net/core/dev.c list_add_rcu(&pt->list, &ptype_base[hash]); hash 1701 net/core/dev.c u32 hash, ihl; hash 1744 net/core/dev.c hash = jhash_3words(addr1, addr2, ports, simple_tx_hashrnd); hash 1746 net/core/dev.c return (u16) (((u64) hash * dev->real_num_tx_queues) >> 32); hash 2766 net/core/dev.c int hash; hash 2777 net/core/dev.c hash = 0; hash 2780 net/core/dev.c hash = ntohs(pt->type) & PTYPE_HASH_MASK; hash 2782 net/core/dev.c while (nxt == &ptype_base[hash]) { hash 2783 net/core/dev.c if (++hash >= PTYPE_HASH_SIZE) hash 2785 net/core/dev.c nxt = ptype_base[hash].next; hash 4750 net/core/dev.c struct hlist_head *hash; hash 4752 net/core/dev.c hash = kmalloc(sizeof(*hash) * NETDEV_HASHENTRIES, GFP_KERNEL); hash 4753 net/core/dev.c if (hash != NULL) hash 4755 net/core/dev.c INIT_HLIST_HEAD(&hash[i]); hash 4757 net/core/dev.c return hash; hash 172 net/core/flow.c unsigned int hash; hash 186 net/core/flow.c hash = flow_hash_code(key, cpu); hash 188 net/core/flow.c head = &flow_table(cpu)[hash]; hash 318 net/core/neighbour.c kfree(hash); hash 320 net/core/neighbour.c free_pages((unsigned long)hash, get_order(size)); hash 344 net/core/neighbour.c unsigned int hash_val = tbl->hash(n->primary_key, n->dev); hash 369 net/core/neighbour.c hash_val = tbl->hash(pkey, dev); hash 392 net/core/neighbour.c hash_val = tbl->hash(pkey, NULL); hash 443 net/core/neighbour.c hash_val = tbl->hash(pkey, dev) & tbl->hash_mask; hash 2197 net/core/sock.c proto_method_implemented(proto->hash), hash 932 net/dccp/ipv4.c .hash = inet_hash, hash 1132 net/dccp/ipv6.c .hash = dccp_v6_hash, hash 254 net/decnet/af_decnet.c unsigned hash = addr->sdn_objnum; hash 256 net/decnet/af_decnet.c if (hash == 0) { hash 257 net/decnet/af_decnet.c hash = addr->sdn_objnamel; hash 259 net/decnet/af_decnet.c hash ^= addr->sdn_objname[i]; hash 260 net/decnet/af_decnet.c hash ^= (hash << 3); hash 264 net/decnet/af_decnet.c return &dn_sk_hash[hash & DN_SK_HASH_MASK]; hash 99 net/decnet/dn_neigh.c .hash = dn_neigh_hash, hash 285 net/decnet/dn_route.c rthp = &dn_rt_hash_table[hash].chain; hash 287 net/decnet/dn_route.c spin_lock_bh(&dn_rt_hash_table[hash].lock); hash 293 net/decnet/dn_route.c dn_rt_hash_table[hash].chain); hash 294 net/decnet/dn_route.c rcu_assign_pointer(dn_rt_hash_table[hash].chain, rth); hash 297 net/decnet/dn_route.c spin_unlock_bh(&dn_rt_hash_table[hash].lock); hash 306 net/decnet/dn_route.c rcu_assign_pointer(rt->u.dst.dn_next, dn_rt_hash_table[hash].chain); hash 307 net/decnet/dn_route.c rcu_assign_pointer(dn_rt_hash_table[hash].chain, rt); hash 310 net/decnet/dn_route.c spin_unlock_bh(&dn_rt_hash_table[hash].lock); hash 880 net/decnet/dn_route.c unsigned hash; hash 1125 net/decnet/dn_route.c hash = dn_hash(rt->fl.fld_src, rt->fl.fld_dst); hash 1126 net/decnet/dn_route.c dn_insert_route(rt, hash, (struct dn_route **)pprt); hash 1158 net/decnet/dn_route.c unsigned hash = dn_hash(flp->fld_src, flp->fld_dst); hash 1163 net/decnet/dn_route.c for(rt = rcu_dereference(dn_rt_hash_table[hash].chain); rt; hash 1213 net/decnet/dn_route.c unsigned hash; hash 1399 net/decnet/dn_route.c hash = dn_hash(rt->fl.fld_src, rt->fl.fld_dst); hash 1400 net/decnet/dn_route.c dn_insert_route(rt, hash, (struct dn_route **)&skb->dst); hash 1430 net/decnet/dn_route.c unsigned hash = dn_hash(cb->src, cb->dst); hash 1436 net/decnet/dn_route.c for(rt = rcu_dereference(dn_rt_hash_table[hash].chain); rt != NULL; hash 245 net/ipv4/af_inet.c int hash; hash 251 net/ipv4/af_inet.c hash = protocol & (MAX_INET_PROTOS - 1); hash 252 net/ipv4/af_inet.c ipprot = rcu_dereference(inet_protos[hash]); hash 392 net/ipv4/af_inet.c sk->sk_prot->hash(sk); hash 175 net/ipv4/arp.c .hash = arp_hash, hash 70 net/ipv4/cipso_ipv4.c u32 hash; hash 319 net/ipv4/cipso_ipv4.c u32 hash; hash 324 net/ipv4/cipso_ipv4.c hash = cipso_v4_map_cache_hash(key, key_len); hash 325 net/ipv4/cipso_ipv4.c bkt = hash & (CIPSO_V4_CACHE_BUCKETS - 1); hash 328 net/ipv4/cipso_ipv4.c if (entry->hash == hash && hash 400 net/ipv4/cipso_ipv4.c entry->hash = cipso_v4_map_cache_hash(cipso_ptr, cipso_ptr_len); hash 404 net/ipv4/cipso_ipv4.c bkt = entry->hash & (CIPSO_V4_CACHE_BUCKETS - 1); hash 138 net/ipv4/fib_hash.c kfree(hash); hash 140 net/ipv4/fib_hash.c free_pages((unsigned long)hash, get_order(size)); hash 225 net/ipv4/fib_semantics.c unsigned int hash; hash 227 net/ipv4/fib_semantics.c hash = fib_info_hashfn(nfi); hash 228 net/ipv4/fib_semantics.c head = &fib_info_hash[hash]; hash 257 net/ipv4/fib_semantics.c unsigned int hash; hash 261 net/ipv4/fib_semantics.c hash = fib_devindex_hashfn(dev->ifindex); hash 262 net/ipv4/fib_semantics.c head = &fib_info_devhash[hash]; hash 620 net/ipv4/fib_semantics.c if (!hash) hash 624 net/ipv4/fib_semantics.c kfree(hash); hash 626 net/ipv4/fib_semantics.c free_pages((unsigned long) hash, get_order(bytes)); hash 843 net/ipv4/fib_semantics.c unsigned int hash; hash 847 net/ipv4/fib_semantics.c hash = fib_devindex_hashfn(nh->nh_dev->ifindex); hash 848 net/ipv4/fib_semantics.c head = &fib_info_devhash[hash]; hash 1041 net/ipv4/fib_semantics.c unsigned int hash = fib_laddr_hashfn(local); hash 1042 net/ipv4/fib_semantics.c struct hlist_head *head = &fib_info_laddrhash[hash]; hash 1065 net/ipv4/fib_semantics.c unsigned int hash = fib_devindex_hashfn(dev->ifindex); hash 1066 net/ipv4/fib_semantics.c struct hlist_head *head = &fib_info_devhash[hash]; hash 1122 net/ipv4/fib_semantics.c unsigned int hash; hash 1132 net/ipv4/fib_semantics.c hash = fib_devindex_hashfn(dev->ifindex); hash 1133 net/ipv4/fib_semantics.c head = &fib_info_devhash[hash]; hash 655 net/ipv4/icmp.c int hash, protocol; hash 756 net/ipv4/icmp.c hash = protocol & (MAX_INET_PROTOS - 1); hash 758 net/ipv4/icmp.c ipprot = rcu_dereference(inet_protos[hash]); hash 593 net/ipv4/inet_connection_sock.c sk->sk_prot->hash(sk); hash 37 net/ipv4/inet_fragment.c hlist_for_each_entry_safe(q, p, n, &f->hash[i], list) { hash 44 net/ipv4/inet_fragment.c hlist_add_head(&q->list, &f->hash[hval]); hash 58 net/ipv4/inet_fragment.c INIT_HLIST_HEAD(&f->hash[i]); hash 201 net/ipv4/inet_fragment.c unsigned int hash; hash 209 net/ipv4/inet_fragment.c hash = f->hashfn(qp_in); hash 215 net/ipv4/inet_fragment.c hlist_for_each_entry(qp, n, &f->hash[hash], list) { hash 230 net/ipv4/inet_fragment.c hlist_add_head(&qp->list, &f->hash[hash]); hash 274 net/ipv4/inet_fragment.c hlist_for_each_entry(q, n, &f->hash[hash], list) { hash 230 net/ipv4/inet_hashtables.c unsigned int hash = inet_ehashfn(net, daddr, hnum, saddr, sport); hash 231 net/ipv4/inet_hashtables.c struct inet_ehash_bucket *head = inet_ehash_bucket(hashinfo, hash); hash 232 net/ipv4/inet_hashtables.c rwlock_t *lock = inet_ehash_lockp(hashinfo, hash); hash 237 net/ipv4/inet_hashtables.c if (INET_MATCH(sk, net, hash, acookie, hash 244 net/ipv4/inet_hashtables.c if (INET_TW_MATCH(sk, net, hash, acookie, hash 271 net/ipv4/inet_hashtables.c unsigned int hash = inet_ehashfn(net, daddr, lport, saddr, inet->dport); hash 272 net/ipv4/inet_hashtables.c struct inet_ehash_bucket *head = inet_ehash_bucket(hinfo, hash); hash 273 net/ipv4/inet_hashtables.c rwlock_t *lock = inet_ehash_lockp(hinfo, hash); hash 285 net/ipv4/inet_hashtables.c if (INET_TW_MATCH(sk2, net, hash, acookie, hash 297 net/ipv4/inet_hashtables.c if (INET_MATCH(sk2, net, hash, acookie, hash 307 net/ipv4/inet_hashtables.c sk->sk_hash = hash; hash 486 net/ipv4/inet_hashtables.c hash(sk); hash 503 net/ipv4/inet_hashtables.c hash(sk); hash 226 net/ipv4/ip_fragment.c unsigned int hash; hash 232 net/ipv4/ip_fragment.c hash = ipqhashfn(iph->id, iph->saddr, iph->daddr, iph->protocol); hash 234 net/ipv4/ip_fragment.c q = inet_frag_find(&net->ipv4.frags, &ip4_frags, &arg, hash); hash 204 net/ipv4/ip_input.c int hash, raw; hash 210 net/ipv4/ip_input.c hash = protocol & (MAX_INET_PROTOS - 1); hash 211 net/ipv4/ip_input.c ipprot = rcu_dereference(inet_protos[hash]); hash 276 net/ipv4/netfilter/ipt_CLUSTERIP.c return test_bit(hash - 1, &config->local_nodes); hash 289 net/ipv4/netfilter/ipt_CLUSTERIP.c u_int32_t hash; hash 315 net/ipv4/netfilter/ipt_CLUSTERIP.c hash = clusterip_hashfn(skb, cipinfo->config); hash 319 net/ipv4/netfilter/ipt_CLUSTERIP.c ct->mark = hash; hash 336 net/ipv4/netfilter/ipt_CLUSTERIP.c pr_debug("hash=%u ct_hash=%u ", hash, ct->mark); hash 337 net/ipv4/netfilter/ipt_CLUSTERIP.c if (!clusterip_responsible(cipinfo->config, hash)) { hash 37 net/ipv4/netfilter/nf_conntrack_l3proto_ipv4_compat.c n = rcu_dereference(net->ct.hash[st->bucket].first); hash 54 net/ipv4/netfilter/nf_conntrack_l3proto_ipv4_compat.c head = rcu_dereference(net->ct.hash[st->bucket].first); hash 90 net/ipv4/netfilter/nf_conntrack_l3proto_ipv4_compat.c const struct nf_conntrack_tuple_hash *hash = v; hash 91 net/ipv4/netfilter/nf_conntrack_l3proto_ipv4_compat.c const struct nf_conn *ct = nf_ct_tuplehash_to_ctrack(hash); hash 98 net/ipv4/netfilter/nf_conntrack_l3proto_ipv4_compat.c if (NF_CT_DIRECTION(hash)) hash 77 net/ipv4/netfilter/nf_nat_core.c unsigned int hash; hash 80 net/ipv4/netfilter/nf_nat_core.c hash = jhash_3words((__force u32)tuple->src.u3.ip, hash 83 net/ipv4/netfilter/nf_nat_core.c return ((u64)hash * nf_nat_htable_size) >> 32; hash 55 net/ipv4/protocol.c int hash, ret; hash 57 net/ipv4/protocol.c hash = protocol & (MAX_INET_PROTOS - 1); hash 60 net/ipv4/protocol.c if (inet_protos[hash]) { hash 63 net/ipv4/protocol.c inet_protos[hash] = prot; hash 77 net/ipv4/protocol.c int hash, ret; hash 79 net/ipv4/protocol.c hash = protocol & (MAX_INET_PROTOS - 1); hash 82 net/ipv4/protocol.c if (inet_protos[hash] == prot) { hash 83 net/ipv4/protocol.c inet_protos[hash] = NULL; hash 165 net/ipv4/raw.c head = &raw_v4_hashinfo.ht[hash]; hash 194 net/ipv4/raw.c int hash; hash 197 net/ipv4/raw.c hash = protocol & (RAW_HTABLE_SIZE - 1); hash 198 net/ipv4/raw.c raw_sk = sk_head(&raw_v4_hashinfo.ht[hash]); hash 203 net/ipv4/raw.c if (raw_sk && !raw_v4_input(skb, ip_hdr(skb), hash)) hash 266 net/ipv4/raw.c int hash; hash 271 net/ipv4/raw.c hash = protocol & (RAW_HTABLE_SIZE - 1); hash 274 net/ipv4/raw.c raw_sk = sk_head(&raw_v4_hashinfo.ht[hash]); hash 840 net/ipv4/raw.c .hash = raw_hash_sk, hash 1005 net/ipv4/route.c rthp = &rt_hash_table[hash].chain; hash 1007 net/ipv4/route.c spin_lock_bh(rt_hash_lock_addr(hash)); hash 1023 net/ipv4/route.c rt_hash_table[hash].chain); hash 1028 net/ipv4/route.c rcu_assign_pointer(rt_hash_table[hash].chain, rth); hash 1031 net/ipv4/route.c spin_unlock_bh(rt_hash_lock_addr(hash)); hash 1072 net/ipv4/route.c spin_unlock_bh(rt_hash_lock_addr(hash)); hash 1101 net/ipv4/route.c rt->u.dst.rt_next = rt_hash_table[hash].chain; hash 1105 net/ipv4/route.c printk(KERN_DEBUG "rt_cache @%02x: " NIPQUAD_FMT, hash, hash 1112 net/ipv4/route.c rt_hash_table[hash].chain = rt; hash 1113 net/ipv4/route.c spin_unlock_bh(rt_hash_lock_addr(hash)); hash 1181 net/ipv4/route.c rthp = &rt_hash_table[hash].chain; hash 1182 net/ipv4/route.c spin_lock_bh(rt_hash_lock_addr(hash)); hash 1192 net/ipv4/route.c spin_unlock_bh(rt_hash_lock_addr(hash)); hash 1227 net/ipv4/route.c unsigned hash = rt_hash(daddr, skeys[i], ikeys[k], hash 1230 net/ipv4/route.c rthp=&rt_hash_table[hash].chain; hash 1306 net/ipv4/route.c rt_del(hash, rth); hash 1307 net/ipv4/route.c if (!rt_intern_hash(hash, rt, &rt)) hash 1342 net/ipv4/route.c unsigned hash = rt_hash(rt->fl.fl4_dst, rt->fl.fl4_src, hash 1350 net/ipv4/route.c rt_del(hash, rt); hash 1494 net/ipv4/route.c unsigned hash = rt_hash(daddr, skeys[i], ikeys[k], hash 1498 net/ipv4/route.c for (rth = rcu_dereference(rt_hash_table[hash].chain); rth; hash 1695 net/ipv4/route.c unsigned hash; hash 1760 net/ipv4/route.c hash = rt_hash(daddr, saddr, dev->ifindex, rt_genid(dev_net(dev))); hash 1761 net/ipv4/route.c return rt_intern_hash(hash, rth, &skb->rtable); hash 1908 net/ipv4/route.c unsigned hash; hash 1921 net/ipv4/route.c hash = rt_hash(daddr, saddr, fl->iif, hash 1923 net/ipv4/route.c return rt_intern_hash(hash, rth, &skb->rtable); hash 1952 net/ipv4/route.c unsigned hash; hash 2078 net/ipv4/route.c hash = rt_hash(daddr, saddr, fl.iif, rt_genid(net)); hash 2079 net/ipv4/route.c err = rt_intern_hash(hash, rth, &skb->rtable); hash 2123 net/ipv4/route.c unsigned hash; hash 2129 net/ipv4/route.c hash = rt_hash(daddr, saddr, iif, rt_genid(net)); hash 2132 net/ipv4/route.c for (rth = rcu_dereference(rt_hash_table[hash].chain); rth; hash 2316 net/ipv4/route.c unsigned hash; hash 2318 net/ipv4/route.c hash = rt_hash(oldflp->fl4_dst, oldflp->fl4_src, oldflp->oif, hash 2320 net/ipv4/route.c err = rt_intern_hash(hash, rth, rp); hash 2534 net/ipv4/route.c unsigned hash; hash 2537 net/ipv4/route.c hash = rt_hash(flp->fl4_dst, flp->fl4_src, flp->oif, rt_genid(net)); hash 2540 net/ipv4/route.c for (rth = rcu_dereference(rt_hash_table[hash].chain); rth; hash 2512 net/ipv4/tcp.c struct crypto_hash *hash; hash 2519 net/ipv4/tcp.c hash = crypto_alloc_hash("md5", 0, CRYPTO_ALG_ASYNC); hash 2520 net/ipv4/tcp.c if (!hash || IS_ERR(hash)) hash 2523 net/ipv4/tcp.c p->md5_desc.tfm = hash; hash 2368 net/ipv4/tcp_ipv4.c .hash = inet_hash, hash 1483 net/ipv4/udp.c .hash = udp_lib_hash, hash 49 net/ipv4/udplite.c .hash = udp_lib_hash, hash 590 net/ipv6/addrconf.c int hash; hash 657 net/ipv6/addrconf.c hash = ipv6_addr_hash(addr); hash 659 net/ipv6/addrconf.c ifa->lst_next = inet6_addr_lst[hash]; hash 660 net/ipv6/addrconf.c inet6_addr_lst[hash] = ifa; hash 700 net/ipv6/addrconf.c int hash; hash 704 net/ipv6/addrconf.c hash = ipv6_addr_hash(&ifp->addr); hash 709 net/ipv6/addrconf.c for (ifap = &inet6_addr_lst[hash]; (ifa=*ifap) != NULL; hash 1283 net/ipv6/addrconf.c u8 hash = ipv6_addr_hash(addr); hash 1286 net/ipv6/addrconf.c for(ifp = inet6_addr_lst[hash]; ifp; ifp=ifp->lst_next) { hash 1306 net/ipv6/addrconf.c u8 hash = ipv6_addr_hash(addr); hash 1308 net/ipv6/addrconf.c for(ifp = inet6_addr_lst[hash]; ifp; ifp=ifp->lst_next) { hash 1348 net/ipv6/addrconf.c u8 hash = ipv6_addr_hash(addr); hash 1351 net/ipv6/addrconf.c for(ifp = inet6_addr_lst[hash]; ifp; ifp=ifp->lst_next) { hash 3055 net/ipv6/addrconf.c u8 hash = ipv6_addr_hash(addr); hash 3057 net/ipv6/addrconf.c for (ifp = inet6_addr_lst[hash]; ifp; ifp = ifp->lst_next) { hash 221 net/ipv6/af_inet6.c sk->sk_prot->hash(sk); hash 597 net/ipv6/icmp.c int hash; hash 624 net/ipv6/icmp.c hash = nexthdr & (MAX_INET_PROTOS - 1); hash 627 net/ipv6/icmp.c ipprot = rcu_dereference(inet6_protos[hash]); hash 38 net/ipv6/inet6_hashtables.c unsigned int hash; hash 39 net/ipv6/inet6_hashtables.c sk->sk_hash = hash = inet6_sk_ehashfn(sk); hash 40 net/ipv6/inet6_hashtables.c list = &inet_ehash_bucket(hashinfo, hash)->chain; hash 41 net/ipv6/inet6_hashtables.c lock = inet_ehash_lockp(hashinfo, hash); hash 71 net/ipv6/inet6_hashtables.c unsigned int hash = inet6_ehashfn(net, daddr, hnum, saddr, sport); hash 72 net/ipv6/inet6_hashtables.c struct inet_ehash_bucket *head = inet_ehash_bucket(hashinfo, hash); hash 73 net/ipv6/inet6_hashtables.c rwlock_t *lock = inet_ehash_lockp(hashinfo, hash); hash 79 net/ipv6/inet6_hashtables.c if (INET6_MATCH(sk, net, hash, saddr, daddr, ports, dif)) hash 84 net/ipv6/inet6_hashtables.c if (INET6_TW_MATCH(sk, net, hash, saddr, daddr, ports, dif)) hash 170 net/ipv6/inet6_hashtables.c const unsigned int hash = inet6_ehashfn(net, daddr, lport, saddr, hash 172 net/ipv6/inet6_hashtables.c struct inet_ehash_bucket *head = inet_ehash_bucket(hinfo, hash); hash 173 net/ipv6/inet6_hashtables.c rwlock_t *lock = inet_ehash_lockp(hinfo, hash); hash 185 net/ipv6/inet6_hashtables.c if (INET6_TW_MATCH(sk2, net, hash, saddr, daddr, ports, dif)) { hash 196 net/ipv6/inet6_hashtables.c if (INET6_MATCH(sk2, net, hash, saddr, daddr, ports, dif)) hash 207 net/ipv6/inet6_hashtables.c sk->sk_hash = hash; hash 164 net/ipv6/ip6_input.c u8 hash; hash 182 net/ipv6/ip6_input.c hash = nexthdr & (MAX_INET_PROTOS - 1); hash 183 net/ipv6/ip6_input.c if ((ipprot = rcu_dereference(inet6_protos[hash])) != NULL) { hash 134 net/ipv6/ndisc.c .hash = ndisc_hash, hash 177 net/ipv6/netfilter/nf_conntrack_reasm.c unsigned int hash; hash 184 net/ipv6/netfilter/nf_conntrack_reasm.c hash = inet6_hash_frag(id, src, dst, nf_frags.rnd); hash 186 net/ipv6/netfilter/nf_conntrack_reasm.c q = inet_frag_find(&nf_init_frags, &nf_frags, &arg, hash); hash 45 net/ipv6/protocol.c int ret, hash = protocol & (MAX_INET_PROTOS - 1); hash 49 net/ipv6/protocol.c if (inet6_protos[hash]) { hash 52 net/ipv6/protocol.c inet6_protos[hash] = prot; hash 69 net/ipv6/protocol.c int ret, hash = protocol & (MAX_INET_PROTOS - 1); hash 73 net/ipv6/protocol.c if (inet6_protos[hash] != prot) { hash 76 net/ipv6/protocol.c inet6_protos[hash] = NULL; hash 159 net/ipv6/raw.c __u8 hash; hash 165 net/ipv6/raw.c hash = nexthdr & (MAX_INET_PROTOS - 1); hash 168 net/ipv6/raw.c sk = sk_head(&raw_v6_hashinfo.ht[hash]); hash 349 net/ipv6/raw.c int hash; hash 353 net/ipv6/raw.c hash = nexthdr & (RAW_HTABLE_SIZE - 1); hash 356 net/ipv6/raw.c sk = sk_head(&raw_v6_hashinfo.ht[hash]); hash 1208 net/ipv6/raw.c .hash = raw_hash_sk, hash 244 net/ipv6/reassembly.c unsigned int hash; hash 251 net/ipv6/reassembly.c hash = inet6_hash_frag(id, src, dst, ip6_frags.rnd); hash 253 net/ipv6/reassembly.c q = inet_frag_find(&net->ipv6.frags, &ip6_frags, &arg, hash); hash 94 net/ipv6/tcp_ipv6.c tcp_prot.hash(sk); hash 2035 net/ipv6/tcp_ipv6.c .hash = tcp_v6_hash, hash 1045 net/ipv6/udp.c .hash = udp_lib_hash, hash 48 net/ipv6/udplite.c .hash = udp_lib_hash, hash 463 net/irda/irqueue.c hashv = hash( name ); hash 576 net/irda/irqueue.c hashv = hash( name ); hash 730 net/irda/irqueue.c hashv = hash( name ); hash 139 net/netfilter/ipvs/ip_vs_conn.c unsigned hash; hash 143 net/netfilter/ipvs/ip_vs_conn.c hash = ip_vs_conn_hashkey(cp->af, cp->protocol, &cp->caddr, cp->cport); hash 145 net/netfilter/ipvs/ip_vs_conn.c ct_write_lock(hash); hash 148 net/netfilter/ipvs/ip_vs_conn.c list_add(&cp->c_list, &ip_vs_conn_tab[hash]); hash 158 net/netfilter/ipvs/ip_vs_conn.c ct_write_unlock(hash); hash 170 net/netfilter/ipvs/ip_vs_conn.c unsigned hash; hash 174 net/netfilter/ipvs/ip_vs_conn.c hash = ip_vs_conn_hashkey(cp->af, cp->protocol, &cp->caddr, cp->cport); hash 176 net/netfilter/ipvs/ip_vs_conn.c ct_write_lock(hash); hash 186 net/netfilter/ipvs/ip_vs_conn.c ct_write_unlock(hash); hash 202 net/netfilter/ipvs/ip_vs_conn.c unsigned hash; hash 205 net/netfilter/ipvs/ip_vs_conn.c hash = ip_vs_conn_hashkey(af, protocol, s_addr, s_port); hash 207 net/netfilter/ipvs/ip_vs_conn.c ct_read_lock(hash); hash 209 net/netfilter/ipvs/ip_vs_conn.c list_for_each_entry(cp, &ip_vs_conn_tab[hash], c_list) { hash 218 net/netfilter/ipvs/ip_vs_conn.c ct_read_unlock(hash); hash 223 net/netfilter/ipvs/ip_vs_conn.c ct_read_unlock(hash); hash 253 net/netfilter/ipvs/ip_vs_conn.c unsigned hash; hash 256 net/netfilter/ipvs/ip_vs_conn.c hash = ip_vs_conn_hashkey(af, protocol, s_addr, s_port); hash 258 net/netfilter/ipvs/ip_vs_conn.c ct_read_lock(hash); hash 260 net/netfilter/ipvs/ip_vs_conn.c list_for_each_entry(cp, &ip_vs_conn_tab[hash], c_list) { hash 275 net/netfilter/ipvs/ip_vs_conn.c ct_read_unlock(hash); hash 296 net/netfilter/ipvs/ip_vs_conn.c unsigned hash; hash 302 net/netfilter/ipvs/ip_vs_conn.c hash = ip_vs_conn_hashkey(af, protocol, d_addr, d_port); hash 304 net/netfilter/ipvs/ip_vs_conn.c ct_read_lock(hash); hash 306 net/netfilter/ipvs/ip_vs_conn.c list_for_each_entry(cp, &ip_vs_conn_tab[hash], c_list) { hash 319 net/netfilter/ipvs/ip_vs_conn.c ct_read_unlock(hash); hash 976 net/netfilter/ipvs/ip_vs_conn.c unsigned hash = net_random() & IP_VS_CONN_TAB_MASK; hash 981 net/netfilter/ipvs/ip_vs_conn.c ct_write_lock_bh(hash); hash 983 net/netfilter/ipvs/ip_vs_conn.c list_for_each_entry(cp, &ip_vs_conn_tab[hash], c_list) { hash 1014 net/netfilter/ipvs/ip_vs_conn.c ct_write_unlock_bh(hash); hash 340 net/netfilter/ipvs/ip_vs_ctl.c unsigned hash; hash 352 net/netfilter/ipvs/ip_vs_ctl.c hash = ip_vs_svc_hashkey(svc->af, svc->protocol, &svc->addr, hash 354 net/netfilter/ipvs/ip_vs_ctl.c list_add(&svc->s_list, &ip_vs_svc_table[hash]); hash 359 net/netfilter/ipvs/ip_vs_ctl.c hash = ip_vs_svc_fwm_hashkey(svc->fwmark); hash 360 net/netfilter/ipvs/ip_vs_ctl.c list_add(&svc->f_list, &ip_vs_svc_fwm_table[hash]); hash 403 net/netfilter/ipvs/ip_vs_ctl.c unsigned hash; hash 407 net/netfilter/ipvs/ip_vs_ctl.c hash = ip_vs_svc_hashkey(af, protocol, vaddr, vport); hash 409 net/netfilter/ipvs/ip_vs_ctl.c list_for_each_entry(svc, &ip_vs_svc_table[hash], s_list){ hash 430 net/netfilter/ipvs/ip_vs_ctl.c unsigned hash; hash 434 net/netfilter/ipvs/ip_vs_ctl.c hash = ip_vs_svc_fwm_hashkey(fwmark); hash 436 net/netfilter/ipvs/ip_vs_ctl.c list_for_each_entry(svc, &ip_vs_svc_fwm_table[hash], f_list) { hash 542 net/netfilter/ipvs/ip_vs_ctl.c unsigned hash; hash 552 net/netfilter/ipvs/ip_vs_ctl.c hash = ip_vs_rs_hashkey(dest->af, &dest->addr, dest->port); hash 554 net/netfilter/ipvs/ip_vs_ctl.c list_add(&dest->d_list, &ip_vs_rtable[hash]); hash 584 net/netfilter/ipvs/ip_vs_ctl.c unsigned hash; hash 591 net/netfilter/ipvs/ip_vs_ctl.c hash = ip_vs_rs_hashkey(af, daddr, dport); hash 594 net/netfilter/ipvs/ip_vs_ctl.c list_for_each_entry(dest, &ip_vs_rtable[hash], d_list) { hash 153 net/netfilter/ipvs/ip_vs_lblc.c unsigned hash = ip_vs_lblc_hashkey(en->addr); hash 155 net/netfilter/ipvs/ip_vs_lblc.c list_add(&en->list, &tbl->bucket[hash]); hash 167 net/netfilter/ipvs/ip_vs_lblc.c unsigned hash = ip_vs_lblc_hashkey(addr); hash 170 net/netfilter/ipvs/ip_vs_lblc.c list_for_each_entry(en, &tbl->bucket[hash], list) hash 327 net/netfilter/ipvs/ip_vs_lblcr.c unsigned hash = ip_vs_lblcr_hashkey(en->addr); hash 329 net/netfilter/ipvs/ip_vs_lblcr.c list_add(&en->list, &tbl->bucket[hash]); hash 341 net/netfilter/ipvs/ip_vs_lblcr.c unsigned hash = ip_vs_lblcr_hashkey(addr); hash 344 net/netfilter/ipvs/ip_vs_lblcr.c list_for_each_entry(en, &tbl->bucket[hash], list) hash 48 net/netfilter/ipvs/ip_vs_proto.c unsigned hash = IP_VS_PROTO_HASH(pp->protocol); hash 50 net/netfilter/ipvs/ip_vs_proto.c pp->next = ip_vs_proto_table[hash]; hash 51 net/netfilter/ipvs/ip_vs_proto.c ip_vs_proto_table[hash] = pp; hash 66 net/netfilter/ipvs/ip_vs_proto.c unsigned hash = IP_VS_PROTO_HASH(pp->protocol); hash 68 net/netfilter/ipvs/ip_vs_proto.c pp_p = &ip_vs_proto_table[hash]; hash 88 net/netfilter/ipvs/ip_vs_proto.c unsigned hash = IP_VS_PROTO_HASH(proto); hash 90 net/netfilter/ipvs/ip_vs_proto.c for (pp = ip_vs_proto_table[hash]; pp; pp = pp->next) { hash 611 net/netfilter/ipvs/ip_vs_proto_tcp.c __u16 hash; hash 615 net/netfilter/ipvs/ip_vs_proto_tcp.c hash = tcp_app_hashkey(port); hash 618 net/netfilter/ipvs/ip_vs_proto_tcp.c list_for_each_entry(i, &tcp_apps[hash], p_list) { hash 624 net/netfilter/ipvs/ip_vs_proto_tcp.c list_add(&inc->p_list, &tcp_apps[hash]); hash 646 net/netfilter/ipvs/ip_vs_proto_tcp.c int hash; hash 655 net/netfilter/ipvs/ip_vs_proto_tcp.c hash = tcp_app_hashkey(cp->vport); hash 658 net/netfilter/ipvs/ip_vs_proto_tcp.c list_for_each_entry(inc, &tcp_apps[hash], p_list) { hash 392 net/netfilter/ipvs/ip_vs_proto_udp.c __u16 hash; hash 396 net/netfilter/ipvs/ip_vs_proto_udp.c hash = udp_app_hashkey(port); hash 400 net/netfilter/ipvs/ip_vs_proto_udp.c list_for_each_entry(i, &udp_apps[hash], p_list) { hash 406 net/netfilter/ipvs/ip_vs_proto_udp.c list_add(&inc->p_list, &udp_apps[hash]); hash 427 net/netfilter/ipvs/ip_vs_proto_udp.c int hash; hash 436 net/netfilter/ipvs/ip_vs_proto_udp.c hash = udp_app_hashkey(cp->vport); hash 439 net/netfilter/ipvs/ip_vs_proto_udp.c list_for_each_entry(inc, &udp_apps[hash], p_list) { hash 242 net/netfilter/nf_conntrack_core.c unsigned int hash = hash_conntrack(tuple); hash 248 net/netfilter/nf_conntrack_core.c hlist_for_each_entry_rcu(h, n, &net->ct.hash[hash], hnode) { hash 289 net/netfilter/nf_conntrack_core.c &net->ct.hash[hash]); hash 291 net/netfilter/nf_conntrack_core.c &net->ct.hash[repl_hash]); hash 296 net/netfilter/nf_conntrack_core.c unsigned int hash, repl_hash; hash 298 net/netfilter/nf_conntrack_core.c hash = hash_conntrack(&ct->tuplehash[IP_CT_DIR_ORIGINAL].tuple); hash 302 net/netfilter/nf_conntrack_core.c __nf_conntrack_hash_insert(ct, hash, repl_hash); hash 311 net/netfilter/nf_conntrack_core.c unsigned int hash, repl_hash; hash 329 net/netfilter/nf_conntrack_core.c hash = hash_conntrack(&ct->tuplehash[IP_CT_DIR_ORIGINAL].tuple); hash 347 net/netfilter/nf_conntrack_core.c hlist_for_each_entry(h, n, &net->ct.hash[hash], hnode) hash 351 net/netfilter/nf_conntrack_core.c hlist_for_each_entry(h, n, &net->ct.hash[repl_hash], hnode) hash 359 net/netfilter/nf_conntrack_core.c __nf_conntrack_hash_insert(ct, hash, repl_hash); hash 397 net/netfilter/nf_conntrack_core.c unsigned int hash = hash_conntrack(tuple); hash 403 net/netfilter/nf_conntrack_core.c hlist_for_each_entry_rcu(h, n, &net->ct.hash[hash], hnode) { hash 433 net/netfilter/nf_conntrack_core.c hlist_for_each_entry_rcu(h, n, &net->ct.hash[hash], hash 445 net/netfilter/nf_conntrack_core.c hash = (hash + 1) % nf_conntrack_htable_size; hash 478 net/netfilter/nf_conntrack_core.c unsigned int hash = hash_conntrack(orig); hash 479 net/netfilter/nf_conntrack_core.c if (!early_drop(net, hash)) { hash 955 net/netfilter/nf_conntrack_core.c hlist_for_each_entry(h, n, &net->ct.hash[*bucket], hnode) { hash 1000 net/netfilter/nf_conntrack_core.c vfree(hash); hash 1002 net/netfilter/nf_conntrack_core.c free_pages((unsigned long)hash, hash 1034 net/netfilter/nf_conntrack_core.c nf_ct_free_hashtable(net->ct.hash, net->ct.hash_vmalloc, hash 1063 net/netfilter/nf_conntrack_core.c struct hlist_head *hash; hash 1069 net/netfilter/nf_conntrack_core.c hash = (void*)__get_free_pages(GFP_KERNEL|__GFP_NOWARN, hash 1072 net/netfilter/nf_conntrack_core.c if (!hash) { hash 1075 net/netfilter/nf_conntrack_core.c hash = vmalloc(sizeof(struct hlist_head) * size); hash 1078 net/netfilter/nf_conntrack_core.c if (hash) hash 1080 net/netfilter/nf_conntrack_core.c INIT_HLIST_HEAD(&hash[i]); hash 1082 net/netfilter/nf_conntrack_core.c return hash; hash 1091 net/netfilter/nf_conntrack_core.c struct hlist_head *hash, *old_hash; hash 1102 net/netfilter/nf_conntrack_core.c hash = nf_ct_alloc_hashtable(&hashsize, &vmalloced); hash 1103 net/netfilter/nf_conntrack_core.c if (!hash) hash 1117 net/netfilter/nf_conntrack_core.c while (!hlist_empty(&init_net.ct.hash[i])) { hash 1118 net/netfilter/nf_conntrack_core.c h = hlist_entry(init_net.ct.hash[i].first, hash 1122 net/netfilter/nf_conntrack_core.c hlist_add_head(&h->hnode, &hash[bucket]); hash 1127 net/netfilter/nf_conntrack_core.c old_hash = init_net.ct.hash; hash 1131 net/netfilter/nf_conntrack_core.c init_net.ct.hash = hash; hash 1212 net/netfilter/nf_conntrack_core.c net->ct.hash = nf_ct_alloc_hashtable(&nf_conntrack_htable_size, hash 1214 net/netfilter/nf_conntrack_core.c if (!net->ct.hash) { hash 1240 net/netfilter/nf_conntrack_core.c nf_ct_free_hashtable(net->ct.hash, net->ct.hash_vmalloc, hash 72 net/netfilter/nf_conntrack_expect.c unsigned int hash; hash 79 net/netfilter/nf_conntrack_expect.c hash = jhash2(tuple->dst.u3.all, ARRAY_SIZE(tuple->dst.u3.all), hash 82 net/netfilter/nf_conntrack_expect.c return ((u64)hash * nf_ct_expect_hsize) >> 32; hash 151 net/netfilter/nf_conntrack_helper.c hlist_for_each_entry(h, n, &net->ct.hash[i], hnode) hash 552 net/netfilter/nf_conntrack_netlink.c hlist_for_each_entry_rcu(h, n, &init_net.ct.hash[cb->args[0]], hash 56 net/netfilter/nf_conntrack_standalone.c n = rcu_dereference(net->ct.hash[st->bucket].first); hash 73 net/netfilter/nf_conntrack_standalone.c head = rcu_dereference(net->ct.hash[st->bucket].first); hash 110 net/netfilter/nf_conntrack_standalone.c const struct nf_conntrack_tuple_hash *hash = v; hash 111 net/netfilter/nf_conntrack_standalone.c const struct nf_conn *ct = nf_ct_tuplehash_to_ctrack(hash); hash 118 net/netfilter/nf_conntrack_standalone.c if (NF_CT_DIRECTION(hash)) hash 112 net/netfilter/xt_connlimit.c struct list_head *hash; hash 118 net/netfilter/xt_connlimit.c hash = &data->iphash[connlimit_iphash6(addr, mask)]; hash 120 net/netfilter/xt_connlimit.c hash = &data->iphash[connlimit_iphash(addr->ip & mask->ip)]; hash 125 net/netfilter/xt_connlimit.c list_for_each_entry_safe(conn, tmp, hash, list) { hash 173 net/netfilter/xt_connlimit.c list_add(&conn->list, hash); hash 254 net/netfilter/xt_connlimit.c struct list_head *hash = info->data->iphash; hash 260 net/netfilter/xt_connlimit.c list_for_each_entry_safe(conn, tmp, &hash[i], list) { hash 97 net/netfilter/xt_hashlimit.c struct hlist_head hash[0]; /* hashtable itself */ hash 114 net/netfilter/xt_hashlimit.c u_int32_t hash = jhash2((const u32 *)dst, hash 123 net/netfilter/xt_hashlimit.c return ((u64)hash * ht->cfg.size) >> 32; hash 132 net/netfilter/xt_hashlimit.c u_int32_t hash = hash_dst(ht, dst); hash 134 net/netfilter/xt_hashlimit.c if (!hlist_empty(&ht->hash[hash])) { hash 135 net/netfilter/xt_hashlimit.c hlist_for_each_entry(ent, pos, &ht->hash[hash], node) hash 174 net/netfilter/xt_hashlimit.c hlist_add_head(&ent->node, &ht->hash[hash_dst(ht, dst)]); hash 233 net/netfilter/xt_hashlimit.c INIT_HLIST_HEAD(&hinfo->hash[i]); hash 294 net/netfilter/xt_hashlimit.c INIT_HLIST_HEAD(&hinfo->hash[i]); hash 345 net/netfilter/xt_hashlimit.c hlist_for_each_entry_safe(dh, pos, n, &ht->hash[i], node) { hash 931 net/netfilter/xt_hashlimit.c if (!hlist_empty(&htable->hash[*bucket])) { hash 932 net/netfilter/xt_hashlimit.c hlist_for_each_entry(ent, pos, &htable->hash[*bucket], node) hash 113 net/netlink/af_netlink.c struct nl_pid_hash hash; hash 142 net/netlink/af_netlink.c return &hash->table[jhash_1word(pid, hash->rnd) & hash->mask]; hash 223 net/netlink/af_netlink.c struct nl_pid_hash *hash = &nl_table[protocol].hash; hash 229 net/netlink/af_netlink.c head = nl_pid_hashfn(hash, pid); hash 267 net/netlink/af_netlink.c omask = mask = hash->mask; hash 269 net/netlink/af_netlink.c shift = hash->shift; hash 272 net/netlink/af_netlink.c if (++shift > hash->max_shift) hash 282 net/netlink/af_netlink.c otable = hash->table; hash 283 net/netlink/af_netlink.c hash->table = table; hash 284 net/netlink/af_netlink.c hash->mask = mask; hash 285 net/netlink/af_netlink.c hash->shift = shift; hash 286 net/netlink/af_netlink.c get_random_bytes(&hash->rnd, sizeof(hash->rnd)); hash 293 net/netlink/af_netlink.c __sk_add_node(sk, nl_pid_hashfn(hash, nlk_sk(sk)->pid)); hash 297 net/netlink/af_netlink.c hash->rehash_time = jiffies + 10 * 60 * HZ; hash 303 net/netlink/af_netlink.c int avg = hash->entries >> hash->shift; hash 305 net/netlink/af_netlink.c if (unlikely(avg > 1) && nl_pid_hash_rehash(hash, 1)) hash 308 net/netlink/af_netlink.c if (unlikely(len > avg) && time_after(jiffies, hash->rehash_time)) { hash 309 net/netlink/af_netlink.c nl_pid_hash_rehash(hash, 0); hash 340 net/netlink/af_netlink.c struct nl_pid_hash *hash = &nl_table[sk->sk_protocol].hash; hash 348 net/netlink/af_netlink.c head = nl_pid_hashfn(hash, pid); hash 363 net/netlink/af_netlink.c if (BITS_PER_LONG > 32 && unlikely(hash->entries >= UINT_MAX)) hash 366 net/netlink/af_netlink.c if (len && nl_pid_hash_dilute(hash, len)) hash 367 net/netlink/af_netlink.c head = nl_pid_hashfn(hash, pid); hash 368 net/netlink/af_netlink.c hash->entries++; hash 382 net/netlink/af_netlink.c nl_table[sk->sk_protocol].hash.entries--; hash 522 net/netlink/af_netlink.c struct nl_pid_hash *hash = &nl_table[sk->sk_protocol].hash; hash 533 net/netlink/af_netlink.c head = nl_pid_hashfn(hash, pid); hash 1758 net/netlink/af_netlink.c struct nl_pid_hash *hash = &nl_table[i].hash; hash 1760 net/netlink/af_netlink.c for (j = 0; j <= hash->mask; j++) { hash 1761 net/netlink/af_netlink.c sk_for_each(s, node, &hash->table[j]) { hash 1806 net/netlink/af_netlink.c struct nl_pid_hash *hash = &nl_table[i].hash; hash 1808 net/netlink/af_netlink.c for (; j <= hash->mask; j++) { hash 1809 net/netlink/af_netlink.c s = sk_head(&hash->table[j]); hash 1968 net/netlink/af_netlink.c struct nl_pid_hash *hash = &nl_table[i].hash; hash 1970 net/netlink/af_netlink.c hash->table = nl_pid_hash_zalloc(1 * sizeof(*hash->table)); hash 1971 net/netlink/af_netlink.c if (!hash->table) { hash 1973 net/netlink/af_netlink.c nl_pid_hash_free(nl_table[i].hash.table, hash 1974 net/netlink/af_netlink.c 1 * sizeof(*hash->table)); hash 1978 net/netlink/af_netlink.c hash->max_shift = order; hash 1979 net/netlink/af_netlink.c hash->shift = 0; hash 1980 net/netlink/af_netlink.c hash->mask = 0; hash 1981 net/netlink/af_netlink.c hash->rehash_time = jiffies; hash 175 net/phonet/datagram.c .hash = pn_sock_hash, hash 1047 net/phonet/pep.c .hash = pn_sock_hash, hash 150 net/phonet/socket.c sk->sk_prot->hash(sk); hash 53 net/sched/cls_tcindex.c int hash; /* hash table size; 0 if undefined */ hash 78 net/sched/cls_tcindex.c for (f = p->h[key % p->hash]; f; f = f->next) hash 142 net/sched/cls_tcindex.c p->hash = DEFAULT_HASH_SIZE; hash 165 net/sched/cls_tcindex.c for (i = 0; i < p->hash; i++) hash 193 net/sched/cls_tcindex.c return p->hash > (p->mask >> p->shift); hash 229 net/sched/cls_tcindex.c cp.hash = nla_get_u32(tb[TCA_TCINDEX_HASH]); hash 243 net/sched/cls_tcindex.c cp.hash > cp.alloc_hash) hash 245 net/sched/cls_tcindex.c } else if (cp.h && cp.hash != cp.alloc_hash) hash 252 net/sched/cls_tcindex.c if (!cp.hash) { hash 257 net/sched/cls_tcindex.c cp.hash = (cp.mask >> cp.shift)+1; hash 259 net/sched/cls_tcindex.c cp.hash = DEFAULT_HASH_SIZE; hash 263 net/sched/cls_tcindex.c cp.alloc_hash = cp.hash; hash 278 net/sched/cls_tcindex.c cp.perfect = kcalloc(cp.hash, sizeof(*r), GFP_KERNEL); hash 283 net/sched/cls_tcindex.c cp.h = kcalloc(cp.hash, sizeof(f), GFP_KERNEL); hash 321 net/sched/cls_tcindex.c for (fp = p->h+(handle % p->hash); *fp; fp = &(*fp)->next) hash 372 net/sched/cls_tcindex.c for (i = 0; i < p->hash; i++) { hash 388 net/sched/cls_tcindex.c for (i = 0; i < p->hash; i++) { hash 446 net/sched/cls_tcindex.c NLA_PUT_U32(skb, TCA_TCINDEX_HASH, p->hash); hash 459 net/sched/cls_tcindex.c for (i = 0; !t->tcm_handle && i < p->hash; i++) { hash 544 net/sched/sch_api.c ohash = clhash->hash; hash 554 net/sched/sch_api.c clhash->hash = nhash; hash 567 net/sched/sch_api.c clhash->hash = qdisc_class_hash_alloc(size); hash 568 net/sched/sch_api.c if (clhash->hash == NULL) hash 579 net/sched/sch_api.c qdisc_class_hash_free(clhash->hash, clhash->hashsize); hash 590 net/sched/sch_api.c hlist_add_head(&cl->hnode, &clhash->hash[h]); hash 1082 net/sched/sch_cbq.c hlist_for_each_entry(cl, n, &q->clhash.hash[h], common.hnode) { hash 1123 net/sched/sch_cbq.c hlist_for_each_entry(c, n, &q->clhash.hash[h], hash 1259 net/sched/sch_cbq.c hlist_for_each_entry(cl, n, &q->clhash.hash[h], common.hnode) { hash 1740 net/sched/sch_cbq.c hlist_for_each_entry(cl, n, &q->clhash.hash[h], common.hnode) hash 1744 net/sched/sch_cbq.c hlist_for_each_entry_safe(cl, n, next, &q->clhash.hash[h], hash 2031 net/sched/sch_cbq.c hlist_for_each_entry(cl, n, &q->clhash.hash[h], common.hnode) { hash 1394 net/sched/sch_hfsc.c hlist_for_each_entry(cl, n, &q->clhash.hash[i], hash 1525 net/sched/sch_hfsc.c hlist_for_each_entry(cl, n, &q->clhash.hash[i], cl_common.hnode) hash 1544 net/sched/sch_hfsc.c hlist_for_each_entry(cl, n, &q->clhash.hash[i], cl_common.hnode) hash 1548 net/sched/sch_hfsc.c hlist_for_each_entry_safe(cl, n, next, &q->clhash.hash[i], hash 966 net/sched/sch_htb.c hlist_for_each_entry(cl, n, &q->clhash.hash[i], common.hnode) { hash 1239 net/sched/sch_htb.c hlist_for_each_entry(cl, n, &q->clhash.hash[i], common.hnode) hash 1243 net/sched/sch_htb.c hlist_for_each_entry_safe(cl, n, next, &q->clhash.hash[i], hash 1531 net/sched/sch_htb.c hlist_for_each_entry(cl, n, &q->clhash.hash[i], common.hnode) { hash 107 net/sched/sch_sfq.c unsigned short hash[SFQ_DEPTH]; /* Hash value indexed by slots */ hash 269 net/sched/sch_sfq.c q->ht[q->hash[d]] = SFQ_DEPTH; hash 282 net/sched/sch_sfq.c unsigned int hash; hash 286 net/sched/sch_sfq.c hash = sfq_classify(skb, sch, &ret); hash 287 net/sched/sch_sfq.c if (hash == 0) { hash 293 net/sched/sch_sfq.c hash--; hash 295 net/sched/sch_sfq.c x = q->ht[hash]; hash 297 net/sched/sch_sfq.c q->ht[hash] = x = q->dep[SFQ_DEPTH].next; hash 298 net/sched/sch_sfq.c q->hash[x] = hash; hash 336 net/sched/sch_sfq.c unsigned int hash; hash 340 net/sched/sch_sfq.c hash = sfq_classify(skb, sch, &ret); hash 341 net/sched/sch_sfq.c if (hash == 0) { hash 347 net/sched/sch_sfq.c hash--; hash 349 net/sched/sch_sfq.c x = q->ht[hash]; hash 351 net/sched/sch_sfq.c q->ht[hash] = x = q->dep[SFQ_DEPTH].next; hash 352 net/sched/sch_sfq.c q->hash[x] = hash; hash 418 net/sched/sch_sfq.c q->ht[q->hash[a]] = SFQ_DEPTH; hash 332 net/sctp/endpointola.c int hash; hash 338 net/sctp/endpointola.c hash = sctp_assoc_hashfn(ep->base.bind_addr.port, rport); hash 339 net/sctp/endpointola.c head = &sctp_assoc_hashtable[hash]; hash 740 net/sctp/input.c int hash; hash 742 net/sctp/input.c hash = sctp_ep_hashfn(ntohs(laddr->v4.sin_port)); hash 743 net/sctp/input.c head = &sctp_ep_hashtable[hash]; hash 828 net/sctp/input.c int hash; hash 833 net/sctp/input.c hash = sctp_assoc_hashfn(ntohs(local->v4.sin_port), ntohs(peer->v4.sin_port)); hash 834 net/sctp/input.c head = &sctp_assoc_hashtable[hash]; hash 205 net/sctp/proc.c int hash = *(loff_t *)v; hash 207 net/sctp/proc.c if (hash >= sctp_ep_hashsize) hash 210 net/sctp/proc.c head = &sctp_ep_hashtable[hash]; hash 217 net/sctp/proc.c sctp_sk(sk)->type, sk->sk_state, hash, hash 309 net/sctp/proc.c int hash = *(loff_t *)v; hash 311 net/sctp/proc.c if (hash >= sctp_assoc_hashsize) hash 314 net/sctp/proc.c head = &sctp_assoc_hashtable[hash]; hash 324 net/sctp/proc.c assoc->state, hash, hash 422 net/sctp/proc.c int hash = *(loff_t *)v; hash 424 net/sctp/proc.c if (hash >= sctp_assoc_hashsize) hash 427 net/sctp/proc.c head = &sctp_assoc_hashtable[hash]; hash 6718 net/sctp/socket.c .hash = sctp_hash, hash 6750 net/sctp/socket.c .hash = sctp_hash, hash 284 net/sunrpc/auth_gss/svcauth_gss.c int hash = rsi_hash(item); hash 286 net/sunrpc/auth_gss/svcauth_gss.c ch = sunrpc_cache_lookup(&rsi_cache, &item->h, hash); hash 296 net/sunrpc/auth_gss/svcauth_gss.c int hash = rsi_hash(new); hash 299 net/sunrpc/auth_gss/svcauth_gss.c &old->h, hash); hash 519 net/sunrpc/auth_gss/svcauth_gss.c int hash = rsc_hash(item); hash 521 net/sunrpc/auth_gss/svcauth_gss.c ch = sunrpc_cache_lookup(&rsc_cache, &item->h, hash); hash 531 net/sunrpc/auth_gss/svcauth_gss.c int hash = rsc_hash(new); hash 534 net/sunrpc/auth_gss/svcauth_gss.c &old->h, hash); hash 56 net/sunrpc/cache.c head = &detail->hash_table[hash]; hash 157 net/sunrpc/cache.c head = &detail->hash_table[hash]; hash 557 net/sunrpc/cache.c int hash = DFR_HASH(item); hash 576 net/sunrpc/cache.c if (cache_defer_hash[hash].next == NULL) hash 577 net/sunrpc/cache.c INIT_LIST_HEAD(&cache_defer_hash[hash]); hash 578 net/sunrpc/cache.c list_add(&dreq->hash, &cache_defer_hash[hash]); hash 586 net/sunrpc/cache.c list_del(&dreq->hash); hash 608 net/sunrpc/cache.c int hash = DFR_HASH(item); hash 613 net/sunrpc/cache.c lp = cache_defer_hash[hash].next; hash 615 net/sunrpc/cache.c while (lp != &cache_defer_hash[hash]) { hash 616 net/sunrpc/cache.c dreq = list_entry(lp, struct cache_deferred_req, hash); hash 619 net/sunrpc/cache.c list_del(&dreq->hash); hash 645 net/sunrpc/cache.c list_del(&dreq->hash); hash 1161 net/sunrpc/cache.c unsigned hash, entry; hash 1169 net/sunrpc/cache.c hash = n >> 32; hash 1172 net/sunrpc/cache.c for (ch=cd->hash_table[hash]; ch; ch=ch->next) hash 1177 net/sunrpc/cache.c hash++; hash 1179 net/sunrpc/cache.c } while(hash < cd->hash_size && hash 1180 net/sunrpc/cache.c cd->hash_table[hash]==NULL); hash 1181 net/sunrpc/cache.c if (hash >= cd->hash_size) hash 1184 net/sunrpc/cache.c return cd->hash_table[hash]; hash 1190 net/sunrpc/cache.c int hash = (*pos >> 32); hash 1194 net/sunrpc/cache.c hash = 0; hash 1196 net/sunrpc/cache.c hash++; hash 1203 net/sunrpc/cache.c while (hash < cd->hash_size && hash 1204 net/sunrpc/cache.c cd->hash_table[hash] == NULL) { hash 1205 net/sunrpc/cache.c hash++; hash 1208 net/sunrpc/cache.c if (hash >= cd->hash_size) hash 1211 net/sunrpc/cache.c return cd->hash_table[hash]; hash 130 net/sunrpc/svcauth.c hlist_del(&dom->hash); hash 148 net/sunrpc/svcauth.c hlist_for_each_entry(hp, np, head, hash) { hash 156 net/sunrpc/svcauth.c hlist_add_head(&new->hash, head); hash 113 net/sunrpc/svcauth_unix.c int hash = (__force u32)ip ^ ((__force u32)ip>>16); hash 114 net/sunrpc/svcauth_unix.c return (hash ^ (hash>>8)) & 0xff; hash 558 net/tipc/name_table.c type, ntohl(type), type, table.types, hash(type)); hash 560 net/tipc/name_table.c seq_head = &table.types[hash(type)]; hash 585 net/tipc/name_table.c seq = tipc_nameseq_create(type, &table.types[hash(type)]); hash 833 net/tipc/name_table.c seq = tipc_nameseq_create(type, &table.types[hash(type)]); hash 1014 net/tipc/name_table.c i = hash(type); hash 124 net/unix/af_unix.c #define UNIX_ABSTRACT(sk) (unix_sk(sk)->addr->hash != UNIX_HASH_SIZE) hash 152 net/unix/af_unix.c unsigned hash = (__force unsigned)n; hash 153 net/unix/af_unix.c hash ^= hash>>16; hash 154 net/unix/af_unix.c hash ^= hash>>8; hash 155 net/unix/af_unix.c return hash&(UNIX_HASH_SIZE-1); hash 255 net/unix/af_unix.c sk_for_each(s, node, &unix_socket_table[hash ^ type]) { hash 278 net/unix/af_unix.c s = __unix_find_socket_byname(net, sunname, len, type, hash); hash 684 net/unix/af_unix.c addr->hash = unix_hash_fold(csum_partial((void*)addr->name, addr->len, 0)); hash 690 net/unix/af_unix.c addr->hash)) { hash 697 net/unix/af_unix.c addr->hash ^= sk->sk_type; hash 701 net/unix/af_unix.c __unix_insert_socket(&unix_socket_table[addr->hash], sk); hash 744 net/unix/af_unix.c u=unix_find_socket_byname(net, sunname, len, type, hash); hash 772 net/unix/af_unix.c unsigned hash; hash 785 net/unix/af_unix.c err = unix_mkname(sunaddr, addr_len, &hash); hash 803 net/unix/af_unix.c addr->hash = hash ^ sk->sk_type; hash 838 net/unix/af_unix.c addr->hash = UNIX_HASH_SIZE; hash 846 net/unix/af_unix.c sk->sk_type, hash)) { hash 851 net/unix/af_unix.c list = &unix_socket_table[addr->hash]; hash 914 net/unix/af_unix.c unsigned hash; hash 918 net/unix/af_unix.c err = unix_mkname(sunaddr, alen, &hash); hash 928 net/unix/af_unix.c other=unix_find_other(net, sunaddr, alen, sock->type, hash, &err); hash 1012 net/unix/af_unix.c unsigned hash; hash 1017 net/unix/af_unix.c err = unix_mkname(sunaddr, addr_len, &hash); hash 1047 net/unix/af_unix.c other = unix_find_other(net, sunaddr, addr_len, sk->sk_type, hash, &err); hash 1328 net/unix/af_unix.c unsigned hash; hash 1344 net/unix/af_unix.c err = unix_mkname(sunaddr, msg->msg_namelen, &hash); hash 1387 net/unix/af_unix.c hash, &err); hash 344 net/xfrm/xfrm_policy.c unsigned int hash = __sel_hash(sel, family, hmask); hash 346 net/xfrm/xfrm_policy.c return (hash == hmask + 1 ? hash 348 net/xfrm/xfrm_policy.c xfrm_policy_bydst[dir].table + hash); hash 354 net/xfrm/xfrm_policy.c unsigned int hash = __addr_hash(daddr, saddr, family, hmask); hash 356 net/xfrm/xfrm_policy.c return xfrm_policy_bydst[dir].table + hash; hash 659 scripts/kconfig/symbol.c int hash = 0; hash 670 scripts/kconfig/symbol.c hash += *ptr; hash 671 scripts/kconfig/symbol.c hash &= 0xff; hash 673 scripts/kconfig/symbol.c for (symbol = symbol_hash[hash]; symbol; symbol = symbol->next) { hash 682 scripts/kconfig/symbol.c hash = 256; hash 691 scripts/kconfig/symbol.c symbol->next = symbol_hash[hash]; hash 692 scripts/kconfig/symbol.c symbol_hash[hash] = symbol; hash 701 scripts/kconfig/symbol.c int hash = 0; hash 714 scripts/kconfig/symbol.c hash += *ptr; hash 715 scripts/kconfig/symbol.c hash &= 0xff; hash 717 scripts/kconfig/symbol.c for (symbol = symbol_hash[hash]; symbol; symbol = symbol->next) { hash 191 scripts/mod/modpost.c unsigned int hash; hash 194 scripts/mod/modpost.c hash = tdb_hash(name) % SYMBOL_HASH_SIZE; hash 195 scripts/mod/modpost.c new = symbolhash[hash] = alloc_symbol(name, 0, symbolhash[hash]); hash 41 scripts/mod/sumversion.c uint32_t hash[MD4_HASH_WORDS]; hash 92 scripts/mod/sumversion.c a = hash[0]; hash 93 scripts/mod/sumversion.c b = hash[1]; hash 94 scripts/mod/sumversion.c c = hash[2]; hash 95 scripts/mod/sumversion.c d = hash[3]; hash 148 scripts/mod/sumversion.c hash[0] += a; hash 149 scripts/mod/sumversion.c hash[1] += b; hash 150 scripts/mod/sumversion.c hash[2] += c; hash 151 scripts/mod/sumversion.c hash[3] += d; hash 157 scripts/mod/sumversion.c md4_transform(ctx->hash, ctx->block); hash 162 scripts/mod/sumversion.c mctx->hash[0] = 0x67452301; hash 163 scripts/mod/sumversion.c mctx->hash[1] = 0xefcdab89; hash 164 scripts/mod/sumversion.c mctx->hash[2] = 0x98badcfe; hash 165 scripts/mod/sumversion.c mctx->hash[3] = 0x10325476; hash 218 scripts/mod/sumversion.c md4_transform(mctx->hash, mctx->block); hash 219 scripts/mod/sumversion.c cpu_to_le32_array(mctx->hash, sizeof(mctx->hash) / sizeof(uint32_t)); hash 222 scripts/mod/sumversion.c mctx->hash[0], mctx->hash[1], mctx->hash[2], mctx->hash[3]); hash 758 sound/pci/hda/hda_codec.c memset(cache->hash, 0xff, sizeof(cache->hash)); hash 771 sound/pci/hda/hda_codec.c u16 idx = key % (u16)ARRAY_SIZE(cache->hash); hash 772 sound/pci/hda/hda_codec.c u16 cur = cache->hash[idx]; hash 807 sound/pci/hda/hda_codec.c info->next = cache->hash[idx]; hash 808 sound/pci/hda/hda_codec.c cache->hash[idx] = cur; hash 637 sound/pci/hda/hda_codec.h u16 hash[64]; /* hash table for index */