Home
last modified time | relevance | path

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

/system/extras/ioshark/
Dcompile_ioshark.h19 struct files_db_s { struct
22 struct files_db_s *next; argument
47 struct files_db_s *db_node = (struct files_db_s *)node; in files_db_update_size() argument
56 ((struct files_db_s *)node)->size += size_incr; in files_db_add_to_size()
62 return (((struct files_db_s *)node)->fileno); in files_db_get_fileno()
68 return (((struct files_db_s *)node)->filename); in files_db_get_filename()
Dioshark_bench.h44 struct files_db_s { struct
51 struct files_db_s *next; argument
55 struct files_db_s *files_db_buckets[FILE_DB_HASHSIZE];
70 struct files_db_s *db_node = (struct files_db_s *)node; in files_db_update_size()
79 ((struct files_db_s *)node)->filename = strdup(filename); in files_db_update_filename()
85 return (((struct files_db_s *)node)->fileno); in files_db_get_fileno()
91 return (((struct files_db_s *)node)->fd); in files_db_get_fd()
97 return (((struct files_db_s *)node)->filename); in files_db_get_filename()
103 return (((struct files_db_s *)node)->readonly); in files_db_readonly()
Dioshark_bench_subr.c57 struct files_db_s *db_node; in files_db_lookup_byfileno()
73 struct files_db_s *db_node; in files_db_add_byfileno()
75 db_node = (struct files_db_s *) in files_db_add_byfileno()
78 db_node = malloc(sizeof(struct files_db_s)); in files_db_add_byfileno()
99 struct files_db_s *db_node; in files_db_fsync_discard_files()
155 struct files_db_s *db_node = (struct files_db_s *)node; in files_db_update_fd()
163 struct files_db_s *db_node = (struct files_db_s *)node; in files_db_close_fd()
174 struct files_db_s *db_node; in files_db_close_files()
195 struct files_db_s *db_node; in files_db_unlink_files()
223 struct files_db_s *db_node, *tmp; in files_db_free_memory()
Dcompile_ioshark_subr.c31 static struct files_db_s *files_db_buckets[FILE_DB_HASHSIZE];
44 struct files_db_s *db_node, *s; in files_db_write_objects()
69 struct files_db_s *db_node; in files_db_lookup()
85 struct files_db_s *db_node; in files_db_add()
91 db_node = malloc(sizeof(struct files_db_s)); in files_db_add()