Home
last modified time | relevance | path

Searched defs:clp (Results 1 – 25 of 85) sorted by relevance

1234

/kernel/linux/linux-4.19/fs/nfs/
Dnfs4state.c90 int nfs4_init_clientid(struct nfs_client *clp, struct rpc_cred *cred) in nfs4_init_clientid()
135 int nfs40_discover_server_trunking(struct nfs_client *clp, in nfs40_discover_server_trunking()
171 struct rpc_cred *nfs4_get_machine_cred_locked(struct nfs_client *clp) in nfs4_get_machine_cred_locked()
180 static void nfs4_root_machine_cred(struct nfs_client *clp) in nfs4_root_machine_cred()
219 struct rpc_cred *nfs4_get_renew_cred_locked(struct nfs_client *clp) in nfs4_get_renew_cred_locked()
250 static void nfs4_end_drain_session(struct nfs_client *clp) in nfs4_end_drain_session()
278 static int nfs4_begin_drain_session(struct nfs_client *clp) in nfs4_begin_drain_session()
296 static int nfs41_setup_state_renewal(struct nfs_client *clp) in nfs41_setup_state_renewal()
317 static void nfs41_finish_session_reset(struct nfs_client *clp) in nfs41_finish_session_reset()
326 int nfs41_init_clientid(struct nfs_client *clp, struct rpc_cred *cred) in nfs41_init_clientid()
[all …]
Dclient.c153 struct nfs_client *clp; in nfs_alloc_client() local
211 static void nfs_cb_idr_remove_locked(struct nfs_client *clp) in nfs_cb_idr_remove_locked()
229 static void nfs_cb_idr_remove_locked(struct nfs_client *clp) in nfs_cb_idr_remove_locked()
242 void nfs_free_client(struct nfs_client *clp) in nfs_free_client()
264 void nfs_put_client(struct nfs_client *clp) in nfs_put_client()
291 struct nfs_client *clp; in nfs_match_client() local
343 bool nfs_client_init_is_complete(const struct nfs_client *clp) in nfs_client_init_is_complete()
355 int nfs_client_init_status(const struct nfs_client *clp) in nfs_client_init_status()
366 int nfs_wait_client_init_complete(const struct nfs_client *clp) in nfs_wait_client_init_complete()
378 struct nfs_client *clp) in nfs_found_client()
[all …]
Dnfs4client.c27 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()
160 nfs4_cleanup_callback(struct nfs_client *clp) in nfs4_cleanup_callback()
172 void nfs41_shutdown_client(struct nfs_client *clp) in nfs41_shutdown_client()
184 void nfs40_shutdown_client(struct nfs_client *clp) in nfs40_shutdown_client()
196 struct nfs_client *clp = nfs_alloc_client(cl_init); in nfs4_alloc_client() local
270 static void nfs4_destroy_callback(struct nfs_client *clp) in nfs4_destroy_callback()
276 static void nfs4_shutdown_client(struct nfs_client *clp) in nfs4_shutdown_client()
292 void nfs4_free_client(struct nfs_client *clp) in nfs4_free_client()
301 static int nfs4_init_callback(struct nfs_client *clp) in nfs4_init_callback()
[all …]
Ddelegation.c278 struct nfs_client *clp) in nfs_abort_delegation_return()
291 struct nfs_client *clp) in nfs_detach_delegation_locked()
313 struct nfs_client *clp = server->nfs_client; in nfs_detach_delegation() local
361 struct nfs_client *clp = server->nfs_client; in nfs_inode_set_delegation() local
437 struct nfs_client *clp = NFS_SERVER(inode)->nfs_client; in nfs_end_delegation_return() local
499 int nfs_client_return_marked_delegations(struct nfs_client *clp) in nfs_client_return_marked_delegations()
668 static void nfs_client_mark_return_all_delegations(struct nfs_client *clp) in nfs_client_mark_return_all_delegations()
678 static void nfs_delegation_run_state_manager(struct nfs_client *clp) in nfs_delegation_run_state_manager()
689 void nfs_expire_all_delegations(struct nfs_client *clp) in nfs_expire_all_delegations()
702 struct nfs_client *clp = server->nfs_client; in nfs_server_return_all_delegations() local
[all …]
Dnfs4renewd.c58 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()
Dcallback_proc.c124 static struct inode *nfs_layout_find_inode_by_stateid(struct nfs_client *clp, in nfs_layout_find_inode_by_stateid()
162 static struct inode *nfs_layout_find_inode_by_fh(struct nfs_client *clp, in nfs_layout_find_inode_by_fh()
195 static struct inode *nfs_layout_find_inode(struct nfs_client *clp, in nfs_layout_find_inode()
250 static u32 initiate_file_draining(struct nfs_client *clp, in initiate_file_draining()
319 static u32 initiate_bulk_draining(struct nfs_client *clp, in initiate_bulk_draining()
333 static u32 do_callback_layoutrecall(struct nfs_client *clp, in do_callback_layoutrecall()
352 static void pnfs_recall_all_layouts(struct nfs_client *clp) in pnfs_recall_all_layouts()
369 struct nfs_client *clp = cps->clp; in nfs4_callback_devicenotify() local
447 static int referring_call_exists(struct nfs_client *clp, in referring_call_exists()
497 struct nfs_client *clp; in nfs4_callback_sequence() local
Dnfs4session.h73 struct nfs_client *clp; member
107 static inline struct nfs4_session *nfs4_get_session(const struct nfs_client *clp) in nfs4_get_session()
129 static inline int nfs4_has_session(const struct nfs_client *clp) in nfs4_has_session()
136 static inline int nfs4_has_persistent_session(const struct nfs_client *clp) in nfs4_has_persistent_session()
161 static inline int nfs4_init_session(struct nfs_client *clp) in nfs4_init_session()
169 static inline int nfs4_has_session(const struct nfs_client *clp) in nfs4_has_session()
174 static inline int nfs4_has_persistent_session(const struct nfs_client *clp) in nfs4_has_persistent_session()
Dpnfs_dev.c78 const struct nfs_client *clp, const struct nfs4_deviceid *id, in _lookup_deviceid()
226 const struct nfs_client *clp, const struct nfs4_deviceid *id) in nfs4_delete_deviceid()
311 _deviceid_purge_client(const struct nfs_client *clp, long hash) in _deviceid_purge_client()
338 nfs4_deviceid_purge_client(const struct nfs_client *clp) in nfs4_deviceid_purge_client()
352 nfs4_deviceid_mark_client_invalid(struct nfs_client *clp) in nfs4_deviceid_mark_client_invalid()
/kernel/linux/linux-5.10/fs/nfs/
Dnfs4state.c91 static int nfs4_setup_state_renewal(struct nfs_client *clp) in nfs4_setup_state_renewal()
110 int nfs4_init_clientid(struct nfs_client *clp, const struct cred *cred) in nfs4_init_clientid()
155 int nfs40_discover_server_trunking(struct nfs_client *clp, in nfs40_discover_server_trunking()
191 const struct cred *nfs4_get_machine_cred(struct nfs_client *clp) in nfs4_get_machine_cred()
196 static void nfs4_root_machine_cred(struct nfs_client *clp) in nfs4_root_machine_cred()
230 const struct cred *nfs4_get_renew_cred(struct nfs_client *clp) in nfs4_get_renew_cred()
263 static void nfs4_end_drain_session(struct nfs_client *clp) in nfs4_end_drain_session()
291 static int nfs4_begin_drain_session(struct nfs_client *clp) in nfs4_begin_drain_session()
309 static void nfs41_finish_session_reset(struct nfs_client *clp) in nfs41_finish_session_reset()
318 int nfs41_init_clientid(struct nfs_client *clp, const struct cred *cred) in nfs41_init_clientid()
[all …]
Dclient.c151 struct nfs_client *clp; in nfs_alloc_client() local
207 static void nfs_cb_idr_remove_locked(struct nfs_client *clp) in nfs_cb_idr_remove_locked()
225 static void nfs_cb_idr_remove_locked(struct nfs_client *clp) in nfs_cb_idr_remove_locked()
238 void nfs_free_client(struct nfs_client *clp) in nfs_free_client()
257 void nfs_put_client(struct nfs_client *clp) in nfs_put_client()
284 struct nfs_client *clp; in nfs_match_client() local
342 bool nfs_client_init_is_complete(const struct nfs_client *clp) in nfs_client_init_is_complete()
354 int nfs_client_init_status(const struct nfs_client *clp) in nfs_client_init_status()
365 int nfs_wait_client_init_complete(const struct nfs_client *clp) in nfs_wait_client_init_complete()
377 struct nfs_client *clp) in nfs_found_client()
[all …]
Dnfs4client.c28 static int nfs_get_cb_ident_idr(struct nfs_client *clp, int minorversion) in nfs_get_cb_ident_idr()
152 nfs4_shutdown_ds_clients(struct nfs_client *clp) in nfs4_shutdown_ds_clients()
166 nfs4_cleanup_callback(struct nfs_client *clp) in nfs4_cleanup_callback()
178 void nfs41_shutdown_client(struct nfs_client *clp) in nfs41_shutdown_client()
190 void nfs40_shutdown_client(struct nfs_client *clp) in nfs40_shutdown_client()
202 struct nfs_client *clp = nfs_alloc_client(cl_init); in nfs4_alloc_client() local
276 static void nfs4_destroy_callback(struct nfs_client *clp) in nfs4_destroy_callback()
282 static void nfs4_shutdown_client(struct nfs_client *clp) in nfs4_shutdown_client()
298 void nfs4_free_client(struct nfs_client *clp) in nfs4_free_client()
307 static int nfs4_init_callback(struct nfs_client *clp) in nfs4_init_callback()
[all …]
Ddelegation.c326 struct nfs_client *clp, int err) in nfs_abort_delegation_return()
341 struct nfs_client *clp) in nfs_detach_delegation_locked()
366 struct nfs_client *clp = server->nfs_client; in nfs_detach_delegation() local
436 struct nfs_client *clp = server->nfs_client; in nfs_inode_set_delegation() local
521 struct nfs_client *clp = NFS_SERVER(inode)->nfs_client; in nfs_end_delegation_return() local
664 static bool nfs_client_clear_delayed_delegations(struct nfs_client *clp) in nfs_client_clear_delayed_delegations()
691 int nfs_client_return_marked_delegations(struct nfs_client *clp) in nfs_client_return_marked_delegations()
827 static void nfs_client_mark_return_all_delegations(struct nfs_client *clp) in nfs_client_mark_return_all_delegations()
837 static void nfs_delegation_run_state_manager(struct nfs_client *clp) in nfs_delegation_run_state_manager()
848 void nfs_expire_all_delegations(struct nfs_client *clp) in nfs_expire_all_delegations()
[all …]
Dnfs4renewd.c58 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()
Dcallback_proc.c122 static struct inode *nfs_layout_find_inode_by_stateid(struct nfs_client *clp, in nfs_layout_find_inode_by_stateid()
158 static struct inode *nfs_layout_find_inode_by_fh(struct nfs_client *clp, in nfs_layout_find_inode_by_fh()
189 static struct inode *nfs_layout_find_inode(struct nfs_client *clp, in nfs_layout_find_inode()
239 static u32 initiate_file_draining(struct nfs_client *clp, in initiate_file_draining()
308 static u32 initiate_bulk_draining(struct nfs_client *clp, in initiate_bulk_draining()
322 static u32 do_callback_layoutrecall(struct nfs_client *clp, in do_callback_layoutrecall()
341 static void pnfs_recall_all_layouts(struct nfs_client *clp) in pnfs_recall_all_layouts()
358 struct nfs_client *clp = cps->clp; in nfs4_callback_devicenotify() local
448 static int referring_call_exists(struct nfs_client *clp, in referring_call_exists()
498 struct nfs_client *clp; in nfs4_callback_sequence() local
Dnfs4session.h74 struct nfs_client *clp; member
108 static inline struct nfs4_session *nfs4_get_session(const struct nfs_client *clp) in nfs4_get_session()
130 static inline int nfs4_has_session(const struct nfs_client *clp) in nfs4_has_session()
137 static inline int nfs4_has_persistent_session(const struct nfs_client *clp) in nfs4_has_persistent_session()
162 static inline int nfs4_init_session(struct nfs_client *clp) in nfs4_init_session()
170 static inline int nfs4_has_session(const struct nfs_client *clp) in nfs4_has_session()
175 static inline int nfs4_has_persistent_session(const struct nfs_client *clp) in nfs4_has_persistent_session()
Dpnfs_dev.c78 const struct nfs_client *clp, const struct nfs4_deviceid *id, in _lookup_deviceid()
226 const struct nfs_client *clp, const struct nfs4_deviceid *id) in nfs4_delete_deviceid()
324 _deviceid_purge_client(const struct nfs_client *clp, long hash) in _deviceid_purge_client()
351 nfs4_deviceid_purge_client(const struct nfs_client *clp) in nfs4_deviceid_purge_client()
365 nfs4_deviceid_mark_client_invalid(struct nfs_client *clp) in nfs4_deviceid_mark_client_invalid()
/kernel/linux/linux-5.10/fs/nfsd/
Dnfs4callback.c846 static void nfsd41_cb_inflight_begin(struct nfs4_client *clp) in nfsd41_cb_inflight_begin()
851 static void nfsd41_cb_inflight_end(struct nfs4_client *clp) in nfsd41_cb_inflight_end()
858 static void nfsd41_cb_inflight_wait_complete(struct nfs4_client *clp) in nfsd41_cb_inflight_wait_complete()
864 static const struct cred *get_backchannel_cred(struct nfs4_client *clp, struct rpc_clnt *client, st… in get_backchannel_cred()
884 static int setup_callback_client(struct nfs4_client *clp, struct nfs4_cb_conn *conn, struct nfsd4_s… in setup_callback_client()
948 static void nfsd4_mark_cb_down(struct nfs4_client *clp, int reason) in nfsd4_mark_cb_down()
956 static void nfsd4_mark_cb_fault(struct nfs4_client *clp, int reason) in nfsd4_mark_cb_fault()
966 struct nfs4_client *clp = container_of(calldata, struct nfs4_client, cl_cb_null); in nfsd4_cb_probe_done() local
979 struct nfs4_client *clp = container_of(calldata, struct nfs4_client, cl_cb_null); in nfsd4_cb_probe_release() local
996 void nfsd4_probe_callback(struct nfs4_client *clp) in nfsd4_probe_callback()
[all …]
Dnfs4state.c139 static bool is_client_expired(struct nfs4_client *clp) in is_client_expired()
144 static __be32 get_client_locked(struct nfs4_client *clp) in get_client_locked()
158 renew_client_locked(struct nfs4_client *clp) in renew_client_locked()
175 static void put_client_renew_locked(struct nfs4_client *clp) in put_client_renew_locked()
189 static void put_client_renew(struct nfs4_client *clp) in put_client_renew()
217 struct nfs4_client *clp = ses->se_client; in nfsd4_put_session_locked() local
229 struct nfs4_client *clp = ses->se_client; in nfsd4_put_session() local
291 struct nfs4_client *clp = lo->lo_owner.so_client; in remove_blocked_locks() local
372 struct nfs4_client *clp) in find_openstateowner_str_locked()
390 struct nfs4_client *clp) in find_openstateowner_str()
[all …]
Dblocklayout.c170 struct nfs4_client *clp, in nfsd4_block_proc_getdeviceinfo()
323 static u64 nfsd4_scsi_pr_key(struct nfs4_client *clp) in nfsd4_scsi_pr_key()
330 struct nfs4_client *clp, in nfsd4_block_get_device_info_scsi()
382 struct nfs4_client *clp, in nfsd4_scsi_proc_getdeviceinfo()
407 struct nfs4_client *clp = ls->ls_stid.sc_client; in nfsd4_scsi_fence_client() local
Dnfs4recover.c151 legacy_recdir_name_error(struct nfs4_client *clp, int error) in legacy_recdir_name_error()
169 __nfsd4_create_reclaim_record_grace(struct nfs4_client *clp, in __nfsd4_create_reclaim_record_grace()
192 nfsd4_create_clid_dir(struct nfs4_client *clp) in nfsd4_create_clid_dir()
385 nfsd4_remove_clid_dir(struct nfs4_client *clp) in nfsd4_remove_clid_dir()
675 nfsd4_check_legacy_client(struct nfs4_client *clp) in nfsd4_check_legacy_client()
1094 nfsd4_cld_create(struct nfs4_client *clp) in nfsd4_cld_create()
1131 nfsd4_cld_create_v2(struct nfs4_client *clp) in nfsd4_cld_create_v2()
1197 nfsd4_cld_remove(struct nfs4_client *clp) in nfsd4_cld_remove()
1239 nfsd4_cld_check_v0(struct nfs4_client *clp) in nfsd4_cld_check_v0()
1279 nfsd4_cld_check(struct nfs4_client *clp) in nfsd4_cld_check()
[all …]
Dnfs4layouts.c158 struct nfs4_client *clp = ls->ls_stid.sc_client; in nfsd4_free_layout_stateid() local
215 struct nfs4_client *clp = cstate->clp; in nfsd4_alloc_layout_stateid() local
537 struct nfs4_client *clp = cstate->clp; in nfsd4_return_client_layouts() local
577 nfsd4_return_all_client_layouts(struct nfs4_client *clp) in nfsd4_return_all_client_layouts()
591 nfsd4_return_all_file_layouts(struct nfs4_client *clp, struct nfs4_file *fp) in nfsd4_return_all_file_layouts()
609 struct nfs4_client *clp = ls->ls_stid.sc_client; in nfsd4_cb_layout_fail() local
/kernel/linux/linux-4.19/fs/nfsd/
Dnfs4state.c127 static bool is_client_expired(struct nfs4_client *clp) in is_client_expired()
132 static __be32 get_client_locked(struct nfs4_client *clp) in get_client_locked()
146 renew_client_locked(struct nfs4_client *clp) in renew_client_locked()
166 static void put_client_renew_locked(struct nfs4_client *clp) in put_client_renew_locked()
178 static void put_client_renew(struct nfs4_client *clp) in put_client_renew()
204 struct nfs4_client *clp = ses->se_client; in nfsd4_put_session_locked() local
216 struct nfs4_client *clp = ses->se_client; in nfsd4_put_session() local
277 struct nfs4_client *clp = lo->lo_owner.so_client; in remove_blocked_locks() local
350 struct nfs4_client *clp) in find_openstateowner_str_locked()
368 struct nfs4_client *clp) in find_openstateowner_str()
[all …]
Dnfs4callback.c749 static struct rpc_cred *get_backchannel_cred(struct nfs4_client *clp, struct rpc_clnt *client, stru… in get_backchannel_cred()
770 static int setup_callback_client(struct nfs4_client *clp, struct nfs4_cb_conn *conn, struct nfsd4_s… in setup_callback_client()
828 static void warn_no_callback_path(struct nfs4_client *clp, int reason) in warn_no_callback_path()
834 static void nfsd4_mark_cb_down(struct nfs4_client *clp, int reason) in nfsd4_mark_cb_down()
842 static void nfsd4_mark_cb_fault(struct nfs4_client *clp, int reason) in nfsd4_mark_cb_fault()
852 struct nfs4_client *clp = container_of(calldata, struct nfs4_client, cl_cb_null); in nfsd4_cb_probe_done() local
872 void nfsd4_probe_callback(struct nfs4_client *clp) in nfsd4_probe_callback()
879 void nfsd4_probe_callback_sync(struct nfs4_client *clp) in nfsd4_probe_callback_sync()
885 void nfsd4_change_callback(struct nfs4_client *clp, struct nfs4_cb_conn *conn) in nfsd4_change_callback()
898 static bool nfsd41_cb_get_slot(struct nfs4_client *clp, struct rpc_task *task) in nfsd41_cb_get_slot()
[all …]
Dblocklayout.c171 struct nfs4_client *clp, in nfsd4_block_proc_getdeviceinfo()
324 static u64 nfsd4_scsi_pr_key(struct nfs4_client *clp) in nfsd4_scsi_pr_key()
331 struct nfs4_client *clp, in nfsd4_block_get_device_info_scsi()
383 struct nfs4_client *clp, in nfsd4_scsi_proc_getdeviceinfo()
408 struct nfs4_client *clp = ls->ls_stid.sc_client; in nfsd4_scsi_fence_client() local
Dnfs4recover.c155 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()
613 nfsd4_check_legacy_client(struct nfs4_client *clp) in nfsd4_check_legacy_client()
923 nfsd4_cld_create(struct nfs4_client *clp) in nfsd4_cld_create()
960 nfsd4_cld_remove(struct nfs4_client *clp) in nfsd4_cld_remove()
997 nfsd4_cld_check(struct nfs4_client *clp) in nfsd4_cld_check()
1144 nfsd4_cltrack_client_has_session(struct nfs4_client *clp) in nfsd4_cltrack_client_has_session()
1275 nfsd4_cltrack_upcall_lock(struct nfs4_client *clp) in nfsd4_cltrack_upcall_lock()
1282 nfsd4_cltrack_upcall_unlock(struct nfs4_client *clp) in nfsd4_cltrack_upcall_unlock()
[all …]

1234