Searched refs:lfi (Results 1 - 2 of 2) sorted by relevance

/linux-4.1.27/fs/udf/
H A Ddir.c51 uint8_t lfi; udf_readdir() local
134 lfi = cfi.lengthFileIdent; udf_readdir()
141 poffset = fibh.soffset + sizeof(struct fileIdentDesc) + liu + lfi; udf_readdir()
143 if (poffset >= lfi) { udf_readdir()
144 nameptr = (char *)(fibh.ebh->b_data + poffset - lfi); udf_readdir()
148 lfi - poffset); udf_readdir()
149 memcpy(nameptr + lfi - poffset, udf_readdir()
170 flen = udf_get_filename(sb, nameptr, lfi, fname, UDF_NAME_LEN); udf_readdir()
H A Dnamei.c51 uint8_t lfi = cfi->lengthFileIdent; udf_write_fi() local
52 int padlen = fibh->eoffset - fibh->soffset - liu - lfi - udf_write_fi()
76 if (adinicb || (offset + lfi < 0)) { udf_write_fi()
77 memcpy((uint8_t *)sfi->fileIdent + liu, fileident, lfi); udf_write_fi()
79 memcpy(fibh->ebh->b_data + offset, fileident, lfi); udf_write_fi()
84 lfi + offset); udf_write_fi()
88 offset += lfi; udf_write_fi()
91 memset((uint8_t *)sfi->padding + liu + lfi, 0x00, padlen); udf_write_fi()
95 memset((uint8_t *)sfi->padding + liu + lfi, 0x00, -offset); udf_write_fi()
151 uint8_t lfi; udf_find_entry() local
197 lfi = cfi->lengthFileIdent; udf_find_entry()
205 liu + lfi; udf_find_entry()
207 if (poffset >= lfi) udf_find_entry()
209 poffset - lfi); udf_find_entry()
213 lfi - poffset); udf_find_entry()
214 memcpy(nameptr + lfi - poffset, udf_find_entry()
233 if (!lfi) udf_find_entry()
236 flen = udf_get_filename(sb, nameptr, lfi, fname, UDF_NAME_LEN); udf_find_entry()
306 uint8_t lfi; udf_add_entry() local
379 lfi = cfi->lengthFileIdent; udf_add_entry()
383 liu + lfi + 3) & ~3) == nfidlen) { udf_add_entry()

Completed in 49 milliseconds