Home
last modified time | relevance | path

Searched refs:new_max_ptrs (Results 1 – 2 of 2) sorted by relevance

/optee_os/ta/pkcs11/src/
A Dhandle.c38 uint32_t new_max_ptrs = 0; in handle_get() local
53 new_max_ptrs = db->max_ptrs * 2; in handle_get()
55 new_max_ptrs = HANDLE_DB_INITIAL_MAX_PTRS; in handle_get()
57 p = TEE_Realloc(db->ptrs, new_max_ptrs * sizeof(void *)); in handle_get()
62 (new_max_ptrs - db->max_ptrs) * sizeof(void *)); in handle_get()
63 db->max_ptrs = new_max_ptrs; in handle_get()
/optee_os/core/kernel/
A Dhandle.c51 size_t new_max_ptrs; in handle_get() local
66 new_max_ptrs = db->max_ptrs * 2; in handle_get()
68 new_max_ptrs = HANDLE_DB_INITIAL_MAX_PTRS; in handle_get()
69 p = realloc(db->ptrs, new_max_ptrs * sizeof(void *)); in handle_get()
74 (new_max_ptrs - db->max_ptrs) * sizeof(void *)); in handle_get()
75 db->max_ptrs = new_max_ptrs; in handle_get()

Completed in 3 milliseconds