Searched refs:nfss (Results 1 – 7 of 7) sorted by relevance
| /linux-6.15/fs/nfs/ |
| H A D | super.c | 355 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 …]
|
| H A D | fscache.c | 91 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 …]
|
| H A D | fs_context.c | 1670 struct net *net = nfss->nfs_client->cl_net; in nfs_init_fs_context() 1672 ctx->flags = nfss->flags; in nfs_init_fs_context() 1673 ctx->rsize = nfss->rsize; in nfs_init_fs_context() 1674 ctx->wsize = nfss->wsize; in nfs_init_fs_context() 1677 ctx->acregmin = nfss->acregmin / HZ; in nfs_init_fs_context() 1678 ctx->acregmax = nfss->acregmax / HZ; in nfs_init_fs_context() 1679 ctx->acdirmin = nfss->acdirmin / HZ; in nfs_init_fs_context() 1680 ctx->acdirmax = nfss->acdirmax / HZ; in nfs_init_fs_context() 1682 ctx->nfs_server.port = nfss->port; in nfs_init_fs_context() 1684 ctx->version = nfss->nfs_client->rpc_ops->version; in nfs_init_fs_context() [all …]
|
| H A D | pnfs.h | 473 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
|
| H A D | write.c | 340 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() 728 struct nfs_server *nfss = NFS_SERVER(inode); in nfs_writepages() local 733 if (wbc->sync_mode == WB_SYNC_NONE && nfss->write_congested) { in nfs_writepages() 734 err = wait_event_killable(nfss->write_congestion_wait, in nfs_writepages() [all …]
|
| H A D | pnfs.c | 108 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() 3034 struct nfs_server *nfss = NFS_SERVER(inode); in pnfs_try_to_write_data() local 3159 struct nfs_server *nfss = NFS_SERVER(inode); in pnfs_try_to_read_data() local 3320 if (nfss->pnfs_curr_ld->cleanup_layoutcommit) in pnfs_cleanup_layoutcommit() [all …]
|
| /linux-6.15/include/linux/ |
| H A D | nfs_fs.h | 372 struct nfs_server *nfss = NFS_SERVER(inode); in NFS_MINATTRTIMEO() local 373 return S_ISDIR(inode->i_mode) ? nfss->acdirmin : nfss->acregmin; in NFS_MINATTRTIMEO() 378 struct nfs_server *nfss = NFS_SERVER(inode); in NFS_MAXATTRTIMEO() local 379 return S_ISDIR(inode->i_mode) ? nfss->acdirmax : nfss->acregmax; in NFS_MAXATTRTIMEO()
|