/Linux-v4.19/fs/jbd2/ |
D | revoke.c | 115 int hash_size; member 210 static struct jbd2_revoke_table_s *jbd2_journal_init_revoke_table(int hash_size) in jbd2_journal_init_revoke_table() argument 213 int tmp = hash_size; in jbd2_journal_init_revoke_table() 223 table->hash_size = hash_size; in jbd2_journal_init_revoke_table() 226 kmalloc_array(hash_size, sizeof(struct list_head), GFP_KERNEL); in jbd2_journal_init_revoke_table() 233 for (tmp = 0; tmp < hash_size; tmp++) in jbd2_journal_init_revoke_table() 245 for (i = 0; i < table->hash_size; i++) { in jbd2_journal_destroy_revoke_table() 255 int jbd2_journal_init_revoke(journal_t *journal, int hash_size) in jbd2_journal_init_revoke() argument 258 J_ASSERT(is_power_of_2(hash_size)); in jbd2_journal_init_revoke() 260 journal->j_revoke_table[0] = jbd2_journal_init_revoke_table(hash_size); in jbd2_journal_init_revoke() [all …]
|
/Linux-v4.19/fs/ |
D | dcookies.c | 44 static size_t hash_size __read_mostly; 61 return (dcookie >> L1_CACHE_SHIFT) & (hash_size - 1); in dcookie_hash() 246 hash_size = PAGE_SIZE / sizeof(struct list_head); in dcookie_init() 250 } while ((hash_size >> hash_bits) != 0); in dcookie_init() 257 hash_size = 1UL << hash_bits; in dcookie_init() 261 i = hash_size; in dcookie_init() 297 for (i = 0; i < hash_size; ++i) { in dcookie_exit()
|
/Linux-v4.19/drivers/net/ethernet/freescale/fman/ |
D | fman_keygen.c | 715 u32 hash_base_fqid, u32 hash_size) in keygen_port_hashing_init() argument 726 if (hash_size == 0 || (hash_size & (hash_size - 1)) != 0) { in keygen_port_hashing_init() 759 scheme->hash_fqid_count = hash_size; in keygen_port_hashing_init()
|
D | fman_keygen.h | 44 u32 hash_base_fqid, u32 hash_size);
|
/Linux-v4.19/drivers/net/ |
D | gtp.c | 78 unsigned int hash_size; member 115 head = >p->tid_hash[gtp0_hashfn(tid) % gtp->hash_size]; in gtp0_pdp_find() 131 head = >p->tid_hash[gtp1u_hashfn(tid) % gtp->hash_size]; in gtp1_pdp_find() 147 head = >p->addr_hash[ipv4_hashfn(ms_addr) % gtp->hash_size]; in ipv4_pdp_find() 719 if (nla_put_u32(skb, IFLA_GTP_PDP_HASHSIZE, gtp->hash_size)) in gtp_fill_info() 755 gtp->hash_size = hsize; in gtp_hashtable_new() 772 for (i = 0; i < gtp->hash_size; i++) in gtp_hashtable_free() 924 hash_ms = ipv4_hashfn(ms_addr) % gtp->hash_size; in ipv4_pdp_add() 969 hash_tid = gtp0_hashfn(pctx->u.v0.tid) % gtp->hash_size; in ipv4_pdp_add() 972 hash_tid = gtp1u_hashfn(pctx->u.v1.i_tei) % gtp->hash_size; in ipv4_pdp_add() [all …]
|
/Linux-v4.19/drivers/md/ |
D | dm-snap.c | 803 sector_t hash_size, cow_dev_size, max_buckets; in init_hash_tables() local 812 hash_size = cow_dev_size >> s->store->chunk_shift; in init_hash_tables() 813 hash_size = min(hash_size, max_buckets); in init_hash_tables() 815 if (hash_size < 64) in init_hash_tables() 816 hash_size = 64; in init_hash_tables() 817 hash_size = rounddown_pow_of_two(hash_size); in init_hash_tables() 818 if (dm_exception_table_init(&s->complete, hash_size, in init_hash_tables() 826 hash_size >>= 3; in init_hash_tables() 827 if (hash_size < 64) in init_hash_tables() 828 hash_size = 64; in init_hash_tables() [all …]
|
/Linux-v4.19/net/sunrpc/ |
D | cache.c | 392 current_index >= current_detail->hash_size) { in cache_clean() 404 current_index = current_detail->hash_size; in cache_clean() 413 current_index < current_detail->hash_size && in cache_clean() 419 if (current_detail && current_index < current_detail->hash_size) { in cache_clean() 504 for (i = 0; i < detail->hash_size; i++) { in cache_purge() 1313 } while(hash < cd->hash_size && in cache_seq_start() 1315 if (hash >= cd->hash_size) in cache_seq_start() 1340 while (hash < cd->hash_size && in cache_seq_next() 1345 if (hash >= cd->hash_size) in cache_seq_next() 1686 cd->hash_table = kcalloc(cd->hash_size, sizeof(struct hlist_head), in cache_create_net() [all …]
|
D | svcauth_unix.c | 575 .hash_size = GID_HASHMAX, 869 .hash_size = IP_HASHMAX,
|
/Linux-v4.19/drivers/nfc/s3fwrn5/ |
D | firmware.c | 121 const void *hash_data, u16 hash_size, in s3fwrn5_fw_enter_update_mode() argument 131 args.hashcode_size = hash_size; in s3fwrn5_fw_enter_update_mode() 155 hash_data, hash_size); in s3fwrn5_fw_enter_update_mode()
|
/Linux-v4.19/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-v4.19/fs/affs/ |
D | amigaffs.h | 51 __be32 hash_size; member
|
/Linux-v4.19/net/dccp/ |
D | proto.c | 1168 unsigned long hash_size = (1UL << ehash_order) * PAGE_SIZE / in dccp_init() local 1171 while (hash_size & (hash_size - 1)) in dccp_init() 1172 hash_size--; in dccp_init() 1173 dccp_hashinfo.ehash_mask = hash_size - 1; in dccp_init()
|
/Linux-v4.19/drivers/net/bonding/ |
D | bond_alb.c | 82 static inline u8 _simple_hash(const u8 *hash_start, int hash_size) in _simple_hash() argument 87 for (i = 0; i < hash_size; i++) in _simple_hash() 1398 int hash_size = 0; in bond_alb_xmit() local 1418 hash_size = sizeof(iph->daddr); in bond_alb_xmit() 1449 hash_size = sizeof(ipv6_hdr(skb)->daddr); in bond_alb_xmit() 1468 hash_size = ETH_ALEN; in bond_alb_xmit() 1482 hash_index = _simple_hash(hash_start, hash_size); in bond_alb_xmit()
|
/Linux-v4.19/drivers/crypto/ |
D | atmel-sha.c | 107 size_t hash_size; member 1768 ctx->hash_size = SHA1_DIGEST_SIZE; in atmel_sha_hmac_setup() 1773 ctx->hash_size = SHA256_DIGEST_SIZE; in atmel_sha_hmac_setup() 1778 ctx->hash_size = SHA256_DIGEST_SIZE; in atmel_sha_hmac_setup() 1783 ctx->hash_size = SHA512_DIGEST_SIZE; in atmel_sha_hmac_setup() 1788 ctx->hash_size = SHA512_DIGEST_SIZE; in atmel_sha_hmac_setup() 1859 size_t hs = ctx->hash_size; in atmel_sha_hmac_compute_opad_hash() 1874 size_t hs = ctx->hash_size; in atmel_sha_hmac_setup_done() 1950 size_t hs = ctx->hash_size; in atmel_sha_hmac_init_done() 1969 size_t hs = ctx->hash_size; in atmel_sha_hmac_final() [all …]
|
/Linux-v4.19/include/linux/sunrpc/ |
D | cache.h | 68 int hash_size; member
|
/Linux-v4.19/fs/nfsd/ |
D | nfs4idmap.c | 183 .hash_size = ENT_HASHMAX, 346 .hash_size = ENT_HASHMAX,
|
D | export.c | 237 .hash_size = EXPKEY_HASHMAX, 754 .hash_size = EXPORT_HASHMAX,
|
/Linux-v4.19/drivers/crypto/chelsio/ |
D | chcr_algo.h | 285 unsigned int hash_size; member
|
D | chcr_algo.c | 1551 param->hash_size, transhdr_len, in create_hash_wr() 1608 params.hash_size = params.alg_prm.result_size; in chcr_ahash_update() 1687 params.hash_size = crypto_ahash_digestsize(rtfm); in chcr_ahash_final() 1742 params.hash_size = params.alg_prm.result_size; in chcr_ahash_finup() 1748 params.hash_size = crypto_ahash_digestsize(rtfm); in chcr_ahash_finup() 1825 params.hash_size = params.alg_prm.result_size; in chcr_ahash_digest() 1828 params.hash_size = crypto_ahash_digestsize(rtfm); in chcr_ahash_digest() 1895 params.hash_size = params.alg_prm.result_size; in chcr_ahash_continue() 1900 params.hash_size = crypto_ahash_digestsize(rtfm); in chcr_ahash_continue()
|
/Linux-v4.19/fs/nfs/ |
D | dns_resolve.c | 359 .hash_size = NFS_DNS_HASHTBL_SIZE,
|
/Linux-v4.19/net/sunrpc/auth_gss/ |
D | svcauth_gss.c | 269 .hash_size = RSI_HASHMAX, 530 .hash_size = RSC_HASHMAX,
|
/Linux-v4.19/drivers/block/drbd/ |
D | drbd_receiver.c | 3615 int hash_size; in receive_protocol() local 3634 hash_size = crypto_ahash_digestsize(peer_integrity_tfm); in receive_protocol() 3635 int_dig_in = kmalloc(hash_size, GFP_KERNEL); in receive_protocol() 3636 int_dig_vv = kmalloc(hash_size, GFP_KERNEL); in receive_protocol()
|
/Linux-v4.19/net/ipv4/ |
D | tcp_output.c | 439 u8 hash_size; /* bytes in hash_location */ member
|