Home
last modified time | relevance | path

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

/openbmc/linux/fs/ocfs2/
H 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 …]
H 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,
H A Dfile.c1054 BUG_ON(!di_bh); in ocfs2_extend_file()
1507 brelse(di_bh); in ocfs2_allocate_unwritten_extents()
2058 brelse(di_bh); in __ocfs2_change_file_space()
2214 brelse(*di_bh); in ocfs2_inode_lock_for_extent_tree()
2215 *di_bh = NULL; in ocfs2_inode_lock_for_extent_tree()
2231 brelse(*di_bh); in ocfs2_inode_unlock_for_extent_tree()
2232 *di_bh = NULL; in ocfs2_inode_unlock_for_extent_tree()
2255 &di_bh, in ocfs2_prepare_inode_for_write()
2292 &di_bh, in ocfs2_prepare_inode_for_write()
2309 &di_bh, in ocfs2_prepare_inode_for_write()
[all …]
H 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()
H 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 …]
H 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()
2286 brelse(di_bh); in ocfs2_dio_wr_get_block()
[all …]
H 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);
H A Ddir.c401 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()
1373 brelse(di_bh); in ocfs2_delete_entry_id()
1803 brelse(di_bh); in ocfs2_dir_foreach_blk_id()
2111 brelse(di_bh); in ocfs2_empty_dir_dx()
2193 struct buffer_head *di_bh) in ocfs2_fill_new_dir_id() argument
2521 struct buffer_head *di_bh, in ocfs2_fill_new_dir_dx() argument
2687 struct buffer_head *di_bh) in ocfs2_new_dx_should_be_inline() argument
[all …]
H 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 …]
H 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);
H 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()
H 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
3381 struct buffer_head *di_bh, in ocfs2_refcount_cow_hunk() argument
3457 struct buffer_head *di_bh, in ocfs2_refcount_cow() argument
[all …]
H 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,
H A Dnamei.c2625 struct buffer_head *di_bh = NULL; in ocfs2_add_inode_to_orphan() local
2630 status = ocfs2_inode_lock(inode, &di_bh, 1); in ocfs2_add_inode_to_orphan()
2636 di = (struct ocfs2_dinode *) di_bh->b_data; in ocfs2_add_inode_to_orphan()
2689 brelse(di_bh); in ocfs2_add_inode_to_orphan()
2741 di_bh, in ocfs2_del_inode_from_orphan()
2756 ocfs2_journal_dirty(handle, di_bh); in ocfs2_del_inode_from_orphan()
2782 struct buffer_head *di_bh = NULL; in ocfs2_mv_orphaned_inode_to_new() local
2852 di_bh, OCFS2_JOURNAL_ACCESS_WRITE); in ocfs2_mv_orphaned_inode_to_new()
2865 di = (struct ocfs2_dinode *)di_bh->b_data; in ocfs2_mv_orphaned_inode_to_new()
2871 ocfs2_journal_dirty(handle, di_bh); in ocfs2_mv_orphaned_inode_to_new()
[all …]
H A Dnamei.h32 struct inode *inode, struct buffer_head *di_bh,
H A Dsuballoc.h75 struct buffer_head *di_bh,
79 struct buffer_head *di_bh,
H A Djournal.c2263 struct buffer_head *di_bh = NULL; in ocfs2_recover_orphans() local
2296 ret = ocfs2_inode_lock(inode, &di_bh, 1); in ocfs2_recover_orphans()
2302 di = (struct ocfs2_dinode *)di_bh->b_data; in ocfs2_recover_orphans()
2305 ret = ocfs2_truncate_file(inode, di_bh, in ocfs2_recover_orphans()
2314 di_bh, 0, 0); in ocfs2_recover_orphans()
2320 brelse(di_bh); in ocfs2_recover_orphans()
2321 di_bh = NULL; in ocfs2_recover_orphans()
2419 struct buffer_head *di_bh = NULL; in ocfs2_check_journals_nolocks() local
2430 di = (struct ocfs2_dinode *) di_bh->b_data; in ocfs2_check_journals_nolocks()
2439 brelse(di_bh); in ocfs2_check_journals_nolocks()
[all …]
H A Dextent_map.h41 int ocfs2_overwrite_io(struct inode *inode, struct buffer_head *di_bh,
H A Dxattr.c1025 struct buffer_head *di_bh = NULL; in ocfs2_listxattr() local
1060 brelse(di_bh); in ocfs2_listxattr()
1275 struct buffer_head *di_bh, in ocfs2_xattr_get_nolock() argument
1321 struct buffer_head *di_bh = NULL; in ocfs2_xattr_get() local
1336 brelse(di_bh); in ocfs2_xattr_get()
2416 struct buffer_head *di_bh, in ocfs2_xattr_ibody_remove() argument
2425 .vb_bh = di_bh, in ocfs2_xattr_ibody_remove()
2711 struct buffer_head *di_bh, in ocfs2_xattr_ibody_init() argument
3440 struct buffer_head *di_bh, in ocfs2_xattr_set_handle() argument
3667 brelse(di_bh); in ocfs2_xattr_set()
[all …]
H A Ddir.h96 int ocfs2_dx_dir_truncate(struct inode *dir, struct buffer_head *di_bh);
H 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 …]
H 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()