Home
last modified time | relevance | path

Searched refs:nfss (Results 1 – 5 of 5) sorted by relevance

/linux/fs/nfs/
H A Dsuper.c347 static void nfs_show_mountd_netid(struct seq_file *m, struct nfs_server *nfss, in nfs_show_mountd_netid() argument
350 struct sockaddr *sap = (struct sockaddr *) &nfss->mountd_address; in nfs_show_mountd_netid()
355 switch (nfss->mountd_protocol) { in nfs_show_mountd_netid()
365 switch (nfss->mountd_protocol) { in nfs_show_mountd_netid()
379 static void nfs_show_mountd_options(struct seq_file *m, struct nfs_server *nfss, in nfs_show_mountd_options() argument
382 struct sockaddr *sap = (struct sockaddr *)&nfss->mountd_address; in nfs_show_mountd_options()
384 if (nfss->flags & NFS_MOUNT_LEGACY_INTERFACE) in nfs_show_mountd_options()
403 if (nfss->mountd_version || showdefaults) in nfs_show_mountd_options()
404 seq_printf(m, ",mountvers=%u", nfss->mountd_version); in nfs_show_mountd_options()
405 if ((nfss->mountd_port && in nfs_show_mountd_options()
[all …]
H A Dfscache.c91 struct nfs_server *nfss = NFS_SB(sb); in nfs_fscache_get_super_cookie() local
96 nfss->fscache_uniq = kmemdup_nul(uniq, ulen, GFP_KERNEL); in nfs_fscache_get_super_cookie()
97 if (!nfss->fscache_uniq) in nfs_fscache_get_super_cookie()
106 if (!nfs_fscache_get_client_key(nfss->nfs_client, key, &len) || in nfs_fscache_get_super_cookie()
107 !nfs_append_int(key, &len, nfss->fsid.major) || in nfs_fscache_get_super_cookie()
108 !nfs_append_int(key, &len, nfss->fsid.minor) || in nfs_fscache_get_super_cookie()
110 !nfs_append_int(key, &len, nfss->flags) || in nfs_fscache_get_super_cookie()
111 !nfs_append_int(key, &len, nfss->rsize) || in nfs_fscache_get_super_cookie()
112 !nfs_append_int(key, &len, nfss->wsize) || in nfs_fscache_get_super_cookie()
113 !nfs_append_int(key, &len, nfss->acregmin) || in nfs_fscache_get_super_cookie()
[all …]
H A Dfs_context.c1609 struct nfs_server *nfss = fc->root->d_sb->s_fs_info; in nfs_init_fs_context() local
1610 struct net *net = nfss->nfs_client->cl_net; in nfs_init_fs_context()
1612 ctx->flags = nfss->flags; in nfs_init_fs_context()
1613 ctx->rsize = nfss->rsize; in nfs_init_fs_context()
1614 ctx->wsize = nfss->wsize; in nfs_init_fs_context()
1615 ctx->retrans = nfss->client->cl_timeout->to_retries; in nfs_init_fs_context()
1616 ctx->selected_flavor = nfss->client->cl_auth->au_flavor; in nfs_init_fs_context()
1617 ctx->acregmin = nfss->acregmin / HZ; in nfs_init_fs_context()
1618 ctx->acregmax = nfss->acregmax / HZ; in nfs_init_fs_context()
1619 ctx->acdirmin = nfss->acdirmin / HZ; in nfs_init_fs_context()
[all …]
H A Dpnfs.h471 static inline int pnfs_enabled_sb(struct nfs_server *nfss) in pnfs_enabled_sb() argument
473 return nfss->pnfs_curr_ld != NULL; in pnfs_enabled_sb()
606 struct nfs_server *nfss = NFS_SERVER(ino); in pnfs_return_layout() local
608 if (pnfs_enabled_sb(nfss) && nfsi->layout) { in pnfs_return_layout()
618 struct nfs_server *nfss) in pnfs_use_threshold() argument
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()
876 struct nfs_server *nfss) in pnfs_use_threshold() argument
H A Dpnfs.c108 unset_pnfs_layoutdriver(struct nfs_server *nfss) in unset_pnfs_layoutdriver() argument
110 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()
114 if (atomic_dec_and_test(&nfss->nfs_client->cl_mds_count)) in unset_pnfs_layoutdriver()
115 nfs4_deviceid_purge_client(nfss->nfs_client); 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()
3017 struct nfs_server *nfss = NFS_SERVER(inode); in pnfs_try_to_write_data() local
3023 trypnfs = nfss->pnfs_curr_ld->write_pagelist(hdr, how); in pnfs_try_to_write_data()
[all …]