Home
last modified time | relevance | path

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

/Linux-v6.1/drivers/gpu/drm/savage/
Dsavage_state.c973 drm_savage_cmd_header_t *kcmd_addr = NULL; in savage_bci_cmdbuf() local
1002 kcmd_addr = kmalloc_array(cmdbuf->size, 8, GFP_KERNEL); in savage_bci_cmdbuf()
1003 if (kcmd_addr == NULL) in savage_bci_cmdbuf()
1006 if (copy_from_user(kcmd_addr, cmdbuf->cmd_addr, in savage_bci_cmdbuf()
1009 kfree(kcmd_addr); in savage_bci_cmdbuf()
1012 cmdbuf->cmd_addr = kcmd_addr; in savage_bci_cmdbuf()
1164 kfree(kcmd_addr); in savage_bci_cmdbuf()