Lines Matching defs:dir
69 static int ocfs2_supports_dir_trailer(struct inode *dir) in ocfs2_supports_dir_trailer()
87 static int ocfs2_new_dir_wants_trailer(struct inode *dir) in ocfs2_new_dir_wants_trailer()
117 static int ocfs2_skip_dir_trailer(struct inode *dir, in ocfs2_skip_dir_trailer()
151 static int ocfs2_dx_dir_link_trailer(struct inode *dir, handle_t *handle, in ocfs2_dx_dir_link_trailer()
251 static void ocfs2_dx_dir_name_hash(struct inode *dir, const char *name, int len, in ocfs2_dx_dir_name_hash()
297 static int ocfs2_check_dir_entry(struct inode *dir, in ocfs2_check_dir_entry()
345 struct inode *dir, in ocfs2_search_dirblock()
397 struct inode *dir, in ocfs2_find_entry_id()
463 static int ocfs2_check_dir_trailer(struct inode *dir, struct buffer_head *bh) in ocfs2_check_dir_trailer()
539 static int ocfs2_read_dir_block_direct(struct inode *dir, u64 phys, in ocfs2_read_dir_block_direct()
596 static int ocfs2_read_dx_root(struct inode *dir, struct ocfs2_dinode *di, in ocfs2_read_dx_root()
637 static int ocfs2_read_dx_leaf(struct inode *dir, u64 blkno, in ocfs2_read_dx_leaf()
657 static int ocfs2_read_dx_leaves(struct inode *dir, u64 start, int num, in ocfs2_read_dx_leaves()
671 struct inode *dir, in ocfs2_find_entry_el()
896 struct inode *dir, in ocfs2_dx_dir_search()
1010 struct inode *dir, in ocfs2_find_entry_dx()
1064 struct inode *dir, struct ocfs2_dir_lookup_result *lookup) in ocfs2_find_entry()
1093 int ocfs2_update_entry(struct inode *dir, handle_t *handle, in ocfs2_update_entry()
1131 static int __ocfs2_delete_entry(handle_t *handle, struct inode *dir, in __ocfs2_delete_entry()
1235 static int ocfs2_delete_entry_dx(handle_t *handle, struct inode *dir, in ocfs2_delete_entry_dx()
1352 struct inode *dir, in ocfs2_delete_entry_id()
1379 struct inode *dir, in ocfs2_delete_entry_el()
1392 struct inode *dir, in ocfs2_delete_entry()
1460 static int __ocfs2_dx_dir_leaf_insert(struct inode *dir, handle_t *handle, in __ocfs2_dx_dir_leaf_insert()
1483 static void ocfs2_dx_inline_root_insert(struct inode *dir, handle_t *handle, in ocfs2_dx_inline_root_insert()
1491 static int ocfs2_dx_dir_insert(struct inode *dir, handle_t *handle, in ocfs2_dx_dir_insert()
1526 static void ocfs2_remove_block_from_free_list(struct inode *dir, in ocfs2_remove_block_from_free_list()
1557 static void ocfs2_recalc_free_list(struct inode *dir, handle_t *handle, in ocfs2_recalc_free_list()
1586 struct inode *dir, in __ocfs2_add_entry()
1999 int ocfs2_lookup_ino_from_name(struct inode *dir, const char *name, in ocfs2_lookup_ino_from_name()
2018 int ocfs2_check_dir_for_entry(struct inode *dir, in ocfs2_check_dir_for_entry()
2293 handle_t *handle, struct inode *dir, in ocfs2_dx_dir_attach_index()
2385 handle_t *handle, struct inode *dir, in ocfs2_dx_dir_format_cluster()
2437 static int __ocfs2_dx_dir_new_cluster(struct inode *dir, in __ocfs2_dx_dir_new_cluster()
2477 static int ocfs2_dx_dir_new_cluster(struct inode *dir, in ocfs2_dx_dir_new_cluster()
2594 static int ocfs2_dx_dir_index_block(struct inode *dir, in ocfs2_dx_dir_index_block()
2643 static void ocfs2_dx_dir_index_root_block(struct inode *dir, in ocfs2_dx_dir_index_root_block()
2686 static int ocfs2_new_dx_should_be_inline(struct inode *dir, in ocfs2_new_dx_should_be_inline()
2725 struct inode *dir) in ocfs2_expand_last_dirent()
2774 static int ocfs2_expand_inline_dir(struct inode *dir, struct buffer_head *di_bh, in ocfs2_expand_inline_dir()
3093 struct inode *dir, in ocfs2_do_extend_dir()
3157 struct inode *dir, in ocfs2_extend_dir()
3345 static int ocfs2_find_dir_space_id(struct inode *dir, struct buffer_head *di_bh, in ocfs2_find_dir_space_id()
3418 static int ocfs2_find_dir_space_el(struct inode *dir, const char *name, in ocfs2_find_dir_space_el()
3640 static void ocfs2_dx_dir_transfer_leaf(struct inode *dir, u32 split_hash, in ocfs2_dx_dir_transfer_leaf()
3697 static int ocfs2_dx_dir_rebalance(struct ocfs2_super *osb, struct inode *dir, in ocfs2_dx_dir_rebalance()
3892 static int ocfs2_find_dir_space_dx(struct ocfs2_super *osb, struct inode *dir, in ocfs2_find_dir_space_dx()
3965 static int ocfs2_search_dx_free_list(struct inode *dir, in ocfs2_search_dx_free_list()
4013 static int ocfs2_expand_inline_dx_root(struct inode *dir, in ocfs2_expand_inline_dx_root()
4144 static int ocfs2_prepare_dx_dir_for_insert(struct inode *dir, in ocfs2_prepare_dx_dir_for_insert()
4247 struct inode *dir, in ocfs2_prepare_dir_for_insert()
4323 static int ocfs2_dx_dir_remove_index(struct inode *dir, in ocfs2_dx_dir_remove_index()
4404 int ocfs2_dx_dir_truncate(struct inode *dir, struct buffer_head *di_bh) in ocfs2_dx_dir_truncate()