Home
last modified time | relevance | path

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

/Zephyr-Core-2.7.6/kernel/
Dpoll.c345 struct k_poll_event *events_copy = NULL; in z_vrfy_k_poll() local
362 events_copy = z_thread_malloc(bounds); in z_vrfy_k_poll()
363 if (!events_copy) { in z_vrfy_k_poll()
373 (void)memcpy(events_copy, events, bounds); in z_vrfy_k_poll()
378 struct k_poll_event *e = &events_copy[i]; in z_vrfy_k_poll()
406 ret = k_poll(events_copy, num_events, timeout); in z_vrfy_k_poll()
407 (void)memcpy((void *)events, events_copy, bounds); in z_vrfy_k_poll()
409 k_free(events_copy); in z_vrfy_k_poll()
413 k_free(events_copy); in z_vrfy_k_poll()