Home
last modified time | relevance | path

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

/Linux-v5.10/include/linux/sunrpc/
Dauth.h46 struct rpc_auth;
52 struct rpc_auth * cr_auth;
73 struct rpc_auth { struct
110 struct rpc_auth * (*create)(const struct rpc_auth_create_args *,
112 void (*destroy)(struct rpc_auth *);
115 struct rpc_cred * (*lookup_cred)(struct rpc_auth *, struct auth_cred *, int);
116 struct rpc_cred * (*crcreate)(struct rpc_auth*, struct auth_cred *, int, gfp_t);
120 int (*key_timeout)(struct rpc_auth *,
126 int (*cr_init)(struct rpc_auth *, struct rpc_cred *);
154 struct rpc_auth * rpcauth_create(const struct rpc_auth_create_args *,
[all …]
Dclnt.h48 struct rpc_auth * cl_auth; /* authenticator */
/Linux-v5.10/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_unix.c24 static struct rpc_auth unix_auth;
28 static struct rpc_auth *
36 unx_destroy(struct rpc_auth *auth) in unx_destroy()
44 unx_lookup_cred(struct rpc_auth *auth, struct auth_cred *acred, int flags) in unx_lookup_cred()
167 struct rpc_auth *auth = task->tk_rqstp->rq_cred->cr_auth; in unx_validate()
216 struct rpc_auth unix_auth = {
Dauth.c224 struct rpc_auth *
227 struct rpc_auth *auth = ERR_PTR(-EINVAL); in rpcauth_create()
250 rpcauth_release(struct rpc_auth *auth) in rpcauth_release()
291 rpcauth_init_credcache(struct rpc_auth *auth) in rpcauth_init_credcache()
410 rpcauth_destroy_credcache(struct rpc_auth *auth) in rpcauth_destroy_credcache()
517 rpcauth_lookup_credcache(struct rpc_auth *auth, struct auth_cred * acred, in rpcauth_lookup_credcache()
581 rpcauth_lookupcred(struct rpc_auth *auth, int flags) in rpcauth_lookupcred()
596 struct rpc_auth *auth, const struct rpc_credops *ops) in rpcauth_init_cred()
612 struct rpc_auth *auth = task->tk_client->cl_auth; in rpcauth_bind_root_cred()
626 struct rpc_auth *auth = task->tk_client->cl_auth; in rpcauth_bind_machine_cred()
[all …]
Dclnt.c297 struct rpc_auth *auth; in rpc_client_register()
1769 const struct rpc_auth *auth = task->tk_rqstp->rq_cred->cr_auth; in call_allocate()
/Linux-v5.10/net/sunrpc/auth_gss/
Dauth_gss.c70 struct rpc_auth rpc_auth; member
609 struct gss_auth, rpc_auth); in gss_refresh_upcall()
1029 struct rpc_auth * auth; in gss_create_new()
1054 auth = &gss_auth->rpc_auth; in gss_create_new()
1137 gss_destroy(struct rpc_auth *auth) in gss_destroy()
1140 struct gss_auth, rpc_auth); in gss_destroy()
1181 if (gss_auth->rpc_auth.au_flavor != args->pseudoflavor) in gss_auth_find_or_add_hashed()
1191 if (!refcount_inc_not_zero(&gss_auth->rpc_auth.au_count)) in gss_auth_find_or_add_hashed()
1218 gss_destroy(&new->rpc_auth); in gss_create_hashed()
1223 static struct rpc_auth *
[all …]
/Linux-v5.10/fs/nfs/
Dfscache.h46 } rpc_auth; member
Dfscache.c140 key->key.rpc_auth.au_flavor = nfss->client->cl_auth->au_flavor; in nfs_fscache_get_super_cookie()
Dsuper.c619 struct rpc_auth *auth = nfss->client->cl_auth; in nfs_show_stats()
Dwrite.c1256 struct rpc_auth *auth = NFS_SERVER(inode)->client->cl_auth; in nfs_ctx_key_to_expire()
Dnfs4proc.c3971 struct rpc_auth *auth; in nfs4_lookup_root_sec()
/Linux-v5.10/include/trace/events/
Drpcgss.h430 const struct rpc_auth *auth