Lines Matching refs:fsinfo
756 struct nfs_fsinfo *fsinfo) in nfs_server_set_fsinfo() argument
763 server->rsize = nfs_io_size(fsinfo->rtpref, clp->cl_proto); in nfs_server_set_fsinfo()
765 server->wsize = nfs_io_size(fsinfo->wtpref, clp->cl_proto); in nfs_server_set_fsinfo()
767 if (fsinfo->rtmax >= 512 && server->rsize > fsinfo->rtmax) in nfs_server_set_fsinfo()
768 server->rsize = nfs_io_size(fsinfo->rtmax, clp->cl_proto); in nfs_server_set_fsinfo()
769 if (fsinfo->wtmax >= 512 && server->wsize > fsinfo->wtmax) in nfs_server_set_fsinfo()
770 server->wsize = nfs_io_size(fsinfo->wtmax, clp->cl_proto); in nfs_server_set_fsinfo()
787 server->wtmult = nfs_block_bits(fsinfo->wtmult, NULL); in nfs_server_set_fsinfo()
789 server->dtsize = nfs_block_size(fsinfo->dtpref, NULL); in nfs_server_set_fsinfo()
800 server->maxfilesize = fsinfo->maxfilesize; in nfs_server_set_fsinfo()
802 server->time_delta = fsinfo->time_delta; in nfs_server_set_fsinfo()
803 server->change_attr_type = fsinfo->change_attr_type; in nfs_server_set_fsinfo()
805 server->clone_blksize = fsinfo->clone_blksize; in nfs_server_set_fsinfo()
820 if (fsinfo->xattr_support) in nfs_server_set_fsinfo()
830 struct nfs_fsinfo fsinfo; in nfs_probe_fsinfo() local
840 fsinfo.fattr = fattr; in nfs_probe_fsinfo()
841 fsinfo.nlayouttypes = 0; in nfs_probe_fsinfo()
842 memset(fsinfo.layouttype, 0, sizeof(fsinfo.layouttype)); in nfs_probe_fsinfo()
843 error = clp->rpc_ops->fsinfo(server, mntfh, &fsinfo); in nfs_probe_fsinfo()
847 nfs_server_set_fsinfo(server, &fsinfo); in nfs_probe_fsinfo()