Lines Matching refs:pnfs_curr_ld
109 if (nfss->pnfs_curr_ld) { in unset_pnfs_layoutdriver()
110 if (nfss->pnfs_curr_ld->clear_layoutdriver) in unset_pnfs_layoutdriver()
111 nfss->pnfs_curr_ld->clear_layoutdriver(nfss); in unset_pnfs_layoutdriver()
115 module_put(nfss->pnfs_curr_ld->owner); in unset_pnfs_layoutdriver()
117 nfss->pnfs_curr_ld = NULL; in unset_pnfs_layoutdriver()
196 server->pnfs_curr_ld = ld_type; in set_pnfs_layoutdriver()
212 server->pnfs_curr_ld = NULL; in set_pnfs_layoutdriver()
272 struct pnfs_layoutdriver_type *ld = NFS_SERVER(ino)->pnfs_curr_ld; in pnfs_alloc_layout_hdr()
280 struct pnfs_layoutdriver_type *ld = server->pnfs_curr_ld; in pnfs_free_layout_hdr()
558 NFS_SERVER(inode)->pnfs_curr_ld->free_lseg(lseg); in pnfs_free_lseg()
1090 size_t max_reply_sz = server->pnfs_curr_ld->max_layoutget_response; in pnfs_alloc_init_layoutget_args()
1132 lgp->args.type = server->pnfs_curr_ld->id; in pnfs_alloc_init_layoutget_args()
1228 args->layout_type = NFS_SERVER(inode)->pnfs_curr_ld->id; in pnfs_init_layoutreturn_args()
1245 struct pnfs_layoutdriver_type *ld = NFS_SERVER(ino)->pnfs_curr_ld; in pnfs_send_layoutreturn()
1368 if (NFS_SERVER(ino)->pnfs_curr_ld->return_range) in _pnfs_return_layout()
1369 NFS_SERVER(ino)->pnfs_curr_ld->return_range(lo, &range); in _pnfs_return_layout()
1516 struct pnfs_layoutdriver_type *ld = NFS_SERVER(ino)->pnfs_curr_ld; in pnfs_roc()
1711 struct pnfs_layoutdriver_type *ld = NFS_SERVER(inode)->pnfs_curr_ld; in pnfs_layout_insert_lseg()
2317 server->pnfs_curr_ld->flags & PNFS_LAYOUTGET_ON_OPEN)) in pnfs_lgopen_prepare()
2403 lseg = NFS_SERVER(ino)->pnfs_curr_ld->alloc_lseg(lo, res, lgp->gfp_flags); in pnfs_layout_process()
2464 NFS_SERVER(ino)->pnfs_curr_ld->free_lseg(lseg); in pnfs_layout_process()
2833 if (NFS_SERVER(hdr->inode)->pnfs_curr_ld->flags & in pnfs_ld_handle_write_error()
2886 trypnfs = nfss->pnfs_curr_ld->write_pagelist(hdr, how); in pnfs_try_to_write_data()
2960 if (NFS_SERVER(hdr->inode)->pnfs_curr_ld->flags & in pnfs_ld_handle_read_error()
3013 trypnfs = nfss->pnfs_curr_ld->read_pagelist(hdr); in pnfs_try_to_read_data()
3166 if (nfss->pnfs_curr_ld->cleanup_layoutcommit) in pnfs_cleanup_layoutcommit()
3167 nfss->pnfs_curr_ld->cleanup_layoutcommit(data); in pnfs_cleanup_layoutcommit()
3182 struct pnfs_layoutdriver_type *ld = NFS_SERVER(inode)->pnfs_curr_ld; in pnfs_layoutcommit_inode()
3286 struct pnfs_layoutdriver_type *ld = NFS_SERVER(inode)->pnfs_curr_ld; in pnfs_report_layoutstat()