Searched refs:handle_db (Results 1 – 8 of 8) sorted by relevance
/optee_os/ta/pkcs11/src/ |
A D | handle.h | 11 struct handle_db { struct 19 void handle_db_init(struct handle_db *db); argument 26 void handle_db_destroy(struct handle_db *db); 32 uint32_t handle_get(struct handle_db *db, void *ptr); 38 void *handle_put(struct handle_db *db, uint32_t handle); 45 void *handle_lookup(struct handle_db *db, uint32_t handle); 48 uint32_t handle_lookup_handle(struct handle_db *db, void *ptr);
|
A D | handle.c | 20 void handle_db_init(struct handle_db *db) in handle_db_init() 25 void handle_db_destroy(struct handle_db *db) in handle_db_destroy() 34 uint32_t handle_get(struct handle_db *db, void *ptr) in handle_get() 70 void *handle_put(struct handle_db *db, uint32_t handle) in handle_put() 82 void *handle_lookup(struct handle_db *db, uint32_t handle) in handle_lookup() 90 uint32_t handle_lookup_handle(struct handle_db *db, void *ptr) in handle_lookup_handle()
|
A D | pkcs11_token.h | 206 struct handle_db *get_object_handle_db(struct pkcs11_session *session);
|
A D | pkcs11_token.c | 43 struct handle_db session_handle_db; 44 struct handle_db object_handle_db; 71 struct handle_db *get_object_handle_db(struct pkcs11_session *session) in get_object_handle_db()
|
A D | object.c | 504 struct handle_db *object_db = NULL; in entry_find_objects_init()
|
/optee_os/core/include/kernel/ |
A D | handle.h | 12 struct handle_db { struct 25 void handle_db_destroy(struct handle_db *db, void (*ptr_destructor)(void *ptr)); argument 28 bool handle_db_is_empty(struct handle_db *db); 37 int handle_get(struct handle_db *db, void *ptr); 43 void *handle_put(struct handle_db *db, int handle); 50 void *handle_lookup(struct handle_db *db, int handle);
|
A D | ldelf_syscalls.h | 18 struct handle_db db;
|
/optee_os/core/kernel/ |
A D | handle.c | 18 void handle_db_destroy(struct handle_db *db, void (*ptr_destructor)(void *ptr)) in handle_db_destroy() 34 bool handle_db_is_empty(struct handle_db *db) in handle_db_is_empty() 47 int handle_get(struct handle_db *db, void *ptr) in handle_get() 82 void *handle_put(struct handle_db *db, int handle) in handle_put() 94 void *handle_lookup(struct handle_db *db, int handle) in handle_lookup()
|
Completed in 14 milliseconds