Searched refs:newlink (Results 1 – 1 of 1) sorted by relevance
25 struct _PetscSegBufferLink *newlink, *s; in PetscSegBufferAlloc_Private() local31 …PetscCall(PetscMalloc(offsetof(struct _PetscSegBufferLink, u) + alloc * seg->unitbytes, &newlink)); in PetscSegBufferAlloc_Private()32 PetscCall(PetscMemzero(newlink, offsetof(struct _PetscSegBufferLink, u))); in PetscSegBufferAlloc_Private()34 newlink->tailused = s->used + s->tailused; in PetscSegBufferAlloc_Private()35 newlink->tail = s; in PetscSegBufferAlloc_Private()36 newlink->alloc = alloc; in PetscSegBufferAlloc_Private()37 seg->head = newlink; in PetscSegBufferAlloc_Private()