Home
last modified time | relevance | path

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

/Linux-v5.10/drivers/misc/habanalabs/common/
Dcommand_submission.c612 struct hl_cs_chunk *cs_chunk_array; in cs_ioctl_default() local
630 cs_chunk_array = kmalloc_array(num_chunks, sizeof(*cs_chunk_array), in cs_ioctl_default()
632 if (!cs_chunk_array) { in cs_ioctl_default()
638 if (copy_from_user(cs_chunk_array, chunks, size_to_copy)) { in cs_ioctl_default()
659 struct hl_cs_chunk *chunk = &cs_chunk_array[i]; in cs_ioctl_default()
762 kfree(cs_chunk_array); in cs_ioctl_default()
773 struct hl_cs_chunk *cs_chunk_array, *chunk; in cs_ioctl_signal_wait() local
794 cs_chunk_array = kmalloc_array(num_chunks, sizeof(*cs_chunk_array), in cs_ioctl_signal_wait()
796 if (!cs_chunk_array) { in cs_ioctl_signal_wait()
802 if (copy_from_user(cs_chunk_array, chunks, size_to_copy)) { in cs_ioctl_signal_wait()
[all …]