• Home
  • Raw
  • Download

Lines Matching refs:rec_len

167 		else if (ext4_rec_len_from_disk(dirent->rec_len,  in __ext4_read_dirblock()
223 __le16 rec_len; member
354 while (d < top && ext4_rec_len_from_disk(d->rec_len, blocksize)) in get_dirent_tail()
356 ext4_rec_len_from_disk(d->rec_len, blocksize)); in get_dirent_tail()
450 unsigned int rlen = ext4_rec_len_from_disk(dirent->rec_len, blocksize); in get_dx_countlimit()
456 if (ext4_rec_len_from_disk(dp->rec_len, blocksize) != blocksize - 12) in get_dx_countlimit()
560 ext4_rec_len_from_disk(p->rec_len, blocksize)); in ext4_next_entry()
1341 map_tail->size = ext4_rec_len_from_disk(de->rec_len, in dx_make_map()
1554 de_len = ext4_rec_len_from_disk(de->rec_len, in ext4_search_dir()
1574 ext4_rec_len_from_disk(de->rec_len, sb->s_blocksize) == in is_dx_internal_node()
1919 unsigned rec_len = 0; in dx_move_dirents() local
1924 rec_len = ext4_dir_rec_len(de->name_len, dir); in dx_move_dirents()
1926 memcpy (to, de, rec_len); in dx_move_dirents()
1927 ((struct ext4_dir_entry_2 *) to)->rec_len = in dx_move_dirents()
1928 ext4_rec_len_to_disk(rec_len, blocksize); in dx_move_dirents()
1932 memset(&de->name_len, 0, ext4_rec_len_from_disk(de->rec_len, in dx_move_dirents()
1938 to += rec_len; in dx_move_dirents()
1940 return (struct ext4_dir_entry_2 *) (to - rec_len); in dx_move_dirents()
1951 unsigned rec_len = 0; in dx_pack_dirents() local
1957 rec_len = ext4_dir_rec_len(de->name_len, dir); in dx_pack_dirents()
1959 memmove(to, de, rec_len); in dx_pack_dirents()
1960 to->rec_len = ext4_rec_len_to_disk(rec_len, blocksize); in dx_pack_dirents()
1962 to = (struct ext4_dir_entry_2 *) (((char *) to) + rec_len); in dx_pack_dirents()
2056 de->rec_len = ext4_rec_len_to_disk(data1 + (blocksize - csum_size) - in do_split()
2059 de2->rec_len = ext4_rec_len_to_disk(data2 + (blocksize - csum_size) - in do_split()
2117 rlen = ext4_rec_len_from_disk(de->rec_len, buf_size); in ext4_find_dest_de()
2140 rlen = ext4_rec_len_from_disk(de->rec_len, buf_size); in ext4_insert_dentry()
2144 de1->rec_len = ext4_rec_len_to_disk(rlen - nlen, buf_size); in ext4_insert_dentry()
2145 de->rec_len = ext4_rec_len_to_disk(nlen, buf_size); in ext4_insert_dentry()
2260 ext4_rec_len_from_disk(fde->rec_len, blocksize)); in make_indexed_dir()
2291 de->rec_len = ext4_rec_len_to_disk(data2 + (blocksize - csum_size) - in make_indexed_dir()
2299 de->rec_len = ext4_rec_len_to_disk( in make_indexed_dir()
2471 de->rec_len = ext4_rec_len_to_disk(blocksize - csum_size, blocksize); in ext4_add_entry()
2568 node2->fake.rec_len = ext4_rec_len_to_disk(sb->s_blocksize, in ext4_dx_add_entry()
2684 pde->rec_len = ext4_rec_len_to_disk( in ext4_generic_delete_entry()
2685 ext4_rec_len_from_disk(pde->rec_len, in ext4_generic_delete_entry()
2687 ext4_rec_len_from_disk(de->rec_len, in ext4_generic_delete_entry()
2692 memset(de, 0, ext4_rec_len_from_disk(de->rec_len, in ext4_generic_delete_entry()
2698 ext4_rec_len_from_disk(de->rec_len, in ext4_generic_delete_entry()
2707 i += ext4_rec_len_from_disk(de->rec_len, blocksize); in ext4_generic_delete_entry()
2937 de->rec_len = ext4_rec_len_to_disk(ext4_dir_rec_len(de->name_len, NULL), in ext4_init_dot_dotdot()
2946 de->rec_len = ext4_rec_len_to_disk(blocksize - in ext4_init_dot_dotdot()
2950 de->rec_len = ext4_rec_len_to_disk( in ext4_init_dot_dotdot()
3105 offset = ext4_rec_len_from_disk(de->rec_len, sb->s_blocksize); in ext4_empty_dir()
3114 offset += ext4_rec_len_from_disk(de->rec_len, sb->s_blocksize); in ext4_empty_dir()
3136 offset += ext4_rec_len_from_disk(de->rec_len, sb->s_blocksize); in ext4_empty_dir()
3556 offset = ext4_rec_len_from_disk(de->rec_len, in ext4_get_first_dir_block()