Searched refs:files_db_s (Results 1 – 4 of 4) sorted by relevance
19 struct files_db_s { struct22 struct files_db_s *next; argument47 struct files_db_s *db_node = (struct files_db_s *)node; in files_db_update_size() argument56 ((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()
44 struct files_db_s { struct51 struct files_db_s *next; argument55 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()
57 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()
31 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()