Lines Matching refs:al_entry

1853  * @ctx->mrec, and @ctx->al_entry is the attribute list entry for this
1862 * @ctx->al_entry points to the position within @ctx->base_ntfs_ino->attr_list
1866 * @ctx->al_entry is set to NULL also (see above).
1881 ATTR_LIST_ENTRY *al_entry, *next_al_entry;
1904 if (!ctx->al_entry) {
1905 ctx->al_entry = (ATTR_LIST_ENTRY*)al_start;
1909 * Iterate over entries in attribute list starting at @ctx->al_entry,
1913 al_entry = ctx->al_entry;
1921 le32_to_cpu(al_entry->type) >
1925 al_entry = (ATTR_LIST_ENTRY*)((char*)ctx->al_entry +
1926 le16_to_cpu(ctx->al_entry->length));
1933 if ((type == AT_UNUSED) && le32_to_cpu(ctx->al_entry->type) <
1935 le32_to_cpu(al_entry->type) >
1962 ctx->al_entry = al_entry;
1981 for (;; al_entry = next_al_entry) {
1983 if ((u8*)al_entry < base_ni->attr_list ||
1984 (u8*)al_entry > al_end)
1986 ctx->al_entry = al_entry;
1988 if ((u8*)al_entry == al_end)
1990 if (!al_entry->length)
1992 if ((u8*)al_entry + 6 > al_end || (u8*)al_entry +
1993 le16_to_cpu(al_entry->length) > al_end)
1995 next_al_entry = (ATTR_LIST_ENTRY*)((u8*)al_entry +
1996 le16_to_cpu(al_entry->length));
1998 if (le32_to_cpu(al_entry->type) > le32_to_cpu(type))
2000 if (type != al_entry->type)
2003 al_name_len = al_entry->name_length;
2004 al_name = (ntfschar*)((u8*)al_entry + al_entry->name_offset);
2064 next_al_entry->type == al_entry->type &&
2074 if (MREF_LE(al_entry->mft_reference) == ni->mft_no) {
2075 if (MSEQNO_LE(al_entry->mft_reference) !=
2084 if (MREF_LE(al_entry->mft_reference) ==
2091 al_entry->mft_reference);
2106 * current al_entry.
2128 if (al_entry->instance != a->instance)
2135 if (al_entry->type != a->type)
2183 * want to preserve @ctx->al_entry we cannot reinitialize the search
2185 * @ctx->al_entry to NULL. Thus we do the necessary bits manually (see
2187 * @ctx->al_entry as the remaining fields (base_*) are identical to
2262 * @ctx->mrec, and @ctx->al_entry is the attribute list entry for this
2264 * belongs. If no attribute list attribute is present @ctx->al_entry and
2272 * @ctx->al_entry points to the position within @ctx->base_ntfs_ino->attr_list
2276 * @ctx->al_entry is set to NULL also (see above).
2328 ctx->al_entry = NULL;
2355 ctx->al_entry = NULL;
3449 if (!ctx->al_entry) {
3498 ctx->al_entry->mft_reference =
3500 ctx->al_entry->instance = nctx->attr->instance;
4593 ctx->al_entry->lowest_vcn = cpu_to_sle64(stop_vcn);