Home
last modified time | relevance | path

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

/drivers/misc/habanalabs/
Dcommand_submission.c469 struct hl_cs_chunk *cs_chunk_array; in _hl_cs_ioctl() local
487 cs_chunk_array = kmalloc_array(num_chunks, sizeof(*cs_chunk_array), in _hl_cs_ioctl()
489 if (!cs_chunk_array) { in _hl_cs_ioctl()
495 if (copy_from_user(cs_chunk_array, chunks, size_to_copy)) { in _hl_cs_ioctl()
516 struct hl_cs_chunk *chunk = &cs_chunk_array[i]; in _hl_cs_ioctl()
605 kfree(cs_chunk_array); in _hl_cs_ioctl()