Lines Matching refs:eahd

49 		struct extendedAttrHeaderDesc *eahd;  in udf_add_extendedattr()  local
50 eahd = (struct extendedAttrHeaderDesc *)ea; in udf_add_extendedattr()
57 if (eahd->descTag.tagIdent != in udf_add_extendedattr()
59 le32_to_cpu(eahd->descTag.tagLocation) != in udf_add_extendedattr()
68 eahd->descTag.tagIdent = cpu_to_le16(TAG_IDENT_EAHD); in udf_add_extendedattr()
70 eahd->descTag.descVersion = cpu_to_le16(3); in udf_add_extendedattr()
72 eahd->descTag.descVersion = cpu_to_le16(2); in udf_add_extendedattr()
73 eahd->descTag.tagSerialNum = in udf_add_extendedattr()
75 eahd->descTag.tagLocation = cpu_to_le32( in udf_add_extendedattr()
77 eahd->impAttrLocation = cpu_to_le32(0xFFFFFFFF); in udf_add_extendedattr()
78 eahd->appAttrLocation = cpu_to_le32(0xFFFFFFFF); in udf_add_extendedattr()
83 if (le32_to_cpu(eahd->appAttrLocation) < in udf_add_extendedattr()
86 le32_to_cpu(eahd->appAttrLocation); in udf_add_extendedattr()
90 eahd->appAttrLocation = in udf_add_extendedattr()
93 if (le32_to_cpu(eahd->impAttrLocation) < in udf_add_extendedattr()
96 le32_to_cpu(eahd->impAttrLocation); in udf_add_extendedattr()
100 eahd->impAttrLocation = in udf_add_extendedattr()
104 if (le32_to_cpu(eahd->appAttrLocation) < in udf_add_extendedattr()
107 le32_to_cpu(eahd->appAttrLocation); in udf_add_extendedattr()
111 eahd->appAttrLocation = in udf_add_extendedattr()
117 eahd->descTag.descCRCLength = cpu_to_le16(crclen); in udf_add_extendedattr()
118 eahd->descTag.descCRC = cpu_to_le16(crc_itu_t(0, (char *)eahd + in udf_add_extendedattr()
120 eahd->descTag.tagChecksum = udf_tag_checksum(&eahd->descTag); in udf_add_extendedattr()
139 struct extendedAttrHeaderDesc *eahd; in udf_get_extendedattr() local
140 eahd = (struct extendedAttrHeaderDesc *)ea; in udf_get_extendedattr()
143 if (eahd->descTag.tagIdent != in udf_get_extendedattr()
145 le32_to_cpu(eahd->descTag.tagLocation) != in udf_get_extendedattr()
152 offset = le32_to_cpu(eahd->impAttrLocation); in udf_get_extendedattr()
154 offset = le32_to_cpu(eahd->appAttrLocation); in udf_get_extendedattr()