Home
last modified time | relevance | path

Searched refs:nbuckets (Results 1 – 9 of 9) sorted by relevance

/linux-4.19.296/fs/omfs/
Ddir.c27 int nbuckets = (dir->i_size - OMFS_DIR_START)/8; in omfs_get_bucket() local
28 int bucket = omfs_hash(name, namelen, nbuckets); in omfs_get_bucket()
218 int nbuckets = (inode->i_size - OMFS_DIR_START) / 8; in omfs_dir_is_empty() local
230 for (i = 0; i < nbuckets; i++, ptr++) in omfs_dir_is_empty()
413 int nbuckets; in omfs_readdir() local
424 nbuckets = (dir->i_size - OMFS_DIR_START) / 8; in omfs_readdir()
436 for (; hchain < nbuckets; hchain++) { in omfs_readdir()
/linux-4.19.296/lib/
Drhashtable.c140 size_t nbuckets, in nested_bucket_table_alloc() argument
147 if (nbuckets < (1 << (shift + 1))) in nested_bucket_table_alloc()
162 tbl->nest = (ilog2(nbuckets) - 1) % shift + 1; in nested_bucket_table_alloc()
168 size_t nbuckets, in bucket_table_alloc() argument
175 size = sizeof(*tbl) + nbuckets * sizeof(tbl->buckets[0]); in bucket_table_alloc()
178 size = nbuckets; in bucket_table_alloc()
181 tbl = nested_bucket_table_alloc(ht, nbuckets, gfp); in bucket_table_alloc()
182 nbuckets = 0; in bucket_table_alloc()
204 for (i = 0; i < nbuckets; i++) in bucket_table_alloc()
/linux-4.19.296/fs/nfs/filelayout/
Dfilelayout.c755 flo->commit_info.nbuckets = 0; in filelayout_free_lseg()
777 if (cinfo->ds->nbuckets >= size) { in filelayout_alloc_commit_info()
799 if (cinfo->ds->nbuckets >= size) in filelayout_alloc_commit_info()
801 for (i = 0; i < cinfo->ds->nbuckets; i++) { in filelayout_alloc_commit_info()
812 cinfo->ds->nbuckets = size; in filelayout_alloc_commit_info()
1105 for (i = 0, b = cinfo->ds->buckets; i < cinfo->ds->nbuckets; i++, b++) { in filelayout_search_commit_reqs()
/linux-4.19.296/fs/nfs/
Dpnfs_nfs.c122 for (i = 0; i < cinfo->ds->nbuckets && max != 0; i++) { in pnfs_generic_scan_commit_lists()
143 for (i = 0, b = cinfo->ds->buckets; i < cinfo->ds->nbuckets; i++, b++) { in pnfs_generic_recover_commit_reqs()
168 for (i = idx; i < fl_cinfo->nbuckets; i++) { in pnfs_generic_retry_commit()
197 for (i = 0; i < fl_cinfo->nbuckets; i++, bucket++) { in pnfs_generic_alloc_ds_commits()
Ddirect.c190 if (ds_clp && dreq->ds_cinfo.nbuckets > 0) { in nfs_direct_select_verf()
191 if (commit_idx >= 0 && commit_idx < dreq->ds_cinfo.nbuckets) in nfs_direct_select_verf()
Dinternal.h529 for (i = 0; i < cinfo->nbuckets; i++) in nfs_clear_pnfs_ds_commit_verifiers()
/linux-4.19.296/include/uapi/linux/
Dbcache.h180 __u64 nbuckets; /* device size */ member
/linux-4.19.296/fs/nfs/flexfilelayout/
Dflexfilelayout.c580 ffl->commit_info.nbuckets = 0; in ff_layout_free_lseg()
749 if (cinfo->ds->nbuckets != 0) { in ff_layout_alloc_commit_info()
768 if (cinfo->ds->nbuckets != 0) in ff_layout_alloc_commit_info()
772 cinfo->ds->nbuckets = size; in ff_layout_alloc_commit_info()
/linux-4.19.296/include/linux/
Dnfs_xdr.h1230 int nbuckets; member