/kernel/linux/linux-5.10/fs/ocfs2/ |
H A D | acl.c | 116 struct buffer_head *di_bh) in ocfs2_get_acl_nolock() 134 retval = ocfs2_xattr_get_nolock(inode, di_bh, name_index, "", NULL, 0); in ocfs2_get_acl_nolock() 139 retval = ocfs2_xattr_get_nolock(inode, di_bh, name_index, in ocfs2_get_acl_nolock() 157 * will not have di_bh or a journal handle to pass, in which case it 160 static int ocfs2_acl_set_mode(struct inode *inode, struct buffer_head *di_bh, in ocfs2_acl_set_mode() argument 166 if (di_bh == NULL) { in ocfs2_acl_set_mode() 167 ret = ocfs2_read_inode_block(inode, &di_bh); in ocfs2_acl_set_mode() 173 get_bh(di_bh); in ocfs2_acl_set_mode() 187 di = (struct ocfs2_dinode *)di_bh->b_data; in ocfs2_acl_set_mode() 188 ret = ocfs2_journal_access_di(handle, INODE_CACHE(inode), di_bh, in ocfs2_acl_set_mode() 114 ocfs2_get_acl_nolock(struct inode *inode, int type, struct buffer_head *di_bh) ocfs2_get_acl_nolock() argument 216 ocfs2_set_acl(handle_t *handle, struct inode *inode, struct buffer_head *di_bh, int type, struct posix_acl *acl, struct ocfs2_alloc_context *meta_ac, struct ocfs2_alloc_context *data_ac) ocfs2_set_acl() argument 295 struct buffer_head *di_bh = NULL; ocfs2_iop_get_acl() local 347 ocfs2_init_acl(handle_t *handle, struct inode *inode, struct inode *dir, struct buffer_head *di_bh, struct buffer_head *dir_bh, struct ocfs2_alloc_context *meta_ac, struct ocfs2_alloc_context *data_ac) ocfs2_init_acl() argument [all...] |
H A D | file.h | 45 struct buffer_head *di_bh, 48 struct buffer_head *di_bh, 50 int ocfs2_extend_no_holes(struct inode *inode, struct buffer_head *di_bh, 52 int ocfs2_zero_extend(struct inode *inode, struct buffer_head *di_bh, 70 struct buffer_head *di_bh, u64 byte_start,
|
H A D | mmap.c | 49 struct buffer_head *di_bh, struct page *page) in __ocfs2_page_mkwrite() 96 &locked_page, &fsdata, di_bh, page); in __ocfs2_page_mkwrite() 119 struct buffer_head *di_bh = NULL; in ocfs2_page_mkwrite() local 132 err = ocfs2_inode_lock(inode, &di_bh, 1); in ocfs2_page_mkwrite() 146 ret = __ocfs2_page_mkwrite(vmf->vma->vm_file, di_bh, page); in ocfs2_page_mkwrite() 150 brelse(di_bh); in ocfs2_page_mkwrite() 48 __ocfs2_page_mkwrite(struct file *file, struct buffer_head *di_bh, struct page *page) __ocfs2_page_mkwrite() argument
|
H A D | file.c | 312 struct buffer_head *di_bh, in ocfs2_simple_size_update() 326 ret = ocfs2_set_inode_size(handle, inode, di_bh, in ocfs2_simple_size_update() 437 struct buffer_head *di_bh, in ocfs2_truncate_file() 444 /* We trust di_bh because it comes from ocfs2_inode_lock(), which in ocfs2_truncate_file() 446 fe = (struct ocfs2_dinode *) di_bh->b_data; in ocfs2_truncate_file() 486 status = ocfs2_truncate_inline(inode, di_bh, new_i_size, in ocfs2_truncate_file() 498 status = ocfs2_orphan_for_truncate(osb, inode, di_bh, new_i_size); in ocfs2_truncate_file() 507 status = ocfs2_commit_truncate(osb, inode, di_bh); in ocfs2_truncate_file() 519 status = ocfs2_try_remove_refcount_tree(inode, di_bh); in ocfs2_truncate_file() 713 struct buffer_head *di_bh, in ocfs2_zero_start_ordered_transaction() 311 ocfs2_simple_size_update(struct inode *inode, struct buffer_head *di_bh, u64 new_i_size) ocfs2_simple_size_update() argument 436 ocfs2_truncate_file(struct inode *inode, struct buffer_head *di_bh, u64 new_i_size) ocfs2_truncate_file() argument 712 ocfs2_zero_start_ordered_transaction(struct inode *inode, struct buffer_head *di_bh, loff_t start_byte, loff_t length) ocfs2_zero_start_ordered_transaction() argument 755 ocfs2_write_zero_page(struct inode *inode, u64 abs_from, u64 abs_to, struct buffer_head *di_bh) ocfs2_write_zero_page() argument 863 ocfs2_zero_extend_get_range(struct inode *inode, struct buffer_head *di_bh, u64 zero_start, u64 zero_end, u64 *range_start, u64 *range_end) ocfs2_zero_extend_get_range() argument 937 ocfs2_zero_extend_range(struct inode *inode, u64 range_start, u64 range_end, struct buffer_head *di_bh) ocfs2_zero_extend_range() argument 971 ocfs2_zero_extend(struct inode *inode, struct buffer_head *di_bh, loff_t zero_to_size) ocfs2_zero_extend() argument 1011 ocfs2_extend_no_holes(struct inode *inode, struct buffer_head *di_bh, u64 new_i_size, u64 zero_to) ocfs2_extend_no_holes() argument 1053 ocfs2_extend_file(struct inode *inode, struct buffer_head *di_bh, u64 new_i_size) ocfs2_extend_file() argument 1443 struct buffer_head *di_bh = NULL; ocfs2_allocate_unwritten_extents() local 1761 ocfs2_remove_inode_range(struct inode *inode, struct buffer_head *di_bh, u64 byte_start, u64 byte_len) ocfs2_remove_inode_range() argument 1934 struct buffer_head *di_bh = NULL; __ocfs2_change_file_space() local 2181 ocfs2_inode_lock_for_extent_tree(struct inode *inode, struct buffer_head **di_bh, int meta_level, int write_sem, int wait) ocfs2_inode_lock_for_extent_tree() argument 2223 ocfs2_inode_unlock_for_extent_tree(struct inode *inode, struct buffer_head **di_bh, int meta_level, int write_sem) ocfs2_inode_unlock_for_extent_tree() argument 2247 struct buffer_head *di_bh = NULL; ocfs2_prepare_inode_for_write() local [all...] |
H A D | extent_map.c | 399 struct buffer_head *di_bh, in ocfs2_get_clusters_nocache() 415 di = (struct ocfs2_dinode *) di_bh->b_data; in ocfs2_get_clusters_nocache() 603 struct buffer_head *di_bh = NULL; in ocfs2_get_clusters() local 617 ret = ocfs2_read_inode_block(inode, &di_bh); in ocfs2_get_clusters() 623 ret = ocfs2_get_clusters_nocache(inode, di_bh, v_cluster, &hole_len, in ocfs2_get_clusters() 652 brelse(di_bh); in ocfs2_get_clusters() 702 static int ocfs2_fiemap_inline(struct inode *inode, struct buffer_head *di_bh, in ocfs2_fiemap_inline() argument 713 di = (struct ocfs2_dinode *)di_bh->b_data; in ocfs2_fiemap_inline() 744 struct buffer_head *di_bh = NULL; in ocfs2_fiemap() local 751 ret = ocfs2_inode_lock(inode, &di_bh, in ocfs2_fiemap() 398 ocfs2_get_clusters_nocache(struct inode *inode, struct buffer_head *di_bh, u32 v_cluster, unsigned int *hole_len, struct ocfs2_extent_rec *ret_rec, unsigned int *is_last) ocfs2_get_clusters_nocache() argument 821 ocfs2_overwrite_io(struct inode *inode, struct buffer_head *di_bh, u64 map_start, u64 map_len) ocfs2_overwrite_io() argument 872 struct buffer_head *di_bh = NULL; ocfs2_seek_data_hole_offset() local [all...] |
H A D | aops.c | 222 struct buffer_head *di_bh) in ocfs2_read_inline_data() 226 struct ocfs2_dinode *di = (struct ocfs2_dinode *)di_bh->b_data; in ocfs2_read_inline_data() 261 struct buffer_head *di_bh = NULL; in ocfs2_readpage_inline() local 266 ret = ocfs2_read_inode_block(inode, &di_bh); in ocfs2_readpage_inline() 272 ret = ocfs2_read_inline_data(inode, page, di_bh); in ocfs2_readpage_inline() 276 brelse(di_bh); in ocfs2_readpage_inline() 844 struct buffer_head *di_bh) in ocfs2_alloc_write_ctxt() 857 get_bh(di_bh); in ocfs2_alloc_write_ctxt() 858 wc->w_di_bh = di_bh; in ocfs2_alloc_write_ctxt() 1533 int ocfs2_size_fits_inline_data(struct buffer_head *di_bh, u6 argument 221 ocfs2_read_inline_data(struct inode *inode, struct page *page, struct buffer_head *di_bh) ocfs2_read_inline_data() argument 841 ocfs2_alloc_write_ctxt(struct ocfs2_write_ctxt **wcp, struct ocfs2_super *osb, loff_t pos, unsigned len, ocfs2_write_type_t type, struct buffer_head *di_bh) ocfs2_alloc_write_ctxt() argument 1613 ocfs2_expand_nonsparse_inode(struct inode *inode, struct buffer_head *di_bh, loff_t pos, unsigned len, struct ocfs2_write_ctxt *wc) ocfs2_expand_nonsparse_inode() argument 1638 ocfs2_zero_tail(struct inode *inode, struct buffer_head *di_bh, loff_t pos) ocfs2_zero_tail() argument 1650 ocfs2_write_begin_nolock(struct address_space *mapping, loff_t pos, unsigned len, ocfs2_write_type_t type, struct page **pagep, void **fsdata, struct buffer_head *di_bh, struct page *mmap_page) ocfs2_write_begin_nolock() argument 1891 struct buffer_head *di_bh = NULL; ocfs2_write_begin() local 2153 struct buffer_head *di_bh = NULL; ocfs2_dio_wr_get_block() local 2306 struct buffer_head *di_bh = NULL; ocfs2_dio_end_io_write() local [all...] |
H A D | dir.c | 403 struct buffer_head *di_bh = NULL; in ocfs2_find_entry_id() local 407 ret = ocfs2_read_inode_block(dir, &di_bh); in ocfs2_find_entry_id() 413 di = (struct ocfs2_dinode *)di_bh->b_data; in ocfs2_find_entry_id() 416 found = ocfs2_search_dirblock(di_bh, dir, name, namelen, 0, in ocfs2_find_entry_id() 419 return di_bh; in ocfs2_find_entry_id() 421 brelse(di_bh); in ocfs2_find_entry_id() 1016 struct buffer_head *di_bh = NULL; in ocfs2_find_entry_dx() local 1021 ret = ocfs2_read_inode_block(dir, &di_bh); in ocfs2_find_entry_dx() 1027 di = (struct ocfs2_dinode *)di_bh->b_data; in ocfs2_find_entry_dx() 1046 brelse(di_bh); in ocfs2_find_entry_dx() 1359 struct buffer_head *di_bh = NULL; ocfs2_delete_entry_id() local 1748 struct buffer_head *di_bh = NULL; ocfs2_dir_foreach_blk_id() local 2087 struct buffer_head *di_bh = NULL; ocfs2_empty_dir_dx() local 2190 ocfs2_fill_new_dir_id(struct ocfs2_super *osb, handle_t *handle, struct inode *parent, struct inode *inode, struct buffer_head *di_bh) ocfs2_fill_new_dir_id() argument 2293 ocfs2_dx_dir_attach_index(struct ocfs2_super *osb, handle_t *handle, struct inode *dir, struct buffer_head *di_bh, struct buffer_head *dirdata_bh, struct ocfs2_alloc_context *meta_ac, int dx_inline, u32 num_entries, struct buffer_head **ret_dx_root_bh) ocfs2_dx_dir_attach_index() argument 2518 ocfs2_fill_new_dir_dx(struct ocfs2_super *osb, handle_t *handle, struct inode *parent, struct inode *inode, struct buffer_head *di_bh, struct ocfs2_alloc_context *data_ac, struct ocfs2_alloc_context *meta_ac) ocfs2_fill_new_dir_dx() argument 2687 ocfs2_new_dx_should_be_inline(struct inode *dir, struct buffer_head *di_bh) ocfs2_new_dx_should_be_inline() argument 2775 ocfs2_expand_inline_dir(struct inode *dir, struct buffer_head *di_bh, unsigned int blocks_wanted, struct ocfs2_dir_lookup_result *lookup, struct buffer_head **first_block_bh) ocfs2_expand_inline_dir() argument 3346 ocfs2_find_dir_space_id(struct inode *dir, struct buffer_head *di_bh, const char *name, int namelen, struct buffer_head **ret_de_bh, unsigned int *blocks_wanted) ocfs2_find_dir_space_id() argument 3893 ocfs2_find_dir_space_dx(struct ocfs2_super *osb, struct inode *dir, struct buffer_head *di_bh, struct buffer_head *dx_root_bh, const char *name, int namelen, struct ocfs2_dir_lookup_result *lookup) ocfs2_find_dir_space_dx() argument 4145 ocfs2_prepare_dx_dir_for_insert(struct inode *dir, struct buffer_head *di_bh, const char *name, int namelen, struct ocfs2_dir_lookup_result *lookup) ocfs2_prepare_dx_dir_for_insert() argument 4324 ocfs2_dx_dir_remove_index(struct inode *dir, struct buffer_head *di_bh, struct buffer_head *dx_root_bh) ocfs2_dx_dir_remove_index() argument 4405 ocfs2_dx_dir_truncate(struct inode *dir, struct buffer_head *di_bh) ocfs2_dx_dir_truncate() argument [all...] |
H A D | aops.h | 44 struct buffer_head *di_bh, struct page *mmap_page); 47 struct buffer_head *di_bh); 48 int ocfs2_size_fits_inline_data(struct buffer_head *di_bh, u64 new_size);
|
H A D | inode.c | 637 struct buffer_head *di_bh, in ocfs2_remove_inode() 646 struct ocfs2_dinode *di = (struct ocfs2_dinode *) di_bh->b_data; in ocfs2_remove_inode() 684 status = ocfs2_journal_access_di(handle, INODE_CACHE(inode), di_bh, in ocfs2_remove_inode() 693 ocfs2_journal_dirty(handle, di_bh); in ocfs2_remove_inode() 695 ocfs2_remove_from_cache(INODE_CACHE(inode), di_bh); in ocfs2_remove_inode() local 751 struct buffer_head *di_bh) in ocfs2_wipe_inode() 757 struct ocfs2_dinode *di = (struct ocfs2_dinode *) di_bh->b_data; in ocfs2_wipe_inode() 792 status = ocfs2_truncate_for_delete(osb, inode, di_bh); in ocfs2_wipe_inode() 800 status = ocfs2_dx_dir_truncate(inode, di_bh); in ocfs2_wipe_inode() 808 status = ocfs2_xattr_remove(inode, di_bh); in ocfs2_wipe_inode() 636 ocfs2_remove_inode(struct inode *inode, struct buffer_head *di_bh, struct inode *orphan_dir_inode, struct buffer_head *orphan_dir_bh) ocfs2_remove_inode() argument 750 ocfs2_wipe_inode(struct inode *inode, struct buffer_head *di_bh) ocfs2_wipe_inode() argument 889 ocfs2_query_inode_wipe(struct inode *inode, struct buffer_head *di_bh, int *wipe) ocfs2_query_inode_wipe() argument 998 struct buffer_head *di_bh = NULL; ocfs2_delete_inode() local [all...] |
H A D | refcounttree.h | 48 struct buffer_head *di_bh, 97 int ocfs2_remove_refcount_tree(struct inode *inode, struct buffer_head *di_bh); 99 struct buffer_head *di_bh);
|
H A D | move_extents.c | 760 static int __ocfs2_move_extents_range(struct buffer_head *di_bh, in __ocfs2_move_extents_range() argument 768 struct ocfs2_dinode *di = (struct ocfs2_dinode *)di_bh->b_data; in __ocfs2_move_extents_range() 780 ocfs2_init_dinode_extent_tree(&context->et, INODE_CACHE(inode), di_bh); in __ocfs2_move_extents_range() 901 struct buffer_head *di_bh = NULL; in ocfs2_move_extents() local 918 status = ocfs2_inode_lock(inode, &di_bh, 1); in ocfs2_move_extents() 929 status = __ocfs2_move_extents_range(di_bh, context); in ocfs2_move_extents() 947 status = ocfs2_journal_access_di(handle, INODE_CACHE(inode), di_bh, in ocfs2_move_extents() 954 di = (struct ocfs2_dinode *)di_bh->b_data; in ocfs2_move_extents() 960 ocfs2_journal_dirty(handle, di_bh); in ocfs2_move_extents() 966 brelse(di_bh); in ocfs2_move_extents() [all...] |
H A D | suballoc.h | 77 struct buffer_head *di_bh, 81 struct buffer_head *di_bh,
|
H A D | alloc.h | 159 struct buffer_head *di_bh); 221 struct buffer_head *di_bh); 222 int ocfs2_truncate_inline(struct inode *inode, struct buffer_head *di_bh,
|
/kernel/linux/linux-6.6/fs/ocfs2/ |
H A D | acl.c | 114 struct buffer_head *di_bh) in ocfs2_get_acl_nolock() 132 retval = ocfs2_xattr_get_nolock(inode, di_bh, name_index, "", NULL, 0); in ocfs2_get_acl_nolock() 137 retval = ocfs2_xattr_get_nolock(inode, di_bh, name_index, in ocfs2_get_acl_nolock() 155 * will not have di_bh or a journal handle to pass, in which case it 158 static int ocfs2_acl_set_mode(struct inode *inode, struct buffer_head *di_bh, in ocfs2_acl_set_mode() argument 164 if (di_bh == NULL) { in ocfs2_acl_set_mode() 165 ret = ocfs2_read_inode_block(inode, &di_bh); in ocfs2_acl_set_mode() 171 get_bh(di_bh); in ocfs2_acl_set_mode() 185 di = (struct ocfs2_dinode *)di_bh->b_data; in ocfs2_acl_set_mode() 186 ret = ocfs2_journal_access_di(handle, INODE_CACHE(inode), di_bh, in ocfs2_acl_set_mode() 112 ocfs2_get_acl_nolock(struct inode *inode, int type, struct buffer_head *di_bh) ocfs2_get_acl_nolock() argument 214 ocfs2_set_acl(handle_t *handle, struct inode *inode, struct buffer_head *di_bh, int type, struct posix_acl *acl, struct ocfs2_alloc_context *meta_ac, struct ocfs2_alloc_context *data_ac) ocfs2_set_acl() argument 296 struct buffer_head *di_bh = NULL; ocfs2_iop_get_acl() local 351 ocfs2_init_acl(handle_t *handle, struct inode *inode, struct inode *dir, struct buffer_head *di_bh, struct buffer_head *dir_bh, struct ocfs2_alloc_context *meta_ac, struct ocfs2_alloc_context *data_ac) ocfs2_init_acl() argument [all...] |
H A D | file.h | 43 struct buffer_head *di_bh, 46 struct buffer_head *di_bh, 48 int ocfs2_extend_no_holes(struct inode *inode, struct buffer_head *di_bh, 50 int ocfs2_zero_extend(struct inode *inode, struct buffer_head *di_bh, 71 struct buffer_head *di_bh, u64 byte_start,
|
H A D | mmap.c | 47 struct buffer_head *di_bh, struct page *page) in __ocfs2_page_mkwrite() 94 &locked_page, &fsdata, di_bh, page); in __ocfs2_page_mkwrite() 117 struct buffer_head *di_bh = NULL; in ocfs2_page_mkwrite() local 130 err = ocfs2_inode_lock(inode, &di_bh, 1); in ocfs2_page_mkwrite() 144 ret = __ocfs2_page_mkwrite(vmf->vma->vm_file, di_bh, page); in ocfs2_page_mkwrite() 148 brelse(di_bh); in ocfs2_page_mkwrite() 46 __ocfs2_page_mkwrite(struct file *file, struct buffer_head *di_bh, struct page *page) __ocfs2_page_mkwrite() argument
|
H A D | file.c | 312 struct buffer_head *di_bh, in ocfs2_simple_size_update() 326 ret = ocfs2_set_inode_size(handle, inode, di_bh, in ocfs2_simple_size_update() 437 struct buffer_head *di_bh, in ocfs2_truncate_file() 444 /* We trust di_bh because it comes from ocfs2_inode_lock(), which in ocfs2_truncate_file() 446 fe = (struct ocfs2_dinode *) di_bh->b_data; in ocfs2_truncate_file() 486 status = ocfs2_truncate_inline(inode, di_bh, new_i_size, in ocfs2_truncate_file() 498 status = ocfs2_orphan_for_truncate(osb, inode, di_bh, new_i_size); in ocfs2_truncate_file() 507 status = ocfs2_commit_truncate(osb, inode, di_bh); in ocfs2_truncate_file() 519 status = ocfs2_try_remove_refcount_tree(inode, di_bh); in ocfs2_truncate_file() 710 struct buffer_head *di_bh, in ocfs2_zero_start_ordered_transaction() 311 ocfs2_simple_size_update(struct inode *inode, struct buffer_head *di_bh, u64 new_i_size) ocfs2_simple_size_update() argument 436 ocfs2_truncate_file(struct inode *inode, struct buffer_head *di_bh, u64 new_i_size) ocfs2_truncate_file() argument 709 ocfs2_zero_start_ordered_transaction(struct inode *inode, struct buffer_head *di_bh, loff_t start_byte, loff_t length) ocfs2_zero_start_ordered_transaction() argument 752 ocfs2_write_zero_page(struct inode *inode, u64 abs_from, u64 abs_to, struct buffer_head *di_bh) ocfs2_write_zero_page() argument 855 ocfs2_zero_extend_get_range(struct inode *inode, struct buffer_head *di_bh, u64 zero_start, u64 zero_end, u64 *range_start, u64 *range_end) ocfs2_zero_extend_get_range() argument 929 ocfs2_zero_extend_range(struct inode *inode, u64 range_start, u64 range_end, struct buffer_head *di_bh) ocfs2_zero_extend_range() argument 963 ocfs2_zero_extend(struct inode *inode, struct buffer_head *di_bh, loff_t zero_to_size) ocfs2_zero_extend() argument 1003 ocfs2_extend_no_holes(struct inode *inode, struct buffer_head *di_bh, u64 new_i_size, u64 zero_to) ocfs2_extend_no_holes() argument 1045 ocfs2_extend_file(struct inode *inode, struct buffer_head *di_bh, u64 new_i_size) ocfs2_extend_file() argument 1437 struct buffer_head *di_bh = NULL; ocfs2_allocate_unwritten_extents() local 1755 ocfs2_remove_inode_range(struct inode *inode, struct buffer_head *di_bh, u64 byte_start, u64 byte_len) ocfs2_remove_inode_range() argument 1928 struct buffer_head *di_bh = NULL; __ocfs2_change_file_space() local 2175 ocfs2_inode_lock_for_extent_tree(struct inode *inode, struct buffer_head **di_bh, int meta_level, int write_sem, int wait) ocfs2_inode_lock_for_extent_tree() argument 2217 ocfs2_inode_unlock_for_extent_tree(struct inode *inode, struct buffer_head **di_bh, int meta_level, int write_sem) ocfs2_inode_unlock_for_extent_tree() argument 2241 struct buffer_head *di_bh = NULL; ocfs2_prepare_inode_for_write() local [all...] |
H A D | extent_map.c | 397 struct buffer_head *di_bh, in ocfs2_get_clusters_nocache() 413 di = (struct ocfs2_dinode *) di_bh->b_data; in ocfs2_get_clusters_nocache() 601 struct buffer_head *di_bh = NULL; in ocfs2_get_clusters() local 615 ret = ocfs2_read_inode_block(inode, &di_bh); in ocfs2_get_clusters() 621 ret = ocfs2_get_clusters_nocache(inode, di_bh, v_cluster, &hole_len, in ocfs2_get_clusters() 650 brelse(di_bh); in ocfs2_get_clusters() 700 static int ocfs2_fiemap_inline(struct inode *inode, struct buffer_head *di_bh, in ocfs2_fiemap_inline() argument 711 di = (struct ocfs2_dinode *)di_bh->b_data; in ocfs2_fiemap_inline() 742 struct buffer_head *di_bh = NULL; in ocfs2_fiemap() local 749 ret = ocfs2_inode_lock(inode, &di_bh, in ocfs2_fiemap() 396 ocfs2_get_clusters_nocache(struct inode *inode, struct buffer_head *di_bh, u32 v_cluster, unsigned int *hole_len, struct ocfs2_extent_rec *ret_rec, unsigned int *is_last) ocfs2_get_clusters_nocache() argument 819 ocfs2_overwrite_io(struct inode *inode, struct buffer_head *di_bh, u64 map_start, u64 map_len) ocfs2_overwrite_io() argument 870 struct buffer_head *di_bh = NULL; ocfs2_seek_data_hole_offset() local [all...] |
H A D | aops.c | 220 struct buffer_head *di_bh) in ocfs2_read_inline_data() 224 struct ocfs2_dinode *di = (struct ocfs2_dinode *)di_bh->b_data; in ocfs2_read_inline_data() 259 struct buffer_head *di_bh = NULL; in ocfs2_readpage_inline() local 264 ret = ocfs2_read_inode_block(inode, &di_bh); in ocfs2_readpage_inline() 270 ret = ocfs2_read_inline_data(inode, page, di_bh); in ocfs2_readpage_inline() 274 brelse(di_bh); in ocfs2_readpage_inline() 840 struct buffer_head *di_bh) in ocfs2_alloc_write_ctxt() 853 get_bh(di_bh); in ocfs2_alloc_write_ctxt() 854 wc->w_di_bh = di_bh; in ocfs2_alloc_write_ctxt() 1529 int ocfs2_size_fits_inline_data(struct buffer_head *di_bh, u6 argument 219 ocfs2_read_inline_data(struct inode *inode, struct page *page, struct buffer_head *di_bh) ocfs2_read_inline_data() argument 837 ocfs2_alloc_write_ctxt(struct ocfs2_write_ctxt **wcp, struct ocfs2_super *osb, loff_t pos, unsigned len, ocfs2_write_type_t type, struct buffer_head *di_bh) ocfs2_alloc_write_ctxt() argument 1609 ocfs2_expand_nonsparse_inode(struct inode *inode, struct buffer_head *di_bh, loff_t pos, unsigned len, struct ocfs2_write_ctxt *wc) ocfs2_expand_nonsparse_inode() argument 1634 ocfs2_zero_tail(struct inode *inode, struct buffer_head *di_bh, loff_t pos) ocfs2_zero_tail() argument 1646 ocfs2_write_begin_nolock(struct address_space *mapping, loff_t pos, unsigned len, ocfs2_write_type_t type, struct page **pagep, void **fsdata, struct buffer_head *di_bh, struct page *mmap_page) ocfs2_write_begin_nolock() argument 1887 struct buffer_head *di_bh = NULL; ocfs2_write_begin() local 2150 struct buffer_head *di_bh = NULL; ocfs2_dio_wr_get_block() local 2303 struct buffer_head *di_bh = NULL; ocfs2_dio_end_io_write() local [all...] |
H A D | dir.c | 395 struct buffer_head *di_bh = NULL; in ocfs2_find_entry_id() local 399 ret = ocfs2_read_inode_block(dir, &di_bh); in ocfs2_find_entry_id() 405 di = (struct ocfs2_dinode *)di_bh->b_data; in ocfs2_find_entry_id() 408 found = ocfs2_search_dirblock(di_bh, dir, name, namelen, 0, in ocfs2_find_entry_id() 411 return di_bh; in ocfs2_find_entry_id() 413 brelse(di_bh); in ocfs2_find_entry_id() 1008 struct buffer_head *di_bh = NULL; in ocfs2_find_entry_dx() local 1013 ret = ocfs2_read_inode_block(dir, &di_bh); in ocfs2_find_entry_dx() 1019 di = (struct ocfs2_dinode *)di_bh->b_data; in ocfs2_find_entry_dx() 1038 brelse(di_bh); in ocfs2_find_entry_dx() 1351 struct buffer_head *di_bh = NULL; ocfs2_delete_entry_id() local 1739 struct buffer_head *di_bh = NULL; ocfs2_dir_foreach_blk_id() local 2076 struct buffer_head *di_bh = NULL; ocfs2_empty_dir_dx() local 2179 ocfs2_fill_new_dir_id(struct ocfs2_super *osb, handle_t *handle, struct inode *parent, struct inode *inode, struct buffer_head *di_bh) ocfs2_fill_new_dir_id() argument 2282 ocfs2_dx_dir_attach_index(struct ocfs2_super *osb, handle_t *handle, struct inode *dir, struct buffer_head *di_bh, struct buffer_head *dirdata_bh, struct ocfs2_alloc_context *meta_ac, int dx_inline, u32 num_entries, struct buffer_head **ret_dx_root_bh) ocfs2_dx_dir_attach_index() argument 2507 ocfs2_fill_new_dir_dx(struct ocfs2_super *osb, handle_t *handle, struct inode *parent, struct inode *inode, struct buffer_head *di_bh, struct ocfs2_alloc_context *data_ac, struct ocfs2_alloc_context *meta_ac) ocfs2_fill_new_dir_dx() argument 2676 ocfs2_new_dx_should_be_inline(struct inode *dir, struct buffer_head *di_bh) ocfs2_new_dx_should_be_inline() argument 2764 ocfs2_expand_inline_dir(struct inode *dir, struct buffer_head *di_bh, unsigned int blocks_wanted, struct ocfs2_dir_lookup_result *lookup, struct buffer_head **first_block_bh) ocfs2_expand_inline_dir() argument 3335 ocfs2_find_dir_space_id(struct inode *dir, struct buffer_head *di_bh, const char *name, int namelen, struct buffer_head **ret_de_bh, unsigned int *blocks_wanted) ocfs2_find_dir_space_id() argument 3879 ocfs2_find_dir_space_dx(struct ocfs2_super *osb, struct inode *dir, struct buffer_head *di_bh, struct buffer_head *dx_root_bh, const char *name, int namelen, struct ocfs2_dir_lookup_result *lookup) ocfs2_find_dir_space_dx() argument 4131 ocfs2_prepare_dx_dir_for_insert(struct inode *dir, struct buffer_head *di_bh, const char *name, int namelen, struct ocfs2_dir_lookup_result *lookup) ocfs2_prepare_dx_dir_for_insert() argument 4310 ocfs2_dx_dir_remove_index(struct inode *dir, struct buffer_head *di_bh, struct buffer_head *dx_root_bh) ocfs2_dx_dir_remove_index() argument 4391 ocfs2_dx_dir_truncate(struct inode *dir, struct buffer_head *di_bh) ocfs2_dx_dir_truncate() argument [all...] |
H A D | aops.h | 42 struct buffer_head *di_bh, struct page *mmap_page); 45 struct buffer_head *di_bh); 46 int ocfs2_size_fits_inline_data(struct buffer_head *di_bh, u64 new_size);
|
H A D | inode.c | 635 struct buffer_head *di_bh, in ocfs2_remove_inode() 644 struct ocfs2_dinode *di = (struct ocfs2_dinode *) di_bh->b_data; in ocfs2_remove_inode() 682 status = ocfs2_journal_access_di(handle, INODE_CACHE(inode), di_bh, in ocfs2_remove_inode() 691 ocfs2_journal_dirty(handle, di_bh); in ocfs2_remove_inode() 693 ocfs2_remove_from_cache(INODE_CACHE(inode), di_bh); in ocfs2_remove_inode() local 749 struct buffer_head *di_bh) in ocfs2_wipe_inode() 755 struct ocfs2_dinode *di = (struct ocfs2_dinode *) di_bh->b_data; in ocfs2_wipe_inode() 790 status = ocfs2_truncate_for_delete(osb, inode, di_bh); in ocfs2_wipe_inode() 798 status = ocfs2_dx_dir_truncate(inode, di_bh); in ocfs2_wipe_inode() 806 status = ocfs2_xattr_remove(inode, di_bh); in ocfs2_wipe_inode() 634 ocfs2_remove_inode(struct inode *inode, struct buffer_head *di_bh, struct inode *orphan_dir_inode, struct buffer_head *orphan_dir_bh) ocfs2_remove_inode() argument 748 ocfs2_wipe_inode(struct inode *inode, struct buffer_head *di_bh) ocfs2_wipe_inode() argument 887 ocfs2_query_inode_wipe(struct inode *inode, struct buffer_head *di_bh, int *wipe) ocfs2_query_inode_wipe() argument 996 struct buffer_head *di_bh = NULL; ocfs2_delete_inode() local [all...] |
H A D | refcounttree.h | 46 struct buffer_head *di_bh, 95 int ocfs2_remove_refcount_tree(struct inode *inode, struct buffer_head *di_bh); 97 struct buffer_head *di_bh);
|
H A D | move_extents.c | 758 static int __ocfs2_move_extents_range(struct buffer_head *di_bh, in __ocfs2_move_extents_range() argument 766 struct ocfs2_dinode *di = (struct ocfs2_dinode *)di_bh->b_data; in __ocfs2_move_extents_range() 778 ocfs2_init_dinode_extent_tree(&context->et, INODE_CACHE(inode), di_bh); in __ocfs2_move_extents_range() 899 struct buffer_head *di_bh = NULL; in ocfs2_move_extents() local 916 status = ocfs2_inode_lock(inode, &di_bh, 1); in ocfs2_move_extents() 927 status = __ocfs2_move_extents_range(di_bh, context); in ocfs2_move_extents() 945 status = ocfs2_journal_access_di(handle, INODE_CACHE(inode), di_bh, in ocfs2_move_extents() 952 di = (struct ocfs2_dinode *)di_bh->b_data; in ocfs2_move_extents() 958 ocfs2_journal_dirty(handle, di_bh); in ocfs2_move_extents() 964 brelse(di_bh); in ocfs2_move_extents() [all...] |
H A D | suballoc.h | 75 struct buffer_head *di_bh, 79 struct buffer_head *di_bh,
|