/linux-4.1.27/include/linux/sunrpc/ |
D | auth.h | 50 struct rpc_cred { struct 118 struct rpc_cred * (*lookup_cred)(struct rpc_auth *, struct auth_cred *, int); 119 struct rpc_cred * (*crcreate)(struct rpc_auth*, struct auth_cred *, int); 125 struct rpc_cred *); 130 int (*cr_init)(struct rpc_auth *, struct rpc_cred *); 131 void (*crdestroy)(struct rpc_cred *); 133 int (*crmatch)(struct auth_cred *, struct rpc_cred *, int); 134 struct rpc_cred * (*crbind)(struct rpc_task *, struct rpc_cred *, int); 142 int (*crkey_timeout)(struct rpc_cred *); 143 bool (*crkey_to_expire)(struct rpc_cred *); [all …]
|
D | sched.h | 28 struct rpc_cred * rpc_cred; /* Credentials */ member
|
D | auth_gss.h | 82 struct rpc_cred gc_base;
|
D | clnt.h | 169 struct rpc_task *rpc_call_null(struct rpc_clnt *clnt, struct rpc_cred *cred,
|
D | xprt.h | 73 struct rpc_cred * rq_cred; /* Bound cred */
|
/linux-4.1.27/fs/nfs/ |
D | nfs4_fs.h | 103 struct rpc_cred *so_cred; /* Associated cred */ 197 int (*establish_clid)(struct nfs_client *, struct rpc_cred *); 198 int (*reclaim_complete)(struct nfs_client *, struct rpc_cred *); 200 struct rpc_cred *); 204 int (*sched_state_renewal)(struct nfs_client *, struct rpc_cred *, unsigned); 205 struct rpc_cred * (*get_state_renewal_cred_locked)(struct nfs_client *); 206 int (*renew_lease)(struct nfs_client *, struct rpc_cred *); 211 struct page *, struct rpc_cred *); 212 int (*fsid_present)(struct inode *, struct rpc_cred *); 236 extern int nfs4_proc_setclientid(struct nfs_client *, u32, unsigned short, struct rpc_cred *, struc… [all …]
|
D | delegation.h | 17 struct rpc_cred *cred; 37 int nfs_inode_set_delegation(struct inode *inode, struct rpc_cred *cred, struct nfs_openres *res); 38 void nfs_inode_reclaim_delegation(struct inode *inode, struct rpc_cred *cred, struct nfs_openres *r… 56 int nfs4_proc_delegreturn(struct inode *inode, struct rpc_cred *cred, const nfs4_stateid *stateid, …
|
D | nfs4state.c | 71 int nfs4_init_clientid(struct nfs_client *clp, struct rpc_cred *cred) in nfs4_init_clientid() 118 struct rpc_cred *cred) in nfs40_discover_server_trunking() 148 struct rpc_cred *nfs4_get_machine_cred_locked(struct nfs_client *clp) in nfs4_get_machine_cred_locked() 150 struct rpc_cred *cred = NULL; in nfs4_get_machine_cred_locked() 159 struct rpc_cred *cred, *new; in nfs4_root_machine_cred() 170 static struct rpc_cred * 173 struct rpc_cred *cred = NULL; in nfs4_get_renew_cred_server_locked() 196 struct rpc_cred *nfs4_get_renew_cred_locked(struct nfs_client *clp) in nfs4_get_renew_cred_locked() 198 struct rpc_cred *cred = NULL; in nfs4_get_renew_cred_locked() 306 int nfs41_init_clientid(struct nfs_client *clp, struct rpc_cred *cred) in nfs41_init_clientid() [all …]
|
D | nfs4proc.c | 85 static int nfs4_do_setattr(struct inode *inode, struct rpc_cred *cred, 91 struct rpc_cred *); 93 struct rpc_cred *); 1814 .rpc_cred = data->owner->so_cred, in _nfs4_proc_open_confirm() 1974 .rpc_cred = data->owner->so_cred, in nfs4_run_open_task() 2039 static int nfs4_opendata_access(struct rpc_cred *cred, in nfs4_opendata_access() 2209 struct rpc_cred *cred; in nfs41_check_delegation_stateid() 2249 struct rpc_cred *cred = state->owner->so_cred; in nfs41_check_open_stateid() 2371 struct rpc_cred *cred = ctx->cred; in _nfs4_do_open() 2519 static int _nfs4_do_setattr(struct inode *inode, struct rpc_cred *cred, in _nfs4_do_setattr() [all …]
|
D | nfs4renewd.c | 60 struct rpc_cred *cred; in nfs4_renew_state()
|
D | pnfs_dev.c | 98 struct rpc_cred *cred, gfp_t gfp_flags) in nfs4_get_device_info() 188 const struct nfs4_deviceid *id, struct rpc_cred *cred, in nfs4_find_get_deviceid()
|
D | pnfs.h | 196 struct rpc_cred *plh_lc_cred; /* layoutcommit cred */ 225 struct rpc_cred *cred); 316 const struct nfs4_deviceid *id, struct rpc_cred *cred,
|
D | internal.h | 253 struct rpc_cred *cred, const struct nfs_rpc_ops *rpc_ops, 512 struct rpc_cred *cred); 515 struct rpc_cred *cred);
|
D | dir.c | 70 static struct nfs_open_dir_context *alloc_nfs_open_dir_context(struct inode *dir, struct rpc_cred *… in alloc_nfs_open_dir_context() 106 struct rpc_cred *cred; in nfs_opendir() 373 struct rpc_cred *cred = ctx->cred; in nfs_readdir_xdr_filler() 2222 static struct nfs_access_entry *nfs_access_search_rbtree(struct inode *inode, struct rpc_cred *cred) in nfs_access_search_rbtree() 2240 static int nfs_access_get_cached(struct inode *inode, struct rpc_cred *cred, struct nfs_access_entr… in nfs_access_get_cached() 2275 static int nfs_access_get_cached_rcu(struct inode *inode, struct rpc_cred *cred, struct nfs_access_… in nfs_access_get_cached_rcu() 2387 static int nfs_do_access(struct inode *inode, struct rpc_cred *cred, int mask) in nfs_do_access() 2443 int nfs_may_open(struct inode *inode, struct rpc_cred *cred, int openflags) in nfs_may_open() 2451 struct rpc_cred *cred; in nfs_permission()
|
D | proc.c | 138 msg.rpc_cred = nfs_file_cred(sattr->ia_file); in nfs_proc_setattr() 487 nfs_proc_readdir(struct dentry *dentry, struct rpc_cred *cred, in nfs_proc_readdir() 500 .rpc_cred = cred, in nfs_proc_readdir()
|
D | nfs3proc.c | 137 msg.rpc_cred = nfs_file_cred(sattr->ia_file); in nfs3_proc_setattr() 196 .rpc_cred = entry->cred, in nfs3_proc_access() 623 nfs3_proc_readdir(struct dentry *dentry, struct rpc_cred *cred, in nfs3_proc_readdir() 644 .rpc_cred = cred in nfs3_proc_readdir()
|
D | delegation.c | 165 void nfs_inode_reclaim_delegation(struct inode *inode, struct rpc_cred *cred, in nfs_inode_reclaim_delegation() 169 struct rpc_cred *oldcred = NULL; in nfs_inode_reclaim_delegation() 326 int nfs_inode_set_delegation(struct inode *inode, struct rpc_cred *cred, struct nfs_openres *res) in nfs_inode_set_delegation()
|
D | unlink.c | 122 .rpc_cred = data->cred, in nfs_do_call_unlink() 432 msg.rpc_cred = data->cred; in nfs_async_rename()
|
D | nfs4namespace.c | 174 struct rpc_cred *cred; in nfs_find_best_sec()
|
D | nfs4client.c | 479 struct rpc_cred *cred) in nfs40_walk_client_list() 615 struct rpc_cred *cred) in nfs41_walk_client_list()
|
D | nfs4session.c | 491 struct rpc_cred *cred; in nfs4_destroy_session()
|
D | pagelist.c | 617 struct rpc_cred *cred, const struct nfs_rpc_ops *rpc_ops, in nfs_initiate_pgio() 624 .rpc_cred = cred, in nfs_initiate_pgio()
|
D | inode.c | 784 struct rpc_cred *cred = rpc_lookup_cred(); in alloc_nfs_open_context() 870 struct nfs_open_context *nfs_find_open_context(struct inode *inode, struct rpc_cred *cred, fmode_t … in nfs_find_open_context()
|
D | client.c | 153 struct rpc_cred *cred; in nfs_alloc_client()
|
D | write.c | 1550 .rpc_cred = data->cred, in nfs_initiate_commit()
|
/linux-4.1.27/net/sunrpc/ |
D | auth_generic.c | 25 struct rpc_cred gc_base; 35 struct rpc_cred *rpc_lookup_cred(void) in rpc_lookup_cred() 41 struct rpc_cred *rpc_lookup_cred_nonblock(void) in rpc_lookup_cred_nonblock() 50 struct rpc_cred *rpc_lookup_machine_cred(const char *service_name) in rpc_lookup_machine_cred() 65 static struct rpc_cred *generic_bind_cred(struct rpc_task *task, in generic_bind_cred() 66 struct rpc_cred *cred, int lookupflags) in generic_bind_cred() 77 static struct rpc_cred * 83 static struct rpc_cred * 113 generic_free_cred(struct rpc_cred *cred) in generic_free_cred() 126 struct rpc_cred *cred = container_of(head, struct rpc_cred, cr_rcu); in generic_free_cred_callback() [all …]
|
D | auth.c | 300 rpcauth_unhash_cred_locked(struct rpc_cred *cred) in rpcauth_unhash_cred_locked() 308 rpcauth_unhash_cred(struct rpc_cred *cred) in rpcauth_unhash_cred() 353 rpcauth_key_timeout_notify(struct rpc_auth *auth, struct rpc_cred *cred) in rpcauth_key_timeout_notify() 362 rpcauth_cred_key_to_expire(struct rpc_cred *cred) in rpcauth_cred_key_to_expire() 371 rpcauth_stringify_acceptor(struct rpc_cred *cred) in rpcauth_stringify_acceptor() 385 struct rpc_cred *cred; in rpcauth_destroy_credlist() 388 cred = list_entry(head->next, struct rpc_cred, cr_lru); in rpcauth_destroy_credlist() 403 struct rpc_cred *cred; in rpcauth_clear_credcache() 412 cred = hlist_entry(head->first, struct rpc_cred, cr_hash); in rpcauth_clear_credcache() 454 struct rpc_cred *cred, *next; in rpcauth_prune_expired() [all …]
|
D | auth_null.c | 18 static struct rpc_cred null_cred; 35 static struct rpc_cred * 47 nul_destroy_cred(struct rpc_cred *cred) in nul_destroy_cred() 55 nul_match(struct auth_cred *acred, struct rpc_cred *cred, int taskflags) in nul_match() 135 struct rpc_cred null_cred = {
|
D | auth_unix.c | 20 struct rpc_cred uc_base; 54 static struct rpc_cred * 60 static struct rpc_cred * 106 unx_destroy_cred(struct rpc_cred *cred) in unx_destroy_cred() 117 unx_match(struct auth_cred *acred, struct rpc_cred *rcred, int flags) in unx_match()
|
D | clnt.c | 925 if (msg->rpc_cred != NULL) in rpc_task_set_rpc_message() 926 task->tk_msg.rpc_cred = get_rpccred(msg->rpc_cred); in rpc_task_set_rpc_message() 2413 msg.rpc_cred = authnull_ops.lookup_cred(NULL, NULL, 0); in rpc_ping() 2415 put_rpccred(msg.rpc_cred); in rpc_ping() 2419 struct rpc_task *rpc_call_null(struct rpc_clnt *clnt, struct rpc_cred *cred, int flags) in rpc_call_null() 2423 .rpc_cred = cred, in rpc_call_null()
|
D | sched.c | 990 if (task->tk_msg.rpc_cred) { in rpc_release_resources_task() 991 put_rpccred(task->tk_msg.rpc_cred); in rpc_release_resources_task() 992 task->tk_msg.rpc_cred = NULL; in rpc_release_resources_task()
|
/linux-4.1.27/fs/nfs/flexfilelayout/ |
D | flexfilelayout.h | 55 struct rpc_cred *cred; 152 struct rpc_cred *ff_layout_get_ds_cred(struct pnfs_layout_segment *lseg, 153 u32 ds_idx, struct rpc_cred *mdscred);
|
D | flexfilelayoutdev.c | 314 struct rpc_cred *cred; in ff_layout_update_mirror_cred() 441 struct rpc_cred * 443 struct rpc_cred *mdscred) in ff_layout_get_ds_cred() 446 struct rpc_cred *cred = ERR_PTR(-EINVAL); in ff_layout_get_ds_cred()
|
D | flexfilelayout.c | 1231 struct rpc_cred *ds_cred; in ff_layout_read_pagelist() 1293 struct rpc_cred *ds_cred; in ff_layout_write_pagelist() 1362 struct rpc_cred *ds_cred; in ff_layout_initiate_commit()
|
/linux-4.1.27/include/linux/ |
D | nfs_fs.h | 53 struct rpc_cred * cred; 81 struct rpc_cred *cred; 97 struct rpc_cred *cred; 366 extern struct nfs_open_context *nfs_find_open_context(struct inode *inode, struct rpc_cred *cred, f… 436 static inline struct rpc_cred *nfs_file_cred(struct file *file) in nfs_file_cred() 466 extern int nfs_may_open(struct inode *inode, struct rpc_cred *cred, int openflags);
|
D | nfs_xdr.h | 251 struct rpc_cred *cred; 289 struct rpc_cred *cred; 313 struct rpc_cred *cred; 998 struct rpc_cred *sc_cred; 1324 struct rpc_cred *cred; 1383 struct rpc_cred *cred; 1412 struct rpc_cred *cred; 1420 struct rpc_cred *cred; 1479 int (*readdir) (struct dentry *, struct rpc_cred *,
|
D | nfs_fs_sb.h | 58 struct rpc_cred *cl_machine_cred;
|
/linux-4.1.27/net/sunrpc/auth_gss/ |
D | auth_gss.c | 137 gss_cred_set_ctx(struct rpc_cred *cred, struct gss_cl_ctx *ctx) in gss_cred_set_ctx() 180 gss_cred_get_ctx(struct rpc_cred *cred) in gss_cred_get_ctx() 530 gss_setup_upcall(struct gss_auth *gss_auth, struct rpc_cred *cred) in gss_setup_upcall() 560 struct rpc_cred *cred = task->tk_rqstp->rq_cred; in gss_refresh_upcall() 613 struct rpc_cred *cred = &gss_cred->gc_base; in gss_create_upcall() 1207 gss_destroying_context(struct rpc_cred *cred) in gss_destroying_context() 1274 gss_destroy_nullcred(struct rpc_cred *cred) in gss_destroy_nullcred() 1288 gss_destroy_cred(struct rpc_cred *cred) in gss_destroy_cred() 1299 static struct rpc_cred * 1305 static struct rpc_cred * [all …]
|
D | gss_rpc_upcall.c | 275 .rpc_cred = NULL, /* FIXME ? */ in gssp_accept_sec_context_upcall()
|
/linux-4.1.27/fs/lockd/ |
D | clntproc.c | 249 nlmclnt_call(struct rpc_cred *cred, struct nlm_rqst *req, u32 proc) in nlmclnt_call() 258 .rpc_cred = cred, in nlmclnt_call() 394 static int nlmclnt_async_call(struct rpc_cred *cred, struct nlm_rqst *req, u32 proc, const struct r… in nlmclnt_async_call() 399 .rpc_cred = cred, in nlmclnt_async_call() 514 struct rpc_cred *cred = nfs_file_cred(fl->fl_file); in nlmclnt_lock()
|
/linux-4.1.27/fs/nfsd/ |
D | nfs4callback.c | 687 static struct rpc_cred *callback_cred; 699 static struct rpc_cred *get_backchannel_cred(struct nfs4_client *clp, struct rpc_clnt *client, stru… in get_backchannel_cred() 748 struct rpc_cred *cred; in setup_callback_client() 1078 cb->cb_msg.rpc_cred = clp->cl_cb_cred; in nfsd4_run_cb_work()
|
D | state.h | 326 struct rpc_cred *cl_cb_cred;
|