Lines Matching refs:lfi

56 	uint8_t lfi = cfi->lengthFileIdent;  in udf_write_fi()  local
57 int padlen = fibh->eoffset - fibh->soffset - liu - lfi - in udf_write_fi()
79 if (offset + lfi < 0) in udf_write_fi()
80 memcpy((uint8_t *)sfi->fileIdent + liu, fileident, lfi); in udf_write_fi()
82 memcpy(fibh->ebh->b_data + offset, fileident, lfi); in udf_write_fi()
86 memcpy(fibh->ebh->b_data, fileident - offset, lfi + offset); in udf_write_fi()
90 offset += lfi; 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()
151 uint8_t lfi; in udf_find_entry() local
205 lfi = cfi->lengthFileIdent; in udf_find_entry()
215 poffset = fibh->soffset + sizeof(struct fileIdentDesc) + liu + lfi; in udf_find_entry()
217 if (poffset >= lfi) in udf_find_entry()
218 nameptr = (uint8_t *)(fibh->ebh->b_data + poffset - lfi); in udf_find_entry()
222 memcpy(nameptr, fi->fileIdent + liu, lfi - poffset); in udf_find_entry()
223 memcpy(nameptr + lfi - poffset, fibh->ebh->b_data, poffset); in udf_find_entry()
239 if (!lfi) in udf_find_entry()
242 if ((flen = udf_get_filename(dir->i_sb, nameptr, fname, lfi))) in udf_find_entry()
341 uint8_t lfi; in udf_add_entry() local
430 lfi = cfi->lengthFileIdent; in udf_add_entry()
438 poffset = fibh->soffset + sizeof(struct fileIdentDesc) + liu + lfi; in udf_add_entry()
440 if (poffset >= lfi) in udf_add_entry()
441 nameptr = (char *)(fibh->ebh->b_data + poffset - lfi); in udf_add_entry()
445 memcpy(nameptr, fi->fileIdent + liu, lfi - poffset); in udf_add_entry()
446 memcpy(nameptr + lfi - poffset, fibh->ebh->b_data, poffset); in udf_add_entry()
452 if (((sizeof(struct fileIdentDesc) + liu + lfi + 3) & ~3) == nfidlen) in udf_add_entry()
470 if (!lfi || !dentry) in udf_add_entry()
473 if ((flen = udf_get_filename(dir->i_sb, nameptr, fname, lfi)) && in udf_add_entry()