Searched refs:nextfree (Results 1 – 2 of 2) sorted by relevance
44 unsigned int nextfree; member93 chunk->nextfree = 1; in objset_alloc()125 assert(chunk->nextfree > 0); in _objset_write()126 assert(chunk->nextfree <= os->dnodecount); in _objset_write()127 assert(chunk->nextfree <= DNODES_PER_CHUNK); in _objset_write()129 for (i = 0; i < chunk->nextfree; i += DNODES_PER_BLOCK) { in _objset_write()133 if (chunk->nextfree - i < DNODES_PER_BLOCK) in _objset_write()134 fill = DNODES_PER_BLOCK - (chunk->nextfree - i); in _objset_write()205 if (chunk->nextfree == DNODES_PER_CHUNK) { in objset_dnode_bonus_alloc()210 dnode = &chunk->buf[chunk->nextfree++]; in objset_dnode_bonus_alloc()
604 int nextfree = 0; in compute_offsets() local613 offsets[i] = (short) nextfree; in compute_offsets()614 nextfree += (int) strlen(Strings[i]) + 1; in compute_offsets()616 _nc_visbuf(Strings[i]), (int) nextfree)); in compute_offsets()619 return nextfree; in compute_offsets()742 int nextfree; in _nc_write_object() local797 nextfree = compute_offsets(tp->Strings, strmax, offsets); in _nc_write_object()816 LITTLE_ENDIAN(buf + 10, nextfree); in _nc_write_object()872 if (even_boundary(nextfree)) { in _nc_write_object()876 nextfree = compute_offsets(tp->Strings + STRCOUNT, in _nc_write_object()[all …]