Home
last modified time | relevance | path

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

/linux/include/linux/sunrpc/
H A Dauth.h48 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);
122 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 …]
H A Dauth_gss.h84 struct rpc_cred gc_base;
H A Dxprt.h68 struct rpc_cred * rq_cred; /* Bound cred */
/linux/net/sunrpc/
H A Dauth.c261 rpcauth_unhash_cred_locked(struct rpc_cred *cred) in rpcauth_unhash_cred_locked()
270 rpcauth_unhash_cred(struct rpc_cred *cred) in rpcauth_unhash_cred()
312 rpcauth_stringify_acceptor(struct rpc_cred *cred) in rpcauth_stringify_acceptor()
326 struct rpc_cred *cred; in rpcauth_destroy_credlist()
329 cred = list_entry(head->next, struct rpc_cred, cr_lru); in rpcauth_destroy_credlist()
336 rpcauth_lru_add_locked(struct rpc_cred *cred) in rpcauth_lru_add_locked()
345 rpcauth_lru_add(struct rpc_cred *cred) in rpcauth_lru_add()
355 rpcauth_lru_remove_locked(struct rpc_cred *cred) in rpcauth_lru_remove_locked()
364 rpcauth_lru_remove(struct rpc_cred *cred) in rpcauth_lru_remove()
382 struct rpc_cred *cred; in rpcauth_clear_credcache()
[all …]
H 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()
H 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 = {
H A Dauth_tls.c17 static struct rpc_cred tls_cred;
84 static struct rpc_cred *tls_lookup_cred(struct rpc_auth *auth, in tls_lookup_cred()
90 static void tls_destroy_cred(struct rpc_cred *cred) in tls_destroy_cred()
94 static int tls_match(struct auth_cred *acred, struct rpc_cred *cred, int taskflags) in tls_match()
169 static struct rpc_cred tls_cred = {
H A Dsched.c1201 if (task->tk_msg.rpc_cred) { in rpc_release_resources_task()
1203 put_cred(task->tk_msg.rpc_cred); in rpc_release_resources_task()
1204 task->tk_msg.rpc_cred = NULL; in rpc_release_resources_task()
H A Dclnt.c1202 task->tk_msg.rpc_cred = msg->rpc_cred; in rpc_task_set_rpc_message()
1204 get_cred(task->tk_msg.rpc_cred); in rpc_task_set_rpc_message()
2704 struct rpc_cred *cred = task->tk_rqstp->rq_cred; in rpc_decode_header()
2861 struct rpc_xprt *xprt, struct rpc_cred *cred, int flags, in rpc_call_null_helper()
2881 struct rpc_task *rpc_call_null(struct rpc_clnt *clnt, struct rpc_cred *cred, int flags) in rpc_call_null()
/linux/net/sunrpc/auth_gss/
H A Dauth_gss.c135 gss_cred_set_ctx(struct rpc_cred *cred, struct gss_cl_ctx *ctx) in gss_cred_set_ctx()
149 gss_cred_get_ctx(struct rpc_cred *cred) in gss_cred_get_ctx()
565 gss_setup_upcall(struct gss_auth *gss_auth, struct rpc_cred *cred) in gss_setup_upcall()
599 struct rpc_cred *cred = task->tk_rqstp->rq_cred; in gss_refresh_upcall()
649 struct rpc_cred *cred = &gss_cred->gc_base; in gss_create_upcall()
1277 gss_send_destroy_context(struct rpc_cred *cred) in gss_send_destroy_context()
1338 gss_destroy_nullcred(struct rpc_cred *cred) in gss_destroy_nullcred()
1353 gss_destroy_cred(struct rpc_cred *cred) in gss_destroy_cred()
1369 static struct rpc_cred *gss_lookup_cred(struct rpc_auth *auth, in gss_lookup_cred()
1376 static struct rpc_cred *
[all …]
H A Dgss_rpc_upcall.c298 .rpc_cred = NULL, /* FIXME ? */ in gssp_accept_sec_context_upcall()
/linux/fs/nfs/
H A Dnfs40proc.c117 .rpc_cred = cred, in nfs4_proc_async_renew()
141 .rpc_cred = cred, in nfs4_proc_renew()
194 .rpc_cred = cred, in _nfs40_proc_get_locations()
237 .rpc_cred = cred, in _nfs40_proc_fsid_present()
H A Dnfs4proc.c933 nfs4_probe_sequence(clp, task->tk_msg.rpc_cred, slot); in nfs41_sequence_process()
2439 .rpc_cred = data->owner->so_cred, in _nfs4_proc_open_confirm()
2607 .rpc_cred = data->owner->so_cred, in nfs4_run_open_task()
3319 .rpc_cred = cred, in _nfs4_do_setattr()
3356 msg.rpc_cred = delegation_cred; in _nfs4_do_setattr()
3617 task->tk_msg.rpc_cred); in nfs4_close_done()
3760 .rpc_cred = state->owner->so_cred, in nfs4_do_close()
3800 &calldata->lr.res, msg.rpc_cred, wait); in nfs4_do_close()
4763 .rpc_cred = cred, in _nfs4_proc_access()
5332 .rpc_cred = nr_arg->cred, in _nfs4_proc_readdir()
[all …]
H A Dunlink.c94 .rpc_cred = data->cred, in nfs_do_call_unlink()
368 msg.rpc_cred = data->cred; in nfs_async_rename()
H A Dnfs3proc.c144 msg.rpc_cred = nfs_file_cred(sattr->ia_file); in nfs3_proc_setattr()
236 .rpc_cred = cred, in nfs3_proc_access()
693 .rpc_cred = nr_arg->cred, in nfs3_proc_readdir()
H A Dnfs4namespace.c225 struct rpc_cred *cred; in nfs_find_best_sec()
H A Dnfs42proc.c649 .rpc_cred = ctx->cred, in nfs42_do_offload_cancel_async()
695 .rpc_cred = ctx->cred, in _nfs42_proc_offload_status()
H A Dwrite.c1178 struct rpc_cred *cred, *new, *old = NULL; in nfs_ctx_key_to_expire()
1642 .rpc_cred = data->cred, in nfs_initiate_commit()
H A Dpagelist.c742 .rpc_cred = cred, in nfs_initiate_pgio()
/linux/include/linux/
H A Dnfs_fs.h103 struct rpc_cred __rcu *ll_cred; /* low-level cred - use to check for expiry */
H A Dnfs_xdr.h1208 struct rpc_cred *sc_cred;