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

/openjdk7/jdk/src/solaris/native/sun/awt/
H A Dawt_GraphicsEnv.c1007 shminfo.shmid = shmget(IPC_PRIVATE, 0x10000,
1009 if (shminfo.shmid < 0) {
1016 shminfo.shmaddr = (char *) shmat(shminfo.shmid, 0, 0);
1018 shmctl(shminfo.shmid, IPC_RMID, 0);
1032 shmctl(shminfo.shmid, IPC_RMID, 0);
/openjdk7/jdk/src/solaris/native/sun/java2d/x11/
H A DX11SurfaceData.c543 /* REMIND: we don't need shmctl(shminfo->shmid, IPC_RMID, 0); here. */
569 shminfo->shmid =
572 if (shminfo->shmid < 0) {
581 shminfo->shmaddr = (char *) shmat(shminfo->shmid, 0, 0);
583 shmctl(shminfo->shmid, IPC_RMID, 0);
602 shmctl(shminfo->shmid, IPC_RMID, 0);
/openjdk7/hotspot/src/os/bsd/vm/
H A Dos_bsd.cpp3425 int shmid = shmget(key, bytes, SHM_HUGETLB|IPC_CREAT|SHM_R|SHM_W); local
3427 int shmid = shmget(key, bytes, IPC_CREAT|SHM_R|SHM_W); local
3429 if (shmid == -1) {
3452 addr = (char*)shmat(shmid, req_addr, 0);
3455 // Remove shmid. If shmat() is successful, the actual shared memory segment
3459 shmctl(shmid, IPC_RMID, NULL);
/openjdk7/hotspot/src/os/linux/vm/
H A Dos_linux.cpp3346 int shmid = shmget(key, bytes, SHM_HUGETLB|IPC_CREAT|SHM_R|SHM_W); local
3347 if (shmid == -1) {
3370 addr = (char*)shmat(shmid, req_addr, 0);
3373 // Remove shmid. If shmat() is successful, the actual shared memory segment
3377 shmctl(shmid, IPC_RMID, NULL);
/openjdk7/hotspot/src/os/solaris/vm/
H A Dos_solaris.cpp3514 int shmid; local
3528 shmid = shmget(ismKey, size, SHM_R | SHM_W | IPC_CREAT);
3529 if (shmid == -1){
3538 retAddr = (char *) shmat(shmid, 0, SHM_SHARE_MMU | SHM_R | SHM_W);
3541 // Remove shmid. If shmat() is successful, the actual shared memory segment
3545 shmctl(shmid, IPC_RMID, NULL);

Completed in 78 milliseconds