Lines Matching refs:ctx
39 struct dir_context ctx;
43 ctx.dir = 0;
44 ctx.flags = flags;
46 ctx.buf = block_buf;
48 retval = ext2fs_get_mem(dblist->fs->blocksize, &ctx.buf);
52 ctx.func = func;
53 ctx.priv_data = priv_data;
54 ctx.errcode = 0;
56 retval = ext2fs_dblist_iterate(dblist, db_dir_proc, &ctx);
59 ext2fs_free_mem(&ctx.buf);
62 return ctx.errcode;
68 struct dir_context *ctx;
71 ctx = (struct dir_context *) priv_data;
72 ctx->dir = db_info->ino;
73 ctx->errcode = 0;
77 if ((ret & BLOCK_ABORT) && !ctx->errcode)