Searched refs:nfss (Results 1 – 6 of 6) sorted by relevance
117 struct nfs_server *nfss = NFS_SB(sb); in nfs_fscache_get_super_cookie() local130 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()138 key->key.nfs_server.acdirmax = nfss->acdirmax; in nfs_fscache_get_super_cookie()139 key->key.nfs_server.fsid = nfss->fsid; in nfs_fscache_get_super_cookie()[all …]
530 static void nfs_show_mountd_netid(struct seq_file *m, struct nfs_server *nfss, in nfs_show_mountd_netid() argument533 struct sockaddr *sap = (struct sockaddr *) &nfss->mountd_address; in nfs_show_mountd_netid()538 switch (nfss->mountd_protocol) { in nfs_show_mountd_netid()548 switch (nfss->mountd_protocol) { in nfs_show_mountd_netid()562 static void nfs_show_mountd_options(struct seq_file *m, struct nfs_server *nfss, in nfs_show_mountd_options() argument565 struct sockaddr *sap = (struct sockaddr *)&nfss->mountd_address; in nfs_show_mountd_options()567 if (nfss->flags & NFS_MOUNT_LEGACY_INTERFACE) in nfs_show_mountd_options()586 if (nfss->mountd_version || showdefaults) in nfs_show_mountd_options()587 seq_printf(m, ",mountvers=%u", nfss->mountd_version); in nfs_show_mountd_options()588 if ((nfss->mountd_port && in nfs_show_mountd_options()[all …]
425 static inline int pnfs_enabled_sb(struct nfs_server *nfss) in pnfs_enabled_sb() argument427 return nfss->pnfs_curr_ld != NULL; in pnfs_enabled_sb()539 struct nfs_server *nfss = NFS_SERVER(ino); in pnfs_return_layout() local541 if (pnfs_enabled_sb(nfss) && nfsi->layout) { in pnfs_return_layout()551 struct nfs_server *nfss) in pnfs_use_threshold() argument553 return (dst && src && src->bm != 0 && nfss->pnfs_curr_ld && in pnfs_use_threshold()554 nfss->pnfs_curr_ld->id == src->l_type); in pnfs_use_threshold()771 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()102 if (atomic_dec_and_test(&nfss->nfs_client->cl_mds_count)) 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()2580 struct nfs_server *nfss = NFS_SERVER(inode); in pnfs_try_to_write_data() local2586 trypnfs = nfss->pnfs_curr_ld->write_pagelist(hdr, how); in pnfs_try_to_write_data()[all …]
336 struct nfs_server *nfss = NFS_SERVER(inode); in nfs_set_page_writeback() local341 if (atomic_long_inc_return(&nfss->writeback) > in nfs_set_page_writeback()349 struct nfs_server *nfss = NFS_SERVER(inode); in nfs_end_page_writeback() local358 if (atomic_long_dec_return(&nfss->writeback) < NFS_CONGESTION_OFF_THRESH) in nfs_end_page_writeback()1802 struct nfs_server *nfss; in nfs_commit_release_pages() local1841 nfss = NFS_SERVER(data->inode); in nfs_commit_release_pages()1842 if (atomic_long_read(&nfss->writeback) < NFS_CONGESTION_OFF_THRESH) in nfs_commit_release_pages()
277 struct nfs_server *nfss = NFS_SERVER(inode); in NFS_MINATTRTIMEO() local278 return S_ISDIR(inode->i_mode) ? nfss->acdirmin : nfss->acregmin; in NFS_MINATTRTIMEO()283 struct nfs_server *nfss = NFS_SERVER(inode); in NFS_MAXATTRTIMEO() local284 return S_ISDIR(inode->i_mode) ? nfss->acdirmax : nfss->acregmax; in NFS_MAXATTRTIMEO()