Lines Matching refs:gen
79 ulong_t tmp_gen, gen, new_gen;
104 gen = fh->next_alloc.gen;
105 bn = fh->next_alloc.block[gen & TNFW_B_ALLOC_LO];
115 new_gen = gen + 1;
117 new_gen = gen;
127 if (block->generation < gen &&
134 gen = fh->next_alloc.gen;
135 bn = fh->next_alloc.block[gen & TNFW_B_ALLOC_LO];
138 if ((new_bn > bn && new_gen == gen) || new_gen > gen) {
139 gen = new_gen;
151 tmp_gen = fh->next_alloc.gen;
157 * next_alloc.gen that atomically records the new
161 fh->next_alloc.gen = new_gen;
173 block->generation = istag ? TNF_TAG_GENERATION_NUM : gen;
388 fh->next_alloc.gen = 1;