Home
last modified time | relevance | path

Searched refs:saved_cred (Results 1 – 17 of 17) sorted by relevance

/linux-6.3-rc2/fs/cachefiles/
A Dinterface.c176 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()
A Dcache.c22 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()
A Dvolume.c21 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()
A Ddaemon.c622 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()
A Dio.c397 const struct cred *saved_cred; in cachefiles_do_prepare_read() local
433 cachefiles_begin_secure(cache, &saved_cred); in cachefiles_do_prepare_read()
496 cachefiles_end_secure(cache, saved_cred); in cachefiles_do_prepare_read()
610 const struct cred *saved_cred; in cachefiles_prepare_write() local
620 cachefiles_begin_secure(cache, &saved_cred); in cachefiles_prepare_write()
624 cachefiles_end_secure(cache, saved_cred); in cachefiles_prepare_write()
A Dxattr.c175 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()
A Dondemand.c48 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()
A Dinternal.h337 const struct cred *saved_cred) in cachefiles_end_secure() argument
339 revert_creds(saved_cred); in cachefiles_end_secure()
A Dnamei.c442 const struct cred *saved_cred; in cachefiles_create_tmpfile() local
450 cachefiles_begin_secure(cache, &saved_cred); in cachefiles_create_tmpfile()
502 cachefiles_end_secure(cache, saved_cred); in cachefiles_create_tmpfile()
/linux-6.3-rc2/net/dns_resolver/
A Ddns_query.c81 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-6.3-rc2/fs/cifs/
A Dcifs_spnego.c96 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()
A Dcifsacl.c287 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-6.3-rc2/fs/ksmbd/
A Dsmb_common.c644 WARN_ON(work->saved_cred); in ksmbd_override_fsids()
645 work->saved_cred = override_creds(cred); in ksmbd_override_fsids()
646 if (!work->saved_cred) { in ksmbd_override_fsids()
657 WARN_ON(!work->saved_cred); in ksmbd_revert_fsids()
660 revert_creds(work->saved_cred); in ksmbd_revert_fsids()
662 work->saved_cred = NULL; in ksmbd_revert_fsids()
A Dksmbd_work.h50 const struct cred *saved_cred; member
A Dksmbd_work.c36 WARN_ON(work->saved_cred != NULL); in ksmbd_free_work_struct()
/linux-6.3-rc2/fs/nfs/
A Dnfs4idmap.c309 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-6.3-rc2/kernel/cgroup/
A Dcgroup.c5131 const struct cred *saved_cred; in __cgroup_procs_write() local
5154 saved_cred = override_creds(of->file->f_cred); in __cgroup_procs_write()
5158 revert_creds(saved_cred); in __cgroup_procs_write()

Completed in 41 milliseconds