Home
last modified time | relevance | path

Searched refs:put_cred (Results 1 – 25 of 64) sorted by relevance

123

/Linux-v5.15/kernel/
Dcred.c172 put_cred(cred); in exit_creds()
178 put_cred(cred); in exit_creds()
404 put_cred(new); in copy_creds()
520 put_cred(old); in commit_creds()
521 put_cred(old); in commit_creds()
543 put_cred(new); in abort_creds()
608 put_cred(override); in revert_creds()
762 put_cred(old); in prepare_kernel_cred()
767 put_cred(new); in prepare_kernel_cred()
768 put_cred(old); in prepare_kernel_cred()
Dwatch_queue.c397 put_cred(watch->cred); in free_watch()
459 put_cred(watch->cred); in add_watch_to_object()
Dnsproxy.c301 put_cred(nsset_cred(nsset)); in put_nsset()
/Linux-v5.15/fs/cachefiles/
Dsecurity.c32 put_cred(new); in cachefiles_get_security_ID()
102 put_cred(cache->cache_cred); in cachefiles_determine_cache_security()
/Linux-v5.15/fs/nfsd/
Dauth.c85 put_cred(override_creds(new)); in nfsd_setuser()
86 put_cred(new); in nfsd_setuser()
Dnfsfh.c241 put_cred(override_creds(new)); in nfsd_set_fh_dentry()
242 put_cred(new); in nfsd_set_fh_dentry()
/Linux-v5.15/fs/cifs/
Dcifs_spnego.c225 put_cred(cred); in init_cifs_spnego()
234 put_cred(spnego_cred); in exit_cifs_spnego()
/Linux-v5.15/net/dns_resolver/
Ddns_key.c371 put_cred(cred); in init_dns_resolver()
379 put_cred(dns_resolver_cache); in exit_dns_resolver()
/Linux-v5.15/fs/nfs/
Dunlink.c34 put_cred(data->cred); in nfs_free_unlinkdata()
202 put_cred(data->cred); in nfs_async_unlink()
306 put_cred(data->cred); in nfs_async_rename_release()
Dnfs4renewd.c93 put_cred(cred); in nfs4_renew_state()
Dnfs4state.c535 put_cred(sp->so_cred); in nfs4_free_state_owner()
1846 put_cred(cred); in nfs4_state_end_reclaim_reboot()
1960 put_cred(cred); in nfs4_check_lease()
2031 put_cred(cred); in nfs4_establish_lease()
2176 put_cred(cred); in nfs4_handle_migration()
2182 put_cred(cred); in nfs4_handle_migration()
2229 put_cred(cred); in nfs4_handle_lease_moved()
2268 put_cred(cred); in nfs4_discover_server_trunking()
2496 put_cred(cred); in nfs4_reset_session()
2512 put_cred(cred); in nfs4_bind_conn_to_session()
Ddelegation.c35 put_cred(delegation->cred); in __nfs_free_delegation()
252 put_cred(oldcred); in nfs_inode_reclaim_delegation()
275 put_cred(cred); in nfs_do_return_delegation()
397 put_cred(old); in nfs_update_delegation_cred()
1318 put_cred(cred); in nfs_server_reap_expired_delegations()
Dnfs4idmap.c239 put_cred(cred); in nfs_idmap_init()
248 put_cred(id_resolver_cache); in nfs_idmap_quit()
Dpnfs.c278 put_cred(lo->plh_lc_cred); in pnfs_free_layout_hdr()
960 put_cred(old); in pnfs_set_layout_cred()
1242 put_cred(cred); in pnfs_send_layoutreturn()
1494 put_cred(lc_cred); in pnfs_roc()
3217 put_cred(data->cred); in pnfs_layoutcommit_inode()
Dnfs4session.c584 put_cred(cred); in nfs4_destroy_session()
/Linux-v5.15/security/keys/
Dprocess_keys.c810 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()
Drequest_key_auth.c113 put_cred(rka->cred); in free_request_key_auth()
/Linux-v5.15/net/sunrpc/
Dauth_unix.c58 put_cred(rpc_cred->cr_cred); in unx_free_cred_callback()
/Linux-v5.15/include/linux/
Dcred.h281 static inline void put_cred(const struct cred *_cred) in put_cred() function
/Linux-v5.15/Documentation/security/
Dcredentials.rst299 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);``
/Linux-v5.15/fs/
Dfile_table.c49 put_cred(f->f_cred); in file_free_rcu()
/Linux-v5.15/fs/overlayfs/
Ddir.c603 put_cred(override_cred); in ovl_create_or_link()
607 put_cred(override_creds(override_cred)); in ovl_create_or_link()
608 put_cred(override_cred); in ovl_create_or_link()
/Linux-v5.15/fs/nfs/flexfilelayout/
Dflexfilelayout.c239 put_cred(cred); in ff_layout_free_mirror()
241 put_cred(cred); in ff_layout_free_mirror()
1800 put_cred(ds_cred); in ff_layout_read_pagelist()
1868 put_cred(ds_cred); in ff_layout_write_pagelist()
1943 put_cred(ds_cred); in ff_layout_initiate_commit()
/Linux-v5.15/fs/ksmbd/
Dsmb_common.c653 put_cred(cred); in ksmbd_revert_fsids()
/Linux-v5.15/fs/lockd/
Dhost.c193 put_cred(host->h_cred); in nlm_destroy_host_locked()

123