Home
last modified time | relevance | path

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

/Linux-v5.4/include/linux/sunrpc/
Dauth.h48 struct rpc_auth;
54 struct rpc_auth * cr_auth;
75 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);
122 int (*key_timeout)(struct rpc_auth *,
128 int (*cr_init)(struct rpc_auth *, struct rpc_cred *);
156 struct rpc_auth * rpcauth_create(const struct rpc_auth_create_args *,
[all …]
Dclnt.h48 struct rpc_auth * cl_auth; /* authenticator */
/Linux-v5.4/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.c273 struct rpc_auth *
276 struct rpc_auth *auth = ERR_PTR(-EINVAL); in rpcauth_create()
299 rpcauth_release(struct rpc_auth *auth) in rpcauth_release()
340 rpcauth_init_credcache(struct rpc_auth *auth) in rpcauth_init_credcache()
459 rpcauth_destroy_credcache(struct rpc_auth *auth) in rpcauth_destroy_credcache()
566 rpcauth_lookup_credcache(struct rpc_auth *auth, struct auth_cred * acred, in rpcauth_lookup_credcache()
630 rpcauth_lookupcred(struct rpc_auth *auth, int flags) in rpcauth_lookupcred()
645 struct rpc_auth *auth, const struct rpc_credops *ops) in rpcauth_init_cred()
661 struct rpc_auth *auth = task->tk_client->cl_auth; in rpcauth_bind_root_cred()
675 struct rpc_auth *auth = task->tk_client->cl_auth; in rpcauth_bind_machine_cred()
[all …]
Dclnt.c301 struct rpc_auth *auth; in rpc_client_register()
1787 const struct rpc_auth *auth = task->tk_rqstp->rq_cred->cr_auth; in call_allocate()
/Linux-v5.4/net/sunrpc/auth_gss/
Dauth_gss.c69 struct rpc_auth rpc_auth; member
608 struct gss_auth, rpc_auth); in gss_refresh_upcall()
1026 struct rpc_auth * auth; in gss_create_new()
1051 auth = &gss_auth->rpc_auth; in gss_create_new()
1134 gss_destroy(struct rpc_auth *auth) in gss_destroy()
1137 struct gss_auth, rpc_auth); in gss_destroy()
1178 if (gss_auth->rpc_auth.au_flavor != args->pseudoflavor) in gss_auth_find_or_add_hashed()
1188 if (!refcount_inc_not_zero(&gss_auth->rpc_auth.au_count)) in gss_auth_find_or_add_hashed()
1215 gss_destroy(&new->rpc_auth); in gss_create_hashed()
1220 static struct rpc_auth *
[all …]
/Linux-v5.4/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()
Dwrite.c1257 struct rpc_auth *auth = NFS_SERVER(inode)->client->cl_auth; in nfs_ctx_key_to_expire()
Dsuper.c826 struct rpc_auth *auth = nfss->client->cl_auth; in nfs_show_stats()
Dnfs4proc.c3865 struct rpc_auth *auth; in nfs4_lookup_root_sec()