Home
last modified time | relevance | path

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

/Linux-v6.6/drivers/accel/habanalabs/common/
Dcommand_submission.c1388 struct hl_cs_chunk **cs_chunk_array, in hl_cs_copy_chunk_array() argument
1403 *cs_chunk_array = kmalloc_array(num_chunks, sizeof(**cs_chunk_array), in hl_cs_copy_chunk_array()
1405 if (!*cs_chunk_array) in hl_cs_copy_chunk_array()
1406 *cs_chunk_array = kmalloc_array(num_chunks, in hl_cs_copy_chunk_array()
1407 sizeof(**cs_chunk_array), GFP_KERNEL); in hl_cs_copy_chunk_array()
1408 if (!*cs_chunk_array) { in hl_cs_copy_chunk_array()
1415 if (copy_from_user(*cs_chunk_array, chunks, size_to_copy)) { in hl_cs_copy_chunk_array()
1419 kfree(*cs_chunk_array); in hl_cs_copy_chunk_array()
1476 struct hl_cs_chunk *cs_chunk_array; in cs_ioctl_default() local
1490 rc = hl_cs_copy_chunk_array(hdev, &cs_chunk_array, chunks, num_chunks, in cs_ioctl_default()
[all …]