/Linux-v6.6/fs/cachefiles/ |
D | interface.c | 176 const struct cred *saved_cred; in cachefiles_lookup_cookie() local 190 cachefiles_begin_secure(cache, &saved_cred); in cachefiles_lookup_cookie() 203 cachefiles_end_secure(cache, saved_cred); in cachefiles_lookup_cookie() 208 cachefiles_end_secure(cache, saved_cred); in cachefiles_lookup_cookie() 279 const struct cred *saved_cred; in cachefiles_resize_cookie() local 286 cachefiles_begin_secure(cache, &saved_cred); in cachefiles_resize_cookie() 288 cachefiles_end_secure(cache, saved_cred); in cachefiles_resize_cookie() 353 const struct cred *saved_cred; in cachefiles_withdraw_cookie() local 368 cachefiles_begin_secure(cache, &saved_cred); in cachefiles_withdraw_cookie() 370 cachefiles_end_secure(cache, saved_cred); in cachefiles_withdraw_cookie()
|
D | cache.c | 22 const struct cred *saved_cred; in cachefiles_add_cache() local 36 cachefiles_begin_secure(cache, &saved_cred); in cachefiles_add_cache() 77 ret = cachefiles_determine_cache_security(cache, root, &saved_cred); in cachefiles_add_cache() 156 cachefiles_end_secure(cache, saved_cred); in cachefiles_add_cache() 170 cachefiles_end_secure(cache, saved_cred); in cachefiles_add_cache() 343 const struct cred *saved_cred; in cachefiles_sync_cache() local 350 cachefiles_begin_secure(cache, &saved_cred); in cachefiles_sync_cache() 354 cachefiles_end_secure(cache, saved_cred); in cachefiles_sync_cache()
|
D | volume.c | 21 const struct cred *saved_cred; in cachefiles_acquire_volume() local 37 cachefiles_begin_secure(cache, &saved_cred); in cachefiles_acquire_volume() 78 cachefiles_end_secure(cache, saved_cred); in cachefiles_acquire_volume() 102 cachefiles_end_secure(cache, saved_cred); in cachefiles_acquire_volume()
|
D | daemon.c | 622 const struct cred *saved_cred; in cachefiles_daemon_cull() local 645 cachefiles_begin_secure(cache, &saved_cred); in cachefiles_daemon_cull() 647 cachefiles_end_secure(cache, saved_cred); in cachefiles_daemon_cull() 693 const struct cred *saved_cred; in cachefiles_daemon_inuse() local 716 cachefiles_begin_secure(cache, &saved_cred); in cachefiles_daemon_inuse() 718 cachefiles_end_secure(cache, saved_cred); in cachefiles_daemon_inuse()
|
D | io.c | 387 const struct cred *saved_cred; in cachefiles_do_prepare_read() local 423 cachefiles_begin_secure(cache, &saved_cred); in cachefiles_do_prepare_read() 486 cachefiles_end_secure(cache, saved_cred); in cachefiles_do_prepare_read() 600 const struct cred *saved_cred; in cachefiles_prepare_write() local 610 cachefiles_begin_secure(cache, &saved_cred); in cachefiles_prepare_write() 614 cachefiles_end_secure(cache, saved_cred); in cachefiles_prepare_write()
|
D | xattr.c | 175 const struct cred *saved_cred; in cachefiles_prepare_to_write() local 182 cachefiles_begin_secure(cache, &saved_cred); in cachefiles_prepare_to_write() 184 cachefiles_end_secure(cache, saved_cred); in cachefiles_prepare_to_write()
|
D | ondemand.c | 48 const struct cred *saved_cred; in cachefiles_ondemand_fd_write_iter() local 54 cachefiles_begin_secure(cache, &saved_cred); in cachefiles_ondemand_fd_write_iter() 56 cachefiles_end_secure(cache, saved_cred); in cachefiles_ondemand_fd_write_iter()
|
D | internal.h | 337 const struct cred *saved_cred) in cachefiles_end_secure() argument 339 revert_creds(saved_cred); in cachefiles_end_secure()
|
D | namei.c | 442 const struct cred *saved_cred; in cachefiles_create_tmpfile() local 450 cachefiles_begin_secure(cache, &saved_cred); in cachefiles_create_tmpfile() 503 cachefiles_end_secure(cache, saved_cred); in cachefiles_create_tmpfile()
|
/Linux-v6.6/net/dns_resolver/ |
D | dns_query.c | 81 const struct cred *saved_cred; in dns_query() local 127 saved_cred = override_creds(dns_resolver_cache); in dns_query() 129 revert_creds(saved_cred); in dns_query()
|
/Linux-v6.6/fs/smb/client/ |
D | cifs_spnego.c | 96 const struct cred *saved_cred; in cifs_get_spnego_key() local 160 saved_cred = override_creds(spnego_cred); in cifs_get_spnego_key() 162 revert_creds(saved_cred); in cifs_get_spnego_key()
|
D | cifsacl.c | 287 const struct cred *saved_cred; in id_to_sid() local 295 saved_cred = override_creds(root_cred); in id_to_sid() 330 revert_creds(saved_cred); in id_to_sid() 345 const struct cred *saved_cred; in sid_to_id() local 401 saved_cred = override_creds(root_cred); in sid_to_id() 441 revert_creds(saved_cred); in sid_to_id()
|
/Linux-v6.6/fs/smb/server/ |
D | smb_common.c | 751 WARN_ON(work->saved_cred); in ksmbd_override_fsids() 752 work->saved_cred = override_creds(cred); in ksmbd_override_fsids() 753 if (!work->saved_cred) { in ksmbd_override_fsids() 764 WARN_ON(!work->saved_cred); in ksmbd_revert_fsids() 767 revert_creds(work->saved_cred); in ksmbd_revert_fsids() 769 work->saved_cred = NULL; in ksmbd_revert_fsids()
|
D | ksmbd_work.h | 61 const struct cred *saved_cred; member
|
D | ksmbd_work.c | 46 WARN_ON(work->saved_cred != NULL); in ksmbd_free_work_struct()
|
/Linux-v6.6/fs/nfs/ |
D | nfs4idmap.c | 309 const struct cred *saved_cred; in nfs_idmap_get_key() local 314 saved_cred = override_creds(id_resolver_cache); in nfs_idmap_get_key() 316 revert_creds(saved_cred); in nfs_idmap_get_key()
|
/Linux-v6.6/kernel/cgroup/ |
D | cgroup.c | 5136 const struct cred *saved_cred; in __cgroup_procs_write() local 5159 saved_cred = override_creds(of->file->f_cred); in __cgroup_procs_write() 5163 revert_creds(saved_cred); in __cgroup_procs_write()
|