Home
last modified time | relevance | path

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

12

/linux-6.15/fs/nfs/
H A Dnfs42proc.c50 struct nfs_server *server = NFS_SERVER(inode); in _nfs42_proc_fallocate()
105 struct nfs_server *server = NFS_SERVER(inode); in nfs42_proc_fallocate()
149 NFS_SERVER(inode)->caps &= ~NFS_CAP_ALLOCATE; in nfs42_proc_allocate()
172 NFS_SERVER(inode)->caps &= ~NFS_CAP_DEALLOCATE; in nfs42_proc_deallocate()
699 struct nfs_server *server = NFS_SERVER(inode); in nfs42_proc_offload_status()
830 struct nfs_server *server = NFS_SERVER(inode); in _nfs42_proc_llseek()
898 struct nfs_server *server = NFS_SERVER(inode); in nfs42_layoutstat_prepare()
1066 struct nfs_server *server = NFS_SERVER(inode); in nfs42_layouterror_prepare()
1299 NFS_SERVER(inode)->caps &= ~NFS_CAP_CLONE; in nfs42_proc_clone()
1320 struct nfs_server *server = NFS_SERVER(inode); in _nfs42_proc_removexattr()
[all …]
H A Diostat.h32 nfs_inc_server_stats(NFS_SERVER(inode), stat); in nfs_inc_stats()
46 nfs_add_server_stats(NFS_SERVER(inode), stat, addend); in nfs_add_stats()
H A Dnfs4proc.c1437 struct nfs_server *server = NFS_SERVER(dir); in nfs4_opendata_alloc()
2660 struct nfs_server *server = NFS_SERVER(dir); in nfs4_run_open_task()
2775 struct nfs_server *server = NFS_SERVER(dir); in _nfs4_proc_open()
4829 …return nfs4_call_sync(NFS_SERVER(inode)->client, NFS_SERVER(inode), &msg, &args.seq_args, &res.seq… in _nfs4_proc_readlink()
5153 int status = nfs4_call_sync(NFS_SERVER(dir)->client, NFS_SERVER(dir), &data->msg, in nfs4_do_create()
5169 int status = nfs4_call_sync(NFS_SERVER(dir)->client, NFS_SERVER(dir), &data->msg, in nfs4_do_mkdir()
5701 NFS_SERVER(inode), task->tk_status, in nfs4_write_done_cb()
6158 ret = nfs4_call_sync(NFS_SERVER(inode)->client, NFS_SERVER(inode), in __nfs4_get_acl_uncached()
7107 p->server = NFS_SERVER(inode); in nfs4_alloc_unlockdata()
8590 .seq_server = NFS_SERVER(dir), in _nfs4_proc_secinfo()
[all …]
H A Dnfs42.h36 struct nfs_client *c_in = (NFS_SERVER(file_inode(in)))->nfs_client; in nfs42_files_from_same_server()
37 struct nfs_client *c_out = (NFS_SERVER(file_inode(out)))->nfs_client; in nfs42_files_from_same_server()
H A Dpnfs.c1021 server = NFS_SERVER(lo->plh_inode); in pnfs_layout_bulk_list_reboot()
1123 server = NFS_SERVER(inode); in pnfs_find_server()
1126 server = NFS_SERVER(parent_dir->d_inode); in pnfs_find_server()
1379 lrp->clp = NFS_SERVER(ino)->nfs_client; in pnfs_send_layoutreturn()
2114 struct nfs_server *server = NFS_SERVER(ino); in pnfs_update_layout()
2126 if (!pnfs_enabled_sb(NFS_SERVER(ino))) { in pnfs_update_layout()
2395 _add_to_server_list(lo, NFS_SERVER(ino)); in _pnfs_grab_empty_layout()
2484 struct nfs_server *srv = NFS_SERVER(ino); in pnfs_parse_lgopen()
3034 struct nfs_server *nfss = NFS_SERVER(inode); in pnfs_try_to_write_data()
3159 struct nfs_server *nfss = NFS_SERVER(inode); in pnfs_try_to_read_data()
[all …]
H A Dpnfs.h492 struct pnfs_layoutdriver_type *ld = NFS_SERVER(inode)->pnfs_curr_ld; in pnfs_get_ds_info()
574 if (!pnfs_enabled_sb(NFS_SERVER(inode))) in pnfs_ld_layoutret_on_setattr()
576 return NFS_SERVER(inode)->pnfs_curr_ld->flags & in pnfs_ld_layoutret_on_setattr()
583 if (!pnfs_enabled_sb(NFS_SERVER(inode))) in pnfs_ld_read_whole_page()
585 return NFS_SERVER(inode)->pnfs_curr_ld->flags & PNFS_READ_WHOLE_PAGE; in pnfs_ld_read_whole_page()
591 if (!pnfs_enabled_sb(NFS_SERVER(inode))) in pnfs_sync_inode()
593 return NFS_SERVER(inode)->pnfs_curr_ld->sync(inode, datasync); in pnfs_sync_inode()
608 struct nfs_server *nfss = NFS_SERVER(ino); in pnfs_return_layout()
H A Dfile.c104 struct nfs_server *server = NFS_SERVER(inode); in nfs_revalidate_file_size()
526 struct nfs_client *cl = NFS_SERVER(inode)->nfs_client; in nfs_swap_activate()
559 struct nfs_client *cl = NFS_SERVER(inode)->nfs_client; in nfs_swap_deactivate()
649 unsigned int mntflags = NFS_SERVER(inode)->flags; in nfs_file_write()
854 if (NFS_SERVER(inode)->flags & NFS_MOUNT_LOCAL_FCNTL) in nfs_lock()
888 if (NFS_SERVER(inode)->flags & NFS_MOUNT_LOCAL_FLOCK) in nfs_flock()
H A Ddelegation.c389 struct nfs_server *server = NFS_SERVER(inode); in nfs_inode_detach_delegation()
446 struct nfs_server *server = NFS_SERVER(inode); in nfs_inode_set_delegation()
554 struct nfs_server *server = NFS_SERVER(inode); in nfs_end_delegation_return()
873 (nfs4_has_session(NFS_SERVER(inode)->nfs_client) && in nfs4_inode_make_writeable()
1058 if (nfs_detach_delegation(NFS_I(inode), delegation, NFS_SERVER(inode))) in nfs_delegation_mark_returned()
1122 struct nfs_server *server = NFS_SERVER(inode); in nfs_async_inode_return_delegation()
1353 struct nfs_server *server = NFS_SERVER(inode); in nfs_delegation_test_free_expired()
1433 struct nfs_client *clp = NFS_SERVER(inode)->nfs_client; in nfs_inode_find_delegation_state_and_recover()
1442 nfs_mark_test_expired_delegation(NFS_SERVER(inode), delegation); in nfs_inode_find_delegation_state_and_recover()
H A Ddir.c611 NFS_SERVER(inode)->caps &= ~NFS_CAP_READDIRPLUS; in nfs_readdir_xdr_filler()
669 if (NFS_SERVER(dir)->flags & NFS_MOUNT_FORCE_RDIRPLUS) in nfs_use_readdirplus()
950 entry->server = NFS_SERVER(inode); in nfs_readdir_xdr_to_array()
1521 if (__nfs_revalidate_inode(NFS_SERVER(dir), dir) < 0) in nfs_check_verifier()
1552 struct nfs_server *server = NFS_SERVER(inode); in nfs_lookup_verify_inode()
1970 fattr = nfs_alloc_fattr_with_label(NFS_SERVER(dir)); in nfs_lookup()
2100 if (dentry->d_name.len > NFS_SERVER(dir)->namelen) in nfs_atomic_open()
2104 struct nfs_server *server = NFS_SERVER(dir); in nfs_atomic_open()
2271 if (dentry->d_name.len > NFS_SERVER(dir)->namelen) in nfs_atomic_open_v23()
3268 nfs_access_xattr_mask(NFS_SERVER(inode)); in nfs_do_access()
[all …]
H A Dwrite.c340 struct nfs_server *nfss = NFS_SERVER(folio->mapping->host); in nfs_folio_set_writeback()
349 struct nfs_server *nfss = NFS_SERVER(folio->mapping->host); in nfs_folio_end_writeback()
727 unsigned int mntflags = NFS_SERVER(inode)->flags; in nfs_writepages()
728 struct nfs_server *nfss = NFS_SERVER(inode); in nfs_writepages()
1230 struct rpc_auth *auth = NFS_SERVER(inode)->client->cl_auth; in nfs_ctx_key_to_expire()
1311 unsigned int mntflags = NFS_SERVER(inode)->flags; in nfs_can_extend_write()
1455 struct nfs_server *server = NFS_SERVER(inode); in nfs_pageio_init_write()
1479 mirror->pg_bsize = NFS_SERVER(pgio->pg_inode)->wsize; in nfs_pageio_reset_write_mds()
1581 NFS_SERVER(inode)->nfs_client->cl_hostname, in nfs_writeback_done()
1827 if (NFS_SERVER(inode)->nfs_client->cl_minorversion) in nfs_commit_list()
[all …]
H A Dread.c67 struct nfs_server *server = NFS_SERVER(inode); in nfs_pageio_init_read()
109 mirror->pg_bsize = NFS_SERVER(pgio->pg_inode)->rsize; in nfs_pageio_reset_read_mds()
290 struct nfs_server *server = NFS_SERVER(inode); in nfs_read_add_folio()
H A Dpagelist.c177 rpc_sleep_on(&NFS_SERVER(inode)->uoc_rpcwaitq, task, NULL); in nfs_async_iocounter_wait()
182 rpc_wake_up_queued_task(&NFS_SERVER(inode)->uoc_rpcwaitq, task); in nfs_async_iocounter_wait()
566 rpc_wake_up(&NFS_SERVER(d_inode(ctx->dentry))->uoc_rpcwaitq); in nfs_clear_request()
766 return nfs_local_doio(NFS_SERVER(hdr->inode)->nfs_client, in nfs_initiate_pgio()
961 struct nfs_client *clp = NFS_SERVER(hdr->inode)->nfs_client; in nfs_generic_pg_pgios()
968 if (NFS_SERVER(hdr->inode)->nfs_client->cl_minorversion) in nfs_generic_pg_pgios()
1125 if (NFS_SERVER(desc->pg_inode)->flags & NFS_MOUNT_SOFTERR) in nfs_pageio_do_add_request()
H A Dinode.c724 fattr = nfs_alloc_fattr_with_label(NFS_SERVER(inode)); in nfs_setattr()
919 struct nfs_server *server = NFS_SERVER(inode); in nfs_getattr()
1008 stat->blksize = NFS_SERVER(inode)->dtsize; in nfs_getattr()
1110 if (NFS_SERVER(inode)->flags & NFS_MOUNT_NOCTO) in nfs_close_context()
1307 fattr = nfs_alloc_fattr_with_label(NFS_SERVER(inode)); in __nfs_revalidate_inode()
1374 return __nfs_revalidate_inode(NFS_SERVER(inode), inode); in nfs_revalidate_inode()
1505 int ret = __nfs_revalidate_inode(NFS_SERVER(inode), inode); in nfs_revalidate_mapping()
1871 switch (NFS_SERVER(inode)->change_attr_type) { in nfs_inode_attrs_cmp()
1905 enum nfs4_change_attr_type ctype = NFS_SERVER(inode)->change_attr_type; in nfs_inode_finish_partial_attr_update()
2157 struct nfs_server *server = NFS_SERVER(inode); in nfs_update_inode()
[all …]
H A Dnfs3acl.c48 struct nfs_server *server = NFS_SERVER(inode); in nfs3_get_acl()
164 struct nfs_server *server = NFS_SERVER(inode); in __nfs3_proc_setacls()
H A Dnfs3proc.c216 if (NFS_SERVER(inode)->flags & NFS_MOUNT_SOFTREVAL) in nfs3_proc_lookupp()
887 struct nfs_server *server = NFS_SERVER(inode); in nfs3_read_done()
910 hdr->args.replen = NFS_SERVER(hdr->inode)->read_hdrsize; in nfs3_proc_read_setup()
931 nfs3_localio_probe(NFS_SERVER(inode)); in nfs3_write_done()
1016 status = nlmclnt_proc(NFS_SERVER(inode)->nlm_host, cmd, fl, l_ctx); in nfs3_proc_lock()
H A Dnfs4file.c157 if (count <= 2 * NFS_SERVER(file_inode(file_in))->rsize) in __nfs4_copy_file_range()
245 struct nfs_server *server = NFS_SERVER(dst_inode); in nfs42_remap_file_range()
H A Dfscache.h122 if (NFS_SERVER(inode)->nfs_client->rpc_ops->version == 4) in nfs_fscache_update_auxdata()
H A Dcallback_proc.c301 if (NFS_SERVER(ino)->pnfs_curr_ld->return_range) { in initiate_file_draining()
302 NFS_SERVER(ino)->pnfs_curr_ld->return_range(lo, in initiate_file_draining()
H A Dfscache.c166 struct nfs_server *nfss = NFS_SERVER(inode); in nfs_fscache_init_inode()
H A Dlocalio.c516 struct nfs_client *clp = NFS_SERVER(inode)->nfs_client; in nfs_copy_boot_verifier()
531 struct nfs_client *clp = NFS_SERVER(inode)->nfs_client; in nfs_reset_boot_verifier()
H A Ddirect.c348 size_t rsize = max_t(size_t, NFS_SERVER(inode)->rsize, PAGE_SIZE); in nfs_direct_read_schedule_iovec()
872 size_t wsize = max_t(size_t, NFS_SERVER(inode)->wsize, PAGE_SIZE); in nfs_direct_write_schedule_iovec()
/linux-6.15/include/linux/
H A Dnfs_fs.h355 static inline struct nfs_server *NFS_SERVER(const struct inode *inode) in NFS_SERVER() function
362 return NFS_SERVER(inode)->client; in NFS_CLIENT()
367 return NFS_SERVER(inode)->nfs_client->rpc_ops; in NFS_PROTO()
372 struct nfs_server *nfss = NFS_SERVER(inode); in NFS_MINATTRTIMEO()
378 struct nfs_server *nfss = NFS_SERVER(inode); in NFS_MAXATTRTIMEO()
412 return NFS_SERVER(inode)->caps & cap; in nfs_server_capable()
/linux-6.15/fs/nfs/filelayout/
H A Dfilelayout.c312 rpc_count_iostats(task, NFS_SERVER(hdr->inode)->client->cl_metrics); in filelayout_read_count_stats()
408 rpc_count_iostats(task, NFS_SERVER(hdr->inode)->client->cl_metrics); in filelayout_write_count_stats()
425 rpc_count_iostats(task, NFS_SERVER(cdata->inode)->client->cl_metrics); in filelayout_commit_count_stats()
551 d = nfs4_find_get_deviceid(NFS_SERVER(lo->plh_inode), &fl->deviceid, in filelayout_check_deviceid()
H A Dfilelayoutdev.c268 struct nfs_server *s = NFS_SERVER(lseg->pls_layout->plh_inode); in nfs4_fl_prepare_ds()
/linux-6.15/fs/nfs/flexfilelayout/
H A Dflexfilelayoutdev.c331 node = nfs4_find_get_deviceid(NFS_SERVER(lo->plh_inode), in ff_layout_init_mirror_ds()
375 struct nfs_server *s = NFS_SERVER(ino); in nfs4_ff_layout_prepare_ds()

12