/kernel/linux/linux-5.10/kernel/ |
D | cred.c | 348 p->real_cred = get_cred(p->cred); in copy_creds() 349 get_cred(p->cred); in copy_creds() 388 p->cred = p->real_cred = get_cred(new); in copy_creds() 454 get_cred(new); /* we will require a ref for the subj creds too */ in commit_creds() 696 old = get_cred(&init_cred); in prepare_kernel_cred()
|
D | ptrace.c | 73 child->ptracer_cred = get_cred(ptracer_cred); in __ptrace_link()
|
/kernel/linux/linux-5.10/security/keys/ |
D | request_key_auth.c | 199 rka->cred = get_cred(irka->cred); in request_key_auth_new() 206 rka->cred = get_cred(cred); in request_key_auth_new()
|
/kernel/linux/linux-5.10/include/linux/ |
D | cred.h | 247 static inline const struct cred *get_cred(const struct cred *cred) in get_cred() function 330 (get_cred(current_cred()))
|
/kernel/linux/linux-5.10/fs/nfsd/ |
D | auth.c | 32 revert_creds(get_cred(current_real_cred())); in nfsd_setuser()
|
D | nfs4callback.c | 870 return get_cred(rpc_machine_cred()); in get_backchannel_cred()
|
/kernel/linux/linux-5.10/fs/nfs/ |
D | delegation.c | 247 delegation->cred = get_cred(cred); in nfs_inode_reclaim_delegation() 270 cred = get_cred(delegation->cred); in nfs_do_return_delegation() 396 old = xchg(&delegation->cred, get_cred(cred)); in nfs_update_delegation_cred() 450 delegation->cred = get_cred(cred); in nfs_inode_set_delegation() 1424 *cred = get_cred(delegation->cred); in nfs4_copy_delegation_stateid()
|
D | nfs4client.c | 1158 server->cred = get_cred(fc->cred); in nfs4_create_server() 1196 server->cred = get_cred(parent_server->cred); in nfs4_create_referral_server()
|
D | client.c | 988 server->cred = get_cred(fc->cred); in nfs_create_server() 1056 server->cred = get_cred(source->cred); in nfs_clone_server()
|
D | pnfs.c | 963 old = xchg(&lo->plh_lc_cred, get_cred(cred)); in pnfs_set_layout_cred() 1197 *cred = get_cred(lo->plh_lc_cred); in pnfs_prepare_layoutreturn() 1729 lo->plh_lc_cred = get_cred(ctx->cred); in alloc_init_layout_hdr() 3203 data->cred = get_cred(nfsi->layout->plh_lc_cred); in pnfs_layoutcommit_inode()
|
D | nfs4state.c | 193 return get_cred(rpc_machine_cred()); in nfs4_get_machine_cred() 217 cred = get_cred(sp->so_cred); in nfs4_get_renew_cred_server_locked() 506 sp->so_cred = get_cred(cred); in nfs4_alloc_state_owner()
|
D | dir.c | 81 ctx->cred = get_cred(cred); in alloc_nfs_open_dir_context() 2620 cache->cred = get_cred(set->cred); in nfs_access_add_cache()
|
/kernel/linux/linux-5.10/fs/nfs/flexfilelayout/ |
D | flexfilelayoutdev.c | 428 cred = get_cred(mdscred); in ff_layout_get_ds_cred() 430 cred = get_cred(mdscred); in ff_layout_get_ds_cred()
|
/kernel/linux/linux-5.10/fs/ |
D | file_table.c | 105 f->f_cred = get_cred(cred); in __alloc_file()
|
D | fs_context.c | 360 get_cred(fc->cred); in vfs_dup_fs_context()
|
/kernel/linux/linux-5.10/Documentation/security/ |
D | credentials.rst | 299 certain functions such as ``get_cred()`` and ``put_cred()`` operate on const 394 ``get_cred()`` as this may race with ``commit_cred()``. 525 - ``const struct cred *get_cred(const struct cred *cred);``
|
/kernel/linux/linux-5.10/net/sunrpc/ |
D | svc_xprt.c | 294 newxprt->xpt_cred = get_cred(cred); in _svc_create_xprt() 801 newxpt->xpt_cred = get_cred(xprt->xpt_cred); in svc_handle_xprt()
|
D | auth.c | 605 cred->cr_cred = get_cred(acred->cred); in rpcauth_init_cred()
|
D | clnt.c | 390 clnt->cl_cred = get_cred(args->cred); in rpc_new_client() 1104 get_cred(task->tk_msg.rpc_cred); in rpc_task_set_rpc_message()
|
D | svcsock.c | 1406 svsk->sk_xprt.xpt_cred = get_cred(cred); in svc_addsock()
|
/kernel/linux/linux-5.10/fs/lockd/ |
D | host.c | 166 host->h_cred = get_cred(ni->cred), in nlm_alloc_host()
|
/kernel/linux/linux-5.10/drivers/misc/vmw_vmci/ |
D | vmci_context.c | 149 context->cred = get_cred(cred); in vmci_ctx_create()
|
/kernel/linux/linux-5.10/fs/hmdfs/ |
D | main.c | 925 sbi->cred = get_cred(current_cred()); in hmdfs_fill_super()
|
/kernel/linux/linux-5.10/fs/hmdfs/comm/ |
D | device_node.c | 61 const struct cred *system_cred = get_cred(current_cred()); in ctrl_cmd_update_socket_handler()
|
/kernel/linux/linux-5.10/net/vmw_vsock/ |
D | af_vsock.c | 736 vsk->owner = get_cred(psk->owner); in __vsock_create()
|