Home
last modified time | relevance | path

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

123

/OK3568_Linux_fs/kernel/kernel/
H A Dcred.c171 put_cred(cred); in exit_creds()
177 put_cred(cred); in exit_creds()
397 put_cred(new); in copy_creds()
514 put_cred(old); in commit_creds()
515 put_cred(old); in commit_creds()
537 put_cred(new); in abort_creds()
604 put_cred(override); in revert_creds()
728 put_cred(old); in prepare_kernel_cred()
733 put_cred(new); in prepare_kernel_cred()
734 put_cred(old); in prepare_kernel_cred()
H A Dnsproxy.c306 put_cred(nsset_cred(nsset)); in put_nsset()
/OK3568_Linux_fs/kernel/fs/cachefiles/
H A Dsecurity.c32 put_cred(new); in cachefiles_get_security_ID()
102 put_cred(cache->cache_cred); in cachefiles_determine_cache_security()
/OK3568_Linux_fs/kernel/fs/nfsd/
H A Dauth.c85 put_cred(override_creds(new)); in nfsd_setuser()
86 put_cred(new); in nfsd_setuser()
H A Dnfsfh.c240 put_cred(override_creds(new)); in nfsd_set_fh_dentry()
241 put_cred(new); in nfsd_set_fh_dentry()
/OK3568_Linux_fs/kernel/fs/cifs/
H A Dcifs_spnego.c237 put_cred(cred); in init_cifs_spnego()
246 put_cred(spnego_cred); in exit_cifs_spnego()
H A Dcifsacl.c509 put_cred(cred); in init_cifs_idmap()
518 put_cred(root_cred); in exit_cifs_idmap()
/OK3568_Linux_fs/kernel/fs/nfs/
H A 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()
H A Dnfs4state.c536 put_cred(sp->so_cred); in nfs4_free_state_owner()
1847 put_cred(cred); in nfs4_state_end_reclaim_reboot()
1961 put_cred(cred); in nfs4_check_lease()
2032 put_cred(cred); in nfs4_establish_lease()
2180 put_cred(cred); in nfs4_handle_migration()
2186 put_cred(cred); in nfs4_handle_migration()
2233 put_cred(cred); in nfs4_handle_lease_moved()
2272 put_cred(cred); in nfs4_discover_server_trunking()
2500 put_cred(cred); in nfs4_reset_session()
2516 put_cred(cred); in nfs4_bind_conn_to_session()
H A Dnfs4renewd.c93 put_cred(cred); in nfs4_renew_state()
H A Ddelegation.c35 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()
1294 put_cred(cred); in nfs_server_reap_expired_delegations()
H A Dnfs4idmap.c239 put_cred(cred); in nfs_idmap_init()
248 put_cred(id_resolver_cache); in nfs_idmap_quit()
H A Dpnfs.c289 put_cred(lo->plh_lc_cred); in pnfs_free_layout_hdr()
976 put_cred(old); in pnfs_set_layout_cred()
1259 put_cred(cred); in pnfs_send_layoutreturn()
1511 put_cred(lc_cred); in pnfs_roc()
3241 put_cred(data->cred); in pnfs_layoutcommit_inode()
H A Dnfs4session.c584 put_cred(cred); in nfs4_destroy_session()
/OK3568_Linux_fs/kernel/net/dns_resolver/
H A Ddns_key.c371 put_cred(cred); in init_dns_resolver()
379 put_cred(dns_resolver_cache); in exit_dns_resolver()
/OK3568_Linux_fs/kernel/security/keys/
H A Dprocess_keys.c809 put_cred(ctx.cred); in lookup_user_key()
820 put_cred(ctx.cred); in lookup_user_key()
916 put_cred(new); in key_change_session_keyring()
H A Drequest_key_auth.c113 put_cred(rka->cred); in free_request_key_auth()
/OK3568_Linux_fs/kernel/net/sunrpc/
H A Dauth_unix.c58 put_cred(rpc_cred->cr_cred); in unx_free_cred_callback()
/OK3568_Linux_fs/kernel/Documentation/security/
H A 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);``
/OK3568_Linux_fs/kernel/include/linux/
H A Dcred.h280 static inline void put_cred(const struct cred *_cred) in put_cred() function
/OK3568_Linux_fs/kernel/fs/overlayfs/
H A Ddir.c600 put_cred(override_cred); in ovl_create_or_link()
605 put_cred(override_cred); in ovl_create_or_link()
615 put_cred(hold_cred); in ovl_create_or_link()
/OK3568_Linux_fs/kernel/fs/fuse/
H A Dpassthrough.c290 put_cred(passthrough->cred); in fuse_passthrough_release()
/OK3568_Linux_fs/kernel/fs/
H A Dfile_table.c49 put_cred(f->f_cred); in file_free_rcu()
/OK3568_Linux_fs/kernel/fs/nfs/flexfilelayout/
H A Dflexfilelayout.c239 put_cred(cred); in ff_layout_free_mirror()
241 put_cred(cred); in ff_layout_free_mirror()
1804 put_cred(ds_cred); in ff_layout_read_pagelist()
1872 put_cred(ds_cred); in ff_layout_write_pagelist()
1947 put_cred(ds_cred); in ff_layout_initiate_commit()
/OK3568_Linux_fs/kernel/fs/lockd/
H A Dhost.c193 put_cred(host->h_cred); in nlm_destroy_host_locked()

123