Home
last modified time | relevance | path

Searched refs:pnfs_curr_ld (Results 1 – 9 of 9) sorted by relevance

/linux/fs/nfs/
H A Dpnfs_dev.c132 pdev->layout_type = server->pnfs_curr_ld->id; in nfs4_get_device_info()
148 d = server->pnfs_curr_ld->alloc_deviceid_node(server, pdev, in nfs4_get_device_info()
176 d = _lookup_deviceid(server->pnfs_curr_ld, server->nfs_client, id, in __nfs4_find_get_deviceid()
206 server->pnfs_curr_ld->free_deviceid_node(new); in nfs4_find_get_deviceid()
256 d->ld = server->pnfs_curr_ld; in nfs4_init_deviceid_node()
H A Dpnfs.h473 return nfss->pnfs_curr_ld != NULL; in pnfs_enabled_sb()
490 struct pnfs_layoutdriver_type *ld = NFS_SERVER(inode)->pnfs_curr_ld; in pnfs_get_ds_info()
574 return NFS_SERVER(inode)->pnfs_curr_ld->flags & in pnfs_ld_layoutret_on_setattr()
583 return NFS_SERVER(inode)->pnfs_curr_ld->flags & PNFS_READ_WHOLE_PAGE; in pnfs_ld_read_whole_page()
591 return NFS_SERVER(inode)->pnfs_curr_ld->sync(inode, datasync); in pnfs_sync_inode()
620 return (dst && src && src->bm != 0 && nfss->pnfs_curr_ld && in pnfs_use_threshold()
621 nfss->pnfs_curr_ld->id == src->l_type); in pnfs_use_threshold()
692 if (server->pnfs_curr_ld->cancel_io) in pnfs_lseg_cancel_io()
693 server->pnfs_curr_ld->cancel_io(lseg); in pnfs_lseg_cancel_io()
H A Dpnfs.c110 if (nfss->pnfs_curr_ld) { in unset_pnfs_layoutdriver()
111 if (nfss->pnfs_curr_ld->clear_layoutdriver) in unset_pnfs_layoutdriver()
112 nfss->pnfs_curr_ld->clear_layoutdriver(nfss); in unset_pnfs_layoutdriver()
116 module_put(nfss->pnfs_curr_ld->owner); in unset_pnfs_layoutdriver()
118 nfss->pnfs_curr_ld = NULL; in unset_pnfs_layoutdriver()
197 server->pnfs_curr_ld = ld_type; in set_pnfs_layoutdriver()
213 server->pnfs_curr_ld = NULL; in set_pnfs_layoutdriver()
273 struct pnfs_layoutdriver_type *ld = NFS_SERVER(ino)->pnfs_curr_ld; in pnfs_alloc_layout_hdr()
281 struct pnfs_layoutdriver_type *ld = server->pnfs_curr_ld; in pnfs_free_layout_hdr()
571 NFS_SERVER(inode)->pnfs_curr_ld->free_lseg(lseg); in pnfs_free_lseg()
[all …]
H A Dread.c71 if (server->pnfs_curr_ld && !force_mds) in nfs_pageio_init_read()
72 pg_ops = server->pnfs_curr_ld->pg_read_ops; in nfs_pageio_init_read()
H A Dcallback_proc.c301 if (NFS_SERVER(ino)->pnfs_curr_ld->return_range) { in initiate_file_draining()
302 NFS_SERVER(ino)->pnfs_curr_ld->return_range(lo, in initiate_file_draining()
H A Dsuper.c610 if (server->pnfs_curr_ld) in show_pnfs()
611 seq_printf(m, "%s", server->pnfs_curr_ld->name); in show_pnfs()
H A Dwrite.c1446 if (server->pnfs_curr_ld && !force_mds) in nfs_pageio_init_write()
1447 pg_ops = server->pnfs_curr_ld->pg_write_ops; in nfs_pageio_init_write()
H A Dnfs4xdr.c2064 NFS_SERVER(args->inode)->pnfs_curr_ld->id); in encode_layoutcommit()
2082 *p++ = cpu_to_be32(NFS_SERVER(args->inode)->pnfs_curr_ld->id);/* type */ in encode_layoutcommit()
/linux/include/linux/
H A Dnfs_fs_sb.h240 struct pnfs_layoutdriver_type *pnfs_curr_ld; /* Active layout driver */ member