Lines Matching refs:bucket
76 struct pnfs_commit_bucket *bucket; in pnfs_generic_clear_request_commit() local
78 bucket = list_first_entry(&req->wb_list, in pnfs_generic_clear_request_commit()
81 freeme = bucket->wlseg; in pnfs_generic_clear_request_commit()
82 bucket->wlseg = NULL; in pnfs_generic_clear_request_commit()
114 pnfs_generic_scan_ds_commit_list(struct pnfs_commit_bucket *bucket, in pnfs_generic_scan_ds_commit_list() argument
118 struct list_head *src = &bucket->written; in pnfs_generic_scan_ds_commit_list()
119 struct list_head *dst = &bucket->committing; in pnfs_generic_scan_ds_commit_list()
127 bucket->clseg = bucket->wlseg; in pnfs_generic_scan_ds_commit_list()
129 bucket->wlseg = NULL; in pnfs_generic_scan_ds_commit_list()
131 pnfs_get_lseg(bucket->clseg); in pnfs_generic_scan_ds_commit_list()
183 struct pnfs_commit_bucket *bucket; in pnfs_generic_retry_commit() local
188 bucket = &fl_cinfo->buckets[i]; in pnfs_generic_retry_commit()
189 if (list_empty(&bucket->committing)) in pnfs_generic_retry_commit()
191 nfs_retry_commit(&bucket->committing, bucket->clseg, cinfo, i); in pnfs_generic_retry_commit()
193 freeme = bucket->clseg; in pnfs_generic_retry_commit()
194 bucket->clseg = NULL; in pnfs_generic_retry_commit()
205 struct pnfs_commit_bucket *bucket; in pnfs_generic_alloc_ds_commits() local
211 bucket = fl_cinfo->buckets; in pnfs_generic_alloc_ds_commits()
212 for (i = 0; i < fl_cinfo->nbuckets; i++, bucket++) { in pnfs_generic_alloc_ds_commits()
213 if (list_empty(&bucket->committing)) in pnfs_generic_alloc_ds_commits()
220 data->lseg = bucket->clseg; in pnfs_generic_alloc_ds_commits()
221 bucket->clseg = NULL; in pnfs_generic_alloc_ds_commits()