Searched refs:dri_sw_dt (Results 1 – 3 of 3) sorted by relevance
97 alloc_shm(struct dri_sw_displaytarget *dri_sw_dt, unsigned size) in alloc_shm() argument102 dri_sw_dt->shmid = shmget(IPC_PRIVATE, size, IPC_CREAT | 0600); in alloc_shm()103 if (dri_sw_dt->shmid < 0) in alloc_shm()106 addr = (char *) shmat(dri_sw_dt->shmid, 0, 0); in alloc_shm()108 shmctl(dri_sw_dt->shmid, IPC_RMID, 0); in alloc_shm()127 struct dri_sw_displaytarget *dri_sw_dt; in dri_sw_displaytarget_create() local130 dri_sw_dt = CALLOC_STRUCT(dri_sw_displaytarget); in dri_sw_displaytarget_create()131 if(!dri_sw_dt) in dri_sw_displaytarget_create()134 dri_sw_dt->format = format; in dri_sw_displaytarget_create()135 dri_sw_dt->width = width; in dri_sw_displaytarget_create()[all …]
146 - winsys/sw/dri: use correct free function for dri_sw_dt->data
171 - winsys/sw/dri: use correct free function for dri_sw_dt->data