Lines Matching refs:shmid

19   int                   shmkey, shmid;  member
53shmid, IPC_RMID, NULL), PETSC_COMM_SELF, PETSC_ERR_SYS, "Unable to free shared memory key %d shmid… in PetscShmgetAddressesFinalize()
145 allocation->shmid = shmget(allocation->shmkey, allocation->sz, 0666); in PetscShmgetMapAddresses()
146 …PetscCheck(allocation->shmid != -1, PETSC_COMM_SELF, PETSC_ERR_SYS, "Unable to map PCMPI shared me… in PetscShmgetMapAddresses()
147 allocation->addr = shmat(allocation->shmid, NULL, 0); in PetscShmgetMapAddresses()
285 allocation->shmid = shmget(allocation->shmkey, allocation->sz, 0666 | IPC_CREAT); in PetscShmgetAllocateArray()
286 …PetscCheck(allocation->shmid != -1, PETSC_COMM_SELF, PETSC_ERR_LIB, "Unable to schmget() of size %… in PetscShmgetAllocateArray()
287 allocation->addr = shmat(allocation->shmid, NULL, 0); in PetscShmgetAllocateArray()
288 …_COMM_SELF, PETSC_ERR_LIB, "Unable to shmat() of shmid %d %s", allocation->shmid, strerror(errno)); in PetscShmgetAllocateArray()
290 …id %d returned 0xffffffffffffffff %s, see PCMPIServerBegin()", allocation->shmid, strerror(errno)); in PetscShmgetAllocateArray()
300 … %p shmkey %d shmid %d size %d\n", *addr, allocation->shmkey, allocation->shmid, (int)allocation->… in PetscShmgetAllocateArray()
335 …I Server array %p shmkey %d shmid %d size %d\n", *addr, next->shmkey, next->shmid, (int)next->sz)); in PetscShmgetDeallocateArray()
337shmid, IPC_RMID, NULL), PETSC_COMM_SELF, PETSC_ERR_SYS, "Unable to free shared memory addr %p key … in PetscShmgetDeallocateArray()