Searched refs:clp (Results 1 - 25 of 54) sorted by relevance

123

/linux-master/fs/nfs/
H A Dnfs4renewd.c58 struct nfs_client *clp = local
65 ops = clp->cl_mvops->state_renewal_ops;
68 if (test_bit(NFS_CS_STOP_RENEW, &clp->cl_res_state))
71 lease = clp->cl_lease_time;
72 last = clp->cl_last_renewal;
77 if (nfs_delegations_present(clp))
81 cred = ops->get_state_renewal_cred(clp);
84 set_bit(NFS4CLNT_LEASE_EXPIRED, &clp->cl_state);
87 nfs_expire_all_delegations(clp);
92 ret = ops->sched_state_renewal(clp, cre
114 nfs4_schedule_state_renewal(struct nfs_client *clp) argument
131 nfs4_kill_renewd(struct nfs_client *clp) argument
142 nfs4_set_lease_period(struct nfs_client *clp, unsigned long lease) argument
[all...]
H A Dnfs4state.c70 static void nfs4_state_start_reclaim_reboot(struct nfs_client *clp);
94 static int nfs4_setup_state_renewal(struct nfs_client *clp) argument
99 if (!test_bit(NFS_CS_CHECK_LEASE_TIME, &clp->cl_res_state)) {
100 nfs4_schedule_state_renewal(clp);
104 status = nfs4_proc_get_lease_time(clp, &fsinfo);
106 nfs4_set_lease_period(clp, fsinfo.lease_time * HZ);
107 nfs4_schedule_state_renewal(clp);
113 int nfs4_init_clientid(struct nfs_client *clp, const struct cred *cred) argument
116 .clientid = clp->cl_clientid,
117 .confirm = clp
158 nfs40_discover_server_trunking(struct nfs_client *clp, struct nfs_client **result, const struct cred *cred) argument
194 nfs4_get_machine_cred(struct nfs_client *clp) argument
199 nfs4_root_machine_cred(struct nfs_client *clp) argument
233 nfs4_get_renew_cred(struct nfs_client *clp) argument
266 nfs4_end_drain_session(struct nfs_client *clp) argument
294 nfs4_begin_drain_session(struct nfs_client *clp) argument
312 nfs41_finish_session_reset(struct nfs_client *clp) argument
321 nfs41_init_clientid(struct nfs_client *clp, const struct cred *cred) argument
356 nfs41_discover_server_trunking(struct nfs_client *clp, struct nfs_client **result, const struct cred *cred) argument
398 nfs4_get_clid_cred(struct nfs_client *clp) argument
545 struct nfs_client *clp = server->nfs_client; local
580 struct nfs_client *clp = server->nfs_client; local
616 struct nfs_client *clp = server->nfs_client; local
639 struct nfs_client *clp = server->nfs_client; local
951 struct nfs_client *clp = server->nfs_client; local
1198 nfs4_clear_state_manager_bit(struct nfs_client *clp) argument
1207 nfs4_schedule_state_manager(struct nfs_client *clp) argument
1258 nfs4_schedule_lease_recovery(struct nfs_client *clp) argument
1280 struct nfs_client *clp = server->nfs_client; local
1312 nfs4_schedule_lease_moved_recovery(struct nfs_client *clp) argument
1322 nfs4_wait_clnt_recover(struct nfs_client *clp) argument
1341 nfs4_client_recover_expired_lease(struct nfs_client *clp) argument
1367 nfs40_handle_cb_pathdown(struct nfs_client *clp) argument
1375 nfs4_schedule_path_down_recovery(struct nfs_client *clp) argument
1381 nfs4_state_mark_reclaim_reboot(struct nfs_client *clp, struct nfs4_state *state) argument
1397 nfs4_state_mark_reclaim_nograce(struct nfs_client *clp, struct nfs4_state *state) argument
1410 struct nfs_client *clp = server->nfs_client; local
1455 struct nfs_client *clp = NFS_SERVER(inode)->nfs_client; local
1765 nfs4_reset_seqids(struct nfs_server *server, int (*mark_reclaim)(struct nfs_client *clp, struct nfs4_state *state)) argument
1768 struct nfs_client *clp = server->nfs_client; local
1789 nfs4_state_mark_reclaim_helper(struct nfs_client *clp, int (*mark_reclaim)(struct nfs_client *clp, struct nfs4_state *state)) argument
1800 nfs4_state_start_reclaim_reboot(struct nfs_client *clp) argument
1808 nfs4_reclaim_complete(struct nfs_client *clp, const struct nfs4_state_recovery_ops *ops, const struct cred *cred) argument
1820 struct nfs_client *clp = server->nfs_client; local
1842 nfs4_state_clear_reclaim_reboot(struct nfs_client *clp) argument
1858 nfs4_state_end_reclaim_reboot(struct nfs_client *clp) argument
1874 nfs4_state_start_reclaim_nograce(struct nfs_client *clp) argument
1880 nfs4_recovery_handle_error(struct nfs_client *clp, int error) argument
1921 nfs4_do_reclaim(struct nfs_client *clp, const struct nfs4_state_recovery_ops *ops) argument
1975 nfs4_check_lease(struct nfs_client *clp) argument
2005 nfs4_handle_reclaim_lease_error(struct nfs_client *clp, int status) argument
2054 nfs4_establish_lease(struct nfs_client *clp) argument
2079 nfs4_reclaim_lease(struct nfs_client *clp) argument
2095 nfs4_purge_lease(struct nfs_client *clp) argument
2117 struct nfs_client *clp = server->nfs_client; local
2191 nfs4_handle_migration(struct nfs_client *clp) argument
2237 nfs4_handle_lease_moved(struct nfs_client *clp) argument
2292 nfs4_discover_server_trunking(struct nfs_client *clp, struct nfs_client **result) argument
2385 struct nfs_client *clp = session->clp; local
2398 nfs41_notify_server(struct nfs_client *clp) argument
2405 nfs4_reset_all_state(struct nfs_client *clp) argument
2417 nfs41_handle_server_reboot(struct nfs_client *clp) argument
2427 nfs41_handle_all_state_revoked(struct nfs_client *clp) argument
2433 nfs41_handle_some_state_revoked(struct nfs_client *clp) argument
2441 nfs41_handle_recallable_state_revoked(struct nfs_client *clp) argument
2450 nfs41_handle_backchannel_fault(struct nfs_client *clp) argument
2459 nfs41_handle_cb_path_down(struct nfs_client *clp) argument
2466 nfs41_handle_sequence_flag_errors(struct nfs_client *clp, u32 flags, bool recovery) argument
2502 nfs4_reset_session(struct nfs_client *clp) argument
2546 nfs4_bind_conn_to_session(struct nfs_client *clp) argument
2575 nfs4_layoutreturn_any_run(struct nfs_client *clp) argument
2590 nfs4_reset_session(struct nfs_client *clp) argument
2592 nfs4_bind_conn_to_session(struct nfs_client *clp) argument
2597 nfs4_layoutreturn_any_run(struct nfs_client *clp) argument
2602 nfs4_state_manager(struct nfs_client *clp) argument
2754 struct nfs_client *clp = ptr; local
[all...]
H A Dclient.c146 struct nfs_client *clp; local
149 if ((clp = kzalloc(sizeof(*clp), GFP_KERNEL)) == NULL)
152 clp->cl_minorversion = cl_init->minorversion;
153 clp->cl_nfs_mod = cl_init->nfs_mod;
154 if (!try_module_get(clp->cl_nfs_mod->owner))
157 clp->rpc_ops = clp->cl_nfs_mod->rpc_ops;
159 refcount_set(&clp->cl_count, 1);
160 clp
203 nfs_cb_idr_remove_locked(struct nfs_client *clp) argument
221 nfs_cb_idr_remove_locked(struct nfs_client *clp) argument
234 nfs_free_client(struct nfs_client *clp) argument
251 nfs_put_client(struct nfs_client *clp) argument
278 struct nfs_client *clp; local
340 nfs_client_init_is_complete(const struct nfs_client *clp) argument
352 nfs_client_init_status(const struct nfs_client *clp) argument
363 nfs_wait_client_init_complete(const struct nfs_client *clp) argument
374 nfs_found_client(const struct nfs_client_initdata *cl_init, struct nfs_client *clp) argument
401 struct nfs_client *clp, *new = NULL; local
442 nfs_mark_client_ready(struct nfs_client *clp, int state) argument
496 nfs_create_rpc_client(struct nfs_client *clp, const struct nfs_client_initdata *cl_init, rpc_authflavor_t flavor) argument
566 struct nfs_client *clp = server->nfs_client; local
612 struct nfs_client *clp = server->nfs_client; local
644 nfs_init_client(struct nfs_client *clp, const struct nfs_client_initdata *cl_init) argument
688 struct nfs_client *clp; local
769 struct nfs_client *clp = server->nfs_client; local
842 struct nfs_client *clp = server->nfs_client; local
927 struct nfs_client *clp = server->nfs_client; local
941 struct nfs_client *clp = server->nfs_client; local
1262 struct nfs_client *clp; local
1330 struct nfs_client *clp; local
[all...]
H A Dnfs4client.c29 static int nfs_get_cb_ident_idr(struct nfs_client *clp, int minorversion) argument
32 struct nfs_net *nn = net_generic(clp->cl_net, nfs_net_id);
34 if (clp->rpc_ops->version != 4 || minorversion != 0)
38 ret = idr_alloc(&nn->cb_ident_idr, clp, 1, 0, GFP_NOWAIT);
40 clp->cl_cb_ident = ret;
153 nfs4_shutdown_ds_clients(struct nfs_client *clp) argument
157 while (!list_empty(&clp->cl_ds_clients)) {
158 dss = list_entry(clp->cl_ds_clients.next,
167 nfs4_cleanup_callback(struct nfs_client *clp) argument
171 while (!list_empty(&clp
179 nfs41_shutdown_client(struct nfs_client *clp) argument
191 nfs40_shutdown_client(struct nfs_client *clp) argument
203 struct nfs_client *clp = nfs_alloc_client(cl_init); local
279 nfs4_destroy_callback(struct nfs_client *clp) argument
285 nfs4_shutdown_client(struct nfs_client *clp) argument
301 nfs4_free_client(struct nfs_client *clp) argument
310 nfs4_init_callback(struct nfs_client *clp) argument
340 nfs40_init_client(struct nfs_client *clp) argument
369 nfs41_init_client(struct nfs_client *clp) argument
399 nfs4_init_client_minor_version(struct nfs_client *clp) argument
409 nfs4_add_trunk(struct nfs_client *clp, struct nfs_client *old) argument
446 nfs4_init_client(struct nfs_client *clp, const struct nfs_client_initdata *cl_init) argument
707 nfs4_detect_session_trunking(struct nfs_client *clp, struct nfs41_exchange_id_res *res, struct rpc_xprt *xprt) argument
814 struct nfs_client *clp; local
827 nfs4_cb_match_client(const struct sockaddr *addr, struct nfs_client *clp, u32 minorversion) argument
859 struct nfs_client *clp; local
920 struct nfs_client *clp; local
1338 struct nfs_client *clp = server->nfs_client; local
[all...]
H A Ddelegation.h52 struct inode *nfs_delegation_find_inode(struct nfs_client *clp, const struct nfs_fh *fhandle);
54 void nfs_expire_all_delegations(struct nfs_client *clp);
55 void nfs_expire_unused_delegation_types(struct nfs_client *clp, fmode_t flags);
56 void nfs_expire_unreferenced_delegations(struct nfs_client *clp);
57 int nfs_client_return_marked_delegations(struct nfs_client *clp);
58 int nfs_delegations_present(struct nfs_client *clp);
62 void nfs_delegation_mark_reclaim(struct nfs_client *clp);
63 void nfs_delegation_reap_unclaimed(struct nfs_client *clp);
65 void nfs_mark_test_expired_all_delegations(struct nfs_client *clp);
66 void nfs_test_expired_all_delegations(struct nfs_client *clp);
[all...]
H A Dcallback_proc.c37 if (!cps->clp) /* Always set for v4.0. Set in cb_sequence for v4.1 */
44 rpc_peeraddr2str(cps->clp->cl_rpcclient, RPC_DISPLAY_ADDR));
46 inode = nfs_delegation_find_inode(cps->clp, &args->fh);
50 trace_nfs4_cb_getattr(cps->clp, &args->fh, NULL,
71 trace_nfs4_cb_getattr(cps->clp, &args->fh, inode, -ntohl(res->status));
86 if (!cps->clp) /* Always set for v4.0. Set in cb_sequence for v4.1 */
90 rpc_peeraddr2str(cps->clp->cl_rpcclient, RPC_DISPLAY_ADDR));
93 inode = nfs_delegation_find_inode(cps->clp, &args->fh);
97 trace_nfs4_cb_recall(cps->clp, &args->fh, NULL,
112 trace_nfs4_cb_recall(cps->clp,
163 nfs_layout_find_inode_by_fh(struct nfs_client *clp, const struct nfs_fh *fh) argument
194 nfs_layout_find_inode(struct nfs_client *clp, const struct nfs_fh *fh, const nfs4_stateid *stateid) argument
245 initiate_file_draining(struct nfs_client *clp, struct cb_layoutrecallargs *args, struct cb_process_state *cps) argument
316 initiate_bulk_draining(struct nfs_client *clp, struct cb_layoutrecallargs *args) argument
330 do_callback_layoutrecall(struct nfs_client *clp, struct cb_layoutrecallargs *args, struct cb_process_state *cps) argument
350 pnfs_recall_all_layouts(struct nfs_client *clp, struct cb_process_state *cps) argument
501 struct nfs_client *clp; local
[all...]
H A Dnfs4session.h75 struct nfs_client *clp; member in struct:nfs4_session
109 static inline struct nfs4_session *nfs4_get_session(const struct nfs_client *clp) argument
111 return clp->cl_session;
123 extern struct nfs4_session *nfs4_alloc_session(struct nfs_client *clp);
125 extern int nfs4_init_session(struct nfs_client *clp);
131 static inline int nfs4_has_session(const struct nfs_client *clp) argument
133 if (clp->cl_session)
138 static inline int nfs4_has_persistent_session(const struct nfs_client *clp) argument
140 if (nfs4_has_session(clp))
141 return (clp
163 nfs4_init_session(struct nfs_client *clp) argument
171 nfs4_has_session(const struct nfs_client *clp) argument
176 nfs4_has_persistent_session(const struct nfs_client *clp) argument
[all...]
H A Dnfs4_fs.h255 struct nfs_client *clp; member in struct:nfs4_add_xprt_data
301 extern int nfs4_proc_exchange_id(struct nfs_client *clp, const struct cred *cred);
302 extern int nfs4_destroy_clientid(struct nfs_client *clp);
333 extern int nfs4_proc_get_lease_time(struct nfs_client *clp,
348 extern int nfs4_detect_session_trunking(struct nfs_client *clp,
352 is_ds_only_client(struct nfs_client *clp) argument
354 return (clp->cl_exchange_flags & EXCHGID4_FLAG_MASK_PNFS) ==
359 is_ds_client(struct nfs_client *clp) argument
361 return clp->cl_exchange_flags & EXCHGID4_FLAG_USE_PNFS_DS;
365 _nfs4_state_protect(struct nfs_client *clp, unsigne argument
401 nfs4_state_protect(struct nfs_client *clp, unsigned long sp4_mode, struct rpc_clnt **clntp, struct rpc_message *msg) argument
413 nfs4_state_protect_write(struct nfs_client *clp, struct rpc_clnt **clntp, struct rpc_message *msg, struct nfs_pgio_header *hdr) argument
422 is_ds_only_client(struct nfs_client *clp) argument
428 is_ds_client(struct nfs_client *clp) argument
434 nfs4_state_protect(struct nfs_client *clp, unsigned long sp4_flags, struct rpc_clnt **clntp, struct rpc_message *msg) argument
440 nfs4_state_protect_write(struct nfs_client *clp, struct rpc_clnt **clntp, struct rpc_message *msg, struct nfs_pgio_header *hdr) argument
[all...]
H A Ddelegation.c320 struct nfs_client *clp, int err)
327 set_bit(NFS4CLNT_DELEGRETURN_DELAYED, &clp->cl_state);
335 struct nfs_client *clp)
339 lockdep_is_held(&clp->cl_lock));
360 struct nfs_client *clp = server->nfs_client; local
362 spin_lock(&clp->cl_lock);
363 delegation = nfs_detach_delegation_locked(nfsi, delegation, clp);
364 spin_unlock(&clp->cl_lock);
430 struct nfs_client *clp = server->nfs_client; local
450 spin_lock(&clp
319 nfs_abort_delegation_return(struct nfs_delegation *delegation, struct nfs_client *clp, int err) argument
333 nfs_detach_delegation_locked(struct nfs_inode *nfsi, struct nfs_delegation *delegation, struct nfs_client *clp) argument
527 struct nfs_client *clp = NFS_SERVER(inode)->nfs_client; local
677 nfs_client_clear_delayed_delegations(struct nfs_client *clp) argument
704 nfs_client_return_marked_delegations(struct nfs_client *clp) argument
843 nfs_client_mark_return_all_delegations(struct nfs_client *clp) argument
853 nfs_delegation_run_state_manager(struct nfs_client *clp) argument
864 nfs_expire_all_delegations(struct nfs_client *clp) argument
877 struct nfs_client *clp = server->nfs_client; local
906 nfs_client_mark_return_unused_delegation_types(struct nfs_client *clp, fmode_t flags) argument
1001 nfs_expire_unused_delegation_types(struct nfs_client *clp, fmode_t flags) argument
1023 nfs_expire_unreferenced_delegations(struct nfs_client *clp) argument
1046 struct nfs_client *clp = server->nfs_client; local
1109 nfs_delegation_find_inode(struct nfs_client *clp, const struct nfs_fh *fhandle) argument
1147 nfs_delegation_mark_reclaim(struct nfs_client *clp) argument
1198 nfs_delegation_reap_unclaimed(struct nfs_client *clp) argument
1204 nfs4_server_rebooted(const struct nfs_client *clp) argument
1249 nfs_mark_test_expired_all_delegations(struct nfs_client *clp) argument
1265 nfs_test_expired_all_delegations(struct nfs_client *clp) argument
1342 nfs_reap_expired_delegations(struct nfs_client *clp) argument
1351 struct nfs_client *clp = NFS_SERVER(inode)->nfs_client; local
1375 nfs_delegations_present(struct nfs_client *clp) argument
[all...]
H A Dsysfs.c197 struct nfs_netns_client *clp; local
199 clp = nfs_netns_client_alloc(&nfs_kset->kobj, net);
200 if (clp) {
201 netns->nfs_client = clp;
202 kobject_uevent(&clp->kobject, KOBJ_ADD);
208 struct nfs_netns_client *clp = netns->nfs_client; local
210 if (clp) {
211 kobject_uevent(&clp->kobject, KOBJ_REMOVE);
212 kobject_del(&clp->kobject);
213 kobject_put(&clp
[all...]
H A Dpnfs_nfs.c853 struct nfs_client *clp = ERR_PTR(-EIO); local
867 if (!IS_ERR(clp)) {
870 .net = clp->cl_net,
873 .servername = clp->cl_hostname,
878 if (da->da_transport != clp->cl_proto)
880 if (da->da_addr.ss_family != clp->cl_addr.ss_family)
883 rpc_clnt_add_xprt(clp->cl_rpcclient, &xprt_args,
887 clp = get_v3_ds_connect(mds_srv,
891 if (IS_ERR(clp))
893 clp
915 struct nfs_client *clp = ERR_PTR(-EIO); local
[all...]
H A Dpnfs_dev.c80 const struct nfs_client *clp, const struct nfs4_deviceid *id,
86 if (d->ld == ld && d->nfs_client == clp &&
169 * @clp nfs_client associated with deviceid
225 * @clp nfs_client associated with deviceid
232 const struct nfs_client *clp, const struct nfs4_deviceid *id)
238 d = _lookup_deviceid(ld, clp, id, nfs4_deviceid_hash(id));
331 _deviceid_purge_client(const struct nfs_client *clp, long hash) argument
339 if (d->nfs_client == clp && atomic_read(&d->ref)) {
358 nfs4_deviceid_purge_client(const struct nfs_client *clp) argument
362 if (!(clp
79 _lookup_deviceid(const struct pnfs_layoutdriver_type *ld, const struct nfs_client *clp, const struct nfs4_deviceid *id, long hash) argument
231 nfs4_delete_deviceid(const struct pnfs_layoutdriver_type *ld, const struct nfs_client *clp, const struct nfs4_deviceid *id) argument
372 nfs4_deviceid_mark_client_invalid(struct nfs_client *clp) argument
[all...]
H A Dnfs4session.c559 struct nfs4_session *nfs4_alloc_session(struct nfs_client *clp) argument
571 session->clp = clp;
586 cred = nfs4_get_clid_cred(session->clp);
591 xprt = rcu_dereference(session->clp->cl_rpcclient->cl_xprt);
607 static int nfs41_check_session_ready(struct nfs_client *clp) argument
611 if (clp->cl_cons_state == NFS_CS_SESSION_INITING) {
612 ret = nfs4_client_recover_expired_lease(clp);
616 if (clp->cl_cons_state < NFS_CS_READY)
622 int nfs4_init_session(struct nfs_client *clp) argument
631 nfs4_init_ds_session(struct nfs_client *clp, unsigned long lease_time) argument
[all...]
H A Dnfs4proc.c102 static struct rpc_task *_nfs41_proc_sequence(struct nfs_client *clp,
472 struct nfs_client *clp = server->nfs_client; local
526 nfs4_schedule_lease_recovery(clp);
534 nfs4_schedule_lease_moved_recovery(clp);
610 struct nfs_client *clp = server->nfs_client; local
627 ret = nfs4_wait_clnt_recover(clp);
643 struct nfs_client *clp = server->nfs_client; local
659 rpc_sleep_on(&clp->cl_rpcwaitq, task, NULL);
660 if (test_bit(NFS4CLNT_MANAGER_RUNNING, &clp->cl_state) == 0)
661 rpc_wake_up_queued_task(&clp
706 _nfs4_is_integrity_protected(struct nfs_client *clp) argument
712 do_renew_lease(struct nfs_client *clp, unsigned long timestamp) argument
722 struct nfs_client *clp = server->nfs_client; local
839 struct nfs_client *clp; local
1172 struct nfs_client *clp = server->nfs_client; local
1609 struct nfs_client *clp = state->owner->so_server->nfs_client; local
1827 struct nfs_client *clp = server->nfs_client; local
1959 struct nfs_client *clp = NFS_SERVER(state->inode)->nfs_client; local
2456 struct nfs_client *clp = sp->so_server->nfs_client; local
3976 test_fs_location_for_trunking(struct nfs4_fs_location *location, struct nfs_client *clp, struct nfs_server *server) argument
4049 struct nfs_client *clp = server->nfs_client; local
4100 struct nfs_client *clp = server->nfs_client; local
5760 struct nfs_client *clp = data->client; local
5771 struct nfs_client *clp = data->client; local
5799 nfs4_proc_async_renew(struct nfs_client *clp, const struct cred *cred, unsigned renew_flags) argument
5823 nfs4_proc_renew(struct nfs_client *clp, const struct cred *cred) argument
6298 nfs4_init_boot_verifier(const struct nfs_client *clp, nfs4_verifier *bootverf) argument
6319 nfs4_get_uniquifier(struct nfs_client *clp, char *buf, size_t buflen) argument
6342 nfs4_init_nonuniform_client_string(struct nfs_client *clp) argument
6394 nfs4_init_uniform_client_string(struct nfs_client *clp) argument
6441 nfs4_init_callback_netid(const struct nfs_client *clp, char *buf, size_t len) argument
6471 nfs4_proc_setclientid(struct nfs_client *clp, u32 program, unsigned short port, const struct cred *cred, struct nfs4_setclientid_res *res) argument
6544 nfs4_proc_setclientid_confirm(struct nfs_client *clp, struct nfs4_setclientid_res *arg, const struct cred *cred) argument
6793 struct nfs_client *clp = server->nfs_client; local
7525 struct nfs_client *clp = server->nfs_client; local
8224 struct nfs_client *clp = server->nfs_client; local
8258 struct nfs_client *clp = NFS_SERVER(inode)->nfs_client; local
8351 struct nfs_client *clp = server->nfs_client; local
8385 struct nfs_client *clp = NFS_SERVER(dir)->nfs_client; local
8498 struct nfs_client *clp = args->client; local
8526 nfs4_proc_bind_one_conn_to_session(struct rpc_clnt *clnt, struct rpc_xprt *xprt, struct nfs_client *clp, const struct cred *cred) argument
8591 struct nfs_client *clp; member in struct:rpc_bind_conn_calldata
8605 nfs4_proc_bind_conn_to_session(struct nfs_client *clp, const struct cred *cred) argument
8649 nfs4_sp4_select_mode(struct nfs_client *clp, struct nfs41_state_protection *sp) argument
8771 nfs4_run_exchange_id(struct nfs_client *clp, const struct cred *cred, u32 sp4_how, struct rpc_xprt *xprt) argument
8869 _nfs4_proc_exchange_id(struct nfs_client *clp, const struct cred *cred, u32 sp4_how) argument
8940 nfs4_proc_exchange_id(struct nfs_client *clp, const struct cred *cred) argument
9013 _nfs4_proc_destroy_clientid(struct nfs_client *clp, const struct cred *cred) argument
9032 nfs4_proc_destroy_clientid(struct nfs_client *clp, const struct cred *cred) argument
9052 nfs4_destroy_clientid(struct nfs_client *clp) argument
9080 struct nfs_client *clp; member in struct:nfs4_get_lease_time_data
9125 nfs4_proc_get_lease_time(struct nfs_client *clp, struct nfs_fsinfo *fsinfo) argument
9273 _nfs4_proc_create_session(struct nfs_client *clp, const struct cred *cred) argument
9327 nfs4_proc_create_session(struct nfs_client *clp, const struct cred *cred) argument
9393 struct nfs_client *clp; member in struct:nfs4_sequence_data
9401 struct nfs_client *clp = calldata->clp; local
9409 nfs41_sequence_handle_errors(struct rpc_task *task, struct nfs_client *clp) argument
9424 struct nfs_client *clp = calldata->clp; local
9446 struct nfs_client *clp = calldata->clp; local
9462 _nfs41_proc_sequence(struct nfs_client *clp, const struct cred *cred, struct nfs4_slot *slot, bool is_privileged) argument
9506 nfs41_proc_async_sequence(struct nfs_client *clp, const struct cred *cred, unsigned renew_flags) argument
9522 nfs4_proc_sequence(struct nfs_client *clp, const struct cred *cred) argument
9542 struct nfs_client *clp; member in struct:nfs4_reclaim_complete_data
9557 nfs41_reclaim_complete_handle_errors(struct rpc_task *task, struct nfs_client *clp) argument
9587 struct nfs_client *clp = calldata->clp; local
9616 nfs41_proc_reclaim_complete(struct nfs_client *clp, const struct cred *cred) argument
10376 struct nfs_client *clp = data->server->nfs_client; local
10415 struct nfs_client *clp = server->nfs_client; local
10674 struct nfs_client *clp = NFS_SERVER(inode)->nfs_client; local
10684 struct nfs_client *clp = NFS_SERVER(inode)->nfs_client; local
[all...]
H A Dnfs3client.c105 struct nfs_client *clp; local
128 clp = nfs_get_client(&cl_init);
130 return clp;
/linux-master/arch/arm/boot/dts/nspire/
H A DMakefile5 nspire-clp.dtb
/linux-master/scripts/dtc/include-prefixes/arm/nspire/
H A DMakefile5 nspire-clp.dtb
/linux-master/fs/nfsd/
H A Dnfs4callback.c48 static void nfsd4_mark_cb_fault(struct nfs4_client *clp);
983 struct nfs4_client *clp = cb->cb_clp; local
985 trace_nfsd_cb_queue(clp, cb);
986 return queue_work(clp->cl_callback_wq, &cb->cb_work);
989 static void nfsd41_cb_inflight_begin(struct nfs4_client *clp) argument
991 atomic_inc(&clp->cl_cb_inflight);
994 static void nfsd41_cb_inflight_end(struct nfs4_client *clp) argument
997 if (atomic_dec_and_test(&clp->cl_cb_inflight))
998 wake_up_var(&clp->cl_cb_inflight);
1001 static void nfsd41_cb_inflight_wait_complete(struct nfs4_client *clp) argument
1007 get_backchannel_cred(struct nfs4_client *clp, struct rpc_clnt *client, struct nfsd4_session *ses) argument
1027 setup_callback_client(struct nfs4_client *clp, struct nfs4_cb_conn *conn, struct nfsd4_session *ses) argument
1094 nfsd4_mark_cb_state(struct nfs4_client *clp, int newstate) argument
1102 nfsd4_mark_cb_down(struct nfs4_client *clp) argument
1109 nfsd4_mark_cb_fault(struct nfs4_client *clp) argument
1118 struct nfs4_client *clp = container_of(calldata, struct nfs4_client, cl_cb_null); local
1128 struct nfs4_client *clp = container_of(calldata, struct nfs4_client, cl_cb_null); local
1145 nfsd4_probe_callback(struct nfs4_client *clp) argument
1153 nfsd4_probe_callback_sync(struct nfs4_client *clp) argument
1159 nfsd4_change_callback(struct nfs4_client *clp, struct nfs4_cb_conn *conn) argument
1174 struct nfs4_client *clp = cb->cb_clp; local
1192 struct nfs4_client *clp = cb->cb_clp; local
1203 struct nfs4_client *clp = cb->cb_clp; local
1219 struct nfs4_client *clp = cb->cb_clp; local
1235 struct nfs4_client *clp = cb->cb_clp; local
1330 struct nfs4_client *clp = cb->cb_clp; local
1376 nfsd4_shutdown_callback(struct nfs4_client *clp) argument
1392 __nfsd4_find_backchannel(struct nfs4_client *clp) argument
1417 struct nfs4_client *clp = cb->cb_clp; local
1473 struct nfs4_client *clp = cb->cb_clp; local
1510 nfsd4_init_cb(struct nfsd4_callback *cb, struct nfs4_client *clp, const struct nfsd4_callback_ops *ops, enum nfsd4_cb_op op) argument
1533 struct nfs4_client *clp = cb->cb_clp; local
[all...]
H A Dnfs4recover.c152 legacy_recdir_name_error(struct nfs4_client *clp, int error) argument
165 nfsd4_client_tracking_exit(clp->net);
170 __nfsd4_create_reclaim_record_grace(struct nfs4_client *clp, argument
189 crp->cr_clp = clp;
193 nfsd4_create_clid_dir(struct nfs4_client *clp) argument
199 struct nfsd_net *nn = net_generic(clp->net, nfsd_net_id);
201 if (test_and_set_bit(NFSD4_CLIENT_STABLE, &clp->cl_flags))
206 status = nfs4_make_rec_clidname(dname, &clp->cl_name);
208 return legacy_recdir_name_error(clp, status);
244 __nfsd4_create_reclaim_record_grace(clp, dnam
386 nfsd4_remove_clid_dir(struct nfs4_client *clp) argument
676 nfsd4_check_legacy_client(struct nfs4_client *clp) argument
1105 nfsd4_cld_create(struct nfs4_client *clp) argument
1142 nfsd4_cld_create_v2(struct nfs4_client *clp) argument
1208 nfsd4_cld_remove(struct nfs4_client *clp) argument
1250 nfsd4_cld_check_v0(struct nfs4_client *clp) argument
1290 nfsd4_cld_check(struct nfs4_client *clp) argument
1335 nfsd4_cld_check_v2(struct nfs4_client *clp) argument
1761 nfsd4_cltrack_client_has_session(struct nfs4_client *clp) argument
1889 nfsd4_cltrack_upcall_lock(struct nfs4_client *clp) argument
1896 nfsd4_cltrack_upcall_unlock(struct nfs4_client *clp) argument
1905 nfsd4_umh_cltrack_create(struct nfs4_client *clp) argument
1946 nfsd4_umh_cltrack_remove(struct nfs4_client *clp) argument
1969 nfsd4_umh_cltrack_check(struct nfs4_client *clp) argument
2109 nfsd4_client_record_create(struct nfs4_client *clp) argument
2118 nfsd4_client_record_remove(struct nfs4_client *clp) argument
2127 nfsd4_client_record_check(struct nfs4_client *clp) argument
[all...]
H A Dnfs4state.c163 static bool is_client_expired(struct nfs4_client *clp) argument
165 return clp->cl_time == 0;
169 struct nfs4_client *clp)
171 if (clp->cl_state != NFSD4_ACTIVE)
175 static __be32 get_client_locked(struct nfs4_client *clp) argument
177 struct nfsd_net *nn = net_generic(clp->net, nfsd_net_id);
181 if (is_client_expired(clp))
183 atomic_inc(&clp->cl_rpc_users);
184 nfsd4_dec_courtesy_client_count(nn, clp);
185 clp
168 nfsd4_dec_courtesy_client_count(struct nfsd_net *nn, struct nfs4_client *clp) argument
191 renew_client_locked(struct nfs4_client *clp) argument
210 put_client_renew_locked(struct nfs4_client *clp) argument
224 put_client_renew(struct nfs4_client *clp) argument
252 struct nfs4_client *clp = ses->se_client; local
264 struct nfs4_client *clp = ses->se_client; local
337 struct nfs4_client *clp = lo->lo_owner.so_client; local
544 find_openstateowner_str(unsigned int hashval, struct nfsd4_open *open, struct nfs4_client *clp) argument
744 struct nfs4_client *clp; local
855 alloc_clnt_odstate(struct nfs4_client *clp) argument
1048 nfs4_alloc_open_stateid(struct nfs4_client *clp) argument
1148 alloc_init_deleg(struct nfs4_client *clp, struct nfs4_file *fp, struct nfs4_clnt_odstate *odstate, u32 dl_type) argument
1198 struct nfs4_client *clp = s->sc_client; local
1269 nfs4_delegation_exists(struct nfs4_client *clp, struct nfs4_file *fp) argument
1302 struct nfs4_client *clp = dp->dl_stid.sc_client; local
1362 struct nfs4_client *clp = dp->dl_stid.sc_client; local
1456 struct nfs4_client *clp = sop->so_client; local
1525 struct nfs4_client *clp = s->sc_client; local
1555 struct nfs4_client *clp = stp->st_stid.sc_client; local
1567 struct nfs4_client *clp = lo->lo_owner.so_client; local
1637 struct nfs4_client *clp = oo->oo_owner.so_client; local
1665 struct nfs4_client *clp = oo->oo_owner.so_client; local
1684 find_one_sb_stid(struct nfs4_client *clp, struct super_block *sb, unsigned int sc_types) argument
1728 struct nfs4_client *clp; local
1862 struct nfs4_client *clp = ses->se_client; local
2005 struct nfs4_client *clp = c->cn_session->se_client; local
2040 struct nfs4_client *clp = ses->se_client; local
2078 struct nfs4_client *clp = s->se_client; local
2108 init_session(struct svc_rqst *rqstp, struct nfsd4_session *new, struct nfs4_client *clp, struct nfsd4_create_session *cses) argument
2189 struct nfs4_client *clp = ses->se_client; local
2223 struct nfs4_client *clp; local
2279 struct nfs4_client *clp = container_of(c, struct nfs4_client, cl_nfsdfs); local
2292 drop_client(struct nfs4_client *clp) argument
2298 free_client(struct nfs4_client *clp) argument
2319 unhash_client_locked(struct nfs4_client *clp) argument
2344 unhash_client(struct nfs4_client *clp) argument
2353 mark_client_expired_locked(struct nfs4_client *clp) argument
2366 __destroy_client(struct nfs4_client *clp) argument
2419 destroy_client(struct nfs4_client *clp) argument
2425 inc_reclaim_complete(struct nfs4_client *clp) argument
2441 expire_client(struct nfs4_client *clp) argument
2578 gen_confirm(struct nfs4_client *clp, struct nfsd_net *nn) argument
2591 gen_clid(struct nfs4_client *clp, struct nfsd_net *nn) argument
2662 struct nfs4_client *clp; local
2708 struct nfs4_client *clp = s->private; variable in typeref:struct:nfs4_client
2720 struct nfs4_client *clp = s->private; local
2734 struct nfs4_client *clp = s->private; variable in typeref:struct:nfs4_client
2938 struct nfs4_client *clp; local
2956 struct nfs4_client *clp = m->private; local
2976 force_expire_client(struct nfs4_client *clp) argument
3004 struct nfs4_client *clp; local
3048 struct nfs4_client *clp = cb->cb_clp; local
3110 struct nfs4_client *clp; local
3159 struct nfs4_client *clp; local
3180 struct nfs4_client *clp; local
3196 add_to_unconfirmed(struct nfs4_client *clp) argument
3211 move_to_confirmed(struct nfs4_client *clp) argument
3229 struct nfs4_client *clp; local
3261 clp_used_exchangeid(struct nfs4_client *clp) argument
3281 gen_callback(struct nfs4_client *clp, struct nfsd4_setclientid *se, struct svc_rqst *rqstp) argument
3438 client_has_openowners(struct nfs4_client *clp) argument
3449 client_has_state(struct nfs4_client *clp) argument
3460 copy_impl_id(struct nfs4_client *clp, struct nfsd4_exchange_id *exid) argument
3976 struct nfs4_client *clp = session->se_client; local
4101 struct nfs4_client *clp = ses->se_client; local
4182 struct nfs4_client *clp; local
4325 struct nfs4_client *clp = NULL; local
4368 struct nfs4_client *clp = cstate->clp; local
4709 alloc_stateowner(struct kmem_cache *slab, struct xdr_netobj *owner, struct nfs4_client *clp) argument
4730 hash_openowner(struct nfs4_openowner *oo, struct nfs4_client *clp, unsigned int strhashval) argument
4888 struct nfs4_client *clp = cstate->clp; local
5239 struct nfs4_client *clp = dp->dl_stid.sc_client; local
5275 struct nfs4_client *clp; local
5292 struct nfs4_client *clp = dp->dl_stid.sc_client; local
5358 struct nfs4_client *clp = NULL; local
5627 nfsd4_cb_channel_good(struct nfs4_client *clp) argument
5656 nfsd4_check_conflicting_opens(struct nfs4_client *clp, struct nfs4_file *fp) argument
5765 struct nfs4_client *clp = stp->st_stid.sc_client; local
5942 struct nfs4_client *clp = stp->st_stid.sc_client; local
6175 struct nfs4_client *clp; local
6347 nfs4_anylock_blockers(struct nfs4_client *clp) argument
6378 struct nfs4_client *clp; local
6415 struct nfs4_client *clp; local
6439 struct nfs4_client *clp; local
6452 struct nfs4_client *clp; local
6618 struct nfs4_client *clp; local
6923 manage_cpntf_state(struct nfsd_net *nn, stateid_t *st, struct nfs4_client *clp, struct nfs4_cpntf_state **cps) argument
7378 struct nfs4_client *clp = s->st_stid.sc_client; local
7540 struct nfs4_client *clp = lo->lo_owner.so_client; local
7622 find_lockowner_str_locked(struct nfs4_client *clp, struct xdr_netobj *owner) argument
7640 find_lockowner_str(struct nfs4_client *clp, struct xdr_netobj *owner) argument
7675 alloc_init_lock_stateowner(unsigned int strhashval, struct nfs4_client *clp, struct nfs4_ol_stateid *open_stp, struct nfsd4_lock *lock) argument
7726 struct nfs4_client *clp = lo->lo_owner.so_client; local
7776 struct nfs4_client *clp = oo->oo_owner.so_client; local
8357 struct nfs4_client *clp; local
8486 nfs4_check_open_reclaim(struct nfs4_client *clp) argument
8592 struct nfs4_client *clp = NULL; local
[all...]
H A Dpnfs.h27 struct nfs4_client *clp,
74 void nfsd4_return_all_file_layouts(struct nfs4_client *clp,
88 static inline void nfsd4_return_all_client_layouts(struct nfs4_client *clp) argument
91 static inline void nfsd4_return_all_file_layouts(struct nfs4_client *clp, argument
H A Dtrace.h754 const struct nfs4_client *clp,
757 TP_ARGS(clp, cs),
763 __sockaddr(addr, clp->cl_cb_conn.cb_addrlen)
766 const struct nfsd4_clid_slot *slot = &clp->cl_cs_slot;
768 __entry->cl_boot = clp->cl_clientid.cl_boot;
769 __entry->cl_id = clp->cl_clientid.cl_id;
770 __assign_sockaddr(addr, &clp->cl_cb_conn.cb_addr,
771 clp->cl_cb_conn.cb_addrlen);
784 const struct nfs4_client *clp, \
787 TP_ARGS(clp, c
[all...]
H A Dblocklayout.c168 struct nfs4_client *clp,
218 static u64 nfsd4_scsi_pr_key(struct nfs4_client *clp) argument
220 return ((u64)clp->cl_clientid.cl_boot << 32) | clp->cl_clientid.cl_id;
250 struct nfs4_client *clp,
268 b->scsi.pr_key = nfsd4_scsi_pr_key(clp);
308 struct nfs4_client *clp,
313 return nfserrno(nfsd4_block_get_device_info_scsi(sb, clp, gdp));
333 struct nfs4_client *clp = ls->ls_stid.sc_client; local
337 nfsd4_scsi_pr_key(clp),
166 nfsd4_block_proc_getdeviceinfo(struct super_block *sb, struct svc_rqst *rqstp, struct nfs4_client *clp, struct nfsd4_getdeviceinfo *gdp) argument
249 nfsd4_block_get_device_info_scsi(struct super_block *sb, struct nfs4_client *clp, struct nfsd4_getdeviceinfo *gdp) argument
306 nfsd4_scsi_proc_getdeviceinfo(struct super_block *sb, struct svc_rqst *rqstp, struct nfs4_client *clp, struct nfsd4_getdeviceinfo *gdp) argument
[all...]
H A Dstate.h468 struct nfs4_client *cr_clp; /* pointer to associated clp */
734 extern void nfsd4_probe_callback(struct nfs4_client *clp);
735 extern void nfsd4_probe_callback_sync(struct nfs4_client *clp);
736 extern void nfsd4_change_callback(struct nfs4_client *clp, struct nfs4_cb_conn *);
737 extern void nfsd4_init_cb(struct nfsd4_callback *cb, struct nfs4_client *clp,
741 extern void nfsd4_shutdown_copy(struct nfs4_client *clp);
750 struct nfs4_client *clp,
772 extern void nfsd4_client_record_create(struct nfs4_client *clp);
773 extern void nfsd4_client_record_remove(struct nfs4_client *clp);
774 extern int nfsd4_client_record_check(struct nfs4_client *clp);
777 try_to_expire_client(struct nfs4_client *clp) argument
[all...]
/linux-master/drivers/clk/
H A Dclk-loongson2.c244 static struct clk_hw *loongson2_clk_register(struct loongson2_clk_provider *clp, argument
253 clk = devm_kzalloc(clp->dev, sizeof(*clk), GFP_KERNEL);
267 clk->reg = clp->base + cld->reg_offset;
275 ret = devm_clk_hw_register(clp->dev, hw);
287 struct loongson2_clk_provider *clp; local
297 clp = devm_kzalloc(dev, struct_size(clp, clk_data.hws, clks_num),
299 if (!clp)
302 clp->base = devm_platform_ioremap_resource(pdev, 0);
303 if (IS_ERR(clp
[all...]

Completed in 478 milliseconds

123