Searched refs:nfss (Results 1 – 7 of 7) sorted by relevance
343 switch (nfss->mountd_protocol) { in nfs_show_mountd_netid()353 switch (nfss->mountd_protocol) { in nfs_show_mountd_netid()393 if ((nfss->mountd_port && in nfs_show_mountd_options()457 if (nfss->bsize != 0) in nfs_show_mount_options()485 if (nfss->port != NFS_PORT) in nfs_show_mount_options()488 if (nfss->port) in nfs_show_mount_options()586 if (nfss->nfs_client && nfss->nfs_client->cl_implid) { in show_implementation_id()669 show_sessions(m, nfss); in nfs_show_stats()670 show_pnfs(m, nfss); in nfs_show_stats()671 show_lease(m, nfss); in nfs_show_stats()[all …]
88 struct nfs_server *nfss = NFS_SB(sb); in nfs_fscache_get_super_cookie() local94 if (!nfss->fscache_uniq) in nfs_fscache_get_super_cookie()107 !nfs_append_int(key, &len, nfss->flags) || in nfs_fscache_get_super_cookie()108 !nfs_append_int(key, &len, nfss->rsize) || in nfs_fscache_get_super_cookie()109 !nfs_append_int(key, &len, nfss->wsize) || in nfs_fscache_get_super_cookie()138 nfss->fscache = vcookie; in nfs_fscache_get_super_cookie()150 struct nfs_server *nfss = NFS_SB(sb); in nfs_fscache_release_super_cookie() local153 nfss->fscache = NULL; in nfs_fscache_release_super_cookie()154 kfree(nfss->fscache_uniq); in nfs_fscache_release_super_cookie()163 struct nfs_server *nfss = NFS_SERVER(inode); in nfs_fscache_init_inode() local[all …]
1532 struct net *net = nfss->nfs_client->cl_net; in nfs_init_fs_context()1534 ctx->flags = nfss->flags; in nfs_init_fs_context()1535 ctx->rsize = nfss->rsize; in nfs_init_fs_context()1536 ctx->wsize = nfss->wsize; in nfs_init_fs_context()1539 ctx->acregmin = nfss->acregmin / HZ; in nfs_init_fs_context()1540 ctx->acregmax = nfss->acregmax / HZ; in nfs_init_fs_context()1541 ctx->acdirmin = nfss->acdirmin / HZ; in nfs_init_fs_context()1542 ctx->acdirmax = nfss->acdirmax / HZ; in nfs_init_fs_context()1544 ctx->nfs_server.port = nfss->port; in nfs_init_fs_context()1546 ctx->version = nfss->nfs_client->rpc_ops->version; in nfs_init_fs_context()[all …]
461 static inline int pnfs_enabled_sb(struct nfs_server *nfss) in pnfs_enabled_sb() argument463 return nfss->pnfs_curr_ld != NULL; in pnfs_enabled_sb()607 struct nfs_server *nfss = NFS_SERVER(ino); in pnfs_return_layout() local609 if (pnfs_enabled_sb(nfss) && nfsi->layout) { in pnfs_return_layout()619 struct nfs_server *nfss) in pnfs_use_threshold() argument621 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
412 struct nfs_server *nfss = NFS_SERVER(folio_file_mapping(folio)->host); in nfs_folio_set_writeback() local415 if (atomic_long_inc_return(&nfss->writeback) > NFS_CONGESTION_ON_THRESH) in nfs_folio_set_writeback()416 nfss->write_congested = 1; in nfs_folio_set_writeback()421 struct nfs_server *nfss = NFS_SERVER(folio_file_mapping(folio)->host); in nfs_folio_end_writeback() local424 if (atomic_long_dec_return(&nfss->writeback) < in nfs_folio_end_writeback()426 nfss->write_congested = 0; in nfs_folio_end_writeback()1850 struct nfs_server *nfss; in nfs_commit_release_pages() local1893 nfss = NFS_SERVER(data->inode); in nfs_commit_release_pages()1894 if (atomic_long_read(&nfss->writeback) < NFS_CONGESTION_OFF_THRESH) in nfs_commit_release_pages()1895 nfss->write_congested = 0; in nfs_commit_release_pages()
107 unset_pnfs_layoutdriver(struct nfs_server *nfss) in unset_pnfs_layoutdriver() argument109 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()2880 struct nfs_server *nfss = NFS_SERVER(inode); in pnfs_try_to_write_data() local3005 struct nfs_server *nfss = NFS_SERVER(inode); in pnfs_try_to_read_data() local3166 if (nfss->pnfs_curr_ld->cleanup_layoutcommit) in pnfs_cleanup_layoutcommit()[all …]
317 struct nfs_server *nfss = NFS_SERVER(inode); in NFS_MINATTRTIMEO() local318 return S_ISDIR(inode->i_mode) ? nfss->acdirmin : nfss->acregmin; in NFS_MINATTRTIMEO()323 struct nfs_server *nfss = NFS_SERVER(inode); in NFS_MAXATTRTIMEO() local324 return S_ISDIR(inode->i_mode) ? nfss->acdirmax : nfss->acregmax; in NFS_MAXATTRTIMEO()
Completed in 25 milliseconds