Home
last modified time | relevance | path

Searched refs:rpc_cred (Results 1 – 25 of 25) sorted by relevance

/Linux-v5.4/include/linux/sunrpc/
Dauth.h50 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 …]
Dsched.h29 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 */
Dauth_gss.h85 struct rpc_cred gc_base;
Dclnt.h189 struct rpc_task *rpc_call_null(struct rpc_clnt *clnt, struct rpc_cred *cred,
Dxprt.h77 struct rpc_cred * rq_cred; /* Bound cred */
/Linux-v5.4/net/sunrpc/
Dauth_unix.c43 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()
Dauth.c313 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 …]
Dauth_null.c19 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 = {
Dsched.c1161 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()
Dclnt.c1099 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/
Dauth_gss.c114 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 …]
Dgss_rpc_upcall.c292 .rpc_cred = NULL, /* FIXME ? */ in gssp_accept_sec_context_upcall()
/Linux-v5.4/fs/nfs/
Dnfs4proc.c2320 .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 …]
Dunlink.c94 .rpc_cred = data->cred, in nfs_do_call_unlink()
356 msg.rpc_cred = data->cred; in nfs_async_rename()
Dnfs3proc.c139 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()
Dproc.c140 msg.rpc_cred = nfs_file_cred(sattr->ia_file); in nfs_proc_setattr()
506 .rpc_cred = cred, in nfs_proc_readdir()
Dnfs4namespace.c176 struct rpc_cred *cred; in nfs_find_best_sec()
Dnfs4_fs.h357 msg->rpc_cred = rpc_machine_cred(); in _nfs4_state_protect()
Dwrite.c1258 struct rpc_cred *cred = ctx->ll_cred; in nfs_ctx_key_to_expire()
1690 .rpc_cred = data->cred, in nfs_initiate_commit()
Dnfs42proc.c425 .rpc_cred = ctx->cred, in nfs42_do_offload_cancel_async()
Dpagelist.c621 .rpc_cred = cred, in nfs_initiate_pgio()
/Linux-v5.4/fs/lockd/
Dclntproc.c270 .rpc_cred = cred, in nlmclnt_call()
411 .rpc_cred = cred, in nlmclnt_async_call()
/Linux-v5.4/include/linux/
Dnfs_fs.h74 struct rpc_cred *ll_cred; /* low-level cred - use to check for expiry */
Dnfs_xdr.h1148 struct rpc_cred *sc_cred;
/Linux-v5.4/fs/nfsd/
Dnfs4callback.c1271 cb->cb_msg.rpc_cred = clp->cl_cb_cred; in nfsd4_run_cb_work()