Home
last modified time | relevance | path

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

/linux-6.3-rc2/include/linux/sunrpc/
A Dauth.h48 struct rpc_cred { struct
122 struct rpc_cred *);
127 int (*cr_init)(struct rpc_auth *, struct rpc_cred *);
128 void (*crdestroy)(struct rpc_cred *);
130 int (*crmatch)(struct auth_cred *, struct rpc_cred *, int);
140 int (*crkey_timeout)(struct rpc_cred *);
141 char * (*crstringify_acceptor)(struct rpc_cred *);
164 struct rpc_cred * rpcauth_lookupcred(struct rpc_auth *, int);
165 void put_rpccred(struct rpc_cred *);
185 char * rpcauth_stringify_acceptor(struct rpc_cred *);
[all …]
A Dsched.h29 const struct cred * rpc_cred; /* Credentials */ member
73 struct rpc_cred * tk_op_cred; /* cred being operated on */
110 struct rpc_cred *rpc_op_cred; /* credential being operated on */
A Dauth_gss.h84 struct rpc_cred gc_base;
A Dclnt.h201 struct rpc_task *rpc_call_null(struct rpc_clnt *clnt, struct rpc_cred *cred,
A Dxprt.h76 struct rpc_cred * rq_cred; /* Bound cred */
/linux-6.3-rc2/net/sunrpc/
A Dauth.c329 struct rpc_cred *cred; in rpcauth_destroy_credlist()
385 struct rpc_cred *cred; in rpcauth_clear_credcache()
516 struct rpc_cred *
580 struct rpc_cred *
584 struct rpc_cred *ret; in rpcauth_lookupcred()
609 static struct rpc_cred *
616 struct rpc_cred *ret; in rpcauth_bind_root_cred()
625 static struct rpc_cred *
641 static struct rpc_cred *
653 struct rpc_cred *new = NULL; in rpcauth_bindcred()
[all …]
A Dauth_unix.c43 static struct rpc_cred *unx_lookup_cred(struct rpc_auth *auth, in unx_lookup_cred()
46 struct rpc_cred *ret; in unx_lookup_cred()
64 struct rpc_cred *rpc_cred = container_of(head, struct rpc_cred, cr_rcu); in unx_free_cred_callback() local
66 put_cred(rpc_cred->cr_cred); in unx_free_cred_callback()
67 mempool_free(rpc_cred, unix_pool); in unx_free_cred_callback()
71 unx_destroy_cred(struct rpc_cred *cred) in unx_destroy_cred()
80 unx_match(struct auth_cred *acred, struct rpc_cred *cred, int flags) in unx_match()
114 struct rpc_cred *cred = task->tk_rqstp->rq_cred; in unx_marshal()
205 unix_pool = mempool_create_kmalloc_pool(16, sizeof(struct rpc_cred)); in rpc_init_authunix()
A 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 = {
A Dsched.c1205 if (task->tk_msg.rpc_cred) { in rpc_release_resources_task()
1207 put_cred(task->tk_msg.rpc_cred); in rpc_release_resources_task()
1208 task->tk_msg.rpc_cred = NULL; in rpc_release_resources_task()
A Dclnt.c1179 task->tk_msg.rpc_cred = msg->rpc_cred; in rpc_task_set_rpc_message()
1181 get_cred(task->tk_msg.rpc_cred); in rpc_task_set_rpc_message()
2801 struct rpc_xprt *xprt, struct rpc_cred *cred, int flags, in rpc_call_null_helper()
2821 struct rpc_task *rpc_call_null(struct rpc_clnt *clnt, struct rpc_cred *cred, int flags) in rpc_call_null()
/linux-6.3-rc2/net/sunrpc/auth_gss/
A Dauth_gss.c147 gss_cred_get_ctx(struct rpc_cred *cred) in gss_cred_get_ctx()
646 struct rpc_cred *cred = &gss_cred->gc_base; in gss_create_upcall()
1344 gss_destroy_nullcred(struct rpc_cred *cred) in gss_destroy_nullcred()
1359 gss_destroy_cred(struct rpc_cred *cred) in gss_destroy_cred()
1382 static struct rpc_cred *
1421 gss_stringify_acceptor(struct rpc_cred *cred) in gss_stringify_acceptor()
1480 gss_key_timeout(struct rpc_cred *rc) in gss_key_timeout()
1538 struct rpc_cred *cred = req->rq_cred; in gss_marshal()
1620 struct rpc_cred *new; in gss_renew_cred()
2111 struct rpc_cred *cred = req->rq_cred; in gss_xmit_need_reencode()
[all …]
A Dgss_rpc_upcall.c298 .rpc_cred = NULL, /* FIXME ? */ in gssp_accept_sec_context_upcall()
/linux-6.3-rc2/fs/nfs/
A Dnfs4proc.c3300 .rpc_cred = cred, in _nfs4_do_setattr()
4590 .rpc_cred = cred, in _nfs4_proc_access()
5751 .rpc_cred = cred, in nfs4_proc_async_renew()
5775 .rpc_cred = cred, in nfs4_proc_renew()
6432 .rpc_cred = cred, in nfs4_proc_setclientid()
6498 .rpc_cred = cred, in nfs4_proc_setclientid_confirm()
6649 .rpc_cred = cred, in _nfs4_proc_delegreturn()
8056 .rpc_cred = cred, in _nfs40_proc_get_locations()
8110 .rpc_cred = cred, in _nfs41_proc_get_locations()
8211 .rpc_cred = cred, in _nfs40_proc_fsid_present()
[all …]
A Dunlink.c94 .rpc_cred = data->cred, in nfs_do_call_unlink()
366 msg.rpc_cred = data->cred; in nfs_async_rename()
A Dnfs3proc.c143 msg.rpc_cred = nfs_file_cred(sattr->ia_file); in nfs3_proc_setattr()
236 .rpc_cred = cred, in nfs3_proc_access()
683 .rpc_cred = nr_arg->cred, in nfs3_proc_readdir()
A Dproc.c146 msg.rpc_cred = nfs_file_cred(sattr->ia_file); in nfs_proc_setattr()
515 .rpc_cred = nr_arg->cred, in nfs_proc_readdir()
A Dnfs4namespace.c225 struct rpc_cred *cred; in nfs_find_best_sec()
A Dnfs4_fs.h382 msg->rpc_cred = rpc_machine_cred(); in _nfs4_state_protect()
A Dwrite.c1248 struct rpc_cred *cred, *new, *old = NULL; in nfs_ctx_key_to_expire()
1690 .rpc_cred = data->cred, in nfs_initiate_commit()
A Dpagelist.c853 .rpc_cred = cred, in nfs_initiate_pgio()
A Dnfs42proc.c546 .rpc_cred = ctx->cred, in nfs42_do_offload_cancel_async()
/linux-6.3-rc2/fs/lockd/
A Dclntproc.c271 .rpc_cred = cred, in nlmclnt_call()
412 .rpc_cred = cred, in nlmclnt_async_call()
/linux-6.3-rc2/include/linux/
A Dnfs_fs.h82 struct rpc_cred __rcu *ll_cred; /* low-level cred - use to check for expiry */
A Dnfs_xdr.h1173 struct rpc_cred *sc_cred;
/linux-6.3-rc2/fs/nfsd/
A Dnfs4callback.c1427 cb->cb_msg.rpc_cred = clp->cl_cb_cred; in nfsd4_run_cb_work()

Completed in 87 milliseconds