Lines Matching refs:al_entry

847  * mft record in which @ctx->attr is located and @ctx->al_entry will point to
854 * @ctx->attr is located and @ctx->al_entry will point to the attribute list
862 * attribute list attribute at @ctx->al_entry.
874 ATTR_LIST_ENTRY *al_entry, *next_al_entry;
897 if (!ctx->al_entry)
898 ctx->al_entry = (ATTR_LIST_ENTRY*)al_start;
900 * Iterate over entries in attribute list starting at @ctx->al_entry,
904 al_entry = ctx->al_entry;
907 al_entry = (ATTR_LIST_ENTRY*)((u8*)ctx->al_entry +
908 le16_to_cpu(ctx->al_entry->length));
909 for (;; al_entry = next_al_entry) {
911 if ((u8*)al_entry < base_ni->attr_list ||
912 (u8*)al_entry > al_end)
914 ctx->al_entry = al_entry;
916 if ((u8*)al_entry == al_end)
918 if (!al_entry->length)
920 if ((u8*)al_entry + 6 > al_end || (u8*)al_entry +
921 le16_to_cpu(al_entry->length) > al_end)
923 next_al_entry = (ATTR_LIST_ENTRY*)((u8*)al_entry +
924 le16_to_cpu(al_entry->length));
925 if (le32_to_cpu(al_entry->type) > le32_to_cpu(type))
927 if (type != al_entry->type)
933 al_name_len = al_entry->name_length;
934 al_name = (ntfschar*)((u8*)al_entry + al_entry->name_offset);
982 next_al_entry->type == al_entry->type &&
991 if (MREF_LE(al_entry->mft_reference) == ni->mft_no) {
992 if (MSEQNO_LE(al_entry->mft_reference) != ni->seq_no) {
1005 if (MREF_LE(al_entry->mft_reference) ==
1013 al_entry->mft_reference), &ni);
1019 MREF_LE(al_entry->
1037 * current al_entry.
1062 if (al_entry->instance != a->instance)
1069 if (al_entry->type != a->type)
1124 * want to preserve @ctx->al_entry we cannot reinitialize the search
1126 * @ctx->al_entry to NULL. Thus we do the necessary bits manually (see
1128 * @ctx->al_entry as the remaining fields (base_*) are identical to
1183 * @ctx->mrec. If an attribute list attribute is present, @ctx->al_entry is
1189 * list attribute is present, @ctx->al_entry is the attribute list entry which
1262 ctx->al_entry = NULL;