Searched refs:fibh (Results 1 – 3 of 3) sorted by relevance
/linux-2.4.37.9/fs/udf/ |
D | namei.c | 47 struct fileIdentDesc *sfi, struct udf_fileident_bh *fibh, in udf_write_fi() argument 50 uint16_t crclen = fibh->eoffset - fibh->soffset - sizeof(tag); in udf_write_fi() 57 int padlen = fibh->eoffset - fibh->soffset - liu - lfi - in udf_write_fi() 60 offset = fibh->soffset + sizeof(struct fileIdentDesc); 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() 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() 95 memset(fibh->ebh->b_data + offset, 0x00, padlen); in udf_write_fi() 99 memset(fibh->ebh->b_data, 0x00, padlen + offset); in udf_write_fi() [all …]
|
D | directory.c | 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() [all …]
|
D | dir.c | 101 struct udf_fileident_bh fibh; in do_udf_readdir() local 124 fibh.soffset = fibh.eoffset = (nf_pos & ((dir->i_sb->s_blocksize - 1) >> 2)) << 2; in do_udf_readdir() 146 if (!(fibh.sbh = fibh.ebh = udf_tread(dir->i_sb, block))) in do_udf_readdir() 178 fi = udf_fileident_read(dir, &nf_pos, &fibh, &cfi, &bloc, &extoffset, &eloc, &elen, &offset, &bh); in do_udf_readdir() 182 if (fibh.sbh != fibh.ebh) in do_udf_readdir() 183 udf_release_data(fibh.ebh); in do_udf_readdir() 184 udf_release_data(fibh.sbh); in do_udf_readdir() 192 if (fibh.sbh == fibh.ebh) in do_udf_readdir() 198 poffset = fibh.soffset + sizeof(struct fileIdentDesc) + liu + lfi; in do_udf_readdir() 201 nameptr = (char *)(fibh.ebh->b_data + poffset - lfi); in do_udf_readdir() [all …]
|