Lines Matching refs:new
18 struct cred *new; in cachefiles_get_security_ID() local
23 new = prepare_kernel_cred(current); in cachefiles_get_security_ID()
24 if (!new) { in cachefiles_get_security_ID()
30 ret = set_security_override_from_ctx(new, cache->secctx); in cachefiles_get_security_ID()
32 put_cred(new); in cachefiles_get_security_ID()
39 cache->cache_cred = new; in cachefiles_get_security_ID()
79 struct cred *new; in cachefiles_determine_cache_security() local
86 new = prepare_creds(); in cachefiles_determine_cache_security()
87 if (!new) in cachefiles_determine_cache_security()
94 ret = set_create_files_as(new, d_backing_inode(root)); in cachefiles_determine_cache_security()
96 abort_creds(new); in cachefiles_determine_cache_security()
103 cache->cache_cred = new; in cachefiles_determine_cache_security()