Lines Matching full:shminfo
83 ZPixmap, NULL, &b->shminfo,
91 b->shminfo.shmid = shmget(IPC_PRIVATE, b->backxrb->ximage->bytes_per_line
93 if (b->shminfo.shmid < 0) {
102 b->shminfo.shmaddr = b->backxrb->ximage->data
103 = (char*)shmat(b->shminfo.shmid, 0, 0);
104 if (b->shminfo.shmaddr == (char *) -1) {
107 shmctl(b->shminfo.shmid, IPC_RMID, 0);
114 b->shminfo.readOnly = False;
118 XShmAttach(b->xm_visual->display, &b->shminfo);
126 shmdt(b->shminfo.shmaddr);
127 shmctl(b->shminfo.shmid, IPC_RMID, 0);
134 shmctl(b->shminfo.shmid, IPC_RMID, 0); /* nobody else needs it */
147 shmdt(b->shminfo.shmaddr);
148 shmctl(b->shminfo.shmid, IPC_RMID, 0);
179 XShmDetach(b->xm_visual->display, &b->shminfo);
181 shmdt(b->shminfo.shmaddr);
398 XShmDetach( b->display, &b->shminfo );
400 shmdt( b->shminfo.shmaddr );