Searched refs:nextfree (Results 1 – 2 of 2) sorted by relevance
43 unsigned int nextfree; member92 chunk->nextfree = 1; in objset_alloc()124 assert(chunk->nextfree > 0); in _objset_write()125 assert(chunk->nextfree <= os->dnodecount); in _objset_write()126 assert(chunk->nextfree <= DNODES_PER_CHUNK); in _objset_write()128 for (i = 0; i < chunk->nextfree; i += DNODES_PER_BLOCK) { in _objset_write()132 if (chunk->nextfree - i < DNODES_PER_BLOCK) in _objset_write()133 fill = DNODES_PER_BLOCK - (chunk->nextfree - i); in _objset_write()204 if (chunk->nextfree == DNODES_PER_CHUNK) { in objset_dnode_bonus_alloc()209 dnode = &chunk->buf[chunk->nextfree++]; in objset_dnode_bonus_alloc()
569 int nextfree = 0; in compute_offsets() local578 offsets[i] = (short) nextfree; in compute_offsets()579 nextfree += (int) strlen(Strings[i]) + 1; in compute_offsets()581 _nc_visbuf(Strings[i]), (int) nextfree)); in compute_offsets()584 return nextfree; in compute_offsets()707 int nextfree; in _nc_write_object() local780 LITTLE_ENDIAN(buf + 10, nextfree); in _nc_write_object()836 if (even_boundary(nextfree)) { in _nc_write_object()840 nextfree = compute_offsets(tp->Strings + STRCOUNT, in _nc_write_object()849 nextfree += compute_offsets(tp->ext_Names, in _nc_write_object()[all …]