Home
last modified time | relevance | path

Searched refs:NFS_SERVER (Results 1 – 23 of 23) sorted by relevance

/linux-2.6.39/fs/nfs/
Diostat.h34 nfs_inc_server_stats(NFS_SERVER(inode), stat); in nfs_inc_stats()
48 nfs_add_server_stats(NFS_SERVER(inode), stat, addend); in nfs_add_stats()
56 this_cpu_add(NFS_SERVER(inode)->io_stats->fscache[stat], addend); in nfs_add_fscache_stats()
Dpnfs.c221 NFS_SERVER(ino)->pnfs_curr_ld->free_lseg(lseg); in free_lseg()
238 rpc_wake_up(&NFS_SERVER(inode)->roc_rpcwaitq); in put_lseg_common()
340 clp = NFS_SERVER(lo->plh_inode)->nfs_client; in pnfs_free_lseg_list()
474 struct nfs_server *server = NFS_SERVER(ino); in send_layoutget()
766 struct nfs_client *clp = NFS_SERVER(ino)->nfs_client; in pnfs_update_layout()
771 if (!pnfs_enabled_sb(NFS_SERVER(ino))) in pnfs_update_layout()
838 struct nfs_client *clp = NFS_SERVER(ino)->nfs_client; in pnfs_layout_process()
853 lseg = NFS_SERVER(ino)->pnfs_curr_ld->alloc_lseg(lo, res, lgp->gfp_flags); in pnfs_layout_process()
894 NFS_SERVER(ino)->pnfs_curr_ld->free_lseg(lseg); in pnfs_layout_process()
909 return NFS_SERVER(pgio->pg_inode)->pnfs_curr_ld->pg_test(pgio, prev, req); in pnfs_read_pg_test()
[all …]
Dnfs4proc.c794 struct nfs_server *server = NFS_SERVER(dir); in nfs4_opendata_alloc()
1235 struct nfs_server *server = NFS_SERVER(state->inode); in nfs4_do_open_reclaim()
1279 struct nfs_server *server = NFS_SERVER(state->inode); in nfs4_open_delegation_recall()
1368 struct nfs_server *server = NFS_SERVER(data->dir->d_inode); in _nfs4_proc_open_confirm()
1518 struct nfs_server *server = NFS_SERVER(dir); in nfs4_run_open_task()
1585 struct nfs_server *server = NFS_SERVER(dir); in _nfs4_proc_open()
1656 struct nfs_server *server = NFS_SERVER(state->inode); in nfs4_do_open_expired()
1711 struct nfs_server *server = NFS_SERVER(dir); in _nfs4_do_open()
1794 NFS_SERVER(dir)->nfs_client->cl_hostname); in nfs4_do_open()
1813 res = ERR_PTR(nfs4_handle_exception(NFS_SERVER(dir), in nfs4_do_open()
[all …]
Dpnfs.h187 ld = NFS_SERVER(req->wb_page->mapping->host)->pnfs_curr_ld; in pnfs_mark_request_commit()
200 return NFS_SERVER(inode)->pnfs_curr_ld->commit_pagelist(inode, mds_pages, how); in pnfs_commit_list()
212 rv = NFS_SERVER(inode)->pnfs_curr_ld->choose_commit_list(req); in pnfs_choose_commit_list()
Ddelegation.c241 struct nfs_server *server = NFS_SERVER(inode); in nfs_inode_set_delegation()
379 struct nfs_server *server = NFS_SERVER(inode); in nfs_inode_return_delegation_noreclaim()
398 struct nfs_server *server = NFS_SERVER(inode); in nfs_inode_return_delegation()
415 struct nfs_client *clp = NFS_SERVER(delegation->inode)->nfs_client; in nfs_mark_return_delegation()
554 struct nfs_client *clp = NFS_SERVER(inode)->nfs_client; in nfs_async_inode_return_delegation()
Dunlink.c90 nfs_restart_rpc(task, NFS_SERVER(dir)->nfs_client); in nfs_async_unlink_done()
114 struct nfs_server *server = NFS_SERVER(data->dir); in nfs_unlink_prepare()
371 nfs_restart_rpc(task, NFS_SERVER(old_dir)->nfs_client); in nfs_async_rename_done()
409 struct nfs_server *server = NFS_SERVER(data->old_dir); in nfs_rename_prepare()
Dfscache-index.c214 if (NFS_SERVER(&nfsi->vfs_inode)->nfs_client->rpc_ops->version == 4) in nfs_fscache_inode_get_aux()
246 if (NFS_SERVER(&nfsi->vfs_inode)->nfs_client->rpc_ops->version == 4) in nfs_fscache_inode_check_aux()
Ddir.c187 __nfs_revalidate_inode(NFS_SERVER(inode), inode); in nfs_opendir()
415 NFS_SERVER(inode)->dtsize, desc->plus); in nfs_readdir_xdr_filler()
419 NFS_SERVER(inode)->caps &= ~NFS_CAP_READDIRPLUS; in nfs_readdir_xdr_filler()
618 entry.server = NFS_SERVER(inode); in nfs_readdir_xdr_to_array()
989 if (NFS_SERVER(dir)->flags & NFS_MOUNT_LOOKUP_CACHE_NONE) in nfs_check_verifier()
994 if (nfs_revalidate_inode(NFS_SERVER(dir), dir) < 0) in nfs_check_verifier()
1038 struct nfs_server *server = NFS_SERVER(inode); in nfs_lookup_verify_inode()
1073 if (NFS_SERVER(dir)->flags & NFS_MOUNT_LOOKUP_CACHE_NONEG) in nfs_neg_need_reval()
1138 error = NFS_PROTO(dir)->lookup(NFS_SERVER(dir)->client, dir, &dentry->d_name, fhandle, fattr); in nfs_lookup_revalidate()
1272 if (dentry->d_name.len > NFS_SERVER(dir)->namelen) in nfs_lookup()
[all …]
Dread.c138 if (NFS_SERVER(inode)->rsize < PAGE_CACHE_SIZE) in nfs_readpage_async()
268 size_t rsize = NFS_SERVER(desc->pg_inode)->rsize, nbytes; in nfs_pagein_multi()
407 nfs_restart_rpc(task, NFS_SERVER(data->inode)->nfs_client); in nfs_readpage_retry()
449 if (nfs4_setup_sequence(NFS_SERVER(data->inode), in nfs_read_prepare()
634 struct nfs_server *server = NFS_SERVER(inode); in nfs_readpages()
Dfile.c163 struct nfs_server *server = NFS_SERVER(inode); in nfs_revalidate_file_size()
801 if (is_time_granular(&NFS_SERVER(inode)->time_delta)) in do_setlk()
802 __nfs_revalidate_inode(NFS_SERVER(inode), inode); in do_setlk()
831 if (NFS_SERVER(inode)->flags & NFS_MOUNT_LOCAL_FCNTL) in nfs_lock()
866 if (NFS_SERVER(inode)->flags & NFS_MOUNT_LOCAL_FLOCK) in nfs_flock()
Dnfs3acl.c187 struct nfs_server *server = NFS_SERVER(inode); in nfs3_proc_getacl()
295 struct nfs_server *server = NFS_SERVER(inode); in nfs3_proc_setacls()
Dinode.c532 err = __nfs_revalidate_inode(NFS_SERVER(inode), inode); in nfs_getattr()
534 err = nfs_revalidate_inode(NFS_SERVER(inode), inode); in nfs_getattr()
625 server = NFS_SERVER(inode); in nfs_close_context()
880 ret = __nfs_revalidate_inode(NFS_SERVER(inode), inode); in nfs_revalidate_mapping()
1221 server = NFS_SERVER(inode); in nfs_update_inode()
1412 NFS_SERVER(inode)->nfs_client->cl_hostname, inode->i_sb->s_id, in nfs_update_inode()
Dwrite.c204 struct nfs_server *nfss = NFS_SERVER(inode); in nfs_set_page_writeback()
219 struct nfs_server *nfss = NFS_SERVER(inode); in nfs_end_page_writeback()
913 size_t wsize = NFS_SERVER(desc->pg_inode)->wsize, nbytes; in nfs_flush_multi()
1033 size_t wsize = NFS_SERVER(inode)->wsize; in nfs_pageio_init_write()
1103 if (nfs4_setup_sequence(NFS_SERVER(data->inode), in nfs_write_prepare()
1191 struct nfs_server *server = NFS_SERVER(data->inode); in nfs_writeback_done()
Dnfs4filelayout.c149 clp = NFS_SERVER(data->inode)->nfs_client; in filelayout_read_done_cb()
225 clp = NFS_SERVER(data->inode)->nfs_client; in filelayout_write_done_cb()
426 struct nfs_server *nfss = NFS_SERVER(lo->plh_inode); in filelayout_check_layout()
Ddirect.c290 size_t rsize = NFS_SERVER(inode)->rsize; in nfs_direct_read_schedule_segment()
732 size_t wsize = NFS_SERVER(inode)->wsize; in nfs_direct_write_schedule_segment()
868 size_t wsize = NFS_SERVER(inode)->wsize; in nfs_direct_write()
Dnfs4filelayoutdev.c548 struct nfs_server *server = NFS_SERVER(inode); in get_device_info()
703 struct nfs_server *s = NFS_SERVER(lseg->pls_layout->plh_inode); in nfs4_fl_prepare_ds()
Dnamespace.c229 struct nfs_server *server = NFS_SERVER(path->dentry->d_inode); in nfs_d_automount()
Dfscache.c331 struct nfs_server *nfss = NFS_SERVER(inode); in nfs_fscache_reset_inode_cookie()
Dcallback_proc.c172 memcmp(&NFS_SERVER(lo->plh_inode)->fsid, in initiate_bulk_draining()
Dproc.c681 return nlmclnt_proc(NFS_SERVER(inode)->nlm_host, cmd, fl); in nfs_proc_lock()
Dnfs3proc.c848 return nlmclnt_proc(NFS_SERVER(inode)->nlm_host, cmd, fl); in nfs3_proc_lock()
Dnfs4xdr.c1873 NFS_SERVER(args->inode)->pnfs_curr_ld->id); in encode_layoutcommit()
1885 *p++ = cpu_to_be32(NFS_SERVER(args->inode)->pnfs_curr_ld->id);/* type */ in encode_layoutcommit()
/linux-2.6.39/include/linux/
Dnfs_fs.h248 static inline struct nfs_server *NFS_SERVER(const struct inode *inode) in NFS_SERVER() function
255 return NFS_SERVER(inode)->client; in NFS_CLIENT()
260 return NFS_SERVER(inode)->nfs_client->rpc_ops; in NFS_PROTO()
270 struct nfs_server *nfss = NFS_SERVER(inode); in NFS_MINATTRTIMEO()
276 struct nfs_server *nfss = NFS_SERVER(inode); in NFS_MAXATTRTIMEO()
313 return NFS_SERVER(inode)->caps & cap; in nfs_server_capable()