Lines Matching refs:liu
55 uint16_t liu = le16_to_cpu(cfi->lengthOfImpUse); in udf_write_fi() local
57 int padlen = fibh->eoffset - fibh->soffset - liu - lfi - in udf_write_fi()
64 if (offset + liu < 0) in udf_write_fi()
65 memcpy((uint8_t *)sfi->impUse, impuse, liu); in udf_write_fi()
67 memcpy(fibh->ebh->b_data + offset, impuse, liu); in udf_write_fi()
71 memcpy(fibh->ebh->b_data, impuse - offset, liu + offset); in udf_write_fi()
75 offset += liu; in udf_write_fi()
80 memcpy((uint8_t *)sfi->fileIdent + liu, fileident, lfi); in udf_write_fi()
85 memcpy((uint8_t *)sfi->fileIdent + liu, fileident, -offset); in udf_write_fi()
93 memset((uint8_t *)sfi->padding + liu + lfi, 0x00, padlen); in udf_write_fi()
98 memset((uint8_t *)sfi->padding + liu + lfi, 0x00, -offset); in udf_write_fi()
152 uint16_t liu; in udf_find_entry() local
204 liu = le16_to_cpu(cfi->lengthOfImpUse); in udf_find_entry()
209 nameptr = fi->fileIdent + liu; in udf_find_entry()
215 poffset = fibh->soffset + sizeof(struct fileIdentDesc) + liu + lfi; in udf_find_entry()
222 memcpy(nameptr, fi->fileIdent + liu, lfi - poffset); in udf_find_entry()
342 uint16_t liu; in udf_add_entry() local
429 liu = le16_to_cpu(cfi->lengthOfImpUse); in udf_add_entry()
433 nameptr = fi->fileIdent + liu; in udf_add_entry()
438 poffset = fibh->soffset + sizeof(struct fileIdentDesc) + liu + lfi; in udf_add_entry()
445 memcpy(nameptr, fi->fileIdent + liu, lfi - poffset); in udf_add_entry()
452 if (((sizeof(struct fileIdentDesc) + liu + lfi + 3) & ~3) == nfidlen) in udf_add_entry()