• Home
  • Raw
  • Download

Lines Matching refs:ret

19 	int ret;  in cachefiles_get_security_ID()  local
25 ret = -ENOMEM; in cachefiles_get_security_ID()
30 ret = set_security_override_from_ctx(new, cache->secctx); in cachefiles_get_security_ID()
31 if (ret < 0) { in cachefiles_get_security_ID()
34 ret); in cachefiles_get_security_ID()
40 ret = 0; in cachefiles_get_security_ID()
42 _leave(" = %d", ret); in cachefiles_get_security_ID()
43 return ret; in cachefiles_get_security_ID()
52 int ret; in cachefiles_check_cache_dir() local
54 ret = security_inode_mkdir(d_backing_inode(root), root, 0); in cachefiles_check_cache_dir()
55 if (ret < 0) { in cachefiles_check_cache_dir()
57 ret); in cachefiles_check_cache_dir()
58 return ret; in cachefiles_check_cache_dir()
61 ret = security_inode_create(d_backing_inode(root), root, 0); in cachefiles_check_cache_dir()
62 if (ret < 0) in cachefiles_check_cache_dir()
64 ret); in cachefiles_check_cache_dir()
66 return ret; in cachefiles_check_cache_dir()
80 int ret; in cachefiles_determine_cache_security() local
94 ret = set_create_files_as(new, d_backing_inode(root)); in cachefiles_determine_cache_security()
95 if (ret < 0) { in cachefiles_determine_cache_security()
98 _leave(" = %d [cfa]", ret); in cachefiles_determine_cache_security()
99 return ret; in cachefiles_determine_cache_security()
106 ret = cachefiles_check_cache_dir(cache, root); in cachefiles_determine_cache_security()
108 if (ret == -EOPNOTSUPP) in cachefiles_determine_cache_security()
109 ret = 0; in cachefiles_determine_cache_security()
110 _leave(" = %d", ret); in cachefiles_determine_cache_security()
111 return ret; in cachefiles_determine_cache_security()