Home
last modified time | relevance | path

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

/fs/nfs/
Dsuper.c335 static void nfs_show_mountd_netid(struct seq_file *m, struct nfs_server *nfss, in nfs_show_mountd_netid() argument
338 struct sockaddr *sap = (struct sockaddr *) &nfss->mountd_address; in nfs_show_mountd_netid()
343 switch (nfss->mountd_protocol) { in nfs_show_mountd_netid()
353 switch (nfss->mountd_protocol) { in nfs_show_mountd_netid()
367 static void nfs_show_mountd_options(struct seq_file *m, struct nfs_server *nfss, in nfs_show_mountd_options() argument
370 struct sockaddr *sap = (struct sockaddr *)&nfss->mountd_address; in nfs_show_mountd_options()
372 if (nfss->flags & NFS_MOUNT_LEGACY_INTERFACE) in nfs_show_mountd_options()
391 if (nfss->mountd_version || showdefaults) in nfs_show_mountd_options()
392 seq_printf(m, ",mountvers=%u", nfss->mountd_version); in nfs_show_mountd_options()
393 if ((nfss->mountd_port && in nfs_show_mountd_options()
[all …]
Dfscache.c115 struct nfs_server *nfss = NFS_SB(sb); in nfs_fscache_get_super_cookie() local
119 nfss->fscache_key = NULL; in nfs_fscache_get_super_cookie()
120 nfss->fscache = NULL; in nfs_fscache_get_super_cookie()
130 key->nfs_client = nfss->nfs_client; in nfs_fscache_get_super_cookie()
132 key->key.nfs_server.flags = nfss->flags; in nfs_fscache_get_super_cookie()
133 key->key.nfs_server.rsize = nfss->rsize; in nfs_fscache_get_super_cookie()
134 key->key.nfs_server.wsize = nfss->wsize; in nfs_fscache_get_super_cookie()
135 key->key.nfs_server.acregmin = nfss->acregmin; in nfs_fscache_get_super_cookie()
136 key->key.nfs_server.acregmax = nfss->acregmax; in nfs_fscache_get_super_cookie()
137 key->key.nfs_server.acdirmin = nfss->acdirmin; in nfs_fscache_get_super_cookie()
[all …]
Dfs_context.c1512 struct nfs_server *nfss = fc->root->d_sb->s_fs_info; in nfs_init_fs_context() local
1513 struct net *net = nfss->nfs_client->cl_net; in nfs_init_fs_context()
1515 ctx->flags = nfss->flags; in nfs_init_fs_context()
1516 ctx->rsize = nfss->rsize; in nfs_init_fs_context()
1517 ctx->wsize = nfss->wsize; in nfs_init_fs_context()
1518 ctx->retrans = nfss->client->cl_timeout->to_retries; in nfs_init_fs_context()
1519 ctx->selected_flavor = nfss->client->cl_auth->au_flavor; in nfs_init_fs_context()
1520 ctx->acregmin = nfss->acregmin / HZ; in nfs_init_fs_context()
1521 ctx->acregmax = nfss->acregmax / HZ; in nfs_init_fs_context()
1522 ctx->acdirmin = nfss->acdirmin / HZ; in nfs_init_fs_context()
[all …]
Dpnfs.h463 static inline int pnfs_enabled_sb(struct nfs_server *nfss) in pnfs_enabled_sb() argument
465 return nfss->pnfs_curr_ld != NULL; in pnfs_enabled_sb()
609 struct nfs_server *nfss = NFS_SERVER(ino); in pnfs_return_layout() local
611 if (pnfs_enabled_sb(nfss) && nfsi->layout) { in pnfs_return_layout()
621 struct nfs_server *nfss) in pnfs_use_threshold() argument
623 return (dst && src && src->bm != 0 && nfss->pnfs_curr_ld && in pnfs_use_threshold()
624 nfss->pnfs_curr_ld->id == src->l_type); in pnfs_use_threshold()
874 struct nfs_server *nfss) in pnfs_use_threshold() argument
Dpnfs.c107 unset_pnfs_layoutdriver(struct nfs_server *nfss) in unset_pnfs_layoutdriver() argument
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()
113 if (atomic_dec_and_test(&nfss->nfs_client->cl_mds_count)) in unset_pnfs_layoutdriver()
114 nfs4_deviceid_purge_client(nfss->nfs_client); 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()
2894 struct nfs_server *nfss = NFS_SERVER(inode); in pnfs_try_to_write_data() local
2900 trypnfs = nfss->pnfs_curr_ld->write_pagelist(hdr, how); in pnfs_try_to_write_data()
[all …]
Dwrite.c411 struct nfs_server *nfss = NFS_SERVER(inode); in nfs_set_page_writeback() local
416 if (atomic_long_inc_return(&nfss->writeback) > in nfs_set_page_writeback()
424 struct nfs_server *nfss = NFS_SERVER(inode); in nfs_end_page_writeback() local
433 if (atomic_long_dec_return(&nfss->writeback) < NFS_CONGESTION_OFF_THRESH) in nfs_end_page_writeback()
1841 struct nfs_server *nfss; in nfs_commit_release_pages() local
1882 nfss = NFS_SERVER(data->inode); in nfs_commit_release_pages()
1883 if (atomic_long_read(&nfss->writeback) < NFS_CONGESTION_OFF_THRESH) in nfs_commit_release_pages()