Home
last modified time | relevance | path

Searched refs:di_bh (Results 1 – 22 of 22) sorted by relevance

/linux-6.3-rc2/fs/ocfs2/
A Dacl.c114 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 …]
A Dfile.c1055 BUG_ON(!di_bh); in ocfs2_extend_file()
1508 brelse(di_bh); in ocfs2_allocate_unwritten_extents()
2057 brelse(di_bh); in __ocfs2_change_file_space()
2207 brelse(*di_bh); in ocfs2_inode_lock_for_extent_tree()
2208 *di_bh = NULL; in ocfs2_inode_lock_for_extent_tree()
2224 brelse(*di_bh); in ocfs2_inode_unlock_for_extent_tree()
2225 *di_bh = NULL; in ocfs2_inode_unlock_for_extent_tree()
2248 &di_bh, in ocfs2_prepare_inode_for_write()
2285 &di_bh, in ocfs2_prepare_inode_for_write()
2302 &di_bh, in ocfs2_prepare_inode_for_write()
[all …]
A Dfile.h43 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,
A Dmmap.c47 struct buffer_head *di_bh, struct page *page) in __ocfs2_page_mkwrite() argument
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()
A Dextent_map.c397 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()
601 struct buffer_head *di_bh = NULL; in ocfs2_get_clusters() local
650 brelse(di_bh); in ocfs2_get_clusters()
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, 0); in ocfs2_fiemap()
808 brelse(di_bh); in ocfs2_fiemap()
870 struct buffer_head *di_bh = NULL; in ocfs2_seek_data_hole_offset() local
875 ret = ocfs2_inode_lock(inode, &di_bh, 0); in ocfs2_seek_data_hole_offset()
[all …]
A Daops.c220 struct buffer_head *di_bh) in ocfs2_read_inline_data() argument
259 struct buffer_head *di_bh = NULL; in ocfs2_readpage_inline() local
274 brelse(di_bh); in ocfs2_readpage_inline()
840 struct buffer_head *di_bh) in ocfs2_alloc_write_ctxt() argument
853 get_bh(di_bh); in ocfs2_alloc_write_ctxt()
854 wc->w_di_bh = di_bh; in ocfs2_alloc_write_ctxt()
1610 struct buffer_head *di_bh, in ocfs2_expand_nonsparse_inode() argument
1912 brelse(di_bh); in ocfs2_write_begin()
1919 brelse(di_bh); in ocfs2_write_begin()
2271 brelse(di_bh); in ocfs2_dio_wr_get_block()
[all …]
A Daops.h42 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);
A Ddir.c395 struct buffer_head *di_bh = NULL; in ocfs2_find_entry_id() local
411 return di_bh; in ocfs2_find_entry_id()
413 brelse(di_bh); in ocfs2_find_entry_id()
1038 brelse(di_bh); in ocfs2_find_entry_dx()
1367 brelse(di_bh); in ocfs2_delete_entry_id()
1794 brelse(di_bh); in ocfs2_dir_foreach_blk_id()
2101 brelse(di_bh); in ocfs2_empty_dir_dx()
2183 struct buffer_head *di_bh) in ocfs2_fill_new_dir_id() argument
2511 struct buffer_head *di_bh, in ocfs2_fill_new_dir_dx() argument
2677 struct buffer_head *di_bh) in ocfs2_new_dx_should_be_inline() argument
[all …]
A Dinode.c635 struct buffer_head *di_bh, in ocfs2_remove_inode() argument
691 ocfs2_journal_dirty(handle, di_bh); in ocfs2_remove_inode()
749 struct buffer_head *di_bh) in ocfs2_wipe_inode() argument
806 status = ocfs2_xattr_remove(inode, di_bh); in ocfs2_wipe_inode()
888 struct buffer_head *di_bh, in ocfs2_query_inode_wipe() argument
914 di = (struct ocfs2_dinode *) di_bh->b_data; in ocfs2_query_inode_wipe()
996 struct buffer_head *di_bh = NULL; in ocfs2_delete_inode() local
1044 status = ocfs2_inode_lock(inode, &di_bh, 1); in ocfs2_delete_inode()
1052 di = (struct ocfs2_dinode *)di_bh->b_data; in ocfs2_delete_inode()
1079 status = ocfs2_wipe_inode(inode, di_bh); in ocfs2_delete_inode()
[all …]
A Drefcounttree.h46 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);
A Dmove_extents.c758 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()
A Drefcounttree.c397 struct buffer_head *di_bh = NULL; in ocfs2_get_refcount_block() local
410 brelse(di_bh); in ocfs2_get_refcount_block()
550 struct buffer_head *di_bh) in ocfs2_create_refcount_tree() argument
646 ocfs2_journal_dirty(handle, di_bh); in ocfs2_create_refcount_tree()
691 struct buffer_head *di_bh, in ocfs2_set_refcount_tree() argument
743 ocfs2_journal_dirty(handle, di_bh); in ocfs2_set_refcount_tree()
839 ocfs2_journal_dirty(handle, di_bh); in ocfs2_remove_refcount_tree()
924 struct buffer_head *di_bh) in ocfs2_try_remove_refcount_tree() argument
3380 struct buffer_head *di_bh, in ocfs2_refcount_cow_hunk() argument
3456 struct buffer_head *di_bh, in ocfs2_refcount_cow() argument
[all …]
A Dalloc.h157 struct buffer_head *di_bh);
219 struct buffer_head *di_bh);
220 int ocfs2_truncate_inline(struct inode *inode, struct buffer_head *di_bh,
A Dnamei.c2616 struct buffer_head *di_bh = NULL; in ocfs2_add_inode_to_orphan() local
2621 status = ocfs2_inode_lock(inode, &di_bh, 1); in ocfs2_add_inode_to_orphan()
2627 di = (struct ocfs2_dinode *) di_bh->b_data; in ocfs2_add_inode_to_orphan()
2680 brelse(di_bh); in ocfs2_add_inode_to_orphan()
2732 di_bh, in ocfs2_del_inode_from_orphan()
2747 ocfs2_journal_dirty(handle, di_bh); in ocfs2_del_inode_from_orphan()
2773 struct buffer_head *di_bh = NULL; in ocfs2_mv_orphaned_inode_to_new() local
2843 di_bh, OCFS2_JOURNAL_ACCESS_WRITE); in ocfs2_mv_orphaned_inode_to_new()
2856 di = (struct ocfs2_dinode *)di_bh->b_data; in ocfs2_mv_orphaned_inode_to_new()
2862 ocfs2_journal_dirty(handle, di_bh); in ocfs2_mv_orphaned_inode_to_new()
[all …]
A Dsuballoc.h75 struct buffer_head *di_bh,
79 struct buffer_head *di_bh,
A Dnamei.h32 struct inode *inode, struct buffer_head *di_bh,
A Djournal.c2227 struct buffer_head *di_bh = NULL; in ocfs2_recover_orphans() local
2260 ret = ocfs2_inode_lock(inode, &di_bh, 1); in ocfs2_recover_orphans()
2266 di = (struct ocfs2_dinode *)di_bh->b_data; in ocfs2_recover_orphans()
2269 ret = ocfs2_truncate_file(inode, di_bh, in ocfs2_recover_orphans()
2278 di_bh, 0, 0); in ocfs2_recover_orphans()
2284 brelse(di_bh); in ocfs2_recover_orphans()
2285 di_bh = NULL; in ocfs2_recover_orphans()
2383 struct buffer_head *di_bh = NULL; in ocfs2_check_journals_nolocks() local
2394 di = (struct ocfs2_dinode *) di_bh->b_data; in ocfs2_check_journals_nolocks()
2403 brelse(di_bh); in ocfs2_check_journals_nolocks()
[all …]
A Dxattr.c1029 struct buffer_head *di_bh = NULL; in ocfs2_listxattr() local
1064 brelse(di_bh); in ocfs2_listxattr()
1279 struct buffer_head *di_bh, in ocfs2_xattr_get_nolock() argument
1325 struct buffer_head *di_bh = NULL; in ocfs2_xattr_get() local
1340 brelse(di_bh); in ocfs2_xattr_get()
2420 struct buffer_head *di_bh, in ocfs2_xattr_ibody_remove() argument
2429 .vb_bh = di_bh, in ocfs2_xattr_ibody_remove()
2715 struct buffer_head *di_bh, in ocfs2_xattr_ibody_init() argument
3444 struct buffer_head *di_bh, in ocfs2_xattr_set_handle() argument
3671 brelse(di_bh); in ocfs2_xattr_set()
[all …]
A Dextent_map.h41 int ocfs2_overwrite_io(struct inode *inode, struct buffer_head *di_bh,
A Ddir.h96 int ocfs2_dx_dir_truncate(struct inode *dir, struct buffer_head *di_bh);
A Dalloc.c6394 struct buffer_head *di_bh = NULL; in ocfs2_free_cached_blocks() local
6406 ret = ocfs2_inode_lock(inode, &di_bh, 1); in ocfs2_free_cached_blocks()
6428 ret = ocfs2_free_suballoc_bits(handle, inode, di_bh, in ocfs2_free_cached_blocks()
6442 brelse(di_bh); in ocfs2_free_cached_blocks()
7053 struct buffer_head *di_bh) in ocfs2_convert_inline_data_to_extents() argument
7131 ret = ocfs2_read_inline_data(inode, page, di_bh); in ocfs2_convert_inline_data_to_extents()
7150 ocfs2_journal_dirty(handle, di_bh); in ocfs2_convert_inline_data_to_extents()
7206 struct buffer_head *di_bh) in ocfs2_commit_truncate() argument
7221 ocfs2_init_dinode_extent_tree(&et, INODE_CACHE(inode), di_bh); in ocfs2_commit_truncate()
7227 path = ocfs2_new_path(di_bh, &di->id2.i_list, in ocfs2_commit_truncate()
[all …]
A Dsuballoc.c1579 struct buffer_head *di_bh, in ocfs2_alloc_dinode_update_counts() argument
1585 struct ocfs2_dinode *di = (struct ocfs2_dinode *) di_bh->b_data; in ocfs2_alloc_dinode_update_counts()
1588 ret = ocfs2_journal_access_di(handle, INODE_CACHE(inode), di_bh, in ocfs2_alloc_dinode_update_counts()
1598 ocfs2_journal_dirty(handle, di_bh); in ocfs2_alloc_dinode_update_counts()
1605 struct buffer_head *di_bh, in ocfs2_rollback_alloc_dinode_counts() argument
1610 struct ocfs2_dinode *di = (struct ocfs2_dinode *) di_bh->b_data; in ocfs2_rollback_alloc_dinode_counts()

Completed in 77 milliseconds