/openbmc/linux/kernel/ |
H A D | cred.c | 126 put_cred(cred); in exit_creds() 130 put_cred(cred); in exit_creds() 345 put_cred(new); in copy_creds() 453 put_cred(old); in commit_creds() 454 put_cred(old); in commit_creds() 472 put_cred(new); in abort_creds() 522 put_cred(override); in revert_creds() 667 put_cred(old); in prepare_kernel_cred() 671 put_cred(new); in prepare_kernel_cred() 672 put_cred(old); in prepare_kernel_cred()
|
H A D | nsproxy.c | 320 put_cred(nsset_cred(nsset)); in put_nsset()
|
/openbmc/linux/fs/cachefiles/ |
H A D | security.c | 32 put_cred(new); in cachefiles_get_security_ID() 102 put_cred(cache->cache_cred); in cachefiles_determine_cache_security()
|
H A D | cache.c | 172 put_cred(cache->cache_cred); in cachefiles_add_cache()
|
/openbmc/linux/fs/nfsd/ |
H A D | auth.c | 82 put_cred(override_creds(new)); in nfsd_setuser() 83 put_cred(new); in nfsd_setuser()
|
H A D | nfsfh.c | 229 put_cred(override_creds(new)); in nfsd_set_fh_dentry() 230 put_cred(new); in nfsd_set_fh_dentry()
|
/openbmc/linux/fs/smb/client/ |
H A D | cifs_spnego.c | 225 put_cred(cred); in init_cifs_spnego() 234 put_cred(spnego_cred); in exit_cifs_spnego()
|
/openbmc/linux/net/dns_resolver/ |
H A D | dns_key.c | 378 put_cred(cred); in init_dns_resolver() 386 put_cred(dns_resolver_cache); in exit_dns_resolver()
|
/openbmc/linux/fs/nfs/ |
H A D | unlink.c | 34 put_cred(data->cred); in nfs_free_unlinkdata() 207 put_cred(data->cred); in nfs_async_unlink() 311 put_cred(data->cred); in nfs_async_rename_release()
|
H A D | nfs4renewd.c | 93 put_cred(cred); in nfs4_renew_state()
|
H A D | nfs4state.c | 539 put_cred(sp->so_cred); in nfs4_free_state_owner() 1873 put_cred(cred); in nfs4_state_end_reclaim_reboot() 1995 put_cred(cred); in nfs4_check_lease() 2070 put_cred(cred); in nfs4_establish_lease() 2224 put_cred(cred); in nfs4_handle_migration() 2230 put_cred(cred); in nfs4_handle_migration() 2277 put_cred(cred); in nfs4_handle_lease_moved() 2316 put_cred(cred); in nfs4_discover_server_trunking() 2544 put_cred(cred); in nfs4_reset_session() 2560 put_cred(cred); in nfs4_bind_conn_to_session()
|
H A D | delegation.c | 35 put_cred(delegation->cred); in __nfs_free_delegation() 252 put_cred(oldcred); in nfs_inode_reclaim_delegation() 273 put_cred(cred); in nfs_do_return_delegation() 395 put_cred(old); in nfs_update_delegation_cred() 1318 put_cred(cred); in nfs_server_reap_expired_delegations()
|
H A D | nfs4idmap.c | 239 put_cred(cred); in nfs_idmap_init() 248 put_cred(id_resolver_cache); in nfs_idmap_quit()
|
H A D | pnfs.c | 289 put_cred(lo->plh_lc_cred); in pnfs_free_layout_hdr() 975 put_cred(old); in pnfs_set_layout_cred() 1256 put_cred(cred); in pnfs_send_layoutreturn() 1508 put_cred(lc_cred); in pnfs_roc() 3259 put_cred(data->cred); in pnfs_layoutcommit_inode()
|
H A D | nfs4session.c | 588 put_cred(cred); in nfs4_destroy_session()
|
/openbmc/linux/security/keys/ |
H A D | process_keys.c | 810 put_cred(ctx.cred); in lookup_user_key() 821 put_cred(ctx.cred); in lookup_user_key() 917 put_cred(new); in key_change_session_keyring() 924 put_cred(new); in key_change_session_keyring()
|
H A D | request_key_auth.c | 113 put_cred(rka->cred); in free_request_key_auth()
|
/openbmc/linux/fs/ |
H A D | file_table.c | 68 put_cred(f->f_cred); in file_free_rcu() 163 put_cred(f->f_cred); in init_file()
|
/openbmc/linux/include/linux/ |
H A D | cred.h | 231 static inline void put_cred(const struct cred *_cred) in put_cred() function
|
/openbmc/linux/net/sunrpc/ |
H A D | auth_unix.c | 66 put_cred(rpc_cred->cr_cred); in unx_free_cred_callback()
|
/openbmc/linux/Documentation/security/ |
H A D | credentials.rst | 299 certain functions such as ``get_cred()`` and ``put_cred()`` operate on const 353 Once a reference has been obtained, it must be released with ``put_cred()``, 389 This does all the RCU magic inside of it. The caller must call put_cred() on 476 The caller should _not_ call ``put_cred()`` on the new credentials afterwards. 519 - ``void put_cred(const struct cred *cred);``
|
/openbmc/linux/security/apparmor/ |
H A D | lsm.c | 129 put_cred(cred); in apparmor_ptrace_access_check() 145 put_cred(cred); in apparmor_ptrace_traceme() 685 put_cred(cred); in apparmor_getprocattr() 848 put_cred(tc); in apparmor_task_kill()
|
H A D | domain.c | 70 put_cred(tracer_cred); in may_change_ptraced_domain() 1270 put_cred(subj_cred); in aa_change_hat() 1492 put_cred(subj_cred); in aa_change_profile()
|
/openbmc/linux/fs/overlayfs/ |
H A D | dir.c | 599 put_cred(override_cred); in ovl_create_or_link() 602 put_cred(override_creds(override_cred)); in ovl_create_or_link() 603 put_cred(override_cred); in ovl_create_or_link()
|
/openbmc/linux/fs/nfs/flexfilelayout/ |
H A D | flexfilelayout.c | 245 put_cred(cred); in ff_layout_free_mirror() 247 put_cred(cred); in ff_layout_free_mirror() 1833 put_cred(ds_cred); in ff_layout_read_pagelist() 1901 put_cred(ds_cred); in ff_layout_write_pagelist() 1976 put_cred(ds_cred); in ff_layout_initiate_commit()
|