Lines Matching refs:shmkey

19   int                   shmkey, shmid;  member
26 size_t shmkey[3]; member
53 …to free shared memory key %d shmid %d %s, see PCMPIServerBegin()", next->shmkey, next->shmid, stre… in PetscShmgetAddressesFinalize()
110 bcastinfo.shmkey[i] = allocation->shmkey; in PetscShmgetMapAddresses()
126 int shmkey = 0; in PetscShmgetMapAddresses() local
133 shmkey = (int)bcastinfo.shmkey[i]; in PetscShmgetMapAddresses()
136 if (next->shmkey == shmkey) addres[i] = next->addr; in PetscShmgetMapAddresses()
143 allocation->shmkey = shmkey; in PetscShmgetMapAddresses()
145 allocation->shmid = shmget(allocation->shmkey, allocation->sz, 0666); in PetscShmgetMapAddresses()
146 …PI shared memory key %d of size %d, see PCMPIServerBegin()", allocation->shmkey, (int)allocation->… in PetscShmgetMapAddresses()
148 …C_ERR_SYS, "Unable to map PCMPI shared memory key %d, see PCMPIServerBegin()", allocation->shmkey); in PetscShmgetMapAddresses()
283 allocation->shmkey = shmkeys++; in PetscShmgetAllocateArray()
285 allocation->shmid = shmget(allocation->shmkey, allocation->sz, 0666 | IPC_CREAT); in PetscShmgetAllocateArray()
286 …y %d %s see PetscShmgetAllocateArray()", (int)allocation->sz, allocation->shmkey, strerror(errno)); in PetscShmgetAllocateArray()
300 … PCMPI Server array %p shmkey %d shmid %d size %d\n", *addr, allocation->shmkey, allocation->shmid… in PetscShmgetAllocateArray()
335 …cating PCMPI Server array %p shmkey %d shmid %d size %d\n", *addr, next->shmkey, next->shmid, (int… in PetscShmgetDeallocateArray()
337 …memory addr %p key %d shmid %d %s, see PCMPIServerBegin()", *addr, next->shmkey, next->shmid, stre… in PetscShmgetDeallocateArray()