Home
last modified time | relevance | path

Searched refs:nhash (Results 1 – 14 of 14) sorted by relevance

/linux/crypto/
H A Dahash.c870 struct crypto_ahash *nhash; in crypto_clone_ahash() local
882 nhash = crypto_clone_tfm(&crypto_ahash_type, tfm); in crypto_clone_ahash()
884 if (IS_ERR(nhash)) in crypto_clone_ahash()
885 return nhash; in crypto_clone_ahash()
887 nhash->reqsize = hash->reqsize; in crypto_clone_ahash()
888 nhash->statesize = hash->statesize; in crypto_clone_ahash()
891 struct crypto_shash **nctx = crypto_ahash_ctx(nhash); in crypto_clone_ahash()
899 crypto_ahash_tfm(nhash)->exit = crypto_exit_ahash_using_shash; in crypto_clone_ahash()
900 nhash->using_shash = true; in crypto_clone_ahash()
902 return nhash; in crypto_clone_ahash()
[all …]
H A Dshash.c402 struct crypto_shash *nhash; in crypto_clone_shash() local
416 nhash = crypto_clone_tfm(&crypto_shash_type, tfm); in crypto_clone_shash()
417 if (IS_ERR(nhash)) in crypto_clone_shash()
418 return nhash; in crypto_clone_shash()
421 err = alg->clone_tfm(nhash, hash); in crypto_clone_shash()
423 crypto_free_shash(nhash); in crypto_clone_shash()
429 crypto_shash_tfm(nhash)->exit = crypto_shash_exit_tfm; in crypto_clone_shash()
431 return nhash; in crypto_clone_shash()
/linux/fs/jffs2/
H A Ddir.c87 unsigned int nhash; in jffs2_lookup() local
97 nhash = full_name_hash(NULL, target->d_name.name, target->d_name.len); in jffs2_lookup()
102 for (fd_list = dir_f->dents; fd_list && fd_list->nhash <= nhash; fd_list = fd_list->next) { in jffs2_lookup()
103 if (fd_list->nhash == nhash && in jffs2_lookup()
H A Dwrite.c248 fd->nhash = full_name_hash(NULL, name, namelen); in jffs2_write_dirent()
601 uint32_t nhash = full_name_hash(NULL, name, namelen); in jffs2_do_unlink() local
610 if (fd->nhash == nhash && in jffs2_do_unlink()
H A Dnodelist.c32 while ((*prev) && (*prev)->nhash <= new->nhash) { in jffs2_add_fd_to_list()
33 if ((*prev)->nhash == new->nhash && !strcmp((*prev)->name, new->name)) { in jffs2_add_fd_to_list()
H A Dnodelist.h260 unsigned int nhash; member
H A Dsummary.c479 fd->nhash = full_name_hash(NULL, fd->name, checkedlen); in jffs2_sum_process_sum_data()
H A Dscan.c1111 fd->nhash = full_name_hash(NULL, fd->name, checkedlen); in jffs2_scan_dirent_node()
H A Dreadinode.c693 fd->nhash = full_name_hash(NULL, fd->name, rd->nsize); in read_direntry()
/linux/net/sched/
H A Dsch_api.c684 struct hlist_head *nhash, *ohash; in qdisc_class_hash_grow() local
693 nhash = qdisc_class_hash_alloc(nsize); in qdisc_class_hash_grow()
694 if (nhash == NULL) in qdisc_class_hash_grow()
704 hlist_add_head(&cl->hnode, &nhash[h]); in qdisc_class_hash_grow()
707 clhash->hash = nhash; in qdisc_class_hash_grow()
/linux/drivers/net/ethernet/chelsio/cxgb4/
H A Dcxgb4_uld.h115 unsigned int nhash; member
H A Dcxgb4_ethtool.c2267 nentries += tids->nhash + in cxgb4_init_ethtool_filters()
H A Dcxgb4_filter.c1163 (adap->tids.nhash + (adap->tids.stid_base - adap->tids.tid_base))) in is_filter_exact_match()
H A Dcxgb4_main.c6925 adapter->tids.nhash = 1 << HASHTIDSIZE_G(v); in init_one()
6929 adapter->tids.nhash = HASHTBLSIZE_G(v) << 3; in init_one()