Home
last modified time | relevance | path

Searched refs:file_info (Results 1 – 4 of 4) sorted by relevance

/system/extras/pagecache/
Ddumpcache.c22 struct file_info { struct
38 static struct file_info **g_files; argument
43 static struct file_info *get_file_info(const char* fpath, size_t file_size) { in get_file_info()
44 struct file_info *info; in get_file_info()
46 g_files = realloc(g_files, 2 * g_files_size * sizeof(struct file_info*)); in get_file_info()
98 struct file_info *info = get_file_info(fpath, sb->st_size); in store_num_cached()
125 return cmpsize((*((struct file_info**)a))->num_cached_pages, in cmpfiles()
126 (*((struct file_info**)b))->num_cached_pages); in cmpfiles()
134 g_files = malloc(INITIAL_NUM_FILES * sizeof(struct file_info*)); in main()
159 struct file_info *info = g_files[i]; in main()
/system/core/libsync/
Dsync.c343 struct sync_file_info* file_info; in sync_fence_info() local
344 file_info = modern_sync_file_info(fd); in sync_fence_info()
345 if (!file_info) in sync_fence_info()
351 legacy_info = sync_file_info_to_legacy_fence_info(file_info); in sync_fence_info()
352 sync_file_info_free(file_info); in sync_fence_info()
/system/iorap/src/compiler/
Dcompiler.cc96 .map([](const CompilationInput& file_info) -> in ReadProtosFromFileNames()
98 LOG(VERBOSE) << "compiler::ReadProtosFromFileNames " << file_info.filename in ReadProtosFromFileNames()
99 << " TimeStampLimit "<< file_info.timestamp_limit_ns in ReadProtosFromFileNames()
100 << " Pid " << file_info.pid << " [begin]"; in ReadProtosFromFileNames()
102 BinaryWireProtoT::ReadFullyFromFile(file_info.filename); in ReadProtosFromFileNames()
104 LOG(ERROR) << "Failed to read file: " << file_info.filename; in ReadProtosFromFileNames()
107 return {{std::move(maybe_proto.value()), file_info.timestamp_limit_ns, file_info.pid}}; in ReadProtosFromFileNames()
/system/sepolicy/tools/
Dcheck_seapp.c63 typedef struct file_info file_info; typedef
154 struct file_info { struct
168 static file_info out_file; argument
273 file_info *f = list_entry(e, typeof(*f), listify); in input_file_list_freefn()
889 file_info *tmp; in init()
997 file_info *input_file; in handle_options()
1111 static void parse_file(file_info *in_file) { in parse_file()
1217 file_info *current; in parse()