| /linux-6.15/fs/ocfs2/ |
| H A D | acl.c | 114 struct buffer_head *di_bh) in ocfs2_get_acl_nolock() argument 164 if (di_bh == NULL) { 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() 200 ocfs2_journal_dirty(handle, di_bh); in ocfs2_acl_set_mode() 206 brelse(di_bh); in ocfs2_acl_set_mode() 216 struct buffer_head *di_bh, in ocfs2_set_acl() argument 296 struct buffer_head *di_bh = NULL; in ocfs2_iop_get_acl() local 317 brelse(di_bh); in ocfs2_iop_get_acl() 354 struct buffer_head *di_bh, in ocfs2_init_acl() argument [all …]
|
| H A D | file.c | 1055 BUG_ON(!di_bh); in ocfs2_extend_file() 1511 brelse(di_bh); in ocfs2_allocate_unwritten_extents() 2070 brelse(di_bh); in __ocfs2_change_file_space() 2226 brelse(*di_bh); in ocfs2_inode_lock_for_extent_tree() 2227 *di_bh = NULL; in ocfs2_inode_lock_for_extent_tree() 2243 brelse(*di_bh); in ocfs2_inode_unlock_for_extent_tree() 2244 *di_bh = NULL; in ocfs2_inode_unlock_for_extent_tree() 2267 &di_bh, in ocfs2_prepare_inode_for_write() 2304 &di_bh, in ocfs2_prepare_inode_for_write() 2321 &di_bh, in ocfs2_prepare_inode_for_write() [all …]
|
| H A D | file.h | 44 struct buffer_head *di_bh, 47 struct buffer_head *di_bh, 49 int ocfs2_extend_no_holes(struct inode *inode, struct buffer_head *di_bh, 51 int ocfs2_zero_extend(struct inode *inode, struct buffer_head *di_bh, 72 struct buffer_head *di_bh, u64 byte_start,
|
| H A D | mmap.c | 47 struct buffer_head *di_bh, struct folio *folio) in __ocfs2_page_mkwrite() argument 94 &locked_folio, &fsdata, di_bh, folio); 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, folio); in ocfs2_page_mkwrite() 148 brelse(di_bh); in ocfs2_page_mkwrite()
|
| H A D | extent_map.c | 397 struct buffer_head *di_bh, in ocfs2_get_clusters_nocache() argument 413 di = (struct ocfs2_dinode *) di_bh->b_data; in ocfs2_get_clusters_nocache() 611 struct buffer_head *di_bh = NULL; in ocfs2_get_clusters() local 660 brelse(di_bh); in ocfs2_get_clusters() 721 di = (struct ocfs2_dinode *)di_bh->b_data; in ocfs2_fiemap_inline() 752 struct buffer_head *di_bh = NULL; in ocfs2_fiemap() local 759 ret = ocfs2_inode_lock(inode, &di_bh, 0); in ocfs2_fiemap() 818 brelse(di_bh); in ocfs2_fiemap() 880 struct buffer_head *di_bh = NULL; in ocfs2_seek_data_hole_offset() local 885 ret = ocfs2_inode_lock(inode, &di_bh, 0); in ocfs2_seek_data_hole_offset() [all …]
|
| H A D | aops.c | 212 struct buffer_head *di_bh) in ocfs2_read_inline_data() argument 243 struct buffer_head *di_bh = NULL; in ocfs2_readpage_inline() local 258 brelse(di_bh); in ocfs2_readpage_inline() 821 struct buffer_head *di_bh) in ocfs2_alloc_write_ctxt() argument 834 get_bh(di_bh); in ocfs2_alloc_write_ctxt() 835 wc->w_di_bh = di_bh; in ocfs2_alloc_write_ctxt() 1587 struct buffer_head *di_bh, in ocfs2_expand_nonsparse_inode() argument 1889 brelse(di_bh); in ocfs2_write_begin() 1896 brelse(di_bh); in ocfs2_write_begin() 2257 brelse(di_bh); in ocfs2_dio_wr_get_block() [all …]
|
| H A D | aops.h | 37 struct buffer_head *di_bh, struct folio *mmap_folio); 40 struct buffer_head *di_bh); 41 int ocfs2_size_fits_inline_data(struct buffer_head *di_bh, u64 new_size);
|
| H A D | dir.c | 401 struct buffer_head *di_bh = NULL; in ocfs2_find_entry_id() local 417 return di_bh; in ocfs2_find_entry_id() 419 brelse(di_bh); in ocfs2_find_entry_id() 1044 brelse(di_bh); in ocfs2_find_entry_dx() 1386 brelse(di_bh); in ocfs2_delete_entry_id() 1813 brelse(di_bh); in ocfs2_dir_foreach_blk_id() 2126 brelse(di_bh); in ocfs2_empty_dir_dx() 2208 struct buffer_head *di_bh) in ocfs2_fill_new_dir_id() argument 2536 struct buffer_head *di_bh, in ocfs2_fill_new_dir_dx() argument 2702 struct buffer_head *di_bh) in ocfs2_new_dx_should_be_inline() argument [all …]
|
| H A D | inode.c | 649 struct buffer_head *di_bh, in ocfs2_remove_inode() argument 705 ocfs2_journal_dirty(handle, di_bh); in ocfs2_remove_inode() 763 struct buffer_head *di_bh) in ocfs2_wipe_inode() argument 820 status = ocfs2_xattr_remove(inode, di_bh); in ocfs2_wipe_inode() 902 struct buffer_head *di_bh, in ocfs2_query_inode_wipe() argument 928 di = (struct ocfs2_dinode *) di_bh->b_data; in ocfs2_query_inode_wipe() 1010 struct buffer_head *di_bh = NULL; in ocfs2_delete_inode() local 1058 status = ocfs2_inode_lock(inode, &di_bh, 1); in ocfs2_delete_inode() 1066 di = (struct ocfs2_dinode *)di_bh->b_data; in ocfs2_delete_inode() 1093 status = ocfs2_wipe_inode(inode, di_bh); in ocfs2_delete_inode() [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()
|
| H A D | refcounttree.c | 398 struct buffer_head *di_bh = NULL; in ocfs2_get_refcount_block() local 411 brelse(di_bh); in ocfs2_get_refcount_block() 551 struct buffer_head *di_bh) in ocfs2_create_refcount_tree() argument 647 ocfs2_journal_dirty(handle, di_bh); in ocfs2_create_refcount_tree() 692 struct buffer_head *di_bh, in ocfs2_set_refcount_tree() argument 744 ocfs2_journal_dirty(handle, di_bh); in ocfs2_set_refcount_tree() 840 ocfs2_journal_dirty(handle, di_bh); in ocfs2_remove_refcount_tree() 925 struct buffer_head *di_bh) in ocfs2_try_remove_refcount_tree() argument 3372 struct buffer_head *di_bh, in ocfs2_refcount_cow_hunk() argument 3448 struct buffer_head *di_bh, in ocfs2_refcount_cow() argument [all …]
|
| H A D | alloc.h | 157 struct buffer_head *di_bh); 219 struct buffer_head *di_bh); 220 int ocfs2_truncate_inline(struct inode *inode, struct buffer_head *di_bh,
|
| H A D | namei.c | 2638 struct buffer_head *di_bh = NULL; in ocfs2_add_inode_to_orphan() local 2643 status = ocfs2_inode_lock(inode, &di_bh, 1); in ocfs2_add_inode_to_orphan() 2649 di = (struct ocfs2_dinode *) di_bh->b_data; in ocfs2_add_inode_to_orphan() 2702 brelse(di_bh); in ocfs2_add_inode_to_orphan() 2754 di_bh, in ocfs2_del_inode_from_orphan() 2769 ocfs2_journal_dirty(handle, di_bh); in ocfs2_del_inode_from_orphan() 2795 struct buffer_head *di_bh = NULL; in ocfs2_mv_orphaned_inode_to_new() local 2865 di_bh, OCFS2_JOURNAL_ACCESS_WRITE); in ocfs2_mv_orphaned_inode_to_new() 2878 di = (struct ocfs2_dinode *)di_bh->b_data; in ocfs2_mv_orphaned_inode_to_new() 2884 ocfs2_journal_dirty(handle, di_bh); in ocfs2_mv_orphaned_inode_to_new() [all …]
|
| H A D | suballoc.h | 76 struct buffer_head *di_bh, 80 struct buffer_head *di_bh,
|
| H A D | namei.h | 32 struct inode *inode, struct buffer_head *di_bh,
|
| H A D | journal.c | 2300 struct buffer_head *di_bh = NULL; in ocfs2_recover_orphans() local 2333 ret = ocfs2_inode_lock(inode, &di_bh, 1); in ocfs2_recover_orphans() 2339 di = (struct ocfs2_dinode *)di_bh->b_data; in ocfs2_recover_orphans() 2342 ret = ocfs2_truncate_file(inode, di_bh, in ocfs2_recover_orphans() 2351 di_bh, 0, 0); in ocfs2_recover_orphans() 2357 brelse(di_bh); in ocfs2_recover_orphans() 2358 di_bh = NULL; in ocfs2_recover_orphans() 2456 struct buffer_head *di_bh = NULL; in ocfs2_check_journals_nolocks() local 2467 di = (struct ocfs2_dinode *) di_bh->b_data; in ocfs2_check_journals_nolocks() 2476 brelse(di_bh); in ocfs2_check_journals_nolocks() [all …]
|
| H A D | xattr.c | 1025 struct buffer_head *di_bh = NULL; in ocfs2_listxattr() local 1060 brelse(di_bh); in ocfs2_listxattr() 1284 struct buffer_head *di_bh, in ocfs2_xattr_get_nolock() argument 1330 struct buffer_head *di_bh = NULL; in ocfs2_xattr_get() local 1345 brelse(di_bh); in ocfs2_xattr_get() 2424 struct buffer_head *di_bh, in ocfs2_xattr_ibody_remove() argument 2433 .vb_bh = di_bh, in ocfs2_xattr_ibody_remove() 2719 struct buffer_head *di_bh, in ocfs2_xattr_ibody_init() argument 3448 struct buffer_head *di_bh, in ocfs2_xattr_set_handle() argument 3675 brelse(di_bh); in ocfs2_xattr_set() [all …]
|
| H A D | extent_map.h | 41 int ocfs2_overwrite_io(struct inode *inode, struct buffer_head *di_bh,
|
| H A D | dir.h | 96 int ocfs2_dx_dir_truncate(struct inode *dir, struct buffer_head *di_bh);
|
| H A D | alloc.c | 6424 struct buffer_head *di_bh = NULL; in ocfs2_free_cached_blocks() local 6436 ret = ocfs2_inode_lock(inode, &di_bh, 1); in ocfs2_free_cached_blocks() 6458 ret = ocfs2_free_suballoc_bits(handle, inode, di_bh, in ocfs2_free_cached_blocks() 6472 brelse(di_bh); in ocfs2_free_cached_blocks() 7080 struct buffer_head *di_bh) in ocfs2_convert_inline_data_to_extents() argument 7158 ret = ocfs2_read_inline_data(inode, folio, di_bh); in ocfs2_convert_inline_data_to_extents() 7177 ocfs2_journal_dirty(handle, di_bh); in ocfs2_convert_inline_data_to_extents() 7233 struct buffer_head *di_bh) in ocfs2_commit_truncate() argument 7248 ocfs2_init_dinode_extent_tree(&et, INODE_CACHE(inode), di_bh); in ocfs2_commit_truncate() 7254 path = ocfs2_new_path(di_bh, &di->id2.i_list, in ocfs2_commit_truncate() [all …]
|
| H A D | suballoc.c | 1633 struct buffer_head *di_bh, in ocfs2_alloc_dinode_update_counts() argument 1639 struct ocfs2_dinode *di = (struct ocfs2_dinode *) di_bh->b_data; in ocfs2_alloc_dinode_update_counts() 1642 ret = ocfs2_journal_access_di(handle, INODE_CACHE(inode), di_bh, in ocfs2_alloc_dinode_update_counts() 1652 ocfs2_journal_dirty(handle, di_bh); in ocfs2_alloc_dinode_update_counts() 1659 struct buffer_head *di_bh, in ocfs2_rollback_alloc_dinode_counts() argument 1664 struct ocfs2_dinode *di = (struct ocfs2_dinode *) di_bh->b_data; in ocfs2_rollback_alloc_dinode_counts()
|