Home
last modified time | relevance | path

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

/linux/crypto/
H A Dshash.c258 struct crypto_shash *nhash; in crypto_clone_shash() local
272 nhash = crypto_clone_tfm(&crypto_shash_type, tfm); in crypto_clone_shash()
273 if (IS_ERR(nhash)) in crypto_clone_shash()
274 return nhash; in crypto_clone_shash()
276 nhash->descsize = hash->descsize; in crypto_clone_shash()
279 err = alg->clone_tfm(nhash, hash); in crypto_clone_shash()
281 crypto_free_shash(nhash); in crypto_clone_shash()
286 return nhash; in crypto_clone_shash()
H A Dahash.c582 struct crypto_ahash *nhash; in crypto_clone_ahash() local
594 nhash = crypto_clone_tfm(&crypto_ahash_type, tfm); in crypto_clone_ahash()
596 if (IS_ERR(nhash)) in crypto_clone_ahash()
597 return nhash; in crypto_clone_ahash()
599 nhash->reqsize = hash->reqsize; in crypto_clone_ahash()
600 nhash->statesize = hash->statesize; in crypto_clone_ahash()
611 nhash->using_shash = true; in crypto_clone_ahash()
613 return nhash; in crypto_clone_ahash()
621 err = alg->clone_tfm(nhash, hash); in crypto_clone_ahash()
625 return nhash; in crypto_clone_ahash()
[all …]
/linux/fs/jffs2/
H A Ddir.c85 unsigned int nhash; in jffs2_lookup() local
95 nhash = full_name_hash(NULL, target->d_name.name, target->d_name.len); in jffs2_lookup()
100 for (fd_list = dir_f->dents; fd_list && fd_list->nhash <= nhash; fd_list = fd_list->next) { in jffs2_lookup()
101 if (fd_list->nhash == nhash && in jffs2_lookup()
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 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.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.c1109 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.c689 struct hlist_head *nhash, *ohash; in qdisc_class_hash_grow() local
698 nhash = qdisc_class_hash_alloc(nsize); in qdisc_class_hash_grow()
699 if (nhash == NULL) in qdisc_class_hash_grow()
709 hlist_add_head(&cl->hnode, &nhash[h]); in qdisc_class_hash_grow()
712 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.c2264 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.c6952 adapter->tids.nhash = 1 << HASHTIDSIZE_G(v); in init_one()
6956 adapter->tids.nhash = HASHTBLSIZE_G(v) << 3; in init_one()