Searched refs:buckets (Results 1 – 6 of 6) sorted by relevance
756 kfree(flo->commit_info.buckets); in filelayout_free_lseg()757 flo->commit_info.buckets = NULL; in filelayout_free_lseg()768 struct pnfs_commit_bucket *buckets; in filelayout_alloc_commit_info() local787 buckets = kcalloc(size, sizeof(struct pnfs_commit_bucket), in filelayout_alloc_commit_info()789 if (!buckets) in filelayout_alloc_commit_info()792 INIT_LIST_HEAD(&buckets[i].written); in filelayout_alloc_commit_info()793 INIT_LIST_HEAD(&buckets[i].committing); in filelayout_alloc_commit_info()795 buckets[i].direct_verf.committed = NFS_INVALID_STABLE_HOW; in filelayout_alloc_commit_info()802 list_splice(&cinfo->ds->buckets[i].written, in filelayout_alloc_commit_info()803 &buckets[i].written); in filelayout_alloc_commit_info()[all …]
124 cnt = pnfs_generic_scan_ds_commit_list(&cinfo->ds->buckets[i], in pnfs_generic_scan_commit_lists()144 for (i = 0, b = cinfo->ds->buckets; i < cinfo->ds->nbuckets; i++, b++) { in pnfs_generic_recover_commit_reqs()170 bucket = &fl_cinfo->buckets[i]; in pnfs_generic_retry_commit()197 bucket = fl_cinfo->buckets; in pnfs_generic_alloc_ds_commits()222 bucket = &cinfo->ds->buckets[data->ds_commit_index]; in pnfs_fetch_commit_bucket_list()933 struct pnfs_commit_bucket *buckets; in pnfs_layout_mark_request_commit() local936 buckets = cinfo->ds->buckets; in pnfs_layout_mark_request_commit()937 list = &buckets[ds_commit_idx].written; in pnfs_layout_mark_request_commit()950 WARN_ON_ONCE(buckets[ds_commit_idx].wlseg != NULL); in pnfs_layout_mark_request_commit()951 buckets[ds_commit_idx].wlseg = pnfs_get_lseg(lseg); in pnfs_layout_mark_request_commit()
526 cinfo->buckets[i].direct_verf.committed = NFS_INVALID_STABLE_HOW; in nfs_clear_pnfs_ds_commit_verifiers()
176 verfp = &dreq->ds_cinfo.buckets[commit_idx].direct_verf; in nfs_direct_select_verf()
590 kfree(ffl->commit_info.buckets); in ff_layout_free_lseg()591 ffl->commit_info.buckets = NULL; in ff_layout_free_lseg()755 struct pnfs_commit_bucket *buckets; in ff_layout_alloc_commit_info() local769 buckets = kcalloc(size, sizeof(struct pnfs_commit_bucket), in ff_layout_alloc_commit_info()771 if (!buckets) in ff_layout_alloc_commit_info()778 kfree(buckets); in ff_layout_alloc_commit_info()780 cinfo->ds->buckets = buckets; in ff_layout_alloc_commit_info()783 INIT_LIST_HEAD(&buckets[i].written); in ff_layout_alloc_commit_info()784 INIT_LIST_HEAD(&buckets[i].committing); in ff_layout_alloc_commit_info()786 buckets[i].direct_verf.committed = in ff_layout_alloc_commit_info()
105 has to be locked while walking the c->inocache_list hash buckets.