Home
last modified time | relevance | path

Searched refs:dx_root (Results 1 – 3 of 3) sorted by relevance

/fs/ocfs2/
Ddir.c175 struct ocfs2_dx_root_block *dx_root; in ocfs2_dx_dir_link_trailer() local
185 dx_root = (struct ocfs2_dx_root_block *)dx_root_bh->b_data; in ocfs2_dx_dir_link_trailer()
187 trailer->db_free_next = dx_root->dr_free_blk; in ocfs2_dx_dir_link_trailer()
188 dx_root->dr_free_blk = cpu_to_le64(dirdata_bh->b_blocknr); in ocfs2_dx_dir_link_trailer()
216 static inline int ocfs2_dx_root_inline(struct ocfs2_dx_root_block *dx_root) in ocfs2_dx_root_inline() argument
218 return dx_root->dr_flags & OCFS2_DX_FLAG_INLINE; in ocfs2_dx_root_inline()
585 struct ocfs2_dx_root_block *dx_root; in ocfs2_validate_dx_root() local
589 dx_root = (struct ocfs2_dx_root_block *) bh->b_data; in ocfs2_validate_dx_root()
591 ret = ocfs2_validate_meta_ecc(sb, bh->b_data, &dx_root->dr_check); in ocfs2_validate_dx_root()
599 if (!OCFS2_IS_VALID_DX_ROOT(dx_root)) { in ocfs2_validate_dx_root()
[all …]
Dalloc.c346 struct ocfs2_dx_root_block *dx_root = et->et_object; in ocfs2_dx_root_set_last_eb_blk() local
348 dx_root->dr_last_eb_blk = cpu_to_le64(blkno); in ocfs2_dx_root_set_last_eb_blk()
353 struct ocfs2_dx_root_block *dx_root = et->et_object; in ocfs2_dx_root_get_last_eb_blk() local
355 return le64_to_cpu(dx_root->dr_last_eb_blk); in ocfs2_dx_root_get_last_eb_blk()
361 struct ocfs2_dx_root_block *dx_root = et->et_object; in ocfs2_dx_root_update_clusters() local
363 le32_add_cpu(&dx_root->dr_clusters, clusters); in ocfs2_dx_root_update_clusters()
368 struct ocfs2_dx_root_block *dx_root = et->et_object; in ocfs2_dx_root_sanity_check() local
370 BUG_ON(!OCFS2_IS_VALID_DX_ROOT(dx_root)); in ocfs2_dx_root_sanity_check()
377 struct ocfs2_dx_root_block *dx_root = et->et_object; in ocfs2_dx_root_fill_root_el() local
379 et->et_root_el = &dx_root->dr_list; in ocfs2_dx_root_fill_root_el()
/fs/ext4/
Dnamei.c198 struct dx_root struct
735 struct dx_root *root; in dx_probe()
744 root = (struct dx_root *) frame->bh->b_data; in dx_probe()
862 if (((struct dx_root *)frames[0].bh->b_data)->info.indirect_levels) in dx_release()
1939 struct dx_root *root; in make_indexed_dir()
1964 root = (struct dx_root *) bh->b_data; in make_indexed_dir()
2270 ((struct dx_root *) frames[0].bh->b_data)->info.indirect_levels = 1; in ext4_dx_add_entry()