Home
last modified time | relevance | path

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

/fs/cachefiles/
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()
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()
345 const struct cred *saved_cred; in cachefiles_sync_cache() local
352 cachefiles_begin_secure(cache, &saved_cred); in cachefiles_sync_cache()
356 cachefiles_end_secure(cache, saved_cred); in cachefiles_sync_cache()
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()
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()
Dio.c401 const struct cred *saved_cred; in cachefiles_prepare_read() local
436 cachefiles_begin_secure(cache, &saved_cred); in cachefiles_prepare_read()
498 cachefiles_end_secure(cache, saved_cred); in cachefiles_prepare_read()
588 const struct cred *saved_cred; in cachefiles_prepare_write() local
598 cachefiles_begin_secure(cache, &saved_cred); in cachefiles_prepare_write()
602 cachefiles_end_secure(cache, saved_cred); in cachefiles_prepare_write()
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()
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()
Dinternal.h337 const struct cred *saved_cred) in cachefiles_end_secure() argument
339 revert_creds(saved_cred); in cachefiles_end_secure()
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()
/fs/smb/client/
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()
Dcifsacl.c282 const struct cred *saved_cred; in id_to_sid() local
290 saved_cred = override_creds(root_cred); in id_to_sid()
325 revert_creds(saved_cred); in id_to_sid()
340 const struct cred *saved_cred; in sid_to_id() local
396 saved_cred = override_creds(root_cred); in sid_to_id()
436 revert_creds(saved_cred); in sid_to_id()
/fs/smb/server/
Dsmb_common.c766 WARN_ON(work->saved_cred); in ksmbd_override_fsids()
767 work->saved_cred = override_creds(cred); in ksmbd_override_fsids()
768 if (!work->saved_cred) { in ksmbd_override_fsids()
779 WARN_ON(!work->saved_cred); in ksmbd_revert_fsids()
782 revert_creds(work->saved_cred); in ksmbd_revert_fsids()
784 work->saved_cred = NULL; in ksmbd_revert_fsids()
Dksmbd_work.h61 const struct cred *saved_cred; member
Dksmbd_work.c46 WARN_ON(work->saved_cred != NULL); in ksmbd_free_work_struct()
/fs/nfs/
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()