Home
last modified time | relevance | path

Searched refs:get_cred (Results 1 – 25 of 30) sorted by relevance

12

/linux-6.1.9/kernel/
Dcred.c355 p->real_cred = get_cred(p->cred); in copy_creds()
356 get_cred(p->cred); in copy_creds()
397 p->cred = p->real_cred = get_cred(new); in copy_creds()
464 get_cred(new); /* we will require a ref for the subj creds too */ in commit_creds()
726 old = get_cred(&init_cred); in prepare_kernel_cred()
Dwatch_queue.c474 watch->cred = get_cred(cred); in add_one_watch()
Dptrace.c74 child->ptracer_cred = get_cred(ptracer_cred); in __ptrace_link()
/linux-6.1.9/security/keys/
Drequest_key_auth.c199 rka->cred = get_cred(irka->cred); in request_key_auth_new()
206 rka->cred = get_cred(cred); in request_key_auth_new()
/linux-6.1.9/include/linux/
Dcred.h248 static inline const struct cred *get_cred(const struct cred *cred) in get_cred() function
331 (get_cred(current_cred()))
/linux-6.1.9/fs/nfsd/
Dauth.c32 revert_creds(get_cred(current_real_cred())); in nfsd_setuser()
Dnfs4callback.c869 return get_cred(rpc_machine_cred()); in get_backchannel_cred()
/linux-6.1.9/fs/nfs/
Ddelegation.c245 delegation->cred = get_cred(cred); in nfs_inode_reclaim_delegation()
268 cred = get_cred(delegation->cred); in nfs_do_return_delegation()
394 old = xchg(&delegation->cred, get_cred(cred)); in nfs_update_delegation_cred()
448 delegation->cred = get_cred(cred); in nfs_inode_set_delegation()
1446 *cred = get_cred(delegation->cred); in nfs4_copy_delegation_stateid()
Dnfs4client.c1194 server->cred = get_cred(fc->cred); in nfs4_create_server()
1232 server->cred = get_cred(parent_server->cred); in nfs4_create_referral_server()
Dclient.c1028 server->cred = get_cred(fc->cred); in nfs_create_server()
1095 server->cred = get_cred(source->cred); in nfs_clone_server()
Dpnfs.c974 old = xchg(&lo->plh_lc_cred, get_cred(cred)); in pnfs_set_layout_cred()
1207 *cred = get_cred(lo->plh_lc_cred); in pnfs_prepare_layoutreturn()
1738 lo->plh_lc_cred = get_cred(ctx->cred); in alloc_init_layout_hdr()
3222 data->cred = get_cred(nfsi->layout->plh_lc_cred); in pnfs_layoutcommit_inode()
Dnfs4state.c194 return get_cred(rpc_machine_cred()); in nfs4_get_machine_cred()
218 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()
Dinode.c1035 ctx->cred = get_cred(filp->f_cred); in alloc_nfs_open_context()
/linux-6.1.9/fs/nfs/flexfilelayout/
Dflexfilelayoutdev.c430 cred = get_cred(mdscred); in ff_layout_get_ds_cred()
432 cred = get_cred(mdscred); in ff_layout_get_ds_cred()
/linux-6.1.9/fs/
Dfile_table.c142 f->f_cred = get_cred(cred); in __alloc_file()
Dfs_context.c360 get_cred(fc->cred); in vfs_dup_fs_context()
/linux-6.1.9/Documentation/security/
Dcredentials.rst299 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);``
/linux-6.1.9/net/sunrpc/
Dsvc_xprt.c312 newxprt->xpt_cred = get_cred(cred); in _svc_xprt_create()
827 newxpt->xpt_cred = get_cred(xprt->xpt_cred); in svc_handle_xprt()
Dauth.c605 cred->cr_cred = get_cred(acred->cred); in rpcauth_init_cred()
Dclnt.c393 clnt->cl_cred = get_cred(args->cred); in rpc_new_client()
1181 get_cred(task->tk_msg.rpc_cred); in rpc_task_set_rpc_message()
Dsvcsock.c1401 svsk->sk_xprt.xpt_cred = get_cred(cred); in svc_addsock()
/linux-6.1.9/fs/lockd/
Dhost.c166 host->h_cred = get_cred(ni->cred); in nlm_alloc_host()
/linux-6.1.9/drivers/misc/vmw_vmci/
Dvmci_context.c149 context->cred = get_cred(cred); in vmci_ctx_create()
/linux-6.1.9/net/vmw_vsock/
Daf_vsock.c770 vsk->owner = get_cred(psk->owner); in __vsock_create()
/linux-6.1.9/drivers/usb/core/
Ddevio.c631 cred = get_cred(as->cred); in async_completed()

12