Lines Matching refs:b_data

100 #define ocfs2_trailer_from_bh(_bh, _sb) ((struct ocfs2_dir_block_trailer *) ((_bh)->b_data + ocfs2_…
166 dx_root = (struct ocfs2_dx_root_block *)dx_root_bh->b_data; in ocfs2_dx_dir_link_trailer()
424 di = (struct ocfs2_dinode *)di_bh->b_data; in ocfs2_find_entry_id()
462 rc = ocfs2_validate_meta_ecc(sb, bh->b_data, &trailer->db_check); in ocfs2_validate_dir_block()
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()
630 struct ocfs2_dx_leaf *dx_leaf = (struct ocfs2_dx_leaf *)bh->b_data; in ocfs2_validate_dx_leaf()
634 ret = ocfs2_validate_meta_ecc(sb, bh->b_data, &dx_leaf->dl_check); in ocfs2_validate_dx_leaf()
746 bh->b_data, sb->s_blocksize, in ocfs2_find_entry_el()
810 eb = (struct ocfs2_extent_block *) eb_bh->b_data; in ocfs2_dx_dir_lookup_rec()
965 dx_leaf = (struct ocfs2_dx_leaf *) dx_leaf_bh->b_data; in ocfs2_dx_dir_search()
1003 0, dir_ent_bh->b_data, in ocfs2_dx_dir_search()
1054 di = (struct ocfs2_dinode *)di_bh->b_data; in ocfs2_find_entry_dx()
1061 dx_root = (struct ocfs2_dx_root_block *) dx_root_bh->b_data; in ocfs2_find_entry_dx()
1235 char *trailer, *de_buf, *limit, *start = dirblock_bh->b_data; in ocfs2_find_max_rec_len()
1300 dx_root = (struct ocfs2_dx_root_block *)dx_root_bh->b_data; in ocfs2_delete_entry_dx()
1304 dx_leaf = (struct ocfs2_dx_leaf *) lookup->dl_dx_leaf_bh->b_data; in ocfs2_delete_entry_dx()
1364 leaf_bh, leaf_bh->b_data, leaf_bh->b_size); in ocfs2_delete_entry_dx()
1409 di = (struct ocfs2_dinode *)di_bh->b_data; in ocfs2_delete_entry_id()
1425 return __ocfs2_delete_entry(handle, dir, de_del, bh, bh->b_data, in ocfs2_delete_entry_el()
1517 dx_leaf = (struct ocfs2_dx_leaf *)dx_leaf_bh->b_data; in __ocfs2_dx_dir_leaf_insert()
1547 dx_root = (struct ocfs2_dx_root_block *)lookup->dl_dx_root_bh->b_data; in ocfs2_dx_dir_insert()
1580 dx_root = (struct ocfs2_dx_root_block *)bh->b_data; in ocfs2_remove_block_from_free_list()
1637 struct ocfs2_dinode *di = (struct ocfs2_dinode *)parent_fe_bh->b_data; in __ocfs2_add_entry()
1642 char *data_start = insert_bh->b_data; in __ocfs2_add_entry()
1798 di = (struct ocfs2_dinode *)di_bh->b_data; in ocfs2_dir_foreach_blk_id()
1899 de = (struct ocfs2_dir_entry *) (bh->b_data + i); in ocfs2_dir_foreach_blk_el()
1919 de = (struct ocfs2_dir_entry *) (bh->b_data + offset); in ocfs2_dir_foreach_blk_el()
1920 if (!ocfs2_check_dir_entry(inode, de, bh, bh->b_data, in ocfs2_dir_foreach_blk_el()
2142 di = (struct ocfs2_dinode *)di_bh->b_data; in ocfs2_empty_dir_dx()
2149 dx_root = (struct ocfs2_dx_root_block *)dx_root_bh->b_data; in ocfs2_empty_dir_dx()
2240 struct ocfs2_dinode *di = (struct ocfs2_dinode *)di_bh->b_data; in ocfs2_fill_new_dir_id()
2297 memset(new_bh->b_data, 0, osb->sb->s_blocksize); in ocfs2_fill_new_dir_el()
2299 de = ocfs2_fill_initial_dirents(inode, parent, new_bh->b_data, size); in ocfs2_fill_new_dir_el()
2345 struct ocfs2_dinode *di = (struct ocfs2_dinode *) di_bh->b_data; in ocfs2_dx_dir_attach_index()
2379 dx_root = (struct ocfs2_dx_root_block *)dx_root_bh->b_data; in ocfs2_dx_dir_attach_index()
2454 dx_leaf = (struct ocfs2_dx_leaf *) bh->b_data; in ocfs2_dx_dir_format_cluster()
2600 dx_root = (struct ocfs2_dx_root_block *)dx_root_bh->b_data; in ocfs2_fill_new_dir_dx()
2652 de_buf = dirent_bh->b_data; in ocfs2_dx_dir_index_block()
2697 dx_root = (struct ocfs2_dx_root_block *)dx_root_bh->b_data; in ocfs2_dx_dir_index_root_block()
2699 de_buf = dirent_bh->b_data; in ocfs2_dx_dir_index_root_block()
2736 struct ocfs2_dinode *di = (struct ocfs2_dinode *)di_bh->b_data; in ocfs2_new_dx_should_be_inline()
2836 struct ocfs2_dinode *di = (struct ocfs2_dinode *)di_bh->b_data; in ocfs2_expand_inline_dir()
2961 memcpy(dirdata_bh->b_data, di->id2.i_data.id_data, i_size_read(dir)); in ocfs2_expand_inline_dir()
2962 memset(dirdata_bh->b_data + i_size_read(dir), 0, in ocfs2_expand_inline_dir()
2964 i = ocfs2_expand_last_dirent(dirdata_bh->b_data, i_size_read(dir), dir); in ocfs2_expand_inline_dir()
3210 struct ocfs2_dinode *fe = (struct ocfs2_dinode *) parent_fe_bh->b_data; in ocfs2_extend_dir()
3338 memset(new_bh->b_data, 0, sb->s_blocksize); in ocfs2_extend_dir()
3340 de = (struct ocfs2_dir_entry *) new_bh->b_data; in ocfs2_extend_dir()
3396 struct ocfs2_dinode *di = (struct ocfs2_dinode *)di_bh->b_data; in ocfs2_find_dir_space_id()
3487 de = (struct ocfs2_dir_entry *) bh->b_data; in ocfs2_find_dir_space_el()
3489 if ((char *)de >= sb->s_blocksize + bh->b_data) { in ocfs2_find_dir_space_el()
3508 de = (struct ocfs2_dir_entry *) bh->b_data; in ocfs2_find_dir_space_el()
3510 if (!ocfs2_check_dir_entry(dir, de, bh, bh->b_data, blocksize, in ocfs2_find_dir_space_el()
3698 orig_dx_leaf = (struct ocfs2_dx_leaf *) orig_dx_leaves[i]->b_data; in ocfs2_dx_dir_transfer_leaf()
3700 new_dx_leaf = (struct ocfs2_dx_leaf *) new_dx_leaves[i]->b_data; in ocfs2_dx_dir_transfer_leaf()
3745 struct ocfs2_dx_leaf *dx_leaf = (struct ocfs2_dx_leaf *)dx_leaf_bh->b_data; in ocfs2_dx_dir_rebalance()
3764 dx_root = (struct ocfs2_dx_root_block *)dx_root_bh->b_data; in ocfs2_dx_dir_rebalance()
3947 dx_root = (struct ocfs2_dx_root_block *)dx_root_bh->b_data; in ocfs2_find_dir_space_dx()
3963 dx_leaf = (struct ocfs2_dx_leaf *)dx_leaf_bh->b_data; in ocfs2_find_dir_space_dx()
4019 dx_root = (struct ocfs2_dx_root_block *)dx_root_bh->b_data; in ocfs2_search_dx_free_list()
4119 dx_root = (struct ocfs2_dx_root_block *) dx_root_bh->b_data; in ocfs2_expand_inline_dx_root()
4127 target_leaf = (struct ocfs2_dx_leaf *)dx_leaves[j]->b_data; in ocfs2_expand_inline_dx_root()
4181 dx_root = (struct ocfs2_dx_root_block *) dx_root_bh->b_data; in ocfs2_inline_dx_has_space()
4201 struct ocfs2_dinode *di = (struct ocfs2_dinode *)di_bh->b_data; in ocfs2_prepare_dx_dir_for_insert()
4210 dx_root = (struct ocfs2_dx_root_block *)dx_root_bh->b_data; in ocfs2_prepare_dx_dir_for_insert()
4370 struct ocfs2_dinode *di = (struct ocfs2_dinode *)di_bh->b_data; in ocfs2_dx_dir_remove_index()
4379 dx_root = (struct ocfs2_dx_root_block *) dx_root_bh->b_data; in ocfs2_dx_dir_remove_index()
4454 struct ocfs2_dinode *di = (struct ocfs2_dinode *)di_bh->b_data; in ocfs2_dx_dir_truncate()
4468 dx_root = (struct ocfs2_dx_root_block *)dx_root_bh->b_data; in ocfs2_dx_dir_truncate()