Home
last modified time | relevance | path

Searched refs:fibh (Results 1 – 3 of 3) sorted by relevance

/fs/udf/
Dnamei.c45 struct fileIdentDesc *sfi, struct udf_fileident_bh *fibh, in udf_write_fi() argument
48 uint16_t crclen = fibh->eoffset - fibh->soffset - sizeof(struct tag); in udf_write_fi()
53 int padlen = fibh->eoffset - fibh->soffset - liu - lfi - in udf_write_fi()
60 offset = fibh->soffset + sizeof(struct fileIdentDesc); in udf_write_fi()
66 memcpy(fibh->ebh->b_data + offset, impuse, liu); in udf_write_fi()
69 memcpy(fibh->ebh->b_data, impuse - offset, in udf_write_fi()
80 memcpy(fibh->ebh->b_data + offset, fileident, lfi); in udf_write_fi()
84 memcpy(fibh->ebh->b_data, fileident - offset, in udf_write_fi()
94 memset(fibh->ebh->b_data + offset, 0x00, padlen); in udf_write_fi()
97 memset(fibh->ebh->b_data, 0x00, padlen + offset); in udf_write_fi()
[all …]
Ddirectory.c22 struct udf_fileident_bh *fibh, in udf_fileident_read() argument
33 fibh->soffset = fibh->eoffset; in udf_fileident_read()
41 &(fibh->eoffset)); in udf_fileident_read()
45 *nf_pos += fibh->eoffset - fibh->soffset; in udf_fileident_read()
53 if (fibh->eoffset == dir->i_sb->s_blocksize) { in udf_fileident_read()
70 brelse(fibh->sbh); in udf_fileident_read()
71 fibh->sbh = fibh->ebh = udf_tread(dir->i_sb, block); in udf_fileident_read()
72 if (!fibh->sbh) in udf_fileident_read()
74 fibh->soffset = fibh->eoffset = 0; in udf_fileident_read()
96 } else if (fibh->sbh != fibh->ebh) { in udf_fileident_read()
[all …]
Ddir.c41 struct udf_fileident_bh fibh = { .sbh = NULL, .ebh = NULL}; in do_udf_readdir() local
73 fibh.soffset = fibh.eoffset = nf_pos & (dir->i_sb->s_blocksize - 1); in do_udf_readdir()
93 if (!(fibh.sbh = fibh.ebh = udf_tread(dir->i_sb, block))) { in do_udf_readdir()
121 fi = udf_fileident_read(dir, &nf_pos, &fibh, &cfi, &epos, &eloc, in do_udf_readdir()
129 if (fibh.sbh == fibh.ebh) { in do_udf_readdir()
134 poffset = fibh.soffset + sizeof(struct fileIdentDesc) + liu + lfi; in do_udf_readdir()
137 nameptr = (char *)(fibh.ebh->b_data + poffset - lfi); in do_udf_readdir()
143 fibh.ebh->b_data, poffset); in do_udf_readdir()
181 if (fibh.sbh != fibh.ebh) in do_udf_readdir()
182 brelse(fibh.ebh); in do_udf_readdir()
[all …]