Home
last modified time | relevance | path

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

/openbmc/linux/fs/nfs/
H A Dsuper.c349 switch (nfss->mountd_protocol) { in nfs_show_mountd_netid()
359 switch (nfss->mountd_protocol) { in nfs_show_mountd_netid()
399 if ((nfss->mountd_port && in nfs_show_mountd_options()
463 if (nfss->bsize != 0) in nfs_show_mount_options()
491 if (nfss->port != NFS_PORT) in nfs_show_mount_options()
494 if (nfss->port) in nfs_show_mount_options()
602 if (nfss->nfs_client && nfss->nfs_client->cl_implid) { in show_implementation_id()
685 show_sessions(m, nfss); in nfs_show_stats()
686 show_pnfs(m, nfss); in nfs_show_stats()
687 show_lease(m, nfss); in nfs_show_stats()
[all …]
H A Dfscache.c91 struct nfs_server *nfss = NFS_SB(sb); in nfs_fscache_get_super_cookie() local
97 if (!nfss->fscache_uniq) 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()
141 nfss->fscache = vcookie; in nfs_fscache_get_super_cookie()
153 struct nfs_server *nfss = NFS_SB(sb); in nfs_fscache_release_super_cookie() local
156 nfss->fscache = NULL; in nfs_fscache_release_super_cookie()
157 kfree(nfss->fscache_uniq); in nfs_fscache_release_super_cookie()
166 struct nfs_server *nfss = NFS_SERVER(inode); in nfs_fscache_init_inode() local
[all …]
H A Dfs_context.c1599 struct net *net = nfss->nfs_client->cl_net; in nfs_init_fs_context()
1601 ctx->flags = nfss->flags; in nfs_init_fs_context()
1602 ctx->rsize = nfss->rsize; in nfs_init_fs_context()
1603 ctx->wsize = nfss->wsize; in nfs_init_fs_context()
1606 ctx->acregmin = nfss->acregmin / HZ; in nfs_init_fs_context()
1607 ctx->acregmax = nfss->acregmax / HZ; in nfs_init_fs_context()
1608 ctx->acdirmin = nfss->acdirmin / HZ; in nfs_init_fs_context()
1609 ctx->acdirmax = nfss->acdirmax / HZ; in nfs_init_fs_context()
1611 ctx->nfs_server.port = nfss->port; in nfs_init_fs_context()
1613 ctx->version = nfss->nfs_client->rpc_ops->version; in nfs_init_fs_context()
[all …]
H A Dpnfs.h461 static inline int pnfs_enabled_sb(struct nfs_server *nfss) in pnfs_enabled_sb() argument
463 return nfss->pnfs_curr_ld != NULL; in pnfs_enabled_sb()
607 struct nfs_server *nfss = NFS_SERVER(ino); in pnfs_return_layout() local
609 if (pnfs_enabled_sb(nfss) && nfsi->layout) { in pnfs_return_layout()
619 struct nfs_server *nfss) in pnfs_use_threshold() argument
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()
879 struct nfs_server *nfss) in pnfs_use_threshold() argument
H A Dwrite.c413 struct nfs_server *nfss = NFS_SERVER(folio_file_mapping(folio)->host); in nfs_folio_set_writeback() local
416 if (atomic_long_inc_return(&nfss->writeback) > NFS_CONGESTION_ON_THRESH) in nfs_folio_set_writeback()
417 nfss->write_congested = 1; in nfs_folio_set_writeback()
422 struct nfs_server *nfss = NFS_SERVER(folio_file_mapping(folio)->host); in nfs_folio_end_writeback() local
425 if (atomic_long_dec_return(&nfss->writeback) < in nfs_folio_end_writeback()
427 nfss->write_congested = 0; in nfs_folio_end_writeback()
1855 struct nfs_server *nfss; in nfs_commit_release_pages() local
1898 nfss = NFS_SERVER(data->inode); in nfs_commit_release_pages()
1899 if (atomic_long_read(&nfss->writeback) < NFS_CONGESTION_OFF_THRESH) in nfs_commit_release_pages()
1900 nfss->write_congested = 0; in nfs_commit_release_pages()
H A 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()
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()
2901 struct nfs_server *nfss = NFS_SERVER(inode); in pnfs_try_to_write_data() local
3026 struct nfs_server *nfss = NFS_SERVER(inode); in pnfs_try_to_read_data() local
3187 if (nfss->pnfs_curr_ld->cleanup_layoutcommit) in pnfs_cleanup_layoutcommit()
[all …]
/openbmc/linux/include/linux/
H A Dnfs_fs.h354 struct nfs_server *nfss = NFS_SERVER(inode); in NFS_MINATTRTIMEO() local
355 return S_ISDIR(inode->i_mode) ? nfss->acdirmin : nfss->acregmin; in NFS_MINATTRTIMEO()
360 struct nfs_server *nfss = NFS_SERVER(inode); in NFS_MAXATTRTIMEO() local
361 return S_ISDIR(inode->i_mode) ? nfss->acdirmax : nfss->acregmax; in NFS_MAXATTRTIMEO()