Searched refs:nfss (Results 1 – 6 of 6) sorted by relevance
335 static void nfs_show_mountd_netid(struct seq_file *m, struct nfs_server *nfss, in nfs_show_mountd_netid() argument338 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() argument370 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 …]
115 struct nfs_server *nfss = NFS_SB(sb); in nfs_fscache_get_super_cookie() local119 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 …]
1512 struct nfs_server *nfss = fc->root->d_sb->s_fs_info; in nfs_init_fs_context() local1513 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 …]
463 static inline int pnfs_enabled_sb(struct nfs_server *nfss) in pnfs_enabled_sb() argument465 return nfss->pnfs_curr_ld != NULL; in pnfs_enabled_sb()609 struct nfs_server *nfss = NFS_SERVER(ino); in pnfs_return_layout() local611 if (pnfs_enabled_sb(nfss) && nfsi->layout) { in pnfs_return_layout()621 struct nfs_server *nfss) in pnfs_use_threshold() argument623 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
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()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() local2900 trypnfs = nfss->pnfs_curr_ld->write_pagelist(hdr, how); in pnfs_try_to_write_data()[all …]
411 struct nfs_server *nfss = NFS_SERVER(inode); in nfs_set_page_writeback() local416 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() local433 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() local1882 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()