Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/fs/jffs2/
Ddir.c82 unsigned int nhash; in jffs2_lookup() local
92 nhash = full_name_hash(NULL, target->d_name.name, target->d_name.len); in jffs2_lookup()
97 for (fd_list = dir_f->dents; fd_list && fd_list->nhash <= nhash; fd_list = fd_list->next) { in jffs2_lookup()
98 if (fd_list->nhash == nhash && in jffs2_lookup()
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()
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()
Dnodelist.h260 unsigned int nhash; member
Dsummary.c479 fd->nhash = full_name_hash(NULL, fd->name, checkedlen); in jffs2_sum_process_sum_data()
Dscan.c1107 fd->nhash = full_name_hash(NULL, fd->name, checkedlen); in jffs2_scan_dirent_node()
Dreadinode.c693 fd->nhash = full_name_hash(NULL, fd->name, rd->nsize); in read_direntry()
/kernel/linux/linux-5.10/net/sched/
Dsch_api.c678 struct hlist_head *nhash, *ohash; in qdisc_class_hash_grow() local
687 nhash = qdisc_class_hash_alloc(nsize); in qdisc_class_hash_grow()
688 if (nhash == NULL) in qdisc_class_hash_grow()
698 hlist_add_head(&cl->hnode, &nhash[h]); in qdisc_class_hash_grow()
701 clhash->hash = nhash; in qdisc_class_hash_grow()
/kernel/linux/linux-5.10/drivers/net/ethernet/chelsio/cxgb4/
Dcxgb4_uld.h115 unsigned int nhash; member
Dcxgb4_ethtool.c2245 nentries += tids->nhash + in cxgb4_init_ethtool_filters()
Dcxgb4_filter.c1163 (adap->tids.nhash + (adap->tids.stid_base - adap->tids.tid_base))) in is_filter_exact_match()
Dcxgb4_main.c6977 adapter->tids.nhash = 1 << HASHTIDSIZE_G(v); in init_one()
6981 adapter->tids.nhash = HASHTBLSIZE_G(v) << 3; in init_one()
/kernel/liteos_a/fs/jffs2/
Djffs2.patch1257 - unsigned int nhash;
1269 - /* The 'nhash' on the fd_list is not the same as the dentry hash */
1270 - nhash = full_name_hash(NULL, target->d_name.name, target->d_name.len);
1275 - for (fd_list = dir_f->dents; fd_list && fd_list->nhash <= nhash; fd_list = fd_list->next) {
1276 - if (fd_list->nhash == nhash &&
1280 + for (fd_list = dir_f->dents; fd_list && fd_list->nhash <= hash; fd_list = fd_list->next) {
1281 + if (fd_list->nhash == hash &&
4467 while ((*prev) && (*prev)->nhash <= new->nhash) {
4468 - if ((*prev)->nhash == new->nhash && !strcmp((*prev)->name, new->name)) {
4469 + if ((*prev)->nhash == new->nhash && !strcmp((const char *)((*prev)->name), (const char *)new->na…
[all …]