Lines Matching refs:sz
20 size_t sz; member
27 size_t sz[3]; member
111 bcastinfo.sz[i] = allocation->sz; in PetscShmgetMapAddresses()
127 size_t sz = 0; in PetscShmgetMapAddresses() local
134 sz = bcastinfo.sz[i]; in PetscShmgetMapAddresses()
144 allocation->sz = sz; in PetscShmgetMapAddresses()
145 allocation->shmid = shmget(allocation->shmkey, allocation->sz, 0666); in PetscShmgetMapAddresses()
146 …shared memory key %d of size %d, see PCMPIServerBegin()", allocation->shmkey, (int)allocation->sz); in PetscShmgetMapAddresses()
273 PetscErrorCode PetscShmgetAllocateArray(size_t sz, size_t asz, void *addr[]) in PetscShmgetAllocateArray() argument
276 …if (!PCMPIServerUseShmget || !PCMPIServerActive || PCMPIServerInSolve) PetscCall(PetscMalloc(sz * … in PetscShmgetAllocateArray()
284 allocation->sz = sz * asz; in PetscShmgetAllocateArray()
285 allocation->shmid = shmget(allocation->shmkey, allocation->sz, 0666 | IPC_CREAT); in PetscShmgetAllocateArray()
286 …f size %d with key %d %s see PetscShmgetAllocateArray()", (int)allocation->sz, allocation->shmkey,… in PetscShmgetAllocateArray()
300 …shmkey %d shmid %d size %d\n", *addr, allocation->shmkey, allocation->shmid, (int)allocation->sz)); in PetscShmgetAllocateArray()
335 …I Server array %p shmkey %d shmid %d size %d\n", *addr, next->shmkey, next->shmid, (int)next->sz)); in PetscShmgetDeallocateArray()