/linux-4.1.27/fs/nfs/ |
D | nfs4state.c | 71 int nfs4_init_clientid(struct nfs_client *clp, struct rpc_cred *cred) in nfs4_init_clientid() argument 74 .clientid = clp->cl_clientid, in nfs4_init_clientid() 75 .confirm = clp->cl_confirm, in nfs4_init_clientid() 79 struct nfs_net *nn = net_generic(clp->cl_net, nfs_net_id); in nfs4_init_clientid() 81 if (test_bit(NFS4CLNT_LEASE_CONFIRM, &clp->cl_state)) in nfs4_init_clientid() 84 if (clp->cl_addr.ss_family == AF_INET6) in nfs4_init_clientid() 87 status = nfs4_proc_setclientid(clp, NFS4_CALLBACK, port, cred, &clid); in nfs4_init_clientid() 90 clp->cl_clientid = clid.clientid; in nfs4_init_clientid() 91 clp->cl_confirm = clid.confirm; in nfs4_init_clientid() 92 set_bit(NFS4CLNT_LEASE_CONFIRM, &clp->cl_state); in nfs4_init_clientid() [all …]
|
D | nfs4renewd.c | 58 struct nfs_client *clp = in nfs4_renew_state() local 65 ops = clp->cl_mvops->state_renewal_ops; in nfs4_renew_state() 68 if (test_bit(NFS_CS_STOP_RENEW, &clp->cl_res_state)) in nfs4_renew_state() 71 spin_lock(&clp->cl_lock); in nfs4_renew_state() 72 lease = clp->cl_lease_time; in nfs4_renew_state() 73 last = clp->cl_last_renewal; in nfs4_renew_state() 78 if (nfs_delegations_present(clp)) in nfs4_renew_state() 82 cred = ops->get_state_renewal_cred_locked(clp); in nfs4_renew_state() 83 spin_unlock(&clp->cl_lock); in nfs4_renew_state() 86 set_bit(NFS4CLNT_LEASE_EXPIRED, &clp->cl_state); in nfs4_renew_state() [all …]
|
D | nfs4client.c | 27 static int nfs_get_cb_ident_idr(struct nfs_client *clp, int minorversion) in nfs_get_cb_ident_idr() argument 30 struct nfs_net *nn = net_generic(clp->cl_net, nfs_net_id); in nfs_get_cb_ident_idr() 32 if (clp->rpc_ops->version != 4 || minorversion != 0) in nfs_get_cb_ident_idr() 36 ret = idr_alloc(&nn->cb_ident_idr, clp, 1, 0, GFP_NOWAIT); in nfs_get_cb_ident_idr() 38 clp->cl_cb_ident = ret; in nfs_get_cb_ident_idr() 145 nfs4_shutdown_ds_clients(struct nfs_client *clp) in nfs4_shutdown_ds_clients() argument 150 while (!list_empty(&clp->cl_ds_clients)) { in nfs4_shutdown_ds_clients() 151 dss = list_entry(clp->cl_ds_clients.next, in nfs4_shutdown_ds_clients() 159 void nfs41_shutdown_client(struct nfs_client *clp) in nfs41_shutdown_client() argument 161 if (nfs4_has_session(clp)) { in nfs41_shutdown_client() [all …]
|
D | client.c | 152 struct nfs_client *clp; in nfs_alloc_client() local 156 if ((clp = kzalloc(sizeof(*clp), GFP_KERNEL)) == NULL) in nfs_alloc_client() 159 clp->cl_nfs_mod = cl_init->nfs_mod; in nfs_alloc_client() 160 if (!try_module_get(clp->cl_nfs_mod->owner)) in nfs_alloc_client() 163 clp->rpc_ops = clp->cl_nfs_mod->rpc_ops; in nfs_alloc_client() 165 atomic_set(&clp->cl_count, 1); in nfs_alloc_client() 166 clp->cl_cons_state = NFS_CS_INITING; in nfs_alloc_client() 168 memcpy(&clp->cl_addr, cl_init->addr, cl_init->addrlen); in nfs_alloc_client() 169 clp->cl_addrlen = cl_init->addrlen; in nfs_alloc_client() 173 clp->cl_hostname = kstrdup(cl_init->hostname, GFP_KERNEL); in nfs_alloc_client() [all …]
|
D | callback_proc.c | 33 if (!cps->clp) /* Always set for v4.0. Set in cb_sequence for v4.1 */ in nfs4_callback_getattr() 40 rpc_peeraddr2str(cps->clp->cl_rpcclient, RPC_DISPLAY_ADDR)); in nfs4_callback_getattr() 42 inode = nfs_delegation_find_inode(cps->clp, &args->fh); in nfs4_callback_getattr() 76 if (!cps->clp) /* Always set for v4.0. Set in cb_sequence for v4.1 */ in nfs4_callback_recall() 80 rpc_peeraddr2str(cps->clp->cl_rpcclient, RPC_DISPLAY_ADDR)); in nfs4_callback_recall() 83 inode = nfs_delegation_find_inode(cps->clp, &args->fh); in nfs4_callback_recall() 115 static struct pnfs_layout_hdr * get_layout_by_fh_locked(struct nfs_client *clp, in get_layout_by_fh_locked() argument 122 list_for_each_entry_rcu(server, &clp->cl_superblocks, client_link) { in get_layout_by_fh_locked() 147 static struct pnfs_layout_hdr * get_layout_by_fh(struct nfs_client *clp, in get_layout_by_fh() argument 152 spin_lock(&clp->cl_lock); in get_layout_by_fh() [all …]
|
D | nfs4_fs.h | 240 extern int nfs4_proc_exchange_id(struct nfs_client *clp, struct rpc_cred *cred); 241 extern int nfs4_destroy_clientid(struct nfs_client *clp); 272 extern int nfs4_proc_get_lease_time(struct nfs_client *clp, 278 is_ds_only_client(struct nfs_client *clp) in is_ds_only_client() argument 280 return (clp->cl_exchange_flags & EXCHGID4_FLAG_MASK_PNFS) == in is_ds_only_client() 285 is_ds_client(struct nfs_client *clp) in is_ds_client() argument 287 return clp->cl_exchange_flags & EXCHGID4_FLAG_USE_PNFS_DS; in is_ds_client() 291 _nfs4_state_protect(struct nfs_client *clp, unsigned long sp4_mode, in _nfs4_state_protect() argument 297 if (test_bit(sp4_mode, &clp->cl_sp4_flags)) { in _nfs4_state_protect() 298 spin_lock(&clp->cl_lock); in _nfs4_state_protect() [all …]
|
D | delegation.c | 251 struct nfs_client *clp) in nfs_abort_delegation_return() argument 258 set_bit(NFS4CLNT_DELEGRETURN, &clp->cl_state); in nfs_abort_delegation_return() 264 struct nfs_client *clp) in nfs_detach_delegation_locked() argument 268 lockdep_is_held(&clp->cl_lock)); in nfs_detach_delegation_locked() 286 struct nfs_client *clp = server->nfs_client; in nfs_detach_delegation() local 288 spin_lock(&clp->cl_lock); in nfs_detach_delegation() 289 delegation = nfs_detach_delegation_locked(nfsi, delegation, clp); in nfs_detach_delegation() 290 spin_unlock(&clp->cl_lock); in nfs_detach_delegation() 329 struct nfs_client *clp = server->nfs_client; in nfs_inode_set_delegation() local 347 spin_lock(&clp->cl_lock); in nfs_inode_set_delegation() [all …]
|
D | nfs4session.h | 68 struct nfs_client *clp; member 100 extern struct nfs4_session *nfs4_alloc_session(struct nfs_client *clp); 102 extern int nfs4_init_session(struct nfs_client *clp); 108 static inline int nfs4_has_session(const struct nfs_client *clp) in nfs4_has_session() argument 110 if (clp->cl_session) in nfs4_has_session() 115 static inline int nfs4_has_persistent_session(const struct nfs_client *clp) in nfs4_has_persistent_session() argument 117 if (nfs4_has_session(clp)) in nfs4_has_persistent_session() 118 return (clp->cl_session->flags & SESSION4_PERSIST); in nfs4_has_persistent_session() 140 static inline int nfs4_init_session(struct nfs_client *clp) in nfs4_init_session() argument 148 static inline int nfs4_has_session(const struct nfs_client *clp) in nfs4_has_session() argument [all …]
|
D | delegation.h | 43 struct inode *nfs_delegation_find_inode(struct nfs_client *clp, const struct nfs_fh *fhandle); 45 void nfs_expire_all_delegations(struct nfs_client *clp); 46 void nfs_expire_unused_delegation_types(struct nfs_client *clp, fmode_t flags); 47 void nfs_expire_unreferenced_delegations(struct nfs_client *clp); 48 int nfs_client_return_marked_delegations(struct nfs_client *clp); 49 int nfs_delegations_present(struct nfs_client *clp); 52 void nfs_delegation_mark_reclaim(struct nfs_client *clp); 53 void nfs_delegation_reap_unclaimed(struct nfs_client *clp);
|
D | nfs4session.c | 466 struct nfs4_session *nfs4_alloc_session(struct nfs_client *clp) in nfs4_alloc_session() argument 478 session->clp = clp; in nfs4_alloc_session() 493 cred = nfs4_get_clid_cred(session->clp); in nfs4_destroy_session() 499 xprt = rcu_dereference(session->clp->cl_rpcclient->cl_xprt); in nfs4_destroy_session() 515 static int nfs41_check_session_ready(struct nfs_client *clp) in nfs41_check_session_ready() argument 519 if (clp->cl_cons_state == NFS_CS_SESSION_INITING) { in nfs41_check_session_ready() 520 ret = nfs4_client_recover_expired_lease(clp); in nfs41_check_session_ready() 524 if (clp->cl_cons_state < NFS_CS_READY) in nfs41_check_session_ready() 530 int nfs4_init_session(struct nfs_client *clp) in nfs4_init_session() argument 532 if (!nfs4_has_session(clp)) in nfs4_init_session() [all …]
|
D | nfs4proc.c | 349 struct nfs_client *clp = server->nfs_client; in nfs4_handle_exception() local 387 nfs4_schedule_lease_recovery(clp); in nfs4_handle_exception() 395 nfs4_schedule_lease_moved_recovery(clp); in nfs4_handle_exception() 407 nfs4_schedule_session_recovery(clp->cl_session, errorcode); in nfs4_handle_exception() 443 ret = nfs4_wait_clnt_recover(clp); in nfs4_handle_exception() 455 static bool _nfs4_is_integrity_protected(struct nfs_client *clp) in _nfs4_is_integrity_protected() argument 457 rpc_authflavor_t flavor = clp->cl_rpcclient->cl_auth->au_flavor; in _nfs4_is_integrity_protected() 466 static void do_renew_lease(struct nfs_client *clp, unsigned long timestamp) in do_renew_lease() argument 468 spin_lock(&clp->cl_lock); in do_renew_lease() 469 if (time_before(clp->cl_last_renewal,timestamp)) in do_renew_lease() [all …]
|
D | pnfs_dev.c | 79 const struct nfs_client *clp, const struct nfs4_deviceid *id, in _lookup_deviceid() argument 85 if (d->ld == ld && d->nfs_client == clp && in _lookup_deviceid() 227 const struct nfs_client *clp, const struct nfs4_deviceid *id) in nfs4_delete_deviceid() argument 233 d = _lookup_deviceid(ld, clp, id, nfs4_deviceid_hash(id)); in nfs4_delete_deviceid() 312 _deviceid_purge_client(const struct nfs_client *clp, long hash) in _deviceid_purge_client() argument 320 if (d->nfs_client == clp && atomic_read(&d->ref)) { in _deviceid_purge_client() 339 nfs4_deviceid_purge_client(const struct nfs_client *clp) in nfs4_deviceid_purge_client() argument 343 if (!(clp->cl_exchange_flags & EXCHGID4_FLAG_USE_PNFS_MDS)) in nfs4_deviceid_purge_client() 346 _deviceid_purge_client(clp, h); in nfs4_deviceid_purge_client() 353 nfs4_deviceid_mark_client_invalid(struct nfs_client *clp) in nfs4_deviceid_mark_client_invalid() argument [all …]
|
D | fscache-index.c | 71 const struct nfs_client *clp = cookie_netfs_data; in nfs_server_get_key() local 72 const struct sockaddr_in6 *sin6 = (struct sockaddr_in6 *) &clp->cl_addr; in nfs_server_get_key() 73 const struct sockaddr_in *sin = (struct sockaddr_in *) &clp->cl_addr; in nfs_server_get_key() 78 key->nfsversion = clp->rpc_ops->version; in nfs_server_get_key() 79 key->family = clp->cl_addr.ss_family; in nfs_server_get_key() 81 switch (clp->cl_addr.ss_family) { in nfs_server_get_key() 96 clp->cl_addr.ss_family); in nfs_server_get_key()
|
D | fscache.c | 37 void nfs_fscache_get_client_cookie(struct nfs_client *clp) in nfs_fscache_get_client_cookie() argument 40 clp->fscache = fscache_acquire_cookie(nfs_fscache_netfs.primary_index, in nfs_fscache_get_client_cookie() 42 clp, true); in nfs_fscache_get_client_cookie() 44 clp, clp->fscache); in nfs_fscache_get_client_cookie() 50 void nfs_fscache_release_client_cookie(struct nfs_client *clp) in nfs_fscache_release_client_cookie() argument 53 clp, clp->fscache); in nfs_fscache_release_client_cookie() 55 fscache_relinquish_cookie(clp->fscache, 0); in nfs_fscache_release_client_cookie() 56 clp->fscache = NULL; in nfs_fscache_release_client_cookie()
|
D | pnfs_nfs.c | 584 struct nfs_client *clp = ERR_PTR(-EIO); in _nfs4_pnfs_v3_ds_connect() local 598 clp = get_v3_ds_connect(mds_srv->nfs_client, in _nfs4_pnfs_v3_ds_connect() 602 if (!IS_ERR(clp)) in _nfs4_pnfs_v3_ds_connect() 606 if (IS_ERR(clp)) { in _nfs4_pnfs_v3_ds_connect() 607 status = PTR_ERR(clp); in _nfs4_pnfs_v3_ds_connect() 612 ds->ds_clp = clp; in _nfs4_pnfs_v3_ds_connect() 625 struct nfs_client *clp = ERR_PTR(-EIO); in _nfs4_pnfs_v4_ds_connect() local 636 clp = nfs4_set_ds_client(mds_srv->nfs_client, in _nfs4_pnfs_v4_ds_connect() 641 if (!IS_ERR(clp)) in _nfs4_pnfs_v4_ds_connect() 645 if (IS_ERR(clp)) { in _nfs4_pnfs_v4_ds_connect() [all …]
|
D | nfs3client.c | 92 struct nfs_client *clp; in nfs3_set_ds_client() local 102 clp = nfs_get_client(&cl_init, &ds_timeout, mds_clp->cl_ipaddr, in nfs3_set_ds_client() 105 return clp; in nfs3_set_ds_client()
|
D | callback.c | 418 check_gss_callback_principal(struct nfs_client *clp, struct svc_rqst *rqstp) in check_gss_callback_principal() argument 426 if (clp->cl_minorversion != 0) in check_gss_callback_principal() 439 if (clp->cl_acceptor) in check_gss_callback_principal() 440 return !strcmp(p, clp->cl_acceptor); in check_gss_callback_principal() 452 if (strcmp(p, clp->cl_hostname) != 0) in check_gss_callback_principal()
|
D | nfs4idmap.c | 443 nfs_idmap_new(struct nfs_client *clp) in nfs_idmap_new() argument 465 error = rpc_add_pipe_dir_object(clp->cl_net, in nfs_idmap_new() 466 &clp->cl_rpcclient->cl_pipedir_objects, in nfs_idmap_new() 471 clp->cl_idmap = idmap; in nfs_idmap_new() 481 nfs_idmap_delete(struct nfs_client *clp) in nfs_idmap_delete() argument 483 struct idmap *idmap = clp->cl_idmap; in nfs_idmap_delete() 487 clp->cl_idmap = NULL; in nfs_idmap_delete() 488 rpc_remove_pipe_dir_object(clp->cl_net, in nfs_idmap_delete() 489 &clp->cl_rpcclient->cl_pipedir_objects, in nfs_idmap_delete()
|
D | pnfs.c | 219 struct nfs_client *clp = server->nfs_client; in pnfs_free_layout_hdr() local 221 spin_lock(&clp->cl_lock); in pnfs_free_layout_hdr() 223 spin_unlock(&clp->cl_lock); in pnfs_free_layout_hdr() 633 pnfs_layout_bulk_destroy_byserver_locked(struct nfs_client *clp, in pnfs_layout_bulk_destroy_byserver_locked() argument 648 spin_unlock(&clp->cl_lock); in pnfs_layout_bulk_destroy_byserver_locked() 650 spin_lock(&clp->cl_lock); in pnfs_layout_bulk_destroy_byserver_locked() 696 pnfs_destroy_layouts_byfsid(struct nfs_client *clp, in pnfs_destroy_layouts_byfsid() argument 703 spin_lock(&clp->cl_lock); in pnfs_destroy_layouts_byfsid() 706 list_for_each_entry_rcu(server, &clp->cl_superblocks, client_link) { in pnfs_destroy_layouts_byfsid() 709 if (pnfs_layout_bulk_destroy_byserver_locked(clp, in pnfs_destroy_layouts_byfsid() [all …]
|
D | fscache.h | 183 static inline void nfs_fscache_get_client_cookie(struct nfs_client *clp) {} in nfs_fscache_get_client_cookie() argument 184 static inline void nfs_fscache_release_client_cookie(struct nfs_client *clp) {} in nfs_fscache_release_client_cookie() argument
|
D | internal.h | 185 extern int nfs_wait_client_init_complete(const struct nfs_client *clp); 186 extern void nfs_mark_client_ready(struct nfs_client *clp, int state); 323 extern struct nfs_client *nfs_init_client(struct nfs_client *clp, 507 extern struct nfs_client *nfs4_init_client(struct nfs_client *clp, 510 extern int nfs40_walk_client_list(struct nfs_client *clp, 513 extern int nfs41_walk_client_list(struct nfs_client *clp,
|
D | callback.h | 42 struct nfs_client *clp; member 201 extern int nfs4_set_callback_sessionid(struct nfs_client *clp);
|
D | pnfs.h | 249 int pnfs_destroy_layouts_byfsid(struct nfs_client *clp, 252 int pnfs_destroy_layouts_byclid(struct nfs_client *clp, 287 void nfs4_deviceid_mark_client_invalid(struct nfs_client *clp); 545 static inline void pnfs_destroy_all_layouts(struct nfs_client *clp) in pnfs_destroy_all_layouts() argument
|
D | nfs4trace.h | 197 const struct nfs_client *clp, 201 TP_ARGS(clp, error), 205 rpc_peeraddr2str(clp->cl_rpcclient, 213 rpc_peeraddr2str(clp->cl_rpcclient, 227 const struct nfs_client *clp, \ 230 TP_ARGS(clp, error))
|
D | callback_xdr.c | 775 nfs4_callback_free_slot(cps->clp->cl_session); in nfs4_cb_free_slot() 898 .clp = NULL, in nfs4_callback_compound() 916 cps.clp = nfs4_find_client_ident(SVC_NET(rqstp), hdr_arg.cb_ident); in nfs4_callback_compound() 917 if (!cps.clp || !check_gss_callback_principal(cps.clp, rqstp)) in nfs4_callback_compound() 943 nfs_put_client(cps.clp); in nfs4_callback_compound()
|
D | super.c | 602 struct nfs_client *clp = nfss->nfs_client; in nfs_show_nfsv4_options() local 604 seq_printf(m, ",clientaddr=%s", clp->cl_ipaddr); in nfs_show_nfsv4_options() 645 struct nfs_client *clp = nfss->nfs_client; in nfs_show_mount_options() local 646 u32 version = clp->rpc_ops->version; in nfs_show_mount_options() 649 nfs_show_nfs_version(m, version, clp->cl_minorversion); in nfs_show_mount_options()
|
D | nfs4xdr.c | 1795 struct nfs_client *clp = args->client; in encode_create_session() local 1796 struct rpc_clnt *clnt = clp->cl_rpcclient; in encode_create_session() 1797 struct nfs_net *nn = net_generic(clp->cl_net, nfs_net_id); in encode_create_session() 2054 return session->clp->cl_mvops->minor_version; in nfs4_xdr_minorversion() 2598 struct nfs_client *clp) in nfs4_xdr_enc_renew() argument 2605 encode_renew(xdr, clp->cl_clientid, &hdr); in nfs4_xdr_enc_renew() 2788 .minorversion = session->clp->cl_mvops->minor_version, in nfs4_xdr_enc_destroy_session() 2801 struct nfs_client *clp) in nfs4_xdr_enc_destroy_clientid() argument 2804 .minorversion = clp->cl_mvops->minor_version, in nfs4_xdr_enc_destroy_clientid() 2808 encode_destroy_clientid(xdr, clp->cl_clientid, &hdr); in nfs4_xdr_enc_destroy_clientid() [all …]
|
/linux-4.1.27/fs/nfsd/ |
D | nfs4callback.c | 699 static struct rpc_cred *get_backchannel_cred(struct nfs4_client *clp, struct rpc_clnt *client, stru… in get_backchannel_cred() argument 701 if (clp->cl_minorversion == 0) { in get_backchannel_cred() 729 static int setup_callback_client(struct nfs4_client *clp, struct nfs4_cb_conn *conn, struct nfsd4_s… in setup_callback_client() argument 731 int maxtime = max_cb_time(clp->net); in setup_callback_client() 738 .net = clp->net, in setup_callback_client() 750 if (clp->cl_minorversion == 0) { in setup_callback_client() 751 if (!clp->cl_cred.cr_principal && in setup_callback_client() 752 (clp->cl_cred.cr_flavor >= RPC_AUTH_GSS_KRB5)) in setup_callback_client() 754 args.client_name = clp->cl_cred.cr_principal; in setup_callback_client() 757 args.authflavor = clp->cl_cred.cr_flavor; in setup_callback_client() [all …]
|
D | nfs4state.c | 116 static bool is_client_expired(struct nfs4_client *clp) in is_client_expired() argument 118 return clp->cl_time == 0; in is_client_expired() 121 static __be32 get_client_locked(struct nfs4_client *clp) in get_client_locked() argument 123 struct nfsd_net *nn = net_generic(clp->net, nfsd_net_id); in get_client_locked() 127 if (is_client_expired(clp)) in get_client_locked() 129 atomic_inc(&clp->cl_refcount); in get_client_locked() 135 renew_client_locked(struct nfs4_client *clp) in renew_client_locked() argument 137 struct nfsd_net *nn = net_generic(clp->net, nfsd_net_id); in renew_client_locked() 139 if (is_client_expired(clp)) { in renew_client_locked() 143 clp->cl_clientid.cl_boot, in renew_client_locked() [all …]
|
D | nfs4recover.c | 149 legacy_recdir_name_error(struct nfs4_client *clp, int error) in legacy_recdir_name_error() argument 162 nfsd4_client_tracking_exit(clp->net); in legacy_recdir_name_error() 167 nfsd4_create_clid_dir(struct nfs4_client *clp) in nfsd4_create_clid_dir() argument 174 struct nfsd_net *nn = net_generic(clp->net, nfsd_net_id); in nfsd4_create_clid_dir() 176 if (test_and_set_bit(NFSD4_CLIENT_STABLE, &clp->cl_flags)) in nfsd4_create_clid_dir() 181 status = nfs4_make_rec_clidname(dname, &clp->cl_name); in nfsd4_create_clid_dir() 183 return legacy_recdir_name_error(clp, status); in nfsd4_create_clid_dir() 221 crp->cr_clp = clp; in nfsd4_create_clid_dir() 337 nfsd4_remove_clid_dir(struct nfs4_client *clp) in nfsd4_remove_clid_dir() argument 343 struct nfsd_net *nn = net_generic(clp->net, nfsd_net_id); in nfsd4_remove_clid_dir() [all …]
|
D | nfs4layouts.c | 134 struct nfs4_client *clp = ls->ls_stid.sc_client; in nfsd4_free_layout_stateid() local 139 spin_lock(&clp->cl_lock); in nfsd4_free_layout_stateid() 141 spin_unlock(&clp->cl_lock); in nfsd4_free_layout_stateid() 187 struct nfs4_client *clp = cstate->clp; in nfsd4_alloc_layout_stateid() local 192 stp = nfs4_alloc_stid(cstate->clp, nfs4_layout_stateid_cache); in nfsd4_alloc_layout_stateid() 205 nfsd4_init_cb(&ls->ls_recall, clp, &nfsd4_cb_layout_ops, in nfsd4_alloc_layout_stateid() 220 spin_lock(&clp->cl_lock); in nfsd4_alloc_layout_stateid() 222 list_add(&ls->ls_perclnt, &clp->cl_lo_states); in nfsd4_alloc_layout_stateid() 223 spin_unlock(&clp->cl_lock); in nfsd4_alloc_layout_stateid() 507 struct nfs4_client *clp = cstate->clp; in nfsd4_return_client_layouts() local [all …]
|
D | pnfs.h | 59 void nfsd4_return_all_file_layouts(struct nfs4_client *clp, 71 static inline void nfsd4_return_all_client_layouts(struct nfs4_client *clp) in nfsd4_return_all_client_layouts() argument 74 static inline void nfsd4_return_all_file_layouts(struct nfs4_client *clp, in nfsd4_return_all_file_layouts() argument
|
D | state.h | 603 extern void nfsd4_probe_callback(struct nfs4_client *clp); 604 extern void nfsd4_probe_callback_sync(struct nfs4_client *clp); 605 extern void nfsd4_change_callback(struct nfs4_client *clp, struct nfs4_cb_conn *); 606 extern void nfsd4_init_cb(struct nfsd4_callback *cb, struct nfs4_client *clp, 631 extern void nfsd4_client_record_create(struct nfs4_client *clp); 632 extern void nfsd4_client_record_remove(struct nfs4_client *clp); 633 extern int nfsd4_client_record_check(struct nfs4_client *clp);
|
D | export.c | 803 exp_find_key(struct cache_detail *cd, struct auth_domain *clp, int fsid_type, in exp_find_key() argument 809 if (!clp) in exp_find_key() 812 key.ek_client = clp; in exp_find_key() 826 exp_get_by_name(struct cache_detail *cd, struct auth_domain *clp, in exp_get_by_name() argument 832 if (!clp) in exp_get_by_name() 835 key.ex_client = clp; in exp_get_by_name() 852 exp_parent(struct cache_detail *cd, struct auth_domain *clp, struct path *path) in exp_parent() argument 855 struct svc_export *exp = exp_get_by_name(cd, clp, path, NULL); in exp_parent() 861 exp = exp_get_by_name(cd, clp, path, NULL); in exp_parent() 876 exp_rootfh(struct net *net, struct auth_domain *clp, char *name, in exp_rootfh() argument [all …]
|
D | nfs4idmap.c | 519 struct auth_domain *clp; in rqst_authname() local 521 clp = rqstp->rq_gssclient ? rqstp->rq_gssclient : rqstp->rq_client; in rqst_authname() 522 return clp->name; in rqst_authname()
|
D | xdr4.h | 57 struct nfs4_client *clp; member
|
/linux-4.1.27/drivers/staging/lustre/lustre/llite/ |
D | rw26.c | 232 struct cl_page *clp; in ll_direct_rw_pages() local 252 clp = cl_page_find(env, obj, cl_index(obj, file_offset), in ll_direct_rw_pages() 254 if (IS_ERR(clp)) { in ll_direct_rw_pages() 255 rc = PTR_ERR(clp); in ll_direct_rw_pages() 259 rc = cl_page_own(env, io, clp); in ll_direct_rw_pages() 261 LASSERT(clp->cp_state == CPS_FREEING); in ll_direct_rw_pages() 262 cl_page_put(env, clp); in ll_direct_rw_pages() 270 if (clp->cp_type == CPT_CACHEABLE) { in ll_direct_rw_pages() 271 struct page *vmpage = cl_page_vmpage(env, clp); in ll_direct_rw_pages() 295 cl_page_disown(env, io, clp); in ll_direct_rw_pages() [all …]
|
D | vvp_page.c | 495 struct cl_page *clp = slice->cpl_page; in vvp_transient_page_fini() local 496 struct ccc_object *clobj = cl2ccc(clp->cp_obj); in vvp_transient_page_fini()
|
/linux-4.1.27/drivers/media/usb/pvrusb2/ |
D | pvrusb2-sysfs.c | 507 struct pvr2_sysfs_class *clp; in pvr2_sysfs_class_release() local 508 clp = container_of(class,struct pvr2_sysfs_class,class); in pvr2_sysfs_class_release() 509 pvr2_sysfs_trace("Destroying pvr2_sysfs_class id=%p",clp); in pvr2_sysfs_class_release() 510 kfree(clp); in pvr2_sysfs_class_release() 789 struct pvr2_sysfs_class *clp; in pvr2_sysfs_class_create() local 790 clp = kzalloc(sizeof(*clp),GFP_KERNEL); in pvr2_sysfs_class_create() 791 if (!clp) return clp; in pvr2_sysfs_class_create() 793 clp); in pvr2_sysfs_class_create() 794 clp->class.name = "pvrusb2"; in pvr2_sysfs_class_create() 795 clp->class.class_release = pvr2_sysfs_class_release; in pvr2_sysfs_class_create() [all …]
|
/linux-4.1.27/include/net/ |
D | pkt_cls.h | 21 __cls_set_class(unsigned long *clp, unsigned long cl) in __cls_set_class() argument 23 return xchg(clp, cl); in __cls_set_class() 27 cls_set_class(struct tcf_proto *tp, unsigned long *clp, in cls_set_class() argument 33 old_cl = __cls_set_class(clp, cl); in cls_set_class()
|
/linux-4.1.27/arch/arm/boot/dts/ |
D | nspire-clp.dts | 2 * linux/arch/arm/boot/nspire-clp.dts 44 compatible = "ti,nspire-clp";
|
D | Makefile | 352 nspire-clp.dtb
|
/linux-4.1.27/Documentation/devicetree/bindings/arm/ |
D | nspire.txt | 7 Clickpad models should have "ti,nspire-clp"
|
/linux-4.1.27/drivers/staging/lustre/lustre/obdecho/ |
D | echo_client.c | 1156 struct cl_page *clp; in cl_echo_async_brw() local 1160 cl_page_list_for_each_safe(clp, temp, &queue->c2_qin) { in cl_echo_async_brw() 1163 rc = cl_page_cache_add(env, io, clp, CRT_WRITE); in cl_echo_async_brw() 1180 struct cl_page *clp; in cl_echo_object_brw() local 1215 clp = cl_page_find(env, obj, cl_index(obj, offset), in cl_echo_object_brw() 1217 if (IS_ERR(clp)) { in cl_echo_object_brw() 1218 rc = PTR_ERR(clp); in cl_echo_object_brw() 1221 LASSERT(clp->cp_type == CPT_TRANSIENT); in cl_echo_object_brw() 1223 rc = cl_page_own(env, io, clp); in cl_echo_object_brw() 1225 LASSERT(clp->cp_state == CPS_FREEING); in cl_echo_object_brw() [all …]
|
/linux-4.1.27/fs/nfs/flexfilelayout/ |
D | flexfilelayout.c | 673 struct nfs_client *clp, in ff_layout_async_handle_error_v4() argument 683 struct nfs4_slot_table *tbl = &clp->cl_session->fc_slot_table; in ff_layout_async_handle_error_v4() 719 clp->cl_exchange_flags); in ff_layout_async_handle_error_v4() 720 nfs4_schedule_session_recovery(clp->cl_session, task->tk_status); in ff_layout_async_handle_error_v4() 811 struct nfs_client *clp, in ff_layout_async_handle_error() argument 815 int vers = clp->cl_nfs_mod->rpc_vers->number; in ff_layout_async_handle_error() 821 return ff_layout_async_handle_error_v4(task, state, clp, in ff_layout_async_handle_error()
|
/linux-4.1.27/drivers/atm/ |
D | nicstar.h | 236 #define ns_tbd_mkword_4(gfc, vpi, vci, pt, clp) \ argument 237 (cpu_to_le32((gfc) << 28 | (vpi) << 20 | (vci) << 4 | (pt) << 1 | (clp)))
|
D | fore200e.h | 90 u32 clp : 1, /* cell loss priority */
|
D | he.c | 2544 int clp, pti; in he_send() local 2547 clp = (*pti_clp & ATM_HDR_CLP); in he_send() 2549 if (clp) in he_send()
|
D | fore200e.c | 1073 rpd->atm_header.clp; in fore200e_push_rpd() 1709 tpd->atm_header.clp = (*cell_header & ATM_HDR_CLP); in fore200e_send() 1717 tpd->atm_header.clp = 0; in fore200e_send()
|
/linux-4.1.27/fs/nfs/filelayout/ |
D | filelayout.c | 123 struct nfs_client *clp, in filelayout_async_handle_error() argument 131 struct nfs4_slot_table *tbl = &clp->cl_session->fc_slot_table; in filelayout_async_handle_error() 164 clp->cl_exchange_flags); in filelayout_async_handle_error() 165 nfs4_schedule_session_recovery(clp->cl_session, task->tk_status); in filelayout_async_handle_error()
|
/linux-4.1.27/net/sched/ |
D | sch_cbq.c | 1124 struct cbq_class *cl, **clp; in cbq_unlink_class() local 1130 clp = &this->sibling; in cbq_unlink_class() 1131 cl = *clp; in cbq_unlink_class() 1134 *clp = cl->sibling; in cbq_unlink_class() 1137 clp = &cl->sibling; in cbq_unlink_class() 1138 } while ((cl = *clp) != this->sibling); in cbq_unlink_class()
|
D | sch_htb.c | 794 struct htb_prio *clp; in htb_lookup_leaf() local 799 clp = &cl->un.inner.clprio[prio]; in htb_lookup_leaf() 800 (++sp)->root = clp->feed.rb_node; in htb_lookup_leaf() 801 sp->pptr = &clp->ptr; in htb_lookup_leaf() 802 sp->pid = &clp->last_ptr_id; in htb_lookup_leaf()
|
/linux-4.1.27/include/linux/ |
D | nfs_xdr.h | 314 struct nfs_client *clp; member
|