Lines Matching refs:rec_len
202 unsigned int rec_len; in __get_dx_countlimit() local
205 rec_len = translate(dirent->rec_len); in __get_dx_countlimit()
207 if (rec_len == fs->blocksize && translate(dirent->name_len) == 0) in __get_dx_countlimit()
209 else if (rec_len == 12) { in __get_dx_countlimit()
210 dp = (struct ext2_dir_entry *)(((char *)dirent) + rec_len); in __get_dx_countlimit()
211 rec_len = translate(dp->rec_len); in __get_dx_countlimit()
212 if (rec_len != fs->blocksize - 12) in __get_dx_countlimit()
262 unsigned int rec_len; in __get_dirent_tail() local
269 rec_len = translate(d->rec_len); in __get_dirent_tail()
270 while (rec_len && !(rec_len & 0x3)) { in __get_dirent_tail()
271 d = (struct ext2_dir_entry *)(((char *)d) + rec_len); in __get_dirent_tail()
274 rec_len = translate(d->rec_len); in __get_dirent_tail()