Home
last modified time | relevance | path

Searched refs:new_callback (Results 1 - 1 of 1) sorted by relevance

/kernel/linux/common_modules/tzdriver/core/
H A Dtz_spi_notify.c539 struct tc_ns_callback *new_callback = NULL; in tc_ns_register_service_call_back_func() local
561 new_callback = kzalloc(sizeof(*new_callback), GFP_KERNEL); in tc_ns_register_service_call_back_func()
562 if (ZERO_OR_NULL_PTR((unsigned long)(uintptr_t)new_callback)) { in tc_ns_register_service_call_back_func()
568 if (memcpy_s(new_callback->uuid, UUID_SIZE, uuid, UUID_SIZE) != 0) { in tc_ns_register_service_call_back_func()
569 kfree(new_callback); in tc_ns_register_service_call_back_func()
570 new_callback = NULL; in tc_ns_register_service_call_back_func()
577 INIT_LIST_HEAD(&new_callback->head); in tc_ns_register_service_call_back_func()
578 new_callback->callback_func = (void (*)(void *))func; in tc_ns_register_service_call_back_func()
579 mutex_init(&new_callback in tc_ns_register_service_call_back_func()
[all...]

Completed in 1 milliseconds