Searched refs:nfss (Results 1 – 7 of 7) sorted by relevance
343 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()1214 nfss->fscache_key = NULL; in nfs_get_cache_cookie()[all …]
119 nfss->fscache_key = NULL; in nfs_fscache_get_super_cookie()120 nfss->fscache = NULL; in nfs_fscache_get_super_cookie()184 nfss->fscache_key = key; in nfs_fscache_get_super_cookie()187 nfss->fscache = fscache_acquire_cookie(nfss->nfs_client->fscache, in nfs_fscache_get_super_cookie()192 nfss, 0, true); in nfs_fscache_get_super_cookie()194 nfss, nfss->fscache); in nfs_fscache_get_super_cookie()200 nfss->fscache_key = NULL; in nfs_fscache_get_super_cookie()201 nfss->fscache = NULL; in nfs_fscache_get_super_cookie()214 nfss, nfss->fscache); in nfs_fscache_release_super_cookie()217 nfss->fscache = NULL; in nfs_fscache_release_super_cookie()[all …]
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()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()1523 ctx->acdirmax = nfss->acdirmax / HZ; in nfs_init_fs_context()1525 ctx->nfs_server.port = nfss->port; in nfs_init_fs_context()1527 ctx->version = nfss->nfs_client->rpc_ops->version; in nfs_init_fs_context()[all …]
456 static inline int pnfs_enabled_sb(struct nfs_server *nfss) in pnfs_enabled_sb() argument458 return nfss->pnfs_curr_ld != NULL; in pnfs_enabled_sb()602 struct nfs_server *nfss = NFS_SERVER(ino); in pnfs_return_layout() local604 if (pnfs_enabled_sb(nfss) && nfsi->layout) { in pnfs_return_layout()614 struct nfs_server *nfss) in pnfs_use_threshold() argument616 return (dst && src && src->bm != 0 && nfss->pnfs_curr_ld && in pnfs_use_threshold()617 nfss->pnfs_curr_ld->id == src->l_type); in pnfs_use_threshold()867 struct nfs_server *nfss) in pnfs_use_threshold() argument
96 unset_pnfs_layoutdriver(struct nfs_server *nfss) in unset_pnfs_layoutdriver() argument98 if (nfss->pnfs_curr_ld) { in unset_pnfs_layoutdriver()99 if (nfss->pnfs_curr_ld->clear_layoutdriver) in unset_pnfs_layoutdriver()100 nfss->pnfs_curr_ld->clear_layoutdriver(nfss); in unset_pnfs_layoutdriver()103 nfs4_deviceid_purge_client(nfss->nfs_client); in unset_pnfs_layoutdriver()104 module_put(nfss->pnfs_curr_ld->owner); in unset_pnfs_layoutdriver()106 nfss->pnfs_curr_ld = NULL; in unset_pnfs_layoutdriver()2859 struct nfs_server *nfss = NFS_SERVER(inode); in pnfs_try_to_write_data() local2984 struct nfs_server *nfss = NFS_SERVER(inode); in pnfs_try_to_read_data() local3145 if (nfss->pnfs_curr_ld->cleanup_layoutcommit) in pnfs_cleanup_layoutcommit()[all …]
412 struct nfs_server *nfss = NFS_SERVER(inode); in nfs_set_page_writeback() local417 if (atomic_long_inc_return(&nfss->writeback) > in nfs_set_page_writeback()425 struct nfs_server *nfss = NFS_SERVER(inode); in nfs_end_page_writeback() local434 if (atomic_long_dec_return(&nfss->writeback) < NFS_CONGESTION_OFF_THRESH) in nfs_end_page_writeback()1852 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()
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 29 milliseconds