Searched refs:pnfs_curr_ld (Results 1 – 9 of 9) sorted by relevance
113 if (server->pnfs_curr_ld->max_deviceinfo_size && in nfs4_get_device_info()114 server->pnfs_curr_ld->max_deviceinfo_size < max_resp_sz) in nfs4_get_device_info()115 max_resp_sz = server->pnfs_curr_ld->max_deviceinfo_size; in nfs4_get_device_info()135 pdev->layout_type = server->pnfs_curr_ld->id; in nfs4_get_device_info()151 d = server->pnfs_curr_ld->alloc_deviceid_node(server, pdev, in nfs4_get_device_info()179 d = _lookup_deviceid(server->pnfs_curr_ld, server->nfs_client, id, in __nfs4_find_get_deviceid()209 server->pnfs_curr_ld->free_deviceid_node(new); in nfs4_find_get_deviceid()259 d->ld = server->pnfs_curr_ld; in nfs4_init_deviceid_node()
463 return nfss->pnfs_curr_ld != NULL; in pnfs_enabled_sb()480 struct pnfs_layoutdriver_type *ld = NFS_SERVER(inode)->pnfs_curr_ld; in pnfs_get_ds_info()575 return NFS_SERVER(inode)->pnfs_curr_ld->flags & in pnfs_ld_layoutret_on_setattr()584 return NFS_SERVER(inode)->pnfs_curr_ld->flags & PNFS_READ_WHOLE_PAGE; in pnfs_ld_read_whole_page()592 return NFS_SERVER(inode)->pnfs_curr_ld->sync(inode, datasync); in pnfs_sync_inode()621 return (dst && src && src->bm != 0 && nfss->pnfs_curr_ld && in pnfs_use_threshold()622 nfss->pnfs_curr_ld->id == src->l_type); in pnfs_use_threshold()693 if (server->pnfs_curr_ld->cancel_io) in pnfs_lseg_cancel_io()694 server->pnfs_curr_ld->cancel_io(lseg); in pnfs_lseg_cancel_io()
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()[all …]
69 if (server->pnfs_curr_ld && !force_mds) in nfs_pageio_init_read()70 pg_ops = server->pnfs_curr_ld->pg_read_ops; in nfs_pageio_init_read()
295 if (NFS_SERVER(ino)->pnfs_curr_ld->return_range) { in initiate_file_draining()296 NFS_SERVER(ino)->pnfs_curr_ld->return_range(lo, in initiate_file_draining()
578 if (server->pnfs_curr_ld) in show_pnfs()579 seq_printf(m, "%s", server->pnfs_curr_ld->name); in show_pnfs()
1467 if (server->pnfs_curr_ld && !force_mds) in nfs_pageio_init_write()1468 pg_ops = server->pnfs_curr_ld->pg_write_ops; in nfs_pageio_init_write()
2030 NFS_SERVER(args->inode)->pnfs_curr_ld->id); in encode_layoutcommit()2048 *p++ = cpu_to_be32(NFS_SERVER(args->inode)->pnfs_curr_ld->id);/* type */ in encode_layoutcommit()
224 struct pnfs_layoutdriver_type *pnfs_curr_ld; /* Active layout driver */ member