/fs/nfs/ |
D | nfs4state.c | 74 int nfs4_init_clientid(struct nfs_client *clp, struct rpc_cred *cred) in nfs4_init_clientid() 119 int nfs40_discover_server_trunking(struct nfs_client *clp, in nfs40_discover_server_trunking() 151 struct rpc_cred *nfs4_get_machine_cred_locked(struct nfs_client *clp) in nfs4_get_machine_cred_locked() 160 static void nfs4_root_machine_cred(struct nfs_client *clp) in nfs4_root_machine_cred() 199 struct rpc_cred *nfs4_get_renew_cred_locked(struct nfs_client *clp) in nfs4_get_renew_cred_locked() 230 static void nfs4_end_drain_session(struct nfs_client *clp) in nfs4_end_drain_session() 258 static int nfs4_begin_drain_session(struct nfs_client *clp) in nfs4_begin_drain_session() 276 static int nfs41_setup_state_renewal(struct nfs_client *clp) in nfs41_setup_state_renewal() 297 static void nfs41_finish_session_reset(struct nfs_client *clp) in nfs41_finish_session_reset() 306 int nfs41_init_clientid(struct nfs_client *clp, struct rpc_cred *cred) in nfs41_init_clientid() [all …]
|
D | client.c | 153 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() 267 void nfs_put_client(struct nfs_client *clp) in nfs_put_client() 295 struct nfs_client *clp; in nfs_match_client() local 328 static bool nfs_client_init_is_complete(const struct nfs_client *clp) in nfs_client_init_is_complete() 333 int nfs_wait_client_init_complete(const struct nfs_client *clp) in nfs_wait_client_init_complete() 345 struct nfs_client *clp) in nfs_found_client() 376 struct nfs_client *clp, *new = NULL; in nfs_get_client() local [all …]
|
D | nfs4client.c | 27 static int nfs_get_cb_ident_idr(struct nfs_client *clp, int minorversion) in nfs_get_cb_ident_idr() 145 nfs4_shutdown_ds_clients(struct nfs_client *clp) in nfs4_shutdown_ds_clients() 159 void nfs41_shutdown_client(struct nfs_client *clp) in nfs41_shutdown_client() 170 void nfs40_shutdown_client(struct nfs_client *clp) in nfs40_shutdown_client() 181 struct nfs_client *clp = nfs_alloc_client(cl_init); in nfs4_alloc_client() local 215 static void nfs4_destroy_callback(struct nfs_client *clp) in nfs4_destroy_callback() 221 static void nfs4_shutdown_client(struct nfs_client *clp) in nfs4_shutdown_client() 237 void nfs4_free_client(struct nfs_client *clp) in nfs4_free_client() 246 static int nfs4_init_callback(struct nfs_client *clp) in nfs4_init_callback() 276 int nfs40_init_client(struct nfs_client *clp) in nfs40_init_client() [all …]
|
D | delegation.c | 260 struct nfs_client *clp) in nfs_abort_delegation_return() 273 struct nfs_client *clp) in nfs_detach_delegation_locked() 295 struct nfs_client *clp = server->nfs_client; in nfs_detach_delegation() local 338 struct nfs_client *clp = server->nfs_client; in nfs_inode_set_delegation() local 414 struct nfs_client *clp = NFS_SERVER(inode)->nfs_client; in nfs_end_delegation_return() local 476 int nfs_client_return_marked_delegations(struct nfs_client *clp) in nfs_client_return_marked_delegations() 579 static void nfs_client_mark_return_all_delegations(struct nfs_client *clp) in nfs_client_mark_return_all_delegations() 589 static void nfs_delegation_run_state_manager(struct nfs_client *clp) in nfs_delegation_run_state_manager() 600 void nfs_expire_all_delegations(struct nfs_client *clp) in nfs_expire_all_delegations() 613 struct nfs_client *clp = server->nfs_client; in nfs_server_return_all_delegations() local [all …]
|
D | callback_proc.c | 121 static struct pnfs_layout_hdr * get_layout_by_fh_locked(struct nfs_client *clp, in get_layout_by_fh_locked() 156 static struct pnfs_layout_hdr * get_layout_by_fh(struct nfs_client *clp, in get_layout_by_fh() 208 static u32 initiate_file_draining(struct nfs_client *clp, in initiate_file_draining() 268 static u32 initiate_bulk_draining(struct nfs_client *clp, in initiate_bulk_draining() 282 static u32 do_callback_layoutrecall(struct nfs_client *clp, in do_callback_layoutrecall() 313 static void pnfs_recall_all_layouts(struct nfs_client *clp) in pnfs_recall_all_layouts() 329 struct nfs_client *clp = cps->clp; in nfs4_callback_devicenotify() local 421 static bool referring_call_exists(struct nfs_client *clp, in referring_call_exists() 474 struct nfs_client *clp; in nfs4_callback_sequence() local
|
D | nfs4renewd.c | 58 struct nfs_client *clp = in nfs4_renew_state() local 117 nfs4_schedule_state_renewal(struct nfs_client *clp) in nfs4_schedule_state_renewal() 134 nfs4_kill_renewd(struct nfs_client *clp) in nfs4_kill_renewd() 146 void nfs4_set_lease_period(struct nfs_client *clp, in nfs4_set_lease_period()
|
D | pnfs_dev.c | 79 const struct nfs_client *clp, const struct nfs4_deviceid *id, in _lookup_deviceid() 227 const struct nfs_client *clp, const struct nfs4_deviceid *id) in nfs4_delete_deviceid() 312 _deviceid_purge_client(const struct nfs_client *clp, long hash) in _deviceid_purge_client() 339 nfs4_deviceid_purge_client(const struct nfs_client *clp) in nfs4_deviceid_purge_client() 353 nfs4_deviceid_mark_client_invalid(struct nfs_client *clp) in nfs4_deviceid_mark_client_invalid()
|
D | nfs4session.h | 72 struct nfs_client *clp; member 123 static inline int nfs4_has_session(const struct nfs_client *clp) in nfs4_has_session() 130 static inline int nfs4_has_persistent_session(const struct nfs_client *clp) in nfs4_has_persistent_session() 155 static inline int nfs4_init_session(struct nfs_client *clp) in nfs4_init_session() 163 static inline int nfs4_has_session(const struct nfs_client *clp) in nfs4_has_session() 168 static inline int nfs4_has_persistent_session(const struct nfs_client *clp) in nfs4_has_persistent_session()
|
D | nfs4_fs.h | 212 struct nfs_client *clp; member 295 is_ds_only_client(struct nfs_client *clp) in is_ds_only_client() 302 is_ds_client(struct nfs_client *clp) in is_ds_client() 308 _nfs4_state_protect(struct nfs_client *clp, unsigned long sp4_mode, in _nfs4_state_protect() 340 nfs4_state_protect(struct nfs_client *clp, unsigned long sp4_mode, in nfs4_state_protect() 352 nfs4_state_protect_write(struct nfs_client *clp, struct rpc_clnt **clntp, in nfs4_state_protect_write() 366 is_ds_only_client(struct nfs_client *clp) in is_ds_only_client() 372 is_ds_client(struct nfs_client *clp) in is_ds_client() 378 nfs4_state_protect(struct nfs_client *clp, unsigned long sp4_flags, in nfs4_state_protect() 384 nfs4_state_protect_write(struct nfs_client *clp, struct rpc_clnt **clntp, in nfs4_state_protect_write()
|
D | nfs4proc.c | 387 struct nfs_client *clp = server->nfs_client; in nfs4_do_handle_exception() local 501 struct nfs_client *clp = server->nfs_client; in nfs4_handle_exception() local 526 struct nfs_client *clp = server->nfs_client; in nfs4_async_handle_exception() local 575 static bool _nfs4_is_integrity_protected(struct nfs_client *clp) in _nfs4_is_integrity_protected() 586 static void do_renew_lease(struct nfs_client *clp, unsigned long timestamp) in do_renew_lease() 596 struct nfs_client *clp = server->nfs_client; in renew_lease() local 733 struct nfs_client *clp; in nfs41_sequence_process() local 1045 struct nfs_client *clp = server->nfs_client; in nfs4_call_sync_sequence() local 1408 struct nfs_client *clp = state->owner->so_server->nfs_client; in nfs_test_and_clear_all_open_stateid() local 1541 struct nfs_client *clp = server->nfs_client; in update_open_stateid() local [all …]
|
D | nfs4session.c | 551 struct nfs4_session *nfs4_alloc_session(struct nfs_client *clp) in nfs4_alloc_session() 600 static int nfs41_check_session_ready(struct nfs_client *clp) in nfs41_check_session_ready() 615 int nfs4_init_session(struct nfs_client *clp) in nfs4_init_session() 624 int nfs4_init_ds_session(struct nfs_client *clp, unsigned long lease_time) in nfs4_init_ds_session()
|
D | fscache.c | 37 void nfs_fscache_get_client_cookie(struct nfs_client *clp) in nfs_fscache_get_client_cookie() 50 void nfs_fscache_release_client_cookie(struct nfs_client *clp) in nfs_fscache_release_client_cookie()
|
D | nfs3client.c | 96 struct nfs_client *clp; in nfs3_set_ds_client() local
|
D | fscache.h | 183 static inline void nfs_fscache_get_client_cookie(struct nfs_client *clp) {} in nfs_fscache_get_client_cookie() 184 static inline void nfs_fscache_release_client_cookie(struct nfs_client *clp) {} in nfs_fscache_release_client_cookie()
|
D | pnfs.c | 265 struct nfs_client *clp = server->nfs_client; in pnfs_free_layout_hdr() local 707 pnfs_layout_bulk_destroy_byserver_locked(struct nfs_client *clp, in pnfs_layout_bulk_destroy_byserver_locked() 767 pnfs_destroy_layouts_byfsid(struct nfs_client *clp, in pnfs_destroy_layouts_byfsid() 794 pnfs_destroy_layouts_byclid(struct nfs_client *clp, in pnfs_destroy_layouts_byclid() 822 pnfs_destroy_all_layouts(struct nfs_client *clp) in pnfs_destroy_all_layouts() 1592 struct nfs_client *clp = server->nfs_client; in pnfs_update_layout() local
|
D | pnfs_nfs.c | 631 struct nfs_client *clp = ERR_PTR(-EIO); in _nfs4_pnfs_v3_ds_connect() local 682 struct nfs_client *clp = ERR_PTR(-EIO); in _nfs4_pnfs_v4_ds_connect() local
|
D | callback.c | 375 check_gss_callback_principal(struct nfs_client *clp, struct svc_rqst *rqstp) in check_gss_callback_principal()
|
/fs/nfsd/ |
D | nfs4state.c | 121 static bool is_client_expired(struct nfs4_client *clp) in is_client_expired() 126 static __be32 get_client_locked(struct nfs4_client *clp) in get_client_locked() 140 renew_client_locked(struct nfs4_client *clp) in renew_client_locked() 160 static void put_client_renew_locked(struct nfs4_client *clp) in put_client_renew_locked() 172 static void put_client_renew(struct nfs4_client *clp) in put_client_renew() 198 struct nfs4_client *clp = ses->se_client; in nfsd4_put_session_locked() local 210 struct nfs4_client *clp = ses->se_client; in nfsd4_put_session() local 269 struct nfs4_client *clp = lo->lo_owner.so_client; in remove_blocked_locks() local 342 struct nfs4_client *clp) in find_openstateowner_str_locked() 360 struct nfs4_client *clp) in find_openstateowner_str() [all …]
|
D | nfs4callback.c | 764 static struct rpc_cred *get_backchannel_cred(struct nfs4_client *clp, struct rpc_clnt *client, stru… in get_backchannel_cred() 778 static int setup_callback_client(struct nfs4_client *clp, struct nfs4_cb_conn *conn, struct nfsd4_s… in setup_callback_client() 836 static void warn_no_callback_path(struct nfs4_client *clp, int reason) in warn_no_callback_path() 842 static void nfsd4_mark_cb_down(struct nfs4_client *clp, int reason) in nfsd4_mark_cb_down() 850 static void nfsd4_mark_cb_fault(struct nfs4_client *clp, int reason) in nfsd4_mark_cb_fault() 860 struct nfs4_client *clp = container_of(calldata, struct nfs4_client, cl_cb_null); in nfsd4_cb_probe_done() local 880 void nfsd4_probe_callback(struct nfs4_client *clp) in nfsd4_probe_callback() 887 void nfsd4_probe_callback_sync(struct nfs4_client *clp) in nfsd4_probe_callback_sync() 893 void nfsd4_change_callback(struct nfs4_client *clp, struct nfs4_cb_conn *conn) in nfsd4_change_callback() 906 static bool nfsd41_cb_get_slot(struct nfs4_client *clp, struct rpc_task *task) in nfsd41_cb_get_slot() [all …]
|
D | blocklayout.c | 167 struct nfs4_client *clp, in nfsd4_block_proc_getdeviceinfo() 301 static u64 nfsd4_scsi_pr_key(struct nfs4_client *clp) in nfsd4_scsi_pr_key() 308 struct nfs4_client *clp, in nfsd4_block_get_device_info_scsi() 360 struct nfs4_client *clp, in nfsd4_scsi_proc_getdeviceinfo() 385 struct nfs4_client *clp = ls->ls_stid.sc_client; in nfsd4_scsi_fence_client() local
|
D | nfs4recover.c | 155 legacy_recdir_name_error(struct nfs4_client *clp, int error) in legacy_recdir_name_error() 173 nfsd4_create_clid_dir(struct nfs4_client *clp) in nfsd4_create_clid_dir() 349 nfsd4_remove_clid_dir(struct nfs4_client *clp) in nfsd4_remove_clid_dir() 612 nfsd4_check_legacy_client(struct nfs4_client *clp) in nfsd4_check_legacy_client() 927 nfsd4_cld_create(struct nfs4_client *clp) in nfsd4_cld_create() 964 nfsd4_cld_remove(struct nfs4_client *clp) in nfsd4_cld_remove() 1001 nfsd4_cld_check(struct nfs4_client *clp) in nfsd4_cld_check() 1148 nfsd4_cltrack_client_has_session(struct nfs4_client *clp) in nfsd4_cltrack_client_has_session() 1279 nfsd4_cltrack_upcall_lock(struct nfs4_client *clp) in nfsd4_cltrack_upcall_lock() 1286 nfsd4_cltrack_upcall_unlock(struct nfs4_client *clp) in nfsd4_cltrack_upcall_unlock() [all …]
|
D | nfs4layouts.c | 164 struct nfs4_client *clp = ls->ls_stid.sc_client; in nfsd4_free_layout_stateid() local 221 struct nfs4_client *clp = cstate->clp; in nfsd4_alloc_layout_stateid() local 543 struct nfs4_client *clp = cstate->clp; in nfsd4_return_client_layouts() local 583 nfsd4_return_all_client_layouts(struct nfs4_client *clp) in nfsd4_return_all_client_layouts() 597 nfsd4_return_all_file_layouts(struct nfs4_client *clp, struct nfs4_file *fp) in nfsd4_return_all_file_layouts() 615 struct nfs4_client *clp = ls->ls_stid.sc_client; in nfsd4_cb_layout_fail() local
|
D | pnfs.h | 84 static inline void nfsd4_return_all_client_layouts(struct nfs4_client *clp) in nfsd4_return_all_client_layouts() 87 static inline void nfsd4_return_all_file_layouts(struct nfs4_client *clp, in nfsd4_return_all_file_layouts()
|
D | export.c | 803 exp_find_key(struct cache_detail *cd, struct auth_domain *clp, int fsid_type, in exp_find_key() 826 exp_get_by_name(struct cache_detail *cd, struct auth_domain *clp, in exp_get_by_name() 852 exp_parent(struct cache_detail *cd, struct auth_domain *clp, struct path *path) in exp_parent() 876 exp_rootfh(struct net *net, struct auth_domain *clp, char *name, in exp_rootfh() 921 struct auth_domain *clp, int fsid_type, in exp_find()
|
D | flexfilelayout.c | 80 struct nfs4_client *clp, struct nfsd4_getdeviceinfo *gdp) in nfsd4_ff_proc_getdeviceinfo()
|