Home
last modified time | relevance | path

Searched refs:rpc_auth (Results 1 – 12 of 12) sorted by relevance

/linux-6.6.21/include/linux/sunrpc/
Dauth.h46 struct rpc_auth;
52 struct rpc_auth * cr_auth;
73 struct rpc_auth { struct
111 struct rpc_auth * (*create)(const struct rpc_auth_create_args *,
113 void (*destroy)(struct rpc_auth *);
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);
121 int (*key_timeout)(struct rpc_auth *,
128 int (*cr_init)(struct rpc_auth *, struct rpc_cred *);
157 struct rpc_auth * rpcauth_create(const struct rpc_auth_create_args *,
[all …]
Dclnt.h57 struct rpc_auth * cl_auth; /* authenticator */
/linux-6.6.21/net/sunrpc/
Dauth_null.c18 static struct rpc_auth null_auth;
21 static struct rpc_auth *
29 nul_destroy(struct rpc_auth *auth) in nul_destroy()
37 nul_lookup_cred(struct rpc_auth *auth, struct auth_cred *acred, int flags) in nul_lookup_cred()
114 struct rpc_auth null_auth = {
Dauth_tls.c16 static struct rpc_auth tls_auth;
73 static struct rpc_auth *tls_create(const struct rpc_auth_create_args *args, in tls_create()
80 static void tls_destroy(struct rpc_auth *auth) in tls_destroy()
84 static struct rpc_cred *tls_lookup_cred(struct rpc_auth *auth, in tls_lookup_cred()
148 static struct rpc_auth tls_auth = {
Dauth_unix.c24 static struct rpc_auth unix_auth;
28 static struct rpc_auth *
36 unx_destroy(struct rpc_auth *auth) in unx_destroy()
43 static struct rpc_cred *unx_lookup_cred(struct rpc_auth *auth, in unx_lookup_cred()
175 struct rpc_auth *auth = task->tk_rqstp->rq_cred->cr_auth; in unx_validate()
224 struct rpc_auth unix_auth = {
Dauth.c221 struct rpc_auth *
224 struct rpc_auth *auth = ERR_PTR(-EINVAL); in rpcauth_create()
247 rpcauth_release(struct rpc_auth *auth) in rpcauth_release()
288 rpcauth_init_credcache(struct rpc_auth *auth) in rpcauth_init_credcache()
407 rpcauth_destroy_credcache(struct rpc_auth *auth) in rpcauth_destroy_credcache()
514 rpcauth_lookup_credcache(struct rpc_auth *auth, struct auth_cred * acred, in rpcauth_lookup_credcache()
578 rpcauth_lookupcred(struct rpc_auth *auth, int flags) in rpcauth_lookupcred()
593 struct rpc_auth *auth, const struct rpc_credops *ops) in rpcauth_init_cred()
609 struct rpc_auth *auth = task->tk_client->cl_auth; in rpcauth_bind_root_cred()
625 struct rpc_auth *auth = task->tk_client->cl_auth; in rpcauth_bind_machine_cred()
[all …]
Dclnt.c302 struct rpc_auth *auth; in rpc_client_register()
1863 const struct rpc_auth *auth = task->tk_rqstp->rq_cred->cr_auth; in call_allocate()
/linux-6.6.21/net/sunrpc/auth_gss/
Dauth_gss.c87 struct rpc_auth rpc_auth; member
598 struct gss_auth, rpc_auth); in gss_refresh_upcall()
1033 struct rpc_auth * auth; in gss_create_new()
1059 auth = &gss_auth->rpc_auth; in gss_create_new()
1143 gss_destroy(struct rpc_auth *auth) in gss_destroy()
1146 struct gss_auth, rpc_auth); in gss_destroy()
1187 if (gss_auth->rpc_auth.au_flavor != args->pseudoflavor) in gss_auth_find_or_add_hashed()
1197 if (!refcount_inc_not_zero(&gss_auth->rpc_auth.au_count)) in gss_auth_find_or_add_hashed()
1224 gss_destroy(&new->rpc_auth); in gss_create_hashed()
1229 static struct rpc_auth *
[all …]
/linux-6.6.21/include/trace/events/
Drpcgss.h457 const struct rpc_auth *auth
/linux-6.6.21/fs/nfs/
Dsuper.c650 struct rpc_auth *auth = nfss->client->cl_auth; in nfs_show_stats()
Dwrite.c1252 struct rpc_auth *auth = NFS_SERVER(inode)->client->cl_auth; in nfs_ctx_key_to_expire()
Dnfs4proc.c4130 struct rpc_auth *auth; in nfs4_lookup_root_sec()