Lines Matching refs:fibh

75 	struct udf_fileident_bh *fibh,  in udf_fileident_read()  argument
85 fibh->soffset = fibh->eoffset; in udf_fileident_read()
87 if (fibh->eoffset == dir->i_sb->s_blocksize) in udf_fileident_read()
106 udf_release_data(fibh->sbh); in udf_fileident_read()
107 if (!(fibh->sbh = fibh->ebh = udf_tread(dir->i_sb, block))) in udf_fileident_read()
109 fibh->soffset = fibh->eoffset = 0; in udf_fileident_read()
133 else if (fibh->sbh != fibh->ebh) in udf_fileident_read()
135 udf_release_data(fibh->sbh); in udf_fileident_read()
136 fibh->sbh = fibh->ebh; in udf_fileident_read()
139 fi = udf_get_fileident(fibh->sbh->b_data, dir->i_sb->s_blocksize, in udf_fileident_read()
140 &(fibh->eoffset)); in udf_fileident_read()
145 *nf_pos += ((fibh->eoffset - fibh->soffset) >> 2); in udf_fileident_read()
147 if (fibh->eoffset <= dir->i_sb->s_blocksize) in udf_fileident_read()
151 else if (fibh->eoffset > dir->i_sb->s_blocksize) in udf_fileident_read()
170 fibh->soffset -= dir->i_sb->s_blocksize; in udf_fileident_read()
171 fibh->eoffset -= dir->i_sb->s_blocksize; in udf_fileident_read()
173 if (!(fibh->ebh = udf_tread(dir->i_sb, block))) in udf_fileident_read()
176 if (sizeof(struct fileIdentDesc) > - fibh->soffset) in udf_fileident_read()
180 memcpy((uint8_t *)cfi, (uint8_t *)fi, - fibh->soffset); in udf_fileident_read()
181 memcpy((uint8_t *)cfi - fibh->soffset, fibh->ebh->b_data, in udf_fileident_read()
182 sizeof(struct fileIdentDesc) + fibh->soffset); in udf_fileident_read()
187 *nf_pos += ((fi_len - (fibh->eoffset - fibh->soffset)) >> 2); in udf_fileident_read()
188 fibh->eoffset = fibh->soffset + fi_len; in udf_fileident_read()