@@ -291,36 +291,6 @@ struct dx_tail {
291291 __le32 dt_checksum ; /* crc32c(uuid+inum+dirblock) */
292292};
293293
294- static inline ext4_lblk_t dx_get_block (struct dx_entry * entry );
295- static void dx_set_block (struct dx_entry * entry , ext4_lblk_t value );
296- static inline unsigned dx_get_hash (struct dx_entry * entry );
297- static void dx_set_hash (struct dx_entry * entry , unsigned value );
298- static unsigned dx_get_count (struct dx_entry * entries );
299- static unsigned dx_get_limit (struct dx_entry * entries );
300- static void dx_set_count (struct dx_entry * entries , unsigned value );
301- static void dx_set_limit (struct dx_entry * entries , unsigned value );
302- static unsigned dx_root_limit (struct inode * dir , unsigned infosize );
303- static unsigned dx_node_limit (struct inode * dir );
304- static struct dx_frame * dx_probe (struct ext4_filename * fname ,
305- struct inode * dir ,
306- struct dx_hash_info * hinfo ,
307- struct dx_frame * frame );
308- static void dx_release (struct dx_frame * frames );
309- static int dx_make_map (struct inode * dir , struct buffer_head * bh ,
310- struct dx_hash_info * hinfo ,
311- struct dx_map_entry * map_tail );
312- static void dx_sort_map (struct dx_map_entry * map , unsigned count );
313- static struct ext4_dir_entry_2 * dx_move_dirents (struct inode * dir , char * from ,
314- char * to , struct dx_map_entry * offsets ,
315- int count , unsigned int blocksize );
316- static struct ext4_dir_entry_2 * dx_pack_dirents (struct inode * dir , char * base ,
317- unsigned int blocksize );
318- static void dx_insert_block (struct dx_frame * frame ,
319- u32 hash , ext4_lblk_t block );
320- static int ext4_htree_next_block (struct inode * dir , __u32 hash ,
321- struct dx_frame * frame ,
322- struct dx_frame * frames ,
323- __u32 * start_hash );
324294static struct buffer_head * ext4_dx_find_entry (struct inode * dir ,
325295 struct ext4_filename * fname ,
326296 struct ext4_dir_entry_2 * * res_dir );
0 commit comments