Lines Matching refs:ctr
1087 unsigned int ctr; member
1179 if (ctx->upperdentry && !ctx->ctr && !ofs->noxattr && d->is_dir) { in ovl_lookup_layers()
1196 if (ctx->upperdentry && !ctx->ctr && in ovl_lookup_layers()
1209 if (!ctx->upperdentry && !d->is_dir && !ctx->ctr && d->metacopy) in ovl_lookup_layers()
1212 if (d->metacopy && ctx->ctr) { in ovl_lookup_layers()
1222 ctx->stack[ctx->ctr].dentry = this; in ovl_lookup_layers()
1223 ctx->stack[ctx->ctr].layer = lower.layer; in ovl_lookup_layers()
1224 ctx->ctr++; in ovl_lookup_layers()
1241 if (d->metacopy && ctx->ctr && ofs->numdatalayer && d->absolute_redirect) { in ovl_lookup_layers()
1243 ctx->ctr++; in ovl_lookup_layers()
1257 if (d->metacopy || (uppermetacopy && !ctx->ctr)) { in ovl_lookup_layers()
1262 } else if (!d->is_dir && ctx->upperdentry && !ctx->ctr && ctx->origin_path) { in ovl_lookup_layers()
1268 ctx->ctr = 1; in ovl_lookup_layers()
1292 if (!ctx->upperdentry && ctx->ctr) in ovl_lookup_layers()
1305 if (ctx->ctr) { in ovl_lookup_layers()
1306 ctx->oe = ovl_alloc_entry(ctx->ctr); in ovl_lookup_layers()
1311 ovl_stack_cpy(ovl_lowerstack(ctx->oe), ctx->stack, ctx->ctr); in ovl_lookup_layers()
1350 if (ctx->upperdentry || ctx->ctr) { in ovl_lookup_layers()
1360 if (ctx->ctr > 1 && !d->is_dir && !ctx->stack[ctx->ctr - 1].dentry) { in ovl_lookup_layers()
1410 ovl_stack_free(ctx.stack, ctx.ctr); in ovl_lookup()