Home
last modified time | relevance | path

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

/linux-6.1.9/drivers/misc/habanalabs/common/
Dcommand_submission.c1308 struct hl_cs_chunk **cs_chunk_array, in hl_cs_copy_chunk_array() argument
1323 *cs_chunk_array = kmalloc_array(num_chunks, sizeof(**cs_chunk_array), in hl_cs_copy_chunk_array()
1325 if (!*cs_chunk_array) in hl_cs_copy_chunk_array()
1326 *cs_chunk_array = kmalloc_array(num_chunks, in hl_cs_copy_chunk_array()
1327 sizeof(**cs_chunk_array), GFP_KERNEL); in hl_cs_copy_chunk_array()
1328 if (!*cs_chunk_array) { in hl_cs_copy_chunk_array()
1335 if (copy_from_user(*cs_chunk_array, chunks, size_to_copy)) { in hl_cs_copy_chunk_array()
1339 kfree(*cs_chunk_array); in hl_cs_copy_chunk_array()
1396 struct hl_cs_chunk *cs_chunk_array; in cs_ioctl_default() local
1410 rc = hl_cs_copy_chunk_array(hdev, &cs_chunk_array, chunks, num_chunks, in cs_ioctl_default()
[all …]