Searched refs:kbox_addr (Results 1 - 1 of 1) sorted by relevance

/linux-4.4.14/drivers/gpu/drm/savage/
H A Dsavage_state.c965 struct drm_clip_rect *kbox_addr = NULL; savage_bci_cmdbuf() local
1018 kbox_addr = kmalloc_array(cmdbuf->nbox, sizeof(struct drm_clip_rect), savage_bci_cmdbuf()
1020 if (kbox_addr == NULL) { savage_bci_cmdbuf()
1025 if (copy_from_user(kbox_addr, cmdbuf->box_addr, savage_bci_cmdbuf()
1030 cmdbuf->box_addr = kbox_addr; savage_bci_cmdbuf()
1160 kfree(kbox_addr); savage_bci_cmdbuf()

Completed in 53 milliseconds