Lines Matching refs:ctx
83 struct dir_context *ctx,
98 offset = ctx->pos & (bufsize - 1);
99 block = ctx->pos >> bufbits;
101 while (ctx->pos < inode->i_size) {
123 ctx->pos = (ctx->pos + ISOFS_BLOCK_SIZE) & ~(ISOFS_BLOCK_SIZE - 1);
124 block = ctx->pos >> bufbits;
169 ctx->pos += de_len;
176 if (!dir_emit_dot(file, ctx))
178 ctx->pos += de_len;
186 if (!dir_emit_dotdot(file, ctx))
188 ctx->pos += de_len;
202 ctx->pos += de_len;
234 if (!dir_emit(ctx, p, len, inode_number, DT_UNKNOWN))
237 ctx->pos += de_len;
249 static int isofs_readdir(struct file *file, struct dir_context *ctx)
262 result = do_isofs_readdir(inode, file, ctx, tmpname, tmpde);