Home
last modified time | relevance | path

Searched refs:l_tree_depth (Results 1 - 18 of 18) sorted by relevance

/kernel/linux/linux-5.10/fs/ocfs2/
H A Dextent_map.c294 if (el->l_tree_depth) { in ocfs2_last_eb_is_empty()
417 tree_height = le16_to_cpu(el->l_tree_depth); in ocfs2_get_clusters_nocache()
430 if (el->l_tree_depth) { in ocfs2_get_clusters_nocache()
543 if (el->l_tree_depth) { in ocfs2_xattr_get_clusters()
554 if (el->l_tree_depth) { in ocfs2_xattr_get_clusters()
H A Dalloc.h149 * level of the tree (current l_tree_depth), one block for the in ocfs2_extend_meta_needed()
153 return le16_to_cpu(root_el->l_tree_depth) + 2; in ocfs2_extend_meta_needed()
244 if (el->l_tree_depth) in ocfs2_rec_clusters()
H A Dalloc.c597 depth = le16_to_cpu(path_root_el(path)->l_tree_depth); in ocfs2_reinit_path()
688 BUG_ON(le16_to_cpu(root_el->l_tree_depth) >= OCFS2_MAX_PATH_DEPTH); in ocfs2_new_path()
692 path->p_tree_depth = le16_to_cpu(root_el->l_tree_depth); in ocfs2_new_path()
972 BUG_ON(el->l_tree_depth != 0); in ocfs2_num_free_extents()
1170 BUG_ON(!el->l_tree_depth); in ocfs2_add_branch()
1172 new_blocks = le16_to_cpu(el->l_tree_depth); in ocfs2_add_branch()
1257 eb_el->l_tree_depth = cpu_to_le16(i); in ocfs2_add_branch()
1271 if (!eb_el->l_tree_depth) in ocfs2_add_branch()
1393 eb_el->l_tree_depth = root_el->l_tree_depth; in ocfs2_shift_tree_depth()
[all...]
H A Djournal.h538 extent_blocks = 1 + 1 + le16_to_cpu(root_el->l_tree_depth); in ocfs2_calc_extend_credits()
H A Dxattr.c2920 xr->xt_list.l_tree_depth = 0; in ocfs2_create_xattr_block()
3698 if (el->l_tree_depth) { in ocfs2_xattr_get_rec()
3709 if (el->l_tree_depth) { in ocfs2_xattr_get_rec()
4348 xr->xt_list.l_tree_depth = 0; in ocfs2_xattr_create_index_block()
6237 *metas += le16_to_cpu(xv->xr_list.l_tree_depth) * in ocfs2_value_metas_in_xattr_header()
6247 if (!xv->xr_list.l_tree_depth) in ocfs2_value_metas_in_xattr_header()
6314 *credits += le16_to_cpu(rb->rf_list.l_tree_depth) * in ocfs2_reflink_lock_xattr_allocators()
6400 * For the xattr which has l_tree_depth = 0, all the extent in ocfs2_reflink_xattr_header()
6405 * For the xattr which has l_tree_depth > 0, we need in ocfs2_reflink_xattr_header()
6409 if (xv->xr_list.l_tree_depth) { in ocfs2_reflink_xattr_header()
[all...]
H A Docfs2_fs.h461 /*00*/ __le16 l_tree_depth; /* Extent tree depth from this member
904 * l_tree_depth must always be zero. A
H A Drefcounttree.c1086 if (el->l_tree_depth) { in ocfs2_get_refcount_rec()
1096 if (el->l_tree_depth) { in ocfs2_get_refcount_rec()
2638 int tree_height = le16_to_cpu(el->l_tree_depth), i; in ocfs2_refcount_cal_cow_clusters()
2658 if (el->l_tree_depth) { in ocfs2_refcount_cal_cow_clusters()
H A Ddir.c783 if (el->l_tree_depth) { in ocfs2_dx_dir_lookup_rec()
794 if (el->l_tree_depth) { in ocfs2_dx_dir_lookup_rec()
H A Dnamei.c588 fel->l_tree_depth = 0; in __ocfs2_mknod_locked()
/kernel/linux/linux-6.6/fs/ocfs2/
H A Dextent_map.c292 if (el->l_tree_depth) { in ocfs2_last_eb_is_empty()
415 tree_height = le16_to_cpu(el->l_tree_depth); in ocfs2_get_clusters_nocache()
428 if (el->l_tree_depth) { in ocfs2_get_clusters_nocache()
541 if (el->l_tree_depth) { in ocfs2_xattr_get_clusters()
552 if (el->l_tree_depth) { in ocfs2_xattr_get_clusters()
H A Dalloc.h147 * level of the tree (current l_tree_depth), one block for the in ocfs2_extend_meta_needed()
151 return le16_to_cpu(root_el->l_tree_depth) + 2; in ocfs2_extend_meta_needed()
242 if (el->l_tree_depth) in ocfs2_rec_clusters()
H A Dalloc.c595 depth = le16_to_cpu(path_root_el(path)->l_tree_depth); in ocfs2_reinit_path()
686 BUG_ON(le16_to_cpu(root_el->l_tree_depth) >= OCFS2_MAX_PATH_DEPTH); in ocfs2_new_path()
690 path->p_tree_depth = le16_to_cpu(root_el->l_tree_depth); in ocfs2_new_path()
970 BUG_ON(el->l_tree_depth != 0); in ocfs2_num_free_extents()
1168 BUG_ON(!el->l_tree_depth); in ocfs2_add_branch()
1170 new_blocks = le16_to_cpu(el->l_tree_depth); in ocfs2_add_branch()
1255 eb_el->l_tree_depth = cpu_to_le16(i); in ocfs2_add_branch()
1269 if (!eb_el->l_tree_depth) in ocfs2_add_branch()
1391 eb_el->l_tree_depth = root_el->l_tree_depth; in ocfs2_shift_tree_depth()
[all...]
H A Djournal.h537 extent_blocks = 1 + 1 + le16_to_cpu(root_el->l_tree_depth); in ocfs2_calc_extend_credits()
H A Dxattr.c2914 xr->xt_list.l_tree_depth = 0; in ocfs2_create_xattr_block()
3692 if (el->l_tree_depth) { in ocfs2_xattr_get_rec()
3703 if (el->l_tree_depth) { in ocfs2_xattr_get_rec()
4342 xr->xt_list.l_tree_depth = 0; in ocfs2_xattr_create_index_block()
6231 *metas += le16_to_cpu(xv->xr_list.l_tree_depth) * in ocfs2_value_metas_in_xattr_header()
6241 if (!xv->xr_list.l_tree_depth) in ocfs2_value_metas_in_xattr_header()
6308 *credits += le16_to_cpu(rb->rf_list.l_tree_depth) * in ocfs2_reflink_lock_xattr_allocators()
6394 * For the xattr which has l_tree_depth = 0, all the extent in ocfs2_reflink_xattr_header()
6399 * For the xattr which has l_tree_depth > 0, we need in ocfs2_reflink_xattr_header()
6403 if (xv->xr_list.l_tree_depth) { in ocfs2_reflink_xattr_header()
[all...]
H A Docfs2_fs.h459 /*00*/ __le16 l_tree_depth; /* Extent tree depth from this member
902 * l_tree_depth must always be zero. A
H A Drefcounttree.c1084 if (el->l_tree_depth) { in ocfs2_get_refcount_rec()
1094 if (el->l_tree_depth) { in ocfs2_get_refcount_rec()
2636 int tree_height = le16_to_cpu(el->l_tree_depth), i; in ocfs2_refcount_cal_cow_clusters()
2656 if (el->l_tree_depth) { in ocfs2_refcount_cal_cow_clusters()
H A Ddir.c775 if (el->l_tree_depth) { in ocfs2_dx_dir_lookup_rec()
786 if (el->l_tree_depth) { in ocfs2_dx_dir_lookup_rec()
H A Dnamei.c588 fel->l_tree_depth = 0; in __ocfs2_mknod_locked()

Completed in 64 milliseconds