Lines Matching refs:curr_rec_len
42 unsigned int rec_len, min_rec_len, curr_rec_len; in link_proc() local
52 ls->err = ext2fs_get_rec_len(ls->fs, dirent, &curr_rec_len); in link_proc()
62 next = (struct ext2_dir_entry *) (buf + offset + curr_rec_len); in link_proc()
63 if ((offset + (int) curr_rec_len < blocksize - (8 + csum_size)) && in link_proc()
65 (offset + (int) curr_rec_len + (int) next->rec_len <= blocksize)) { in link_proc()
66 curr_rec_len += next->rec_len; in link_proc()
67 ls->err = ext2fs_set_rec_len(ls->fs, curr_rec_len, dirent); in link_proc()
82 curr_rec_len == ls->fs->blocksize && in link_proc()
84 curr_rec_len -= csum_size; in link_proc()
85 ls->err = ext2fs_set_rec_len(ls->fs, curr_rec_len, dirent); in link_proc()
95 curr_rec_len == ls->fs->blocksize - EXT2_DIR_REC_LEN(1) && in link_proc()
98 curr_rec_len -= csum_size; in link_proc()
99 ls->err = ext2fs_set_rec_len(ls->fs, curr_rec_len, dirent); in link_proc()
114 if (curr_rec_len < (min_rec_len + rec_len)) in link_proc()
116 rec_len = curr_rec_len - min_rec_len; in link_proc()
135 if (curr_rec_len < rec_len) in link_proc()