Lines Matching refs:ale
691 ATTR_LIST_ENTRY *ale; in ntfs_inode_attach_all_extents() local
717 ale = (ATTR_LIST_ENTRY *)ni->attr_list; in ntfs_inode_attach_all_extents()
718 while ((u8*)ale < ni->attr_list + ni->attr_list_size) { in ntfs_inode_attach_all_extents()
719 if (ni->mft_no != MREF_LE(ale->mft_reference) && in ntfs_inode_attach_all_extents()
720 prev_attached != MREF_LE(ale->mft_reference)) { in ntfs_inode_attach_all_extents()
721 if (!ntfs_extent_inode_open(ni, ale->mft_reference)) { in ntfs_inode_attach_all_extents()
725 prev_attached = MREF_LE(ale->mft_reference); in ntfs_inode_attach_all_extents()
727 ale = (ATTR_LIST_ENTRY *)((u8*)ale + le16_to_cpu(ale->length)); in ntfs_inode_attach_all_extents()
1117 ATTR_LIST_ENTRY *ale = NULL; in ntfs_inode_add_attrlist() local
1161 ale = (ATTR_LIST_ENTRY *)(aln + ((u8 *)ale - al)); in ntfs_inode_add_attrlist()
1164 memset(ale, 0, ale_size); in ntfs_inode_add_attrlist()
1167 ale->type = ctx->attr->type; in ntfs_inode_add_attrlist()
1168 ale->length = cpu_to_le16((sizeof(ATTR_LIST_ENTRY) + in ntfs_inode_add_attrlist()
1170 ale->name_length = ctx->attr->name_length; in ntfs_inode_add_attrlist()
1171 ale->name_offset = (u8 *)ale->name - (u8 *)ale; in ntfs_inode_add_attrlist()
1173 ale->lowest_vcn = ctx->attr->lowest_vcn; in ntfs_inode_add_attrlist()
1175 ale->lowest_vcn = const_cpu_to_sle64(0); in ntfs_inode_add_attrlist()
1176 ale->mft_reference = MK_LE_MREF(ni->mft_no, in ntfs_inode_add_attrlist()
1178 ale->instance = ctx->attr->instance; in ntfs_inode_add_attrlist()
1179 memcpy(ale->name, (u8 *)ctx->attr + in ntfs_inode_add_attrlist()
1182 ale = (ATTR_LIST_ENTRY *)(al + al_len); in ntfs_inode_add_attrlist()
1259 ale = (ATTR_LIST_ENTRY*)al; in ntfs_inode_add_attrlist()
1260 while ((u8*)ale < al + al_len) { in ntfs_inode_add_attrlist()
1261 if (MREF_LE(ale->mft_reference) != ni->mft_no) { in ntfs_inode_add_attrlist()
1262 if (!ntfs_attr_lookup(ale->type, ale->name, in ntfs_inode_add_attrlist()
1263 ale->name_length, in ntfs_inode_add_attrlist()
1265 sle64_to_cpu(ale->lowest_vcn), in ntfs_inode_add_attrlist()
1274 ale = (ATTR_LIST_ENTRY*)((u8*)ale + le16_to_cpu(ale->length)); in ntfs_inode_add_attrlist()