Lines Matching defs:al_entry

3042  * @ctx->mrec, and @ctx->al_entry is the attribute list entry for this
3051 * @ctx->al_entry points to the position within @ctx->base_ntfs_ino->attr_list
3055 * @ctx->al_entry is set to NULL also (see above).
3070 ATTR_LIST_ENTRY *al_entry, *next_al_entry;
3095 if (!ctx->al_entry) {
3096 ctx->al_entry = (ATTR_LIST_ENTRY*)al_start;
3100 * Iterate over entries in attribute list starting at @ctx->al_entry,
3104 al_entry = ctx->al_entry;
3112 le32_to_cpu(al_entry->type) >
3117 if (((p2n(al_end) - p2n(ctx->al_entry))
3119 || (le16_to_cpu(ctx->al_entry->length) & 7)
3120 || (le16_to_cpu(ctx->al_entry->length)
3124 al_entry = (ATTR_LIST_ENTRY*)((char*)ctx->al_entry +
3125 le16_to_cpu(ctx->al_entry->length));
3126 if ((u8*)al_entry == al_end)
3129 if ((p2n(al_end) - p2n(al_entry))
3138 if ((type == AT_UNUSED) && le32_to_cpu(ctx->al_entry->type) <
3140 le32_to_cpu(al_entry->type) >
3168 ctx->al_entry = al_entry;
3185 for (;; al_entry = next_al_entry) {
3187 if ((u8*)al_entry < base_ni->attr_list ||
3188 (u8*)al_entry > al_end)
3190 ctx->al_entry = al_entry;
3192 if ((u8*)al_entry == al_end)
3195 if ((((u8*)al_entry + offsetof(ATTR_LIST_ENTRY, name)) > al_end)
3196 || ((u8*)al_entry + le16_to_cpu(al_entry->length) > al_end)
3197 || (le16_to_cpu(al_entry->length) & 7)
3198 || (le16_to_cpu(al_entry->length)
3200 || (al_entry->name_length
3201 && ((u8*)al_entry + al_entry->name_offset
3202 + al_entry->name_length * sizeof(ntfschar))
3206 next_al_entry = (ATTR_LIST_ENTRY*)((u8*)al_entry +
3207 le16_to_cpu(al_entry->length));
3209 if (le32_to_cpu(al_entry->type) > le32_to_cpu(type))
3211 if (type != al_entry->type)
3214 al_name_len = al_entry->name_length;
3215 al_name = (ntfschar*)((u8*)al_entry + al_entry->name_offset);
3259 next_al_entry->type == al_entry->type &&
3269 if (MREF_LE(al_entry->mft_reference) == ni->mft_no) {
3270 if (MSEQNO_LE(al_entry->mft_reference) !=
3279 if (MREF_LE(al_entry->mft_reference) ==
3292 al_entry->mft_reference);
3304 * current al_entry.
3332 if (al_entry->instance != a->instance)
3339 if (al_entry->type != a->type)
3389 * want to preserve @ctx->al_entry we cannot reinitialize the search
3391 * @ctx->al_entry to NULL. Thus we do the necessary bits manually (see
3393 * @ctx->al_entry as the remaining fields (base_*) are identical to
3652 * @ctx->mrec, and @ctx->al_entry is the attribute list entry for this
3654 * belongs. If no attribute list attribute is present @ctx->al_entry and
3662 * @ctx->al_entry points to the position within @ctx->base_ntfs_ino->attr_list
3666 * @ctx->al_entry is set to NULL also (see above).
3756 ctx->al_entry = NULL;
3783 ctx->al_entry = NULL;
4939 if (!ctx->al_entry) {
4987 ctx->al_entry->mft_reference =
4989 ctx->al_entry->instance = nctx->attr->instance;
6131 ctx->al_entry->lowest_vcn = cpu_to_sle64(stop_vcn);