/Linux-v5.4/include/linux/sunrpc/ |
D | auth.h | 50 struct rpc_cred { struct 116 struct rpc_cred * (*lookup_cred)(struct rpc_auth *, struct auth_cred *, int); 117 struct rpc_cred * (*crcreate)(struct rpc_auth*, struct auth_cred *, int, gfp_t); 123 struct rpc_cred *); 128 int (*cr_init)(struct rpc_auth *, struct rpc_cred *); 129 void (*crdestroy)(struct rpc_cred *); 131 int (*crmatch)(struct auth_cred *, struct rpc_cred *, int); 141 int (*crkey_timeout)(struct rpc_cred *); 142 char * (*crstringify_acceptor)(struct rpc_cred *); 164 struct rpc_cred * rpcauth_lookup_credcache(struct rpc_auth *, struct auth_cred *, int, gfp_t); [all …]
|
D | sched.h | 29 const struct cred * rpc_cred; /* Credentials */ member 75 struct rpc_cred * tk_op_cred; /* cred being operated on */ 110 struct rpc_cred *rpc_op_cred; /* credential being operated on */
|
D | auth_gss.h | 85 struct rpc_cred gc_base;
|
D | clnt.h | 189 struct rpc_task *rpc_call_null(struct rpc_clnt *clnt, struct rpc_cred *cred,
|
D | xprt.h | 77 struct rpc_cred * rq_cred; /* Bound cred */
|
/Linux-v5.4/net/sunrpc/ |
D | auth_unix.c | 43 static struct rpc_cred * 46 struct rpc_cred *ret = mempool_alloc(unix_pool, GFP_NOFS); in unx_lookup_cred() 56 struct rpc_cred *rpc_cred = container_of(head, struct rpc_cred, cr_rcu); in unx_free_cred_callback() local 58 put_cred(rpc_cred->cr_cred); in unx_free_cred_callback() 59 mempool_free(rpc_cred, unix_pool); in unx_free_cred_callback() 63 unx_destroy_cred(struct rpc_cred *cred) in unx_destroy_cred() 72 unx_match(struct auth_cred *acred, struct rpc_cred *cred, int flags) in unx_match() 106 struct rpc_cred *cred = task->tk_rqstp->rq_cred; in unx_marshal() 197 unix_pool = mempool_create_kmalloc_pool(16, sizeof(struct rpc_cred)); in rpc_init_authunix()
|
D | auth.c | 313 rpcauth_unhash_cred_locked(struct rpc_cred *cred) in rpcauth_unhash_cred_locked() 322 rpcauth_unhash_cred(struct rpc_cred *cred) in rpcauth_unhash_cred() 364 rpcauth_stringify_acceptor(struct rpc_cred *cred) in rpcauth_stringify_acceptor() 378 struct rpc_cred *cred; in rpcauth_destroy_credlist() 381 cred = list_entry(head->next, struct rpc_cred, cr_lru); in rpcauth_destroy_credlist() 388 rpcauth_lru_add_locked(struct rpc_cred *cred) in rpcauth_lru_add_locked() 397 rpcauth_lru_add(struct rpc_cred *cred) in rpcauth_lru_add() 407 rpcauth_lru_remove_locked(struct rpc_cred *cred) in rpcauth_lru_remove_locked() 416 rpcauth_lru_remove(struct rpc_cred *cred) in rpcauth_lru_remove() 434 struct rpc_cred *cred; in rpcauth_clear_credcache() [all …]
|
D | auth_null.c | 19 static struct rpc_cred null_cred; 36 static struct rpc_cred * 46 nul_destroy_cred(struct rpc_cred *cred) in nul_destroy_cred() 54 nul_match(struct auth_cred *acred, struct rpc_cred *cred, int taskflags) in nul_match() 137 struct rpc_cred null_cred = {
|
D | sched.c | 1161 if (task->tk_msg.rpc_cred) { in rpc_release_resources_task() 1162 put_cred(task->tk_msg.rpc_cred); in rpc_release_resources_task() 1163 task->tk_msg.rpc_cred = NULL; in rpc_release_resources_task()
|
D | clnt.c | 1099 if (msg->rpc_cred != NULL) in rpc_task_set_rpc_message() 1100 task->tk_msg.rpc_cred = get_cred(msg->rpc_cred); in rpc_task_set_rpc_message() 2733 struct rpc_xprt *xprt, struct rpc_cred *cred, int flags, in rpc_call_null_helper() 2752 struct rpc_task *rpc_call_null(struct rpc_clnt *clnt, struct rpc_cred *cred, int flags) in rpc_call_null()
|
/Linux-v5.4/net/sunrpc/auth_gss/ |
D | auth_gss.c | 114 gss_cred_set_ctx(struct rpc_cred *cred, struct gss_cl_ctx *ctx) in gss_cred_set_ctx() 157 gss_cred_get_ctx(struct rpc_cred *cred) in gss_cred_get_ctx() 572 gss_setup_upcall(struct gss_auth *gss_auth, struct rpc_cred *cred) in gss_setup_upcall() 606 struct rpc_cred *cred = task->tk_rqstp->rq_cred; in gss_refresh_upcall() 656 struct rpc_cred *cred = &gss_cred->gc_base; in gss_create_upcall() 1274 gss_send_destroy_context(struct rpc_cred *cred) in gss_send_destroy_context() 1334 gss_destroy_nullcred(struct rpc_cred *cred) in gss_destroy_nullcred() 1349 gss_destroy_cred(struct rpc_cred *cred) in gss_destroy_cred() 1366 static struct rpc_cred * 1372 static struct rpc_cred * [all …]
|
D | gss_rpc_upcall.c | 292 .rpc_cred = NULL, /* FIXME ? */ in gssp_accept_sec_context_upcall()
|
/Linux-v5.4/fs/nfs/ |
D | nfs4proc.c | 2320 .rpc_cred = data->owner->so_cred, in _nfs4_proc_open_confirm() 2485 .rpc_cred = data->owner->so_cred, in nfs4_run_open_task() 3205 .rpc_cred = cred, in _nfs4_do_setattr() 3238 msg.rpc_cred = delegation_cred; in _nfs4_do_setattr() 3465 task->tk_msg.rpc_cred); in nfs4_close_done() 3605 .rpc_cred = state->owner->so_cred, in nfs4_do_close() 3641 &calldata->lr.arg, &calldata->lr.res, msg.rpc_cred); in nfs4_do_close() 4327 .rpc_cred = entry->cred, in _nfs4_proc_access() 4856 .rpc_cred = cred, in _nfs4_proc_readdir() 5420 .rpc_cred = cred, in nfs4_proc_async_renew() [all …]
|
D | unlink.c | 94 .rpc_cred = data->cred, in nfs_do_call_unlink() 356 msg.rpc_cred = data->cred; in nfs_async_rename()
|
D | nfs3proc.c | 139 msg.rpc_cred = nfs_file_cred(sattr->ia_file); in nfs3_proc_setattr() 202 .rpc_cred = entry->cred, in nfs3_proc_access() 652 .rpc_cred = cred, in nfs3_proc_readdir()
|
D | proc.c | 140 msg.rpc_cred = nfs_file_cred(sattr->ia_file); in nfs_proc_setattr() 506 .rpc_cred = cred, in nfs_proc_readdir()
|
D | nfs4namespace.c | 176 struct rpc_cred *cred; in nfs_find_best_sec()
|
D | nfs4_fs.h | 357 msg->rpc_cred = rpc_machine_cred(); in _nfs4_state_protect()
|
D | write.c | 1258 struct rpc_cred *cred = ctx->ll_cred; in nfs_ctx_key_to_expire() 1690 .rpc_cred = data->cred, in nfs_initiate_commit()
|
D | nfs42proc.c | 425 .rpc_cred = ctx->cred, in nfs42_do_offload_cancel_async()
|
D | pagelist.c | 621 .rpc_cred = cred, in nfs_initiate_pgio()
|
/Linux-v5.4/fs/lockd/ |
D | clntproc.c | 270 .rpc_cred = cred, in nlmclnt_call() 411 .rpc_cred = cred, in nlmclnt_async_call()
|
/Linux-v5.4/include/linux/ |
D | nfs_fs.h | 74 struct rpc_cred *ll_cred; /* low-level cred - use to check for expiry */
|
D | nfs_xdr.h | 1148 struct rpc_cred *sc_cred;
|
/Linux-v5.4/fs/nfsd/ |
D | nfs4callback.c | 1271 cb->cb_msg.rpc_cred = clp->cl_cb_cred; in nfsd4_run_cb_work()
|