Home
last modified time | relevance | path

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

/drivers/peripheral/display/hal/default/
H A Ddisplay_gralloc.c48 int32_t shmid; member
159 buffer->shmid = INVALID_SHMID; in InitBufferHandle()
169 int32_t shmid; in AllocShm() local
171 while ((shmid = shmget(key, buffer->size, IPC_CREAT | IPC_EXCL | DEFAULT_READ_WRITE_PERMISSIONS)) < 0) { in AllocShm()
181 void *pBase = shmat(shmid, NULL, 0); in AllocShm()
184 if (shmctl(shmid, IPC_RMID, 0) == -1) { in AllocShm()
185 HDF_LOGE("%s: Fail to free shmid, errno = %d", __func__, errno); in AllocShm()
191 ((PriBufferHandle*)buffer)->shmid = shmid; in AllocShm()
195 if (shmctl(shmid, IPC_RMI in AllocShm()
269 int32_t shmid; MmapShm() local
312 int32_t shmid = ((PriBufferHandle*)buffer)->shmid; UnmapShm() local
[all...]

Completed in 1 milliseconds