/kernel/linux/linux-5.10/include/linux/sunrpc/ |
H A D | auth.h | 48 struct rpc_cred { struct 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); 121 struct rpc_cred *); 126 int (*cr_init)(struct rpc_auth *, struct rpc_cred *); 127 void (*crdestroy)(struct rpc_cred *); 129 int (*crmatch)(struct auth_cred *, struct rpc_cred *, int); 139 int (*crkey_timeout)(struct rpc_cred *); 140 char * (*crstringify_acceptor)(struct rpc_cred *); 161 struct rpc_cred * rpcauth_lookup_credcach [all...] |
H A D | sched.h | 29 const struct cred * rpc_cred; /* Credentials */ member 75 struct rpc_cred * tk_op_cred; /* cred being operated on */ 109 struct rpc_cred *rpc_op_cred; /* credential being operated on */
|
H A D | auth_gss.h | 84 struct rpc_cred gc_base;
|
H A D | clnt.h | 196 struct rpc_task *rpc_call_null(struct rpc_clnt *clnt, struct rpc_cred *cred,
|
/kernel/linux/linux-6.6/include/linux/sunrpc/ |
H A D | auth.h | 48 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_credcach [all...] |
H A D | sched.h | 29 const struct cred * rpc_cred; /* Credentials */ member 73 struct rpc_cred * tk_op_cred; /* cred being operated on */ 109 struct rpc_cred *rpc_op_cred; /* credential being operated on */
|
H A D | auth_gss.h | 84 struct rpc_cred gc_base;
|
H A D | clnt.h | 213 struct rpc_task *rpc_call_null(struct rpc_clnt *clnt, struct rpc_cred *cred,
|
/kernel/linux/linux-5.10/net/sunrpc/ |
H A D | auth.c | 264 rpcauth_unhash_cred_locked(struct rpc_cred *cred) in rpcauth_unhash_cred_locked() 273 rpcauth_unhash_cred(struct rpc_cred *cred) in rpcauth_unhash_cred() 315 rpcauth_stringify_acceptor(struct rpc_cred *cred) in rpcauth_stringify_acceptor() 329 struct rpc_cred *cred; in rpcauth_destroy_credlist() 332 cred = list_entry(head->next, struct rpc_cred, cr_lru); in rpcauth_destroy_credlist() 339 rpcauth_lru_add_locked(struct rpc_cred *cred) in rpcauth_lru_add_locked() 348 rpcauth_lru_add(struct rpc_cred *cred) in rpcauth_lru_add() 358 rpcauth_lru_remove_locked(struct rpc_cred *cred) in rpcauth_lru_remove_locked() 367 rpcauth_lru_remove(struct rpc_cred *cred) in rpcauth_lru_remove() 385 struct rpc_cred *cre in rpcauth_clear_credcache() [all...] |
H A D | auth_unix.c | 43 static struct rpc_cred * 46 struct rpc_cred *ret = mempool_alloc(unix_pool, GFP_NOFS); in unx_lookup_cred() 56 struct rpc_cred *rpc_cred = container_of(head, struct rpc_cred, cr_rcu); in unx_free_cred_callback() local 58 put_cred(rpc_cred->cr_cred); in unx_free_cred_callback() 59 mempool_free(rpc_cred, unix_pool); in unx_free_cred_callback() 63 unx_destroy_cred(struct rpc_cred *cred) in unx_destroy_cred() 72 unx_match(struct auth_cred *acred, struct rpc_cred *cred, int flags) in unx_match() 106 struct rpc_cred *cre in unx_marshal() [all...] |
H A D | auth_null.c | 19 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 D | sched.c | 1143 if (task->tk_msg.rpc_cred) { in rpc_release_resources_task() 1145 put_cred(task->tk_msg.rpc_cred); in rpc_release_resources_task() 1146 task->tk_msg.rpc_cred = NULL; in rpc_release_resources_task()
|
/kernel/linux/linux-6.6/net/sunrpc/ |
H A D | auth.c | 261 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 *cre in rpcauth_clear_credcache() [all...] |
H A D | auth_unix.c | 43 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 *cre in unx_marshal() [all...] |
H A D | auth_null.c | 19 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 D | auth_tls.c | 17 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 = {
|
/kernel/linux/linux-5.10/net/sunrpc/auth_gss/ |
H A D | auth_gss.c | 116 gss_cred_set_ctx(struct rpc_cred *cred, struct gss_cl_ctx *ctx) in gss_cred_set_ctx() 130 gss_cred_get_ctx(struct rpc_cred *cred) in gss_cred_get_ctx() 545 gss_setup_upcall(struct gss_auth *gss_auth, struct rpc_cred *cred) in gss_setup_upcall() 579 struct rpc_cred *cred = task->tk_rqstp->rq_cred; in gss_refresh_upcall() 629 struct rpc_cred *cred = &gss_cred->gc_base; in gss_create_upcall() 1264 gss_send_destroy_context(struct rpc_cred *cred) in gss_send_destroy_context() 1325 gss_destroy_nullcred(struct rpc_cred *cred) in gss_destroy_nullcred() 1340 gss_destroy_cred(struct rpc_cred *cred) in gss_destroy_cred() 1356 static struct rpc_cred * 1362 static struct rpc_cred * [all...] |
H A D | gss_rpc_upcall.c | 292 .rpc_cred = NULL, /* FIXME ? */ in gssp_accept_sec_context_upcall()
|
/kernel/linux/linux-6.6/net/sunrpc/auth_gss/ |
H A D | auth_gss.c | 133 gss_cred_set_ctx(struct rpc_cred *cred, struct gss_cl_ctx *ctx) in gss_cred_set_ctx() 147 gss_cred_get_ctx(struct rpc_cred *cred) in gss_cred_get_ctx() 562 gss_setup_upcall(struct gss_auth *gss_auth, struct rpc_cred *cred) in gss_setup_upcall() 596 struct rpc_cred *cred = task->tk_rqstp->rq_cred; in gss_refresh_upcall() 646 struct rpc_cred *cred = &gss_cred->gc_base; in gss_create_upcall() 1283 gss_send_destroy_context(struct rpc_cred *cred) in gss_send_destroy_context() 1344 gss_destroy_nullcred(struct rpc_cred *cred) in gss_destroy_nullcred() 1359 gss_destroy_cred(struct rpc_cred *cred) in gss_destroy_cred() 1375 static struct rpc_cred *gss_lookup_cred(struct rpc_auth *auth, in gss_lookup_cred() 1382 static struct rpc_cred * [all...] |
H A D | gss_rpc_upcall.c | 298 .rpc_cred = NULL, /* FIXME ? */ in gssp_accept_sec_context_upcall()
|
/kernel/linux/linux-5.10/fs/nfs/ |
H A D | nfs4proc.c | 900 nfs4_probe_sequence(clp, task->tk_msg.rpc_cred, slot); in nfs41_sequence_process() 2390 .rpc_cred = data->owner->so_cred, in _nfs4_proc_open_confirm() 2555 .rpc_cred = data->owner->so_cred, in nfs4_run_open_task() 3308 .rpc_cred = cred, in _nfs4_do_setattr() 3345 msg.rpc_cred = delegation_cred; in _nfs4_do_setattr() 3597 task->tk_msg.rpc_cred); in nfs4_close_done() 3741 .rpc_cred = state->owner->so_cred, in nfs4_do_close() 3777 &calldata->lr.arg, &calldata->lr.res, msg.rpc_cred); in nfs4_do_close() 4472 .rpc_cred = entry->cred, in _nfs4_proc_access() 5007 .rpc_cred in _nfs4_proc_readdir() [all...] |
H A D | unlink.c | 94 .rpc_cred = data->cred, in nfs_do_call_unlink() 356 msg.rpc_cred = data->cred; in nfs_async_rename()
|
H A D | nfs3proc.c | 144 msg.rpc_cred = nfs_file_cred(sattr->ia_file); in nfs3_proc_setattr() 212 .rpc_cred = entry->cred, in nfs3_proc_access() 662 .rpc_cred = cred, in nfs3_proc_readdir()
|
/kernel/linux/linux-6.6/fs/nfs/ |
H A D | nfs4proc.c | 895 nfs4_probe_sequence(clp, task->tk_msg.rpc_cred, slot); in nfs41_sequence_process() 2396 .rpc_cred = data->owner->so_cred, in _nfs4_proc_open_confirm() 2565 .rpc_cred = data->owner->so_cred, in nfs4_run_open_task() 3306 .rpc_cred = cred, in _nfs4_do_setattr() 3343 msg.rpc_cred = delegation_cred; in _nfs4_do_setattr() 3597 task->tk_msg.rpc_cred); in nfs4_close_done() 3739 .rpc_cred = state->owner->so_cred, in nfs4_do_close() 3778 &calldata->lr.arg, &calldata->lr.res, msg.rpc_cred); in nfs4_do_close() 4596 .rpc_cred = cred, in _nfs4_proc_access() 5124 .rpc_cred in _nfs4_proc_readdir() [all...] |
H A D | unlink.c | 94 .rpc_cred = data->cred, in nfs_do_call_unlink() 366 msg.rpc_cred = data->cred; in nfs_async_rename()
|