/linux-4.1.27/fs/jbd/ |
D | revoke.c | 118 int hash_size; member 229 static struct jbd_revoke_table_s *journal_init_revoke_table(int hash_size) in journal_init_revoke_table() argument 238 table->hash_size = hash_size; in journal_init_revoke_table() 239 table->hash_shift = ilog2(hash_size); in journal_init_revoke_table() 241 kmalloc(hash_size * sizeof(struct list_head), GFP_KERNEL); in journal_init_revoke_table() 248 for (i = 0; i < hash_size; i++) in journal_init_revoke_table() 260 for (i = 0; i < table->hash_size; i++) { in journal_destroy_revoke_table() 270 int journal_init_revoke(journal_t *journal, int hash_size) in journal_init_revoke() argument 273 J_ASSERT(is_power_of_2(hash_size)); in journal_init_revoke() 275 journal->j_revoke_table[0] = journal_init_revoke_table(hash_size); in journal_init_revoke() [all …]
|
/linux-4.1.27/fs/jbd2/ |
D | revoke.c | 118 int hash_size; member 222 static struct jbd2_revoke_table_s *jbd2_journal_init_revoke_table(int hash_size) in jbd2_journal_init_revoke_table() argument 225 int tmp = hash_size; in jbd2_journal_init_revoke_table() 235 table->hash_size = hash_size; in jbd2_journal_init_revoke_table() 238 kmalloc(hash_size * sizeof(struct list_head), GFP_KERNEL); in jbd2_journal_init_revoke_table() 245 for (tmp = 0; tmp < hash_size; tmp++) in jbd2_journal_init_revoke_table() 257 for (i = 0; i < table->hash_size; i++) { in jbd2_journal_destroy_revoke_table() 267 int jbd2_journal_init_revoke(journal_t *journal, int hash_size) in jbd2_journal_init_revoke() argument 270 J_ASSERT(is_power_of_2(hash_size)); in jbd2_journal_init_revoke() 272 journal->j_revoke_table[0] = jbd2_journal_init_revoke_table(hash_size); in jbd2_journal_init_revoke() [all …]
|
/linux-4.1.27/fs/ |
D | dcookies.c | 44 static size_t hash_size __read_mostly; 61 return (dcookie >> L1_CACHE_SHIFT) & (hash_size - 1); in dcookie_hash() 241 hash_size = PAGE_SIZE / sizeof(struct list_head); in dcookie_init() 245 } while ((hash_size >> hash_bits) != 0); in dcookie_init() 252 hash_size = 1UL << hash_bits; in dcookie_init() 256 i = hash_size; in dcookie_init() 292 for (i = 0; i < hash_size; ++i) { in dcookie_exit()
|
/linux-4.1.27/crypto/asymmetric_keys/ |
D | rsa.c | 163 static int RSA_verify(const u8 *H, const u8 *EM, size_t k, size_t hash_size, in RSA_verify() argument 168 kenter(",,%zu,%zu,%zu", k, hash_size, asn1_size); in RSA_verify() 170 if (k < 2 + 1 + asn1_size + hash_size) in RSA_verify() 179 T_offset = k - (asn1_size + hash_size); in RSA_verify() 198 if (crypto_memneq(H, EM + T_offset + asn1_size, hash_size) != 0) { in RSA_verify()
|
/linux-4.1.27/drivers/md/ |
D | dm-snap.c | 796 sector_t hash_size, cow_dev_size, max_buckets; in init_hash_tables() local 805 hash_size = cow_dev_size >> s->store->chunk_shift; in init_hash_tables() 806 hash_size = min(hash_size, max_buckets); in init_hash_tables() 808 if (hash_size < 64) in init_hash_tables() 809 hash_size = 64; in init_hash_tables() 810 hash_size = rounddown_pow_of_two(hash_size); in init_hash_tables() 811 if (dm_exception_table_init(&s->complete, hash_size, in init_hash_tables() 819 hash_size >>= 3; in init_hash_tables() 820 if (hash_size < 64) in init_hash_tables() 821 hash_size = 64; in init_hash_tables() [all …]
|
/linux-4.1.27/net/sunrpc/ |
D | cache.c | 397 current_index >= current_detail->hash_size) { in cache_clean() 409 current_index = current_detail->hash_size; in cache_clean() 418 current_index < current_detail->hash_size && in cache_clean() 424 if (current_detail && current_index < current_detail->hash_size) { in cache_clean() 1299 } while(hash < cd->hash_size && in c_start() 1301 if (hash >= cd->hash_size) in c_start() 1323 while (hash < cd->hash_size && in c_next() 1328 if (hash >= cd->hash_size) in c_next() 1673 cd->hash_table = kzalloc(cd->hash_size * sizeof(struct cache_head *), in cache_create_net()
|
D | svcauth_unix.c | 574 .hash_size = GID_HASHMAX, 875 .hash_size = IP_HASHMAX,
|
/linux-4.1.27/lib/zlib_deflate/ |
D | deflate.c | 163 s->head[s->hash_size-1] = NIL; \ 164 memset((char *)s->head, 0, (unsigned)(s->hash_size-1)*sizeof(*s->head)); 228 s->hash_size = 1 << s->hash_bits; in zlib_deflateInit2() 229 s->hash_mask = s->hash_size - 1; in zlib_deflateInit2() 772 n = s->hash_size; in fill_window()
|
D | defutil.h | 113 uInt hash_size; /* number of elements in hash table */ member
|
/linux-4.1.27/include/linux/ |
D | amigaffs.h | 50 __be32 hash_size; member
|
/linux-4.1.27/net/dccp/ |
D | proto.c | 1145 unsigned long hash_size = (1UL << ehash_order) * PAGE_SIZE / in dccp_init() local 1148 while (hash_size & (hash_size - 1)) in dccp_init() 1149 hash_size--; in dccp_init() 1150 dccp_hashinfo.ehash_mask = hash_size - 1; in dccp_init()
|
/linux-4.1.27/drivers/net/bonding/ |
D | bond_alb.c | 90 static inline u8 _simple_hash(const u8 *hash_start, int hash_size) in _simple_hash() argument 95 for (i = 0; i < hash_size; i++) in _simple_hash() 1370 int hash_size = 0; in bond_alb_xmit() local 1390 hash_size = sizeof(iph->daddr); in bond_alb_xmit() 1421 hash_size = sizeof(ipv6_hdr(skb)->daddr); in bond_alb_xmit() 1440 hash_size = ETH_ALEN; in bond_alb_xmit() 1453 hash_index = _simple_hash(hash_start, hash_size); in bond_alb_xmit()
|
/linux-4.1.27/include/linux/sunrpc/ |
D | cache.h | 75 int hash_size; member
|
/linux-4.1.27/fs/nfsd/ |
D | nfs4idmap.c | 186 .hash_size = ENT_HASHMAX, 349 .hash_size = ENT_HASHMAX,
|
D | export.c | 236 .hash_size = EXPKEY_HASHMAX, 752 .hash_size = EXPORT_HASHMAX,
|
/linux-4.1.27/fs/nfs/ |
D | dns_resolve.c | 358 .hash_size = NFS_DNS_HASHTBL_SIZE,
|
/linux-4.1.27/net/sunrpc/auth_gss/ |
D | svcauth_gss.c | 269 .hash_size = RSI_HASHMAX, 529 .hash_size = RSC_HASHMAX,
|
/linux-4.1.27/drivers/block/drbd/ |
D | drbd_receiver.c | 3367 int hash_size; in receive_protocol() local 3385 hash_size = crypto_hash_digestsize(peer_integrity_tfm); in receive_protocol() 3386 int_dig_in = kmalloc(hash_size, GFP_KERNEL); in receive_protocol() 3387 int_dig_vv = kmalloc(hash_size, GFP_KERNEL); in receive_protocol()
|
/linux-4.1.27/net/ipv4/ |
D | tcp_output.c | 430 u8 hash_size; /* bytes in hash_location */ member
|