/linux-master/fs/nfs/ |
H A D | nfs4renewd.c | 58 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 D | nfs4state.c | 70 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 2193 nfs4_handle_migration(struct nfs_client *clp) argument 2239 nfs4_handle_lease_moved(struct nfs_client *clp) argument 2294 nfs4_discover_server_trunking(struct nfs_client *clp, struct nfs_client **result) argument 2387 struct nfs_client *clp = session->clp; local 2400 nfs41_notify_server(struct nfs_client *clp) argument 2407 nfs4_reset_all_state(struct nfs_client *clp) argument 2419 nfs41_handle_server_reboot(struct nfs_client *clp) argument 2429 nfs41_handle_all_state_revoked(struct nfs_client *clp) argument 2435 nfs41_handle_some_state_revoked(struct nfs_client *clp) argument 2443 nfs41_handle_recallable_state_revoked(struct nfs_client *clp) argument 2452 nfs41_handle_backchannel_fault(struct nfs_client *clp) argument 2461 nfs41_handle_cb_path_down(struct nfs_client *clp) argument 2468 nfs41_handle_sequence_flag_errors(struct nfs_client *clp, u32 flags, bool recovery) argument 2504 nfs4_reset_session(struct nfs_client *clp) argument 2548 nfs4_bind_conn_to_session(struct nfs_client *clp) argument 2577 nfs4_layoutreturn_any_run(struct nfs_client *clp) argument 2592 nfs4_reset_session(struct nfs_client *clp) argument 2594 nfs4_bind_conn_to_session(struct nfs_client *clp) argument 2599 nfs4_layoutreturn_any_run(struct nfs_client *clp) argument 2604 nfs4_state_manager(struct nfs_client *clp) argument 2756 struct nfs_client *clp = ptr; local [all...] |
H A D | client.c | 146 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 D | nfs4client.c | 29 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 D | delegation.h | 52 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 D | callback_proc.c | 37 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 D | nfs4session.h | 75 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 D | nfs4_fs.h | 255 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 D | delegation.c | 320 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 D | sysfs.c | 197 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 D | pnfs_nfs.c | 853 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 D | pnfs_dev.c | 80 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 D | nfs4session.c | 559 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 D | nfs4proc.c | 102 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 4032 struct nfs_client *clp = server->nfs_client; local 4079 struct nfs_client *clp = server->nfs_client; local 5739 struct nfs_client *clp = data->client; local 5750 struct nfs_client *clp = data->client; local 5778 nfs4_proc_async_renew(struct nfs_client *clp, const struct cred *cred, unsigned renew_flags) argument 5802 nfs4_proc_renew(struct nfs_client *clp, const struct cred *cred) argument 6276 nfs4_init_boot_verifier(const struct nfs_client *clp, nfs4_verifier *bootverf) argument 6297 nfs4_get_uniquifier(struct nfs_client *clp, char *buf, size_t buflen) argument 6320 nfs4_init_nonuniform_client_string(struct nfs_client *clp) argument 6372 nfs4_init_uniform_client_string(struct nfs_client *clp) argument 6419 nfs4_init_callback_netid(const struct nfs_client *clp, char *buf, size_t len) argument 6449 nfs4_proc_setclientid(struct nfs_client *clp, u32 program, unsigned short port, const struct cred *cred, struct nfs4_setclientid_res *res) argument 6522 nfs4_proc_setclientid_confirm(struct nfs_client *clp, struct nfs4_setclientid_res *arg, const struct cred *cred) argument 6771 struct nfs_client *clp = server->nfs_client; local 7503 struct nfs_client *clp = server->nfs_client; local 8202 struct nfs_client *clp = server->nfs_client; local 8236 struct nfs_client *clp = NFS_SERVER(inode)->nfs_client; local 8329 struct nfs_client *clp = server->nfs_client; local 8363 struct nfs_client *clp = NFS_SERVER(dir)->nfs_client; local 8476 struct nfs_client *clp = args->client; local 8504 nfs4_proc_bind_one_conn_to_session(struct rpc_clnt *clnt, struct rpc_xprt *xprt, struct nfs_client *clp, const struct cred *cred) argument 8569 struct nfs_client *clp; member in struct:rpc_bind_conn_calldata 8583 nfs4_proc_bind_conn_to_session(struct nfs_client *clp, const struct cred *cred) argument 8627 nfs4_sp4_select_mode(struct nfs_client *clp, struct nfs41_state_protection *sp) argument 8749 nfs4_run_exchange_id(struct nfs_client *clp, const struct cred *cred, u32 sp4_how, struct rpc_xprt *xprt) argument 8847 _nfs4_proc_exchange_id(struct nfs_client *clp, const struct cred *cred, u32 sp4_how) argument 8918 nfs4_proc_exchange_id(struct nfs_client *clp, const struct cred *cred) argument 8991 _nfs4_proc_destroy_clientid(struct nfs_client *clp, const struct cred *cred) argument 9010 nfs4_proc_destroy_clientid(struct nfs_client *clp, const struct cred *cred) argument 9030 nfs4_destroy_clientid(struct nfs_client *clp) argument 9058 struct nfs_client *clp; member in struct:nfs4_get_lease_time_data 9103 nfs4_proc_get_lease_time(struct nfs_client *clp, struct nfs_fsinfo *fsinfo) argument 9251 _nfs4_proc_create_session(struct nfs_client *clp, const struct cred *cred) argument 9305 nfs4_proc_create_session(struct nfs_client *clp, const struct cred *cred) argument 9371 struct nfs_client *clp; member in struct:nfs4_sequence_data 9379 struct nfs_client *clp = calldata->clp; local 9387 nfs41_sequence_handle_errors(struct rpc_task *task, struct nfs_client *clp) argument 9402 struct nfs_client *clp = calldata->clp; local 9424 struct nfs_client *clp = calldata->clp; local 9440 _nfs41_proc_sequence(struct nfs_client *clp, const struct cred *cred, struct nfs4_slot *slot, bool is_privileged) argument 9484 nfs41_proc_async_sequence(struct nfs_client *clp, const struct cred *cred, unsigned renew_flags) argument 9500 nfs4_proc_sequence(struct nfs_client *clp, const struct cred *cred) argument 9520 struct nfs_client *clp; member in struct:nfs4_reclaim_complete_data 9535 nfs41_reclaim_complete_handle_errors(struct rpc_task *task, struct nfs_client *clp) argument 9565 struct nfs_client *clp = calldata->clp; local 9594 nfs41_proc_reclaim_complete(struct nfs_client *clp, const struct cred *cred) argument 10354 struct nfs_client *clp = data->server->nfs_client; local 10393 struct nfs_client *clp = server->nfs_client; local 10652 struct nfs_client *clp = NFS_SERVER(inode)->nfs_client; local 10662 struct nfs_client *clp = NFS_SERVER(inode)->nfs_client; local [all...] |
H A D | nfs3client.c | 105 struct nfs_client *clp; local 128 clp = nfs_get_client(&cl_init); 130 return clp;
|
H A D | fscache.c | 46 static bool nfs_fscache_get_client_key(struct nfs_client *clp, argument 49 const struct sockaddr_in6 *sin6 = (struct sockaddr_in6 *) &clp->cl_addr; 50 const struct sockaddr_in *sin = (struct sockaddr_in *) &clp->cl_addr; 54 clp->rpc_ops->version, 55 clp->cl_minorversion, 56 clp->cl_addr.ss_family); 58 switch (clp->cl_addr.ss_family) { 76 clp->cl_addr.ss_family);
|
/linux-master/arch/arm/boot/dts/nspire/ |
H A D | Makefile | 5 nspire-clp.dtb
|
/linux-master/scripts/dtc/include-prefixes/arm/nspire/ |
H A D | Makefile | 5 nspire-clp.dtb
|
/linux-master/fs/nfsd/ |
H A D | nfs4callback.c | 48 static void nfsd4_mark_cb_fault(struct nfs4_client *clp); 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 1003 wait_var_event(&clp->cl_cb_inflight, 1004 !atomic_read(&clp->cl_cb_inflight)); 1007 static const struct cred *get_backchannel_cred(struct nfs4_client *clp, struc 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 1389 nfsd4_shutdown_callback(struct nfs4_client *clp) argument 1405 __nfsd4_find_backchannel(struct nfs4_client *clp) argument 1430 struct nfs4_client *clp = cb->cb_clp; local 1486 struct nfs4_client *clp = cb->cb_clp; local 1523 nfsd4_init_cb(struct nfsd4_callback *cb, struct nfs4_client *clp, const struct nfsd4_callback_ops *ops, enum nfsd4_cb_op op) argument 1546 struct nfs4_client *clp = cb->cb_clp; local [all...] |
H A D | nfs4recover.c | 152 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 D | nfs4state.c | 163 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_locked(unsigned int hashval, struct nfsd4_open *open, struct nfs4_client *clp) argument 562 find_openstateowner_str(unsigned int hashval, struct nfsd4_open *open, struct nfs4_client *clp) argument 756 struct nfs4_client *clp; local 867 alloc_clnt_odstate(struct nfs4_client *clp) argument 1060 nfs4_alloc_open_stateid(struct nfs4_client *clp) argument 1160 alloc_init_deleg(struct nfs4_client *clp, struct nfs4_file *fp, struct nfs4_clnt_odstate *odstate, u32 dl_type) argument 1210 struct nfs4_client *clp = s->sc_client; local 1281 nfs4_delegation_exists(struct nfs4_client *clp, struct nfs4_file *fp) argument 1314 struct nfs4_client *clp = dp->dl_stid.sc_client; local 1374 struct nfs4_client *clp = dp->dl_stid.sc_client; local 1463 struct nfs4_client *clp = sop->so_client; local 1532 struct nfs4_client *clp = s->sc_client; local 1562 struct nfs4_client *clp = stp->st_stid.sc_client; local 1574 struct nfs4_client *clp = lo->lo_owner.so_client; local 1644 struct nfs4_client *clp = oo->oo_owner.so_client; local 1672 struct nfs4_client *clp = oo->oo_owner.so_client; local 1691 find_one_sb_stid(struct nfs4_client *clp, struct super_block *sb, unsigned int sc_types) argument 1735 struct nfs4_client *clp; local 1869 struct nfs4_client *clp = ses->se_client; local 2012 struct nfs4_client *clp = c->cn_session->se_client; local 2047 struct nfs4_client *clp = ses->se_client; local 2085 struct nfs4_client *clp = s->se_client; local 2115 init_session(struct svc_rqst *rqstp, struct nfsd4_session *new, struct nfs4_client *clp, struct nfsd4_create_session *cses) argument 2196 struct nfs4_client *clp = ses->se_client; local 2230 struct nfs4_client *clp; local 2280 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 2362 __destroy_client(struct nfs4_client *clp) argument 2415 destroy_client(struct nfs4_client *clp) argument 2421 inc_reclaim_complete(struct nfs4_client *clp) argument 2437 expire_client(struct nfs4_client *clp) argument 2574 gen_confirm(struct nfs4_client *clp, struct nfsd_net *nn) argument 2587 gen_clid(struct nfs4_client *clp, struct nfsd_net *nn) argument 2658 struct nfs4_client *clp; local 2704 struct nfs4_client *clp = s->private; variable in typeref:struct:nfs4_client 2716 struct nfs4_client *clp = s->private; local 2730 struct nfs4_client *clp = s->private; variable in typeref:struct:nfs4_client 2934 struct nfs4_client *clp; local 2952 struct nfs4_client *clp = m->private; local 2972 force_expire_client(struct nfs4_client *clp) argument 3000 struct nfs4_client *clp; local 3044 struct nfs4_client *clp = cb->cb_clp; local 3106 struct nfs4_client *clp; local 3155 struct nfs4_client *clp; local 3176 struct nfs4_client *clp; local 3192 add_to_unconfirmed(struct nfs4_client *clp) argument 3207 move_to_confirmed(struct nfs4_client *clp) argument 3225 struct nfs4_client *clp; local 3257 clp_used_exchangeid(struct nfs4_client *clp) argument 3277 gen_callback(struct nfs4_client *clp, struct nfsd4_setclientid *se, struct svc_rqst *rqstp) argument 3434 client_has_openowners(struct nfs4_client *clp) argument 3445 client_has_state(struct nfs4_client *clp) argument 3456 copy_impl_id(struct nfs4_client *clp, struct nfsd4_exchange_id *exid) argument 3973 struct nfs4_client *clp = session->se_client; local 4098 struct nfs4_client *clp = ses->se_client; local 4179 struct nfs4_client *clp; local 4321 struct nfs4_client *clp = NULL; local 4364 struct nfs4_client *clp = cstate->clp; local 4693 alloc_stateowner(struct kmem_cache *slab, struct xdr_netobj *owner, struct nfs4_client *clp) argument 4714 hash_openowner(struct nfs4_openowner *oo, struct nfs4_client *clp, unsigned int strhashval) argument 4872 struct nfs4_client *clp = cstate->clp; local 5207 struct nfs4_client *clp = dp->dl_stid.sc_client; local 5243 struct nfs4_client *clp; local 5260 struct nfs4_client *clp = dp->dl_stid.sc_client; local 5326 struct nfs4_client *clp = NULL; local 5603 nfsd4_cb_channel_good(struct nfs4_client *clp) argument 5632 nfsd4_check_conflicting_opens(struct nfs4_client *clp, struct nfs4_file *fp) argument 5741 struct nfs4_client *clp = stp->st_stid.sc_client; local 5918 struct nfs4_client *clp = stp->st_stid.sc_client; local 6155 struct nfs4_client *clp; local 6327 nfs4_anylock_blockers(struct nfs4_client *clp) argument 6358 struct nfs4_client *clp; local 6395 struct nfs4_client *clp; local 6419 struct nfs4_client *clp; local 6432 struct nfs4_client *clp; local 6598 struct nfs4_client *clp; local 6903 manage_cpntf_state(struct nfsd_net *nn, stateid_t *st, struct nfs4_client *clp, struct nfs4_cpntf_state **cps) argument 7354 struct nfs4_client *clp = s->st_stid.sc_client; local 7513 struct nfs4_client *clp = lo->lo_owner.so_client; local 7595 find_lockowner_str_locked(struct nfs4_client *clp, struct xdr_netobj *owner) argument 7613 find_lockowner_str(struct nfs4_client *clp, struct xdr_netobj *owner) argument 7648 alloc_init_lock_stateowner(unsigned int strhashval, struct nfs4_client *clp, struct nfs4_ol_stateid *open_stp, struct nfsd4_lock *lock) argument 7699 struct nfs4_client *clp = lo->lo_owner.so_client; local 7749 struct nfs4_client *clp = oo->oo_owner.so_client; local 8330 struct nfs4_client *clp; local 8459 nfs4_check_open_reclaim(struct nfs4_client *clp) argument 8565 struct nfs4_client *clp = NULL; local [all...] |
H A D | pnfs.h | 27 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 D | trace.h | 831 const struct nfs4_client *clp, 834 TP_ARGS(clp, rqstp), 843 __entry->cl_boot = clp->cl_clientid.cl_boot; 844 __entry->cl_id = clp->cl_clientid.cl_id; 845 __entry->cl_flavor = clp->cl_cred.cr_flavor; 860 const struct nfs4_client *clp, 864 TP_ARGS(clp, rqstp, verf), 873 __entry->cl_boot = clp->cl_clientid.cl_boot; 874 __entry->cl_id = clp->cl_clientid.cl_id; 875 memcpy(__entry->cl_verifier, (void *)&clp [all...] |
H A D | blocklayout.c | 168 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 D | state.h | 466 struct nfs4_client *cr_clp; /* pointer to associated clp */ 732 extern void nfsd4_probe_callback(struct nfs4_client *clp); 733 extern void nfsd4_probe_callback_sync(struct nfs4_client *clp); 734 extern void nfsd4_change_callback(struct nfs4_client *clp, struct nfs4_cb_conn *); 735 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...] |