/linux-6.12.1/fs/nfs/ |
D | nfs4state.c | 94 static int nfs4_setup_state_renewal(struct nfs_client *clp) in nfs4_setup_state_renewal() 113 int nfs4_init_clientid(struct nfs_client *clp, const struct cred *cred) in nfs4_init_clientid() 158 int nfs40_discover_server_trunking(struct nfs_client *clp, in nfs40_discover_server_trunking() 194 const struct cred *nfs4_get_machine_cred(struct nfs_client *clp) in nfs4_get_machine_cred() 199 static void nfs4_root_machine_cred(struct nfs_client *clp) in nfs4_root_machine_cred() 233 const struct cred *nfs4_get_renew_cred(struct nfs_client *clp) in nfs4_get_renew_cred() 266 static void nfs4_end_drain_session(struct nfs_client *clp) in nfs4_end_drain_session() 294 static int nfs4_begin_drain_session(struct nfs_client *clp) in nfs4_begin_drain_session() 312 static void nfs41_finish_session_reset(struct nfs_client *clp) in nfs41_finish_session_reset() 321 int nfs41_init_clientid(struct nfs_client *clp, const struct cred *cred) in nfs41_init_clientid() [all …]
|
D | client.c | 146 struct nfs_client *clp; in nfs_alloc_client() local 210 static void nfs_cb_idr_remove_locked(struct nfs_client *clp) in nfs_cb_idr_remove_locked() 228 static void nfs_cb_idr_remove_locked(struct nfs_client *clp) in nfs_cb_idr_remove_locked() 241 void nfs_free_client(struct nfs_client *clp) in nfs_free_client() 260 void nfs_put_client(struct nfs_client *clp) in nfs_put_client() 287 struct nfs_client *clp; in nfs_match_client() local 349 bool nfs_client_init_is_complete(const struct nfs_client *clp) in nfs_client_init_is_complete() 361 int nfs_client_init_status(const struct nfs_client *clp) in nfs_client_init_status() 372 int nfs_wait_client_init_complete(const struct nfs_client *clp) in nfs_wait_client_init_complete() 384 struct nfs_client *clp) in nfs_found_client() [all …]
|
D | nfs4client.c | 29 static int nfs_get_cb_ident_idr(struct nfs_client *clp, int minorversion) in nfs_get_cb_ident_idr() 153 nfs4_shutdown_ds_clients(struct nfs_client *clp) in nfs4_shutdown_ds_clients() 167 nfs4_cleanup_callback(struct nfs_client *clp) in nfs4_cleanup_callback() 179 void nfs41_shutdown_client(struct nfs_client *clp) in nfs41_shutdown_client() 191 void nfs40_shutdown_client(struct nfs_client *clp) in nfs40_shutdown_client() 203 struct nfs_client *clp = nfs_alloc_client(cl_init); in nfs4_alloc_client() local 278 static void nfs4_destroy_callback(struct nfs_client *clp) in nfs4_destroy_callback() 284 static void nfs4_shutdown_client(struct nfs_client *clp) in nfs4_shutdown_client() 300 void nfs4_free_client(struct nfs_client *clp) in nfs4_free_client() 309 static int nfs4_init_callback(struct nfs_client *clp) in nfs4_init_callback() [all …]
|
D | delegation.c | 333 struct nfs_client *clp, int err) in nfs_abort_delegation_return() 348 struct nfs_client *clp) in nfs_detach_delegation_locked() 373 struct nfs_client *clp = server->nfs_client; in nfs_detach_delegation() local 443 struct nfs_client *clp = server->nfs_client; in nfs_inode_set_delegation() local 550 struct nfs_client *clp = NFS_SERVER(inode)->nfs_client; in nfs_end_delegation_return() local 697 static bool nfs_client_clear_delayed_delegations(struct nfs_client *clp) in nfs_client_clear_delayed_delegations() 724 int nfs_client_return_marked_delegations(struct nfs_client *clp) in nfs_client_return_marked_delegations() 863 static void nfs_client_mark_return_all_delegations(struct nfs_client *clp) in nfs_client_mark_return_all_delegations() 873 static void nfs_delegation_run_state_manager(struct nfs_client *clp) in nfs_delegation_run_state_manager() 884 void nfs_expire_all_delegations(struct nfs_client *clp) in nfs_expire_all_delegations() [all …]
|
D | nfs4renewd.c | 58 struct nfs_client *clp = in nfs4_renew_state() local 114 nfs4_schedule_state_renewal(struct nfs_client *clp) in nfs4_schedule_state_renewal() 131 nfs4_kill_renewd(struct nfs_client *clp) in nfs4_kill_renewd() 142 void nfs4_set_lease_period(struct nfs_client *clp, in nfs4_set_lease_period()
|
D | callback_proc.c | 131 static struct inode *nfs_layout_find_inode_by_stateid(struct nfs_client *clp, in nfs_layout_find_inode_by_stateid() 167 static struct inode *nfs_layout_find_inode_by_fh(struct nfs_client *clp, in nfs_layout_find_inode_by_fh() 198 static struct inode *nfs_layout_find_inode(struct nfs_client *clp, in nfs_layout_find_inode() 249 static u32 initiate_file_draining(struct nfs_client *clp, in initiate_file_draining() 320 static u32 initiate_bulk_draining(struct nfs_client *clp, in initiate_bulk_draining() 335 static u32 do_callback_layoutrecall(struct nfs_client *clp, in do_callback_layoutrecall() 355 static void pnfs_recall_all_layouts(struct nfs_client *clp, in pnfs_recall_all_layouts() 454 static int referring_call_exists(struct nfs_client *clp, in referring_call_exists() 506 struct nfs_client *clp; in nfs4_callback_sequence() local
|
D | nfs4session.h | 75 struct nfs_client *clp; member 109 static inline struct nfs4_session *nfs4_get_session(const struct nfs_client *clp) in nfs4_get_session() 131 static inline int nfs4_has_session(const struct nfs_client *clp) in nfs4_has_session() 138 static inline int nfs4_has_persistent_session(const struct nfs_client *clp) in nfs4_has_persistent_session() 163 static inline int nfs4_init_session(struct nfs_client *clp) in nfs4_init_session() 171 static inline int nfs4_has_session(const struct nfs_client *clp) in nfs4_has_session() 176 static inline int nfs4_has_persistent_session(const struct nfs_client *clp) in nfs4_has_persistent_session()
|
D | localio.c | 53 static inline bool nfs_client_is_local(const struct nfs_client *clp) in nfs_client_is_local() 58 bool nfs_server_is_local(const struct nfs_client *clp) in nfs_server_is_local() 123 static void nfs_local_enable(struct nfs_client *clp) in nfs_local_enable() 134 void nfs_local_disable(struct nfs_client *clp) in nfs_local_disable() 147 static struct rpc_clnt *nfs_init_localioclient(struct nfs_client *clp) in nfs_init_localioclient() 161 static bool nfs_server_uuid_is_local(struct nfs_client *clp) in nfs_server_uuid_is_local() 194 void nfs_local_probe(struct nfs_client *clp) in nfs_local_probe() 222 nfs_local_open_fh(struct nfs_client *clp, const struct cred *cred, in nfs_local_open_fh() 413 struct nfs_client *clp = NFS_SERVER(inode)->nfs_client; in nfs_copy_boot_verifier() local 428 struct nfs_client *clp = NFS_SERVER(inode)->nfs_client; in nfs_reset_boot_verifier() local [all …]
|
D | pnfs_dev.c | 80 const struct nfs_client *clp, const struct nfs4_deviceid *id, in _lookup_deviceid() 229 const struct nfs_client *clp, const struct nfs4_deviceid *id) in nfs4_delete_deviceid() 328 _deviceid_purge_client(const struct nfs_client *clp, long hash) in _deviceid_purge_client() 355 nfs4_deviceid_purge_client(const struct nfs_client *clp) in nfs4_deviceid_purge_client() 369 nfs4_deviceid_mark_client_invalid(struct nfs_client *clp) in nfs4_deviceid_mark_client_invalid()
|
D | nfs4proc.c | 484 struct nfs_client *clp = server->nfs_client; in nfs4_do_handle_exception() local 622 struct nfs_client *clp = server->nfs_client; in nfs4_handle_exception() local 655 struct nfs_client *clp = server->nfs_client; in nfs4_async_handle_exception() local 718 static bool _nfs4_is_integrity_protected(struct nfs_client *clp) in _nfs4_is_integrity_protected() 724 static void do_renew_lease(struct nfs_client *clp, unsigned long timestamp) in do_renew_lease() 734 struct nfs_client *clp = server->nfs_client; in renew_lease() local 851 struct nfs_client *clp; in nfs41_sequence_process() local 1184 struct nfs_client *clp = server->nfs_client; in nfs4_do_call_sync() local 1637 struct nfs_client *clp = state->owner->so_server->nfs_client; in nfs_test_and_clear_all_open_stateid() local 1855 struct nfs_client *clp = server->nfs_client; in update_open_stateid() local [all …]
|
D | nfs4_fs.h | 256 struct nfs_client *clp; member 353 is_ds_only_client(struct nfs_client *clp) in is_ds_only_client() 360 is_ds_client(struct nfs_client *clp) in is_ds_client() 366 _nfs4_state_protect(struct nfs_client *clp, unsigned long sp4_mode, in _nfs4_state_protect() 402 nfs4_state_protect(struct nfs_client *clp, unsigned long sp4_mode, in nfs4_state_protect() 414 nfs4_state_protect_write(struct nfs_client *clp, struct rpc_clnt **clntp, in nfs4_state_protect_write() 423 is_ds_only_client(struct nfs_client *clp) in is_ds_only_client() 429 is_ds_client(struct nfs_client *clp) in is_ds_client() 435 nfs4_state_protect(struct nfs_client *clp, unsigned long sp4_flags, in nfs4_state_protect() 441 nfs4_state_protect_write(struct nfs_client *clp, struct rpc_clnt **clntp, in nfs4_state_protect_write()
|
D | nfs4session.c | 559 struct nfs4_session *nfs4_alloc_session(struct nfs_client *clp) in nfs4_alloc_session() 607 static int nfs41_check_session_ready(struct nfs_client *clp) in nfs41_check_session_ready() 622 int nfs4_init_session(struct nfs_client *clp) in nfs4_init_session() 631 int nfs4_init_ds_session(struct nfs_client *clp, unsigned long lease_time) in nfs4_init_ds_session()
|
D | pnfs.c | 284 struct nfs_client *clp = server->nfs_client; in pnfs_free_layout_hdr() local 843 pnfs_layout_bulk_destroy_byserver_locked(struct nfs_client *clp, in pnfs_layout_bulk_destroy_byserver_locked() 918 int pnfs_layout_destroy_byfsid(struct nfs_client *clp, struct nfs_fsid *fsid, in pnfs_layout_destroy_byfsid() 941 static void pnfs_layout_build_destroy_list_byclient(struct nfs_client *clp, in pnfs_layout_build_destroy_list_byclient() 958 static int pnfs_layout_do_destroy_byclid(struct nfs_client *clp, in pnfs_layout_do_destroy_byclid() 966 int pnfs_layout_destroy_byclid(struct nfs_client *clp, in pnfs_layout_destroy_byclid() 979 pnfs_destroy_all_layouts(struct nfs_client *clp) in pnfs_destroy_all_layouts() 987 static void pnfs_layout_build_recover_list_byclient(struct nfs_client *clp, in pnfs_layout_build_recover_list_byclient() 1033 int pnfs_layout_handle_reboot(struct nfs_client *clp) in pnfs_layout_handle_reboot() 2067 struct nfs_client *clp = server->nfs_client; in _add_to_server_list() local [all …]
|
D | sysfs.c | 197 struct nfs_netns_client *clp; in nfs_netns_sysfs_setup() local 208 struct nfs_netns_client *clp = netns->nfs_client; in nfs_netns_sysfs_destroy() local
|
D | super.c | 242 int nfs_client_for_each_server(struct nfs_client *clp, in nfs_client_for_each_server() 416 struct nfs_client *clp = nfss->nfs_client; in nfs_show_nfsv4_options() local 461 struct nfs_client *clp = nfss->nfs_client; in nfs_show_mount_options() local 587 struct nfs_client *clp = server->nfs_client; in show_lease() local
|
D | nfs3client.c | 105 struct nfs_client *clp; in nfs3_set_ds_client() local
|
D | internal.h | 473 static inline void nfs_local_disable(struct nfs_client *clp) {} in nfs_local_disable() 474 static inline void nfs_local_probe(struct nfs_client *clp) {} in nfs_local_probe() 476 nfs_local_open_fh(struct nfs_client *clp, const struct cred *cred, in nfs_local_open_fh() 481 static inline int nfs_local_doio(struct nfs_client *clp, in nfs_local_doio() 494 static inline bool nfs_server_is_local(const struct nfs_client *clp) in nfs_server_is_local()
|
/linux-6.12.1/fs/nfsd/ |
D | nfs4callback.c | 983 struct nfs4_client *clp = cb->cb_clp; in nfsd4_queue_cb() local 989 static void nfsd41_cb_inflight_begin(struct nfs4_client *clp) in nfsd41_cb_inflight_begin() 994 static void nfsd41_cb_inflight_end(struct nfs4_client *clp) in nfsd41_cb_inflight_end() 1001 static void nfsd41_cb_inflight_wait_complete(struct nfs4_client *clp) in nfsd41_cb_inflight_wait_complete() 1007 static const struct cred *get_backchannel_cred(struct nfs4_client *clp, struct rpc_clnt *client, st… in get_backchannel_cred() 1027 static int setup_callback_client(struct nfs4_client *clp, struct nfs4_cb_conn *conn, struct nfsd4_s… in setup_callback_client() 1094 static void nfsd4_mark_cb_state(struct nfs4_client *clp, int newstate) in nfsd4_mark_cb_state() 1102 static void nfsd4_mark_cb_down(struct nfs4_client *clp) in nfsd4_mark_cb_down() 1109 static void nfsd4_mark_cb_fault(struct nfs4_client *clp) in nfsd4_mark_cb_fault() 1118 struct nfs4_client *clp = container_of(calldata, struct nfs4_client, cl_cb_null); in nfsd4_cb_probe_done() local [all …]
|
D | nfs4state.c | 163 static bool is_client_expired(struct nfs4_client *clp) in is_client_expired() 169 struct nfs4_client *clp) in nfsd4_dec_courtesy_client_count() 175 static __be32 get_client_locked(struct nfs4_client *clp) in get_client_locked() 191 renew_client_locked(struct nfs4_client *clp) in renew_client_locked() 210 static void put_client_renew_locked(struct nfs4_client *clp) in put_client_renew_locked() 224 static void put_client_renew(struct nfs4_client *clp) in put_client_renew() 252 struct nfs4_client *clp = ses->se_client; in nfsd4_put_session_locked() local 264 struct nfs4_client *clp = ses->se_client; in nfsd4_put_session() local 337 struct nfs4_client *clp = lo->lo_owner.so_client; in remove_blocked_locks() local 546 struct nfs4_client *clp) in find_openstateowner_str() [all …]
|
D | nfs4recover.c | 152 legacy_recdir_name_error(struct nfs4_client *clp, int error) in legacy_recdir_name_error() 170 __nfsd4_create_reclaim_record_grace(struct nfs4_client *clp, in __nfsd4_create_reclaim_record_grace() 193 nfsd4_create_clid_dir(struct nfs4_client *clp) in nfsd4_create_clid_dir() 386 nfsd4_remove_clid_dir(struct nfs4_client *clp) in nfsd4_remove_clid_dir() 676 nfsd4_check_legacy_client(struct nfs4_client *clp) in nfsd4_check_legacy_client() 1113 nfsd4_cld_create(struct nfs4_client *clp) in nfsd4_cld_create() 1150 nfsd4_cld_create_v2(struct nfs4_client *clp) in nfsd4_cld_create_v2() 1216 nfsd4_cld_remove(struct nfs4_client *clp) in nfsd4_cld_remove() 1258 nfsd4_cld_check_v0(struct nfs4_client *clp) in nfsd4_cld_check_v0() 1298 nfsd4_cld_check(struct nfs4_client *clp) in nfsd4_cld_check() [all …]
|
D | blocklayout.c | 167 struct nfs4_client *clp, in nfsd4_block_proc_getdeviceinfo() 217 static u64 nfsd4_scsi_pr_key(struct nfs4_client *clp) in nfsd4_scsi_pr_key() 249 struct nfs4_client *clp, in nfsd4_block_get_device_info_scsi() 306 struct nfs4_client *clp, in nfsd4_scsi_proc_getdeviceinfo() 331 struct nfs4_client *clp = ls->ls_stid.sc_client; in nfsd4_scsi_fence_client() local
|
D | nfs4layouts.c | 176 struct nfs4_client *clp = ls->ls_stid.sc_client; in nfsd4_free_layout_stateid() local 230 struct nfs4_client *clp = cstate->clp; in nfsd4_alloc_layout_stateid() local 552 struct nfs4_client *clp = cstate->clp; in nfsd4_return_client_layouts() local 592 nfsd4_return_all_client_layouts(struct nfs4_client *clp) in nfsd4_return_all_client_layouts() 606 nfsd4_return_all_file_layouts(struct nfs4_client *clp, struct nfs4_file *fp) in nfsd4_return_all_file_layouts() 624 struct nfs4_client *clp = ls->ls_stid.sc_client; in nfsd4_cb_layout_fail() local
|
D | pnfs.h | 88 static inline void nfsd4_return_all_client_layouts(struct nfs4_client *clp) in nfsd4_return_all_client_layouts() 91 static inline void nfsd4_return_all_file_layouts(struct nfs4_client *clp, in nfsd4_return_all_file_layouts()
|
D | export.c | 938 exp_find_key(struct cache_detail *cd, struct auth_domain *clp, int fsid_type, in exp_find_key() 963 exp_get_by_name(struct cache_detail *cd, struct auth_domain *clp, in exp_get_by_name() 991 exp_parent(struct cache_detail *cd, struct auth_domain *clp, struct path *path) in exp_parent() 1015 exp_rootfh(struct net *net, struct auth_domain *clp, char *name, in exp_rootfh() 1060 struct auth_domain *clp, int fsid_type, in exp_find()
|
D | flexfilelayout.c | 82 struct nfs4_client *clp, struct nfsd4_getdeviceinfo *gdp) in nfsd4_ff_proc_getdeviceinfo()
|