Home
last modified time | relevance | path

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

/Linux-v5.4/fs/ocfs2/
Ddir.c158 struct ocfs2_dx_root_block *dx_root; in ocfs2_dx_dir_link_trailer() local
168 dx_root = (struct ocfs2_dx_root_block *)dx_root_bh->b_data; in ocfs2_dx_dir_link_trailer()
170 trailer->db_free_next = dx_root->dr_free_blk; in ocfs2_dx_dir_link_trailer()
171 dx_root->dr_free_blk = cpu_to_le64(dirdata_bh->b_blocknr); in ocfs2_dx_dir_link_trailer()
199 static inline int ocfs2_dx_root_inline(struct ocfs2_dx_root_block *dx_root) in ocfs2_dx_root_inline() argument
201 return dx_root->dr_flags & OCFS2_DX_FLAG_INLINE; in ocfs2_dx_root_inline()
568 struct ocfs2_dx_root_block *dx_root; in ocfs2_validate_dx_root() local
572 dx_root = (struct ocfs2_dx_root_block *) bh->b_data; in ocfs2_validate_dx_root()
574 ret = ocfs2_validate_meta_ecc(sb, bh->b_data, &dx_root->dr_check); in ocfs2_validate_dx_root()
582 if (!OCFS2_IS_VALID_DX_ROOT(dx_root)) { in ocfs2_validate_dx_root()
[all …]
Dalloc.c340 struct ocfs2_dx_root_block *dx_root = et->et_object; in ocfs2_dx_root_set_last_eb_blk() local
342 dx_root->dr_last_eb_blk = cpu_to_le64(blkno); in ocfs2_dx_root_set_last_eb_blk()
347 struct ocfs2_dx_root_block *dx_root = et->et_object; in ocfs2_dx_root_get_last_eb_blk() local
349 return le64_to_cpu(dx_root->dr_last_eb_blk); in ocfs2_dx_root_get_last_eb_blk()
355 struct ocfs2_dx_root_block *dx_root = et->et_object; in ocfs2_dx_root_update_clusters() local
357 le32_add_cpu(&dx_root->dr_clusters, clusters); in ocfs2_dx_root_update_clusters()
362 struct ocfs2_dx_root_block *dx_root = et->et_object; in ocfs2_dx_root_sanity_check() local
364 BUG_ON(!OCFS2_IS_VALID_DX_ROOT(dx_root)); in ocfs2_dx_root_sanity_check()
371 struct ocfs2_dx_root_block *dx_root = et->et_object; in ocfs2_dx_root_fill_root_el() local
373 et->et_root_el = &dx_root->dr_list; in ocfs2_dx_root_fill_root_el()
/Linux-v5.4/Documentation/filesystems/ext4/
Ddirectory.rst187 ``dx_root.info.indirect_levels`` is non-zero then the htree has two
211 The root of the htree is in ``struct dx_root``, which is the full length
373 The hash maps that exist in both ``struct dx_root`` and
/Linux-v5.4/fs/ext4/
Dnamei.c214 struct dx_root struct
755 struct dx_root *root; in dx_probe()
765 root = (struct dx_root *) frame->bh->b_data; in dx_probe()
894 info = &((struct dx_root *)frames[0].bh->b_data)->info; in dx_release()
2041 struct dx_root *root; in make_indexed_dir()
2065 root = (struct dx_root *) bh->b_data; in make_indexed_dir()
2393 struct dx_root *dxroot; in ext4_dx_add_entry()
2401 dxroot = (struct dx_root *)frames[0].bh->b_data; in ext4_dx_add_entry()