Home
last modified time | relevance | path

Searched refs:fcontext (Results 1 – 3 of 3) sorted by relevance

/titanic_44/usr/src/lib/pkcs11/pkcs11_kernel/common/
H A DkernelObjectUtil.c577 add_to_search_result(kernel_object_t *obj, find_context_t *fcontext, in add_to_search_result() argument
584 if (*num_result_alloc <= fcontext->num_results) { in add_to_search_result()
585 fcontext->objs_found = realloc(fcontext->objs_found, in add_to_search_result()
587 if (fcontext->objs_found == NULL) { in add_to_search_result()
593 (fcontext->objs_found)[(fcontext->num_results)++] = obj; in add_to_search_result()
599 CK_ULONG ulCount, find_context_t *fcontext) in search_for_objects() argument
634 obj, fcontext, &num_result_alloc); in search_for_objects()
638 rv = add_to_search_result(obj, fcontext, in search_for_objects()
668 find_context_t *fcontext; in kernel_find_objects_init() local
679 fcontext = calloc(1, sizeof (find_context_t)); in kernel_find_objects_init()
[all …]
/titanic_44/usr/src/lib/pkcs11/pkcs11_softtoken/common/
H A DsoftObjectUtil.c570 add_to_search_result(soft_object_t *obj, find_context_t *fcontext, in add_to_search_result() argument
577 if (*num_result_alloc <= fcontext->num_results) { in add_to_search_result()
578 fcontext->objs_found = realloc(fcontext->objs_found, in add_to_search_result()
580 if (fcontext->objs_found == NULL) { in add_to_search_result()
586 (fcontext->objs_found)[(fcontext->num_results)++] = obj; in add_to_search_result()
592 find_context_t *fcontext) in search_for_objects() argument
663 obj, fcontext, &num_result_alloc); in search_for_objects()
667 rv = add_to_search_result(obj, fcontext, in search_for_objects()
705 obj, fcontext, &num_result_alloc); in search_for_objects()
709 rv = add_to_search_result(obj, fcontext, in search_for_objects()
[all …]
H A DsoftSessionUtil.c376 find_context_t *fcontext; in soft_delete_session() local
377 fcontext = (find_context_t *)session_p->find_objects.context; in soft_delete_session()
378 free(fcontext->objs_found); in soft_delete_session()
379 free(fcontext); in soft_delete_session()