Home
last modified time | relevance | path

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

/fs/nfs/
A Dsuper.c355 switch (nfss->mountd_protocol) { in nfs_show_mountd_netid()
405 if ((nfss->mountd_port && in nfs_show_mountd_options()
473 if (nfss->bsize != 0) in nfs_show_mount_options()
501 if (nfss->port != NFS_PORT) in nfs_show_mount_options()
504 if (nfss->port) in nfs_show_mount_options()
528 if (nfss->fscache_uniq) in nfs_show_mount_options()
623 if (nfss->nfs_client && nfss->nfs_client->cl_implid) { in show_implementation_id()
706 show_sessions(m, nfss); in nfs_show_stats()
707 show_pnfs(m, nfss); in nfs_show_stats()
708 show_lease(m, nfss); in nfs_show_stats()
[all …]
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 …]
A Dfs_context.c1712 struct net *net = nfss->nfs_client->cl_net; in nfs_init_fs_context()
1714 ctx->flags = nfss->flags; in nfs_init_fs_context()
1715 ctx->rsize = nfss->rsize; in nfs_init_fs_context()
1716 ctx->wsize = nfss->wsize; in nfs_init_fs_context()
1719 ctx->acregmin = nfss->acregmin / HZ; in nfs_init_fs_context()
1720 ctx->acregmax = nfss->acregmax / HZ; in nfs_init_fs_context()
1721 ctx->acdirmin = nfss->acdirmin / HZ; in nfs_init_fs_context()
1722 ctx->acdirmax = nfss->acdirmax / HZ; in nfs_init_fs_context()
1724 ctx->nfs_server.port = nfss->port; in nfs_init_fs_context()
1726 ctx->version = nfss->nfs_client->rpc_ops->version; in nfs_init_fs_context()
[all …]
A Dpnfs.h473 static inline int pnfs_enabled_sb(struct nfs_server *nfss) in pnfs_enabled_sb() argument
475 return nfss->pnfs_curr_ld != NULL; in pnfs_enabled_sb()
608 struct nfs_server *nfss = NFS_SERVER(ino); in pnfs_return_layout() local
610 if (pnfs_enabled_sb(nfss) && nfsi->layout) { in pnfs_return_layout()
620 struct nfs_server *nfss) in pnfs_use_threshold() argument
622 return (dst && src && src->bm != 0 && nfss->pnfs_curr_ld && in pnfs_use_threshold()
623 nfss->pnfs_curr_ld->id == src->l_type); in pnfs_use_threshold()
878 struct nfs_server *nfss) in pnfs_use_threshold() argument
A Dwrite.c340 struct nfs_server *nfss = NFS_SERVER(folio->mapping->host); in nfs_folio_set_writeback() local
343 if (atomic_long_inc_return(&nfss->writeback) > NFS_CONGESTION_ON_THRESH) in nfs_folio_set_writeback()
344 nfss->write_congested = 1; in nfs_folio_set_writeback()
349 struct nfs_server *nfss = NFS_SERVER(folio->mapping->host); in nfs_folio_end_writeback() local
352 if (atomic_long_dec_return(&nfss->writeback) < in nfs_folio_end_writeback()
354 nfss->write_congested = 0; in nfs_folio_end_writeback()
355 wake_up_all(&nfss->write_congestion_wait); in nfs_folio_end_writeback()
708 struct nfs_server *nfss = NFS_SERVER(inode); in nfs_writepages() local
713 if (wbc->sync_mode == WB_SYNC_NONE && nfss->write_congested) { in nfs_writepages()
714 err = wait_event_killable(nfss->write_congestion_wait, in nfs_writepages()
[all …]
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()
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()
3028 struct nfs_server *nfss = NFS_SERVER(inode); in pnfs_try_to_write_data() local
3153 struct nfs_server *nfss = NFS_SERVER(inode); in pnfs_try_to_read_data() local
3314 if (nfss->pnfs_curr_ld->cleanup_layoutcommit) in pnfs_cleanup_layoutcommit()
[all …]

Completed in 28 milliseconds