Lines Matching defs:db
59 struct tee_tadb_dir *db; member
67 struct tee_tadb_dir *db; member
143 static TEE_Result maybe_grow_files(struct tee_tadb_dir *db, int idx) in maybe_grow_files()
161 static TEE_Result set_file(struct tee_tadb_dir *db, int idx) in set_file()
171 static void clear_file(struct tee_tadb_dir *db, int idx) in clear_file()
181 static bool test_file(struct tee_tadb_dir *db, int idx) in test_file()
193 static TEE_Result read_ent(struct tee_tadb_dir *db, size_t idx, in read_ent()
205 static TEE_Result write_ent(struct tee_tadb_dir *db, size_t idx, in write_ent()
216 struct tee_tadb_dir *db = calloc(1, sizeof(*db)); in tadb_open() local
240 static TEE_Result tee_tadb_open(struct tee_tadb_dir **db) in tee_tadb_open()
258 static void tadb_put(struct tee_tadb_dir *db) in tadb_put()
273 static void tee_tadb_close(struct tee_tadb_dir *db) in tee_tadb_close()
313 static TEE_Result populate_files(struct tee_tadb_dir *db) in populate_files()
495 static TEE_Result find_ent(struct tee_tadb_dir *db, const TEE_UUID *uuid, in find_ent()
529 static TEE_Result find_free_ent_idx(struct tee_tadb_dir *db, size_t *idx) in find_free_ent_idx()
600 struct tee_tadb_dir *db; in tee_tadb_ta_delete() local