Home
last modified time | relevance | path

Searched refs:dx_root (Results 1 - 6 of 6) sorted by relevance

/kernel/linux/linux-5.10/fs/ocfs2/
H A 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()
574 struct ocfs2_dx_root_block *dx_root; in ocfs2_validate_dx_root() local
578 dx_root = (struct ocfs2_dx_root_block *) bh->b_data; in ocfs2_validate_dx_root()
580 ret = ocfs2_validate_meta_ecc(sb, bh->b_data, &dx_root->dr_check); in ocfs2_validate_dx_root()
588 if (!OCFS2_IS_VALID_DX_ROOT(dx_root)) { in ocfs2_validate_dx_root()
897 ocfs2_dx_dir_search(const char *name, int namelen, struct inode *dir, struct ocfs2_dx_root_block *dx_root, struct ocfs2_dir_lookup_result *res) ocfs2_dx_dir_search() argument
1019 struct ocfs2_dx_root_block *dx_root; ocfs2_find_entry_dx() local
1246 struct ocfs2_dx_root_block *dx_root; ocfs2_delete_entry_dx() local
1485 ocfs2_dx_inline_root_insert(struct inode *dir, handle_t *handle, struct ocfs2_dx_hinfo *hinfo, u64 dirent_blk, struct ocfs2_dx_root_block *dx_root) ocfs2_dx_inline_root_insert() argument
1497 struct ocfs2_dx_root_block *dx_root; ocfs2_dx_dir_insert() local
1533 struct ocfs2_dx_root_block *dx_root; ocfs2_remove_block_from_free_list() local
2090 struct ocfs2_dx_root_block *dx_root; ocfs2_empty_dir_dx() local
2307 struct ocfs2_dx_root_block *dx_root; ocfs2_dx_dir_attach_index() local
2530 struct ocfs2_dx_root_block *dx_root; ocfs2_fill_new_dir_dx() local
2649 struct ocfs2_dx_root_block *dx_root; ocfs2_dx_dir_index_root_block() local
3684 ocfs2_dx_dir_rebalance_credits(struct ocfs2_super *osb, struct ocfs2_dx_root_block *dx_root) ocfs2_dx_dir_rebalance_credits() argument
3714 struct ocfs2_dx_root_block *dx_root; ocfs2_dx_dir_rebalance() local
3900 struct ocfs2_dx_root_block *dx_root; ocfs2_find_dir_space_dx() local
3976 struct ocfs2_dx_root_block *dx_root; ocfs2_search_dx_free_list() local
4024 struct ocfs2_dx_root_block *dx_root; ocfs2_expand_inline_dx_root() local
4132 struct ocfs2_dx_root_block *dx_root; ocfs2_inline_dx_has_space() local
4156 struct ocfs2_dx_root_block *dx_root; ocfs2_prepare_dx_dir_for_insert() local
4331 struct ocfs2_dx_root_block *dx_root; ocfs2_dx_dir_remove_index() local
4413 struct ocfs2_dx_root_block *dx_root; ocfs2_dx_dir_truncate() local
[all...]
H A 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 in ocfs2_dx_root_fill_root_el()
[all...]
/kernel/linux/linux-6.6/fs/ocfs2/
H A Ddir.c156 struct ocfs2_dx_root_block *dx_root; in ocfs2_dx_dir_link_trailer() local
166 dx_root = (struct ocfs2_dx_root_block *)dx_root_bh->b_data; in ocfs2_dx_dir_link_trailer()
168 trailer->db_free_next = dx_root->dr_free_blk; in ocfs2_dx_dir_link_trailer()
169 dx_root->dr_free_blk = cpu_to_le64(dirdata_bh->b_blocknr); in ocfs2_dx_dir_link_trailer()
197 static inline int ocfs2_dx_root_inline(struct ocfs2_dx_root_block *dx_root) in ocfs2_dx_root_inline() argument
199 return dx_root->dr_flags & OCFS2_DX_FLAG_INLINE; in ocfs2_dx_root_inline()
566 struct ocfs2_dx_root_block *dx_root; in ocfs2_validate_dx_root() local
570 dx_root = (struct ocfs2_dx_root_block *) bh->b_data; in ocfs2_validate_dx_root()
572 ret = ocfs2_validate_meta_ecc(sb, bh->b_data, &dx_root->dr_check); in ocfs2_validate_dx_root()
580 if (!OCFS2_IS_VALID_DX_ROOT(dx_root)) { in ocfs2_validate_dx_root()
889 ocfs2_dx_dir_search(const char *name, int namelen, struct inode *dir, struct ocfs2_dx_root_block *dx_root, struct ocfs2_dir_lookup_result *res) ocfs2_dx_dir_search() argument
1011 struct ocfs2_dx_root_block *dx_root; ocfs2_find_entry_dx() local
1238 struct ocfs2_dx_root_block *dx_root; ocfs2_delete_entry_dx() local
1477 ocfs2_dx_inline_root_insert(struct inode *dir, handle_t *handle, struct ocfs2_dx_hinfo *hinfo, u64 dirent_blk, struct ocfs2_dx_root_block *dx_root) ocfs2_dx_inline_root_insert() argument
1489 struct ocfs2_dx_root_block *dx_root; ocfs2_dx_dir_insert() local
1525 struct ocfs2_dx_root_block *dx_root; ocfs2_remove_block_from_free_list() local
2079 struct ocfs2_dx_root_block *dx_root; ocfs2_empty_dir_dx() local
2296 struct ocfs2_dx_root_block *dx_root; ocfs2_dx_dir_attach_index() local
2519 struct ocfs2_dx_root_block *dx_root; ocfs2_fill_new_dir_dx() local
2638 struct ocfs2_dx_root_block *dx_root; ocfs2_dx_dir_index_root_block() local
3670 ocfs2_dx_dir_rebalance_credits(struct ocfs2_super *osb, struct ocfs2_dx_root_block *dx_root) ocfs2_dx_dir_rebalance_credits() argument
3700 struct ocfs2_dx_root_block *dx_root; ocfs2_dx_dir_rebalance() local
3886 struct ocfs2_dx_root_block *dx_root; ocfs2_find_dir_space_dx() local
3962 struct ocfs2_dx_root_block *dx_root; ocfs2_search_dx_free_list() local
4010 struct ocfs2_dx_root_block *dx_root; ocfs2_expand_inline_dx_root() local
4118 struct ocfs2_dx_root_block *dx_root; ocfs2_inline_dx_has_space() local
4142 struct ocfs2_dx_root_block *dx_root; ocfs2_prepare_dx_dir_for_insert() local
4317 struct ocfs2_dx_root_block *dx_root; ocfs2_dx_dir_remove_index() local
4399 struct ocfs2_dx_root_block *dx_root; ocfs2_dx_dir_truncate() local
[all...]
H A Dalloc.c338 struct ocfs2_dx_root_block *dx_root = et->et_object; in ocfs2_dx_root_set_last_eb_blk() local
340 dx_root->dr_last_eb_blk = cpu_to_le64(blkno); in ocfs2_dx_root_set_last_eb_blk()
345 struct ocfs2_dx_root_block *dx_root = et->et_object; in ocfs2_dx_root_get_last_eb_blk() local
347 return le64_to_cpu(dx_root->dr_last_eb_blk); in ocfs2_dx_root_get_last_eb_blk()
353 struct ocfs2_dx_root_block *dx_root = et->et_object; in ocfs2_dx_root_update_clusters() local
355 le32_add_cpu(&dx_root->dr_clusters, clusters); in ocfs2_dx_root_update_clusters()
360 struct ocfs2_dx_root_block *dx_root = et->et_object; in ocfs2_dx_root_sanity_check() local
362 BUG_ON(!OCFS2_IS_VALID_DX_ROOT(dx_root)); in ocfs2_dx_root_sanity_check()
369 struct ocfs2_dx_root_block *dx_root = et->et_object; in ocfs2_dx_root_fill_root_el() local
371 et->et_root_el = &dx_root in ocfs2_dx_root_fill_root_el()
[all...]
/kernel/linux/linux-5.10/fs/ext4/
H A Dnamei.c245 struct dx_root struct
787 struct dx_root *root; in dx_probe()
799 root = (struct dx_root *) frame->bh->b_data; in dx_probe()
942 info = &((struct dx_root *)frames[0].bh->b_data)->info; in dx_release()
2109 static bool ext4_check_dx_root(struct inode *dir, struct dx_root *root) in ext4_check_dx_root()
2164 struct dx_root *root; in make_indexed_dir()
2189 root = (struct dx_root *) bh->b_data; in make_indexed_dir()
2534 struct dx_root *dxroot; in ext4_dx_add_entry()
2542 dxroot = (struct dx_root *)frames[0].bh->b_data; in ext4_dx_add_entry()
/kernel/linux/linux-6.6/fs/ext4/
H A Dnamei.c246 struct dx_root struct
814 struct dx_root *root; in dx_probe()
826 root = (struct dx_root *) frame->bh->b_data; in dx_probe()
978 info = &((struct dx_root *)frames[0].bh->b_data)->info; in dx_release()
2230 struct dx_root *root; in make_indexed_dir()
2255 root = (struct dx_root *) bh->b_data; in make_indexed_dir()
2617 struct dx_root *dxroot; in ext4_dx_add_entry()
2625 dxroot = (struct dx_root *)frames[0].bh->b_data; in ext4_dx_add_entry()

Completed in 29 milliseconds