Lines Matching refs:fl_cinfo

386 void pnfs_generic_ds_cinfo_release_lseg(struct pnfs_ds_commit_info *fl_cinfo,
388 void pnfs_generic_ds_cinfo_destroy(struct pnfs_ds_commit_info *fl_cinfo);
470 struct pnfs_ds_commit_info *fl_cinfo = cinfo->ds; in pnfs_commit_list() local
472 if (fl_cinfo == NULL || fl_cinfo->ncommitting == 0) in pnfs_commit_list()
474 return fl_cinfo->ops->commit_pagelist(inode, mds_pages, how, cinfo); in pnfs_commit_list()
488 pnfs_init_ds_commit_info_ops(struct pnfs_ds_commit_info *fl_cinfo, struct inode *inode) in pnfs_init_ds_commit_info_ops() argument
492 fl_cinfo->ops = inode_cinfo->ops; in pnfs_init_ds_commit_info_ops()
496 pnfs_init_ds_commit_info(struct pnfs_ds_commit_info *fl_cinfo) in pnfs_init_ds_commit_info() argument
498 INIT_LIST_HEAD(&fl_cinfo->commits); in pnfs_init_ds_commit_info()
499 fl_cinfo->ops = NULL; in pnfs_init_ds_commit_info()
503 pnfs_release_ds_info(struct pnfs_ds_commit_info *fl_cinfo, struct inode *inode) in pnfs_release_ds_info() argument
505 if (fl_cinfo->ops != NULL && fl_cinfo->ops->release_ds_info != NULL) in pnfs_release_ds_info()
506 fl_cinfo->ops->release_ds_info(fl_cinfo, inode); in pnfs_release_ds_info()
519 struct pnfs_ds_commit_info *fl_cinfo = cinfo->ds; in pnfs_mark_request_commit() local
521 if (!lseg || !fl_cinfo->ops || !fl_cinfo->ops->mark_request_commit) in pnfs_mark_request_commit()
523 fl_cinfo->ops->mark_request_commit(req, lseg, cinfo, ds_commit_idx); in pnfs_mark_request_commit()
530 struct pnfs_ds_commit_info *fl_cinfo = cinfo->ds; in pnfs_clear_request_commit() local
532 if (!fl_cinfo || !fl_cinfo->ops || !fl_cinfo->ops->clear_request_commit) in pnfs_clear_request_commit()
534 fl_cinfo->ops->clear_request_commit(req, cinfo); in pnfs_clear_request_commit()
542 struct pnfs_ds_commit_info *fl_cinfo = cinfo->ds; in pnfs_scan_commit_lists() local
544 if (!fl_cinfo || fl_cinfo->nwritten == 0) in pnfs_scan_commit_lists()
546 return fl_cinfo->ops->scan_commit_lists(cinfo, max); in pnfs_scan_commit_lists()
552 struct pnfs_ds_commit_info *fl_cinfo = cinfo->ds; in pnfs_recover_commit_reqs() local
554 if (fl_cinfo && fl_cinfo->nwritten != 0) in pnfs_recover_commit_reqs()
555 fl_cinfo->ops->recover_commit_reqs(head, cinfo); in pnfs_recover_commit_reqs()
562 struct pnfs_ds_commit_info *fl_cinfo = cinfo->ds; in pnfs_search_commit_reqs() local
564 if (!fl_cinfo->ops || !fl_cinfo->ops->search_commit_reqs) in pnfs_search_commit_reqs()
566 return fl_cinfo->ops->search_commit_reqs(cinfo, folio); in pnfs_search_commit_reqs()
826 pnfs_init_ds_commit_info_ops(struct pnfs_ds_commit_info *fl_cinfo, struct inode *inode) in pnfs_init_ds_commit_info_ops() argument
831 pnfs_init_ds_commit_info(struct pnfs_ds_commit_info *fl_cinfo) in pnfs_init_ds_commit_info() argument
836 pnfs_release_ds_info(struct pnfs_ds_commit_info *fl_cinfo, struct inode *inode) in pnfs_release_ds_info() argument