Lines Matching refs:ctx
259 ntfs_attr_search_ctx *ctx = NULL;
285 ctx = ntfs_attr_get_search_ctx(vol->mft_ni, NULL);
286 if (!ctx)
291 ctx)) {
299 l = ntfs_get_attribute_value_length(ctx->attr);
310 l = ntfs_get_attribute_value(vol, ctx->attr, vol->mft_ni->attr_list);
338 ntfs_attr_reinit_search_ctx(ctx);
343 ctx)) {
346 a = ctx->attr;
402 ntfs_attr_put_search_ctx(ctx);
403 ctx = NULL;
423 if (ctx)
424 ntfs_attr_put_search_ctx(ctx);
943 ntfs_attr_search_ctx *ctx = NULL;
1146 ctx = ntfs_attr_get_search_ctx(vol->vol_ni, NULL);
1147 if (!ctx)
1152 0, ctx)) {
1157 a = ctx->attr;
1168 if ((char*)vinf + le32_to_cpu(a->value_length) > (char*)ctx->mrec +
1169 le32_to_cpu(ctx->mrec->bytes_in_use) ||
1185 ntfs_attr_reinit_search_ctx(ctx);
1187 ctx)) {
1203 a = ctx->attr;
1236 ntfs_attr_put_search_ctx(ctx);
1237 ctx = NULL;
1328 if (ctx)
1329 ntfs_attr_put_search_ctx(ctx);
1742 ntfs_attr_search_ctx *ctx;
1750 ctx = ntfs_attr_get_search_ctx(vol->vol_ni, NULL);
1751 if (!ctx)
1755 0, ctx)) {
1760 a = ctx->attr;
1771 if ((char*)c + le32_to_cpu(a->value_length) > (char*)ctx->mrec +
1772 le32_to_cpu(ctx->mrec->bytes_in_use) ||
1789 ntfs_attr_put_search_ctx(ctx);