Home
last modified time | relevance | path

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

12

/Linux-v4.19/include/linux/sunrpc/
Dauth.h62 struct rpc_cred { struct
133 struct rpc_cred * (*lookup_cred)(struct rpc_auth *, struct auth_cred *, int);
134 struct rpc_cred * (*crcreate)(struct rpc_auth*, struct auth_cred *, int, gfp_t);
140 struct rpc_cred *);
145 int (*cr_init)(struct rpc_auth *, struct rpc_cred *);
146 void (*crdestroy)(struct rpc_cred *);
148 int (*crmatch)(struct auth_cred *, struct rpc_cred *, int);
149 struct rpc_cred * (*crbind)(struct rpc_task *, struct rpc_cred *, int);
157 int (*crkey_timeout)(struct rpc_cred *);
158 bool (*crkey_to_expire)(struct rpc_cred *);
[all …]
Dsched.h29 struct rpc_cred * rpc_cred; /* Credentials */ member
Dauth_gss.h84 struct rpc_cred gc_base;
/Linux-v4.19/fs/nfs/
Dnfs4_fs.h63 nfs4_stateid *, struct rpc_cred *);
108 struct rpc_cred *so_cred; /* Associated cred */
212 int (*establish_clid)(struct nfs_client *, struct rpc_cred *);
213 int (*reclaim_complete)(struct nfs_client *, struct rpc_cred *);
215 struct rpc_cred *);
245 struct rpc_cred *cred;
249 int (*sched_state_renewal)(struct nfs_client *, struct rpc_cred *, unsigned);
250 struct rpc_cred * (*get_state_renewal_cred_locked)(struct nfs_client *);
251 int (*renew_lease)(struct nfs_client *, struct rpc_cred *);
256 struct page *, struct rpc_cred *);
[all …]
Ddelegation.h18 struct rpc_cred *cred;
39 int nfs_inode_set_delegation(struct inode *inode, struct rpc_cred *cred,
41 void nfs_inode_reclaim_delegation(struct inode *inode, struct rpc_cred *cred,
63 int nfs4_proc_delegreturn(struct inode *inode, struct rpc_cred *cred, const nfs4_stateid *stateid, …
66 …_delegation_stateid(struct inode *inode, fmode_t flags, nfs4_stateid *dst, struct rpc_cred **cred);
Dnfs4state.c90 int nfs4_init_clientid(struct nfs_client *clp, struct rpc_cred *cred) in nfs4_init_clientid()
137 struct rpc_cred *cred) in nfs40_discover_server_trunking()
167 struct rpc_cred *nfs4_get_machine_cred_locked(struct nfs_client *clp) in nfs4_get_machine_cred_locked()
169 struct rpc_cred *cred = NULL; in nfs4_get_machine_cred_locked()
178 struct rpc_cred *cred, *new; in nfs4_root_machine_cred()
189 static struct rpc_cred *
192 struct rpc_cred *cred = NULL; in nfs4_get_renew_cred_server_locked()
215 struct rpc_cred *nfs4_get_renew_cred_locked(struct nfs_client *clp) in nfs4_get_renew_cred_locked()
217 struct rpc_cred *cred = NULL; in nfs4_get_renew_cred_locked()
322 int nfs41_init_clientid(struct nfs_client *clp, struct rpc_cred *cred) in nfs41_init_clientid()
[all …]
Dnfs4proc.c96 static int nfs4_do_setattr(struct inode *inode, struct rpc_cred *cred,
102 struct rpc_cred *cred,
106 struct rpc_cred *);
108 struct rpc_cred *, bool);
364 struct rpc_cred *cred) in nfs4_test_and_free_stateid()
373 struct rpc_cred *cred) in __nfs4_free_revoked_stateid()
381 struct rpc_cred *cred) in nfs4_free_revoked_stateid()
911 struct nfs4_slot *slot, struct rpc_cred *cred) in nfs4_sequence_process_interrupted()
942 struct nfs4_slot *slot, struct rpc_cred *cred) in nfs4_sequence_process_interrupted()
1003 slot, task->tk_msg.rpc_cred); in nfs4_setup_sequence()
[all …]
Dpnfs.h202 struct rpc_cred *plh_lc_cred; /* layoutcommit cred */
232 struct rpc_cred *cred);
282 const struct rpc_cred *cred);
345 const struct nfs4_deviceid *id, struct rpc_cred *cred,
696 const struct rpc_cred *cred) in pnfs_roc()
Dpnfs_dev.c97 struct rpc_cred *cred, gfp_t gfp_flags) in nfs4_get_device_info()
187 const struct nfs4_deviceid *id, struct rpc_cred *cred, in nfs4_find_get_deviceid()
Dnfs4renewd.c60 struct rpc_cred *cred; in nfs4_renew_state()
Ddelegation.c180 void nfs_inode_reclaim_delegation(struct inode *inode, struct rpc_cred *cred, in nfs_inode_reclaim_delegation()
186 struct rpc_cred *oldcred = NULL; in nfs_inode_reclaim_delegation()
343 int nfs_inode_set_delegation(struct inode *inode, struct rpc_cred *cred, in nfs_inode_set_delegation()
1042 struct rpc_cred *cred; in nfs_reap_expired_delegations()
1168 nfs4_stateid *dst, struct rpc_cred **cred) in nfs4_copy_delegation_stateid()
Ddir.c70 static struct nfs_open_dir_context *alloc_nfs_open_dir_context(struct inode *dir, struct rpc_cred *… in alloc_nfs_open_dir_context()
106 struct rpc_cred *cred; in nfs_opendir()
337 struct rpc_cred *cred = ctx->cred; in nfs_readdir_xdr_filler()
2239 static struct nfs_access_entry *nfs_access_search_rbtree(struct inode *inode, struct rpc_cred *cred) in nfs_access_search_rbtree()
2257 static int nfs_access_get_cached(struct inode *inode, struct rpc_cred *cred, struct nfs_access_entr… in nfs_access_get_cached()
2300 static int nfs_access_get_cached_rcu(struct inode *inode, struct rpc_cred *cred, struct nfs_access_… in nfs_access_get_cached_rcu()
2433 static int nfs_do_access(struct inode *inode, struct rpc_cred *cred, int mask) in nfs_do_access()
2497 int nfs_may_open(struct inode *inode, struct rpc_cred *cred, int openflags) in nfs_may_open()
2522 struct rpc_cred *cred; in nfs_permission()
/Linux-v4.19/net/sunrpc/
Dauth_generic.c25 struct rpc_cred gc_base;
35 struct rpc_cred *rpc_lookup_cred(void) in rpc_lookup_cred()
41 struct rpc_cred *
48 struct rpc_cred *rpc_lookup_cred_nonblock(void) in rpc_lookup_cred_nonblock()
57 struct rpc_cred *rpc_lookup_machine_cred(const char *service_name) in rpc_lookup_machine_cred()
72 static struct rpc_cred *generic_bind_cred(struct rpc_task *task, in generic_bind_cred()
73 struct rpc_cred *cred, int lookupflags) in generic_bind_cred()
92 static struct rpc_cred *
98 static struct rpc_cred *
128 generic_free_cred(struct rpc_cred *cred) in generic_free_cred()
[all …]
Dauth.c299 rpcauth_unhash_cred_locked(struct rpc_cred *cred) in rpcauth_unhash_cred_locked()
307 rpcauth_unhash_cred(struct rpc_cred *cred) in rpcauth_unhash_cred()
352 rpcauth_key_timeout_notify(struct rpc_auth *auth, struct rpc_cred *cred) in rpcauth_key_timeout_notify()
361 rpcauth_cred_key_to_expire(struct rpc_auth *auth, struct rpc_cred *cred) in rpcauth_cred_key_to_expire()
372 rpcauth_stringify_acceptor(struct rpc_cred *cred) in rpcauth_stringify_acceptor()
386 struct rpc_cred *cred; in rpcauth_destroy_credlist()
389 cred = list_entry(head->next, struct rpc_cred, cr_lru); in rpcauth_destroy_credlist()
404 struct rpc_cred *cred; in rpcauth_clear_credcache()
413 cred = hlist_entry(head->first, struct rpc_cred, cr_hash); in rpcauth_clear_credcache()
455 struct rpc_cred *cred, *next; in rpcauth_prune_expired()
[all …]
Dauth_null.c19 static struct rpc_cred null_cred;
36 static struct rpc_cred *
48 nul_destroy_cred(struct rpc_cred *cred) in nul_destroy_cred()
56 nul_match(struct auth_cred *acred, struct rpc_cred *cred, int taskflags) in nul_match()
137 struct rpc_cred null_cred = {
Dauth_unix.c19 struct rpc_cred uc_base;
59 static struct rpc_cred *
65 static struct rpc_cred *
111 unx_destroy_cred(struct rpc_cred *cred) in unx_destroy_cred()
122 unx_match(struct auth_cred *acred, struct rpc_cred *rcred, int flags) in unx_match()
Dclnt.c1030 if (msg->rpc_cred != NULL) in rpc_task_set_rpc_message()
1031 task->tk_msg.rpc_cred = get_rpccred(msg->rpc_cred); in rpc_task_set_rpc_message()
2525 msg.rpc_cred = authnull_ops.lookup_cred(NULL, NULL, 0); in rpc_ping()
2527 put_rpccred(msg.rpc_cred); in rpc_ping()
2533 struct rpc_xprt *xprt, struct rpc_cred *cred, int flags, in rpc_call_null_helper()
2538 .rpc_cred = cred, in rpc_call_null_helper()
2552 struct rpc_task *rpc_call_null(struct rpc_clnt *clnt, struct rpc_cred *cred, int flags) in rpc_call_null()
2597 struct rpc_cred *cred; in rpc_clnt_test_and_add_xprt()
2641 struct rpc_cred *cred; in rpc_clnt_setup_test_and_add_xprt()
/Linux-v4.19/fs/nfs/flexfilelayout/
Dflexfilelayout.h84 struct rpc_cred __rcu *ro_cred;
85 struct rpc_cred __rcu *rw_cred;
228 struct rpc_cred *ff_layout_get_ds_cred(struct pnfs_layout_segment *lseg,
229 u32 ds_idx, struct rpc_cred *mdscred);
Dflexfilelayoutdev.c333 static struct rpc_cred *
336 struct rpc_cred *cred, __rcu **pcred; in ff_layout_get_mirror_cred()
449 struct rpc_cred *
451 struct rpc_cred *mdscred) in ff_layout_get_ds_cred()
454 struct rpc_cred *cred; in ff_layout_get_ds_cred()
/Linux-v4.19/include/linux/
Dnfs_fs.h54 struct rpc_cred * cred;
72 struct rpc_cred *cred;
89 struct rpc_cred *cred;
391 extern struct nfs_open_context *nfs_find_open_context(struct inode *inode, struct rpc_cred *cred, f…
462 static inline struct rpc_cred *nfs_file_cred(struct file *file) in nfs_file_cred()
491 extern int nfs_may_open(struct inode *inode, struct rpc_cred *cred, int openflags);
Dnfs_xdr.h273 struct rpc_cred *cred;
312 struct rpc_cred *cred;
337 struct rpc_cred *cred;
1102 struct rpc_cred *sc_cred;
1461 struct rpc_cred *cred;
1522 struct rpc_cred *cred;
1553 struct rpc_cred *cred;
1561 struct rpc_cred *cred;
1627 int (*readdir) (struct dentry *, struct rpc_cred *,
Dnfs_fs_sb.h61 struct rpc_cred *cl_machine_cred;
/Linux-v4.19/net/sunrpc/auth_gss/
Dauth_gss.c137 gss_cred_set_ctx(struct rpc_cred *cred, struct gss_cl_ctx *ctx) in gss_cred_set_ctx()
180 gss_cred_get_ctx(struct rpc_cred *cred) in gss_cred_get_ctx()
563 gss_setup_upcall(struct gss_auth *gss_auth, struct rpc_cred *cred) in gss_setup_upcall()
597 struct rpc_cred *cred = task->tk_rqstp->rq_cred; in gss_refresh_upcall()
650 struct rpc_cred *cred = &gss_cred->gc_base; in gss_create_upcall()
1249 gss_destroying_context(struct rpc_cred *cred) in gss_destroying_context()
1316 gss_destroy_nullcred(struct rpc_cred *cred) in gss_destroy_nullcred()
1330 gss_destroy_cred(struct rpc_cred *cred) in gss_destroy_cred()
1347 static struct rpc_cred *
1353 static struct rpc_cred *
[all …]
/Linux-v4.19/fs/lockd/
Dclntproc.c259 nlmclnt_call(struct rpc_cred *cred, struct nlm_rqst *req, u32 proc) in nlmclnt_call()
268 .rpc_cred = cred, in nlmclnt_call()
404 static int nlmclnt_async_call(struct rpc_cred *cred, struct nlm_rqst *req, u32 proc, const struct r… in nlmclnt_async_call()
409 .rpc_cred = cred, in nlmclnt_async_call()
513 struct rpc_cred *cred = nfs_file_cred(fl->fl_file); in nlmclnt_lock()
/Linux-v4.19/fs/nfsd/
Dnfs4callback.c749 static struct rpc_cred *get_backchannel_cred(struct nfs4_client *clp, struct rpc_clnt *client, stru… in get_backchannel_cred()
754 struct rpc_cred *cred; in get_backchannel_cred()
789 struct rpc_cred *cred; in setup_callback_client()
1185 cb->cb_msg.rpc_cred = clp->cl_cb_cred; in nfsd4_run_cb_work()

12