Searched refs:kcmd_addr (Results 1 – 1 of 1) sorted by relevance
973 drm_savage_cmd_header_t *kcmd_addr = NULL; in savage_bci_cmdbuf() local1002 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()