Searched refs:di_bh (Results 1 - 21 of 21) sorted by relevance

/fs/ocfs2/
H A Dacl.c124 struct buffer_head *di_bh)
142 retval = ocfs2_xattr_get_nolock(inode, di_bh, name_index, "", NULL, 0);
147 retval = ocfs2_xattr_get_nolock(inode, di_bh, name_index,
165 * will not have di_bh or a journal handle to pass, in which case it
168 static int ocfs2_acl_set_mode(struct inode *inode, struct buffer_head *di_bh, argument
174 if (di_bh == NULL) {
175 ret = ocfs2_read_inode_block(inode, &di_bh);
181 get_bh(di_bh);
195 di = (struct ocfs2_dinode *)di_bh->b_data;
196 ret = ocfs2_journal_access_di(handle, INODE_CACHE(inode), di_bh,
122 ocfs2_get_acl_nolock(struct inode *inode, int type, struct buffer_head *di_bh) argument
224 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) argument
295 struct buffer_head *di_bh = NULL; local
[all...]
H A Dacl.h33 struct buffer_head *di_bh,
H A Dfile.h55 struct buffer_head *di_bh,
57 int ocfs2_extend_no_holes(struct inode *inode, struct buffer_head *di_bh,
59 int ocfs2_zero_extend(struct inode *inode, struct buffer_head *di_bh,
H A Dmmap.c61 static int __ocfs2_page_mkwrite(struct file *file, struct buffer_head *di_bh, argument
108 &fsdata, di_bh, page);
135 struct buffer_head *di_bh = NULL; local
147 ret = ocfs2_inode_lock(inode, &di_bh, 1);
160 ret = __ocfs2_page_mkwrite(vma->vm_file, di_bh, page);
164 brelse(di_bh);
H A Daops.h54 struct buffer_head *di_bh, struct page *mmap_page);
57 struct buffer_head *di_bh);
58 int ocfs2_size_fits_inline_data(struct buffer_head *di_bh, u64 new_size);
H A Drefcounttree.h56 struct buffer_head *di_bh,
105 int ocfs2_remove_refcount_tree(struct inode *inode, struct buffer_head *di_bh);
107 struct buffer_head *di_bh);
H A Dfile.c320 struct buffer_head *di_bh,
334 ret = ocfs2_set_inode_size(handle, inode, di_bh,
445 struct buffer_head *di_bh,
452 /* We trust di_bh because it comes from ocfs2_inode_lock(), which
454 fe = (struct ocfs2_dinode *) di_bh->b_data;
493 status = ocfs2_truncate_inline(inode, di_bh, new_i_size,
505 status = ocfs2_orphan_for_truncate(osb, inode, di_bh, new_i_size);
511 status = ocfs2_commit_truncate(osb, inode, di_bh);
523 status = ocfs2_try_remove_refcount_tree(inode, di_bh);
717 struct buffer_head *di_bh)
319 ocfs2_simple_size_update(struct inode *inode, struct buffer_head *di_bh, u64 new_i_size) argument
444 ocfs2_truncate_file(struct inode *inode, struct buffer_head *di_bh, u64 new_i_size) argument
716 ocfs2_zero_start_ordered_transaction(struct inode *inode, struct buffer_head *di_bh) argument
757 ocfs2_write_zero_page(struct inode *inode, u64 abs_from, u64 abs_to, struct buffer_head *di_bh) 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) argument
937 ocfs2_zero_extend_range(struct inode *inode, u64 range_start, u64 range_end, struct buffer_head *di_bh) argument
971 ocfs2_zero_extend(struct inode *inode, struct buffer_head *di_bh, loff_t zero_to_size) argument
1011 ocfs2_extend_no_holes(struct inode *inode, struct buffer_head *di_bh, u64 new_i_size, u64 zero_to) argument
1053 ocfs2_extend_file(struct inode *inode, struct buffer_head *di_bh, u64 new_i_size) argument
1421 struct buffer_head *di_bh = NULL; local
1665 ocfs2_remove_inode_range(struct inode *inode, struct buffer_head *di_bh, u64 byte_start, u64 byte_len) argument
1839 struct buffer_head *di_bh = NULL; local
2080 struct buffer_head *di_bh = NULL; local
[all...]
H A Dextent_map.c411 struct buffer_head *di_bh,
427 di = (struct ocfs2_dinode *) di_bh->b_data;
614 struct buffer_head *di_bh = NULL; local
628 ret = ocfs2_read_inode_block(inode, &di_bh);
634 ret = ocfs2_get_clusters_nocache(inode, di_bh, v_cluster, &hole_len,
663 brelse(di_bh);
713 static int ocfs2_fiemap_inline(struct inode *inode, struct buffer_head *di_bh, argument
724 di = (struct ocfs2_dinode *)di_bh->b_data;
757 struct buffer_head *di_bh = NULL; local
764 ret = ocfs2_inode_lock(inode, &di_bh,
410 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) argument
841 struct buffer_head *di_bh = NULL; local
[all...]
H A Ddir.c414 struct buffer_head *di_bh = NULL; local
418 ret = ocfs2_read_inode_block(dir, &di_bh);
424 di = (struct ocfs2_dinode *)di_bh->b_data;
427 found = ocfs2_search_dirblock(di_bh, dir, name, namelen, 0,
430 return di_bh;
432 brelse(di_bh);
1037 struct buffer_head *di_bh = NULL; local
1042 ret = ocfs2_read_inode_block(dir, &di_bh);
1048 di = (struct ocfs2_dinode *)di_bh->b_data;
1067 brelse(di_bh);
1380 struct buffer_head *di_bh = NULL; local
1768 struct buffer_head *di_bh = NULL; local
2115 struct buffer_head *di_bh = NULL; local
2218 ocfs2_fill_new_dir_id(struct ocfs2_super *osb, handle_t *handle, struct inode *parent, struct inode *inode, struct buffer_head *di_bh) argument
2321 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) argument
2546 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) argument
2715 ocfs2_new_dx_should_be_inline(struct inode *dir, struct buffer_head *di_bh) argument
2803 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) argument
3374 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) argument
3926 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) argument
4178 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) argument
4357 ocfs2_dx_dir_remove_index(struct inode *dir, struct buffer_head *di_bh, struct buffer_head *dx_root_bh) argument
4438 ocfs2_dx_dir_truncate(struct inode *dir, struct buffer_head *di_bh) argument
[all...]
H A Dinode.c613 struct buffer_head *di_bh,
622 struct ocfs2_dinode *di = (struct ocfs2_dinode *) di_bh->b_data;
660 status = ocfs2_journal_access_di(handle, INODE_CACHE(inode), di_bh,
669 ocfs2_journal_dirty(handle, di_bh);
671 ocfs2_remove_from_cache(INODE_CACHE(inode), di_bh); local
727 struct buffer_head *di_bh)
733 struct ocfs2_dinode *di = (struct ocfs2_dinode *) di_bh->b_data;
768 status = ocfs2_truncate_for_delete(osb, inode, di_bh);
776 status = ocfs2_dx_dir_truncate(inode, di_bh);
784 status = ocfs2_xattr_remove(inode, di_bh);
612 ocfs2_remove_inode(struct inode *inode, struct buffer_head *di_bh, struct inode *orphan_dir_inode, struct buffer_head *orphan_dir_bh) argument
726 ocfs2_wipe_inode(struct inode *inode, struct buffer_head *di_bh) argument
865 ocfs2_query_inode_wipe(struct inode *inode, struct buffer_head *di_bh, int *wipe) argument
974 struct buffer_head *di_bh = NULL; local
[all...]
H A Daops.c218 struct buffer_head *di_bh)
222 struct ocfs2_dinode *di = (struct ocfs2_dinode *)di_bh->b_data;
257 struct buffer_head *di_bh = NULL; local
262 ret = ocfs2_read_inode_block(inode, &di_bh);
268 ret = ocfs2_read_inline_data(inode, page, di_bh);
272 brelse(di_bh);
925 unsigned len, struct buffer_head *di_bh)
938 get_bh(di_bh);
939 wc->w_di_bh = di_bh;
1531 int ocfs2_size_fits_inline_data(struct buffer_head *di_bh, u6 argument
217 ocfs2_read_inline_data(struct inode *inode, struct page *page, struct buffer_head *di_bh) argument
923 ocfs2_alloc_write_ctxt(struct ocfs2_write_ctxt **wcp, struct ocfs2_super *osb, loff_t pos, unsigned len, struct buffer_head *di_bh) argument
1611 ocfs2_expand_nonsparse_inode(struct inode *inode, struct buffer_head *di_bh, loff_t pos, unsigned len, struct ocfs2_write_ctxt *wc) argument
1634 ocfs2_zero_tail(struct inode *inode, struct buffer_head *di_bh, loff_t pos) argument
1683 ocfs2_write_begin_nolock(struct file *filp, struct address_space *mapping, loff_t pos, unsigned len, unsigned flags, struct page **pagep, void **fsdata, struct buffer_head *di_bh, struct page *mmap_page) argument
1914 struct buffer_head *di_bh = NULL; local
[all...]
H A Dsuballoc.h91 struct buffer_head *di_bh,
95 struct buffer_head *di_bh,
H A Ddir.h112 int ocfs2_dx_dir_truncate(struct inode *dir, struct buffer_head *di_bh);
H A Dalloc.h173 struct buffer_head *di_bh);
233 struct buffer_head *di_bh);
234 int ocfs2_truncate_inline(struct inode *inode, struct buffer_head *di_bh,
H A Dmove_extents.c763 static int __ocfs2_move_extents_range(struct buffer_head *di_bh, argument
771 struct ocfs2_dinode *di = (struct ocfs2_dinode *)di_bh->b_data;
783 ocfs2_init_dinode_extent_tree(&context->et, INODE_CACHE(inode), di_bh);
904 struct buffer_head *di_bh = NULL; local
924 status = ocfs2_inode_lock(inode, &di_bh, 1);
935 status = __ocfs2_move_extents_range(di_bh, context);
953 status = ocfs2_journal_access_di(handle, INODE_CACHE(inode), di_bh,
960 di = (struct ocfs2_dinode *)di_bh->b_data;
966 ocfs2_journal_dirty(handle, di_bh);
972 brelse(di_bh);
[all...]
H A Drefcounttree.c406 struct buffer_head *di_bh = NULL; local
409 ret = ocfs2_read_inode_block(inode, &di_bh);
417 di = (struct ocfs2_dinode *)di_bh->b_data;
419 brelse(di_bh);
560 struct buffer_head *di_bh)
565 struct ocfs2_dinode *di = (struct ocfs2_dinode *)di_bh->b_data;
593 ret = ocfs2_journal_access_di(handle, INODE_CACHE(inode), di_bh,
656 ocfs2_journal_dirty(handle, di_bh);
701 struct buffer_head *di_bh,
706 struct ocfs2_dinode *di = (struct ocfs2_dinode *)di_bh
559 ocfs2_create_refcount_tree(struct inode *inode, struct buffer_head *di_bh) argument
700 ocfs2_set_refcount_tree(struct inode *inode, struct buffer_head *di_bh, u64 refcount_loc) argument
764 ocfs2_remove_refcount_tree(struct inode *inode, struct buffer_head *di_bh) argument
933 ocfs2_try_remove_refcount_tree(struct inode *inode, struct buffer_head *di_bh) argument
3429 ocfs2_refcount_cow_hunk(struct inode *inode, struct buffer_head *di_bh, u32 cpos, u32 write_len, u32 max_cpos) argument
3506 ocfs2_refcount_cow(struct inode *inode, struct buffer_head *di_bh, u32 cpos, u32 write_len, u32 max_cpos) argument
3779 ocfs2_change_ctime(struct inode *inode, struct buffer_head *di_bh) argument
3813 ocfs2_attach_refcount_tree(struct inode *inode, struct buffer_head *di_bh) argument
[all...]
H A Dxattr.c1021 struct buffer_head *di_bh = NULL; local
1031 ret = ocfs2_inode_lock(dentry->d_inode, &di_bh, 0);
1037 di = (struct ocfs2_dinode *)di_bh->b_data;
1056 brelse(di_bh);
1267 struct buffer_head *di_bh,
1289 xis.inode_bh = xbs.inode_bh = di_bh;
1290 di = (struct ocfs2_dinode *)di_bh->b_data;
1313 struct buffer_head *di_bh = NULL; local
1315 ret = ocfs2_inode_lock(inode, &di_bh, 0);
1321 ret = ocfs2_xattr_get_nolock(inode, di_bh, name_inde
1266 ocfs2_xattr_get_nolock(struct inode *inode, struct buffer_head *di_bh, int name_index, const char *name, void *buffer, size_t buffer_size) argument
2406 ocfs2_xattr_ibody_remove(struct inode *inode, struct buffer_head *di_bh, struct ocfs2_caching_info *ref_ci, struct buffer_head *ref_root_bh) argument
2545 ocfs2_xattr_remove(struct inode *inode, struct buffer_head *di_bh) argument
2701 ocfs2_xattr_ibody_init(struct inode *inode, struct buffer_head *di_bh, struct ocfs2_xattr_set_ctxt *ctxt) argument
3429 ocfs2_xattr_set_handle(handle_t *handle, struct inode *inode, struct buffer_head *di_bh, int name_index, const char *name, const void *value, size_t value_len, int flags, struct ocfs2_alloc_context *meta_ac, struct ocfs2_alloc_context *data_ac) argument
3519 struct buffer_head *di_bh = NULL; local
7309 ocfs2_init_security_set(handle_t *handle, struct inode *inode, struct buffer_head *di_bh, struct ocfs2_security_xattr_info *si, struct ocfs2_alloc_context *xattr_ac, struct ocfs2_alloc_context *data_ac) argument
[all...]
H A Dalloc.c6323 struct buffer_head *di_bh = NULL; local
6335 ret = ocfs2_inode_lock(inode, &di_bh, 1);
6357 ret = ocfs2_free_suballoc_bits(handle, inode, di_bh,
6380 brelse(di_bh);
6835 struct buffer_head *di_bh)
6844 struct ocfs2_dinode *di = (struct ocfs2_dinode *)di_bh->b_data;
6877 ret = ocfs2_journal_access_di(handle, INODE_CACHE(inode), di_bh,
6928 ret = ocfs2_read_inline_data(inode, pages[0], di_bh);
6952 ocfs2_journal_dirty(handle, di_bh);
6960 ocfs2_init_dinode_extent_tree(&et, INODE_CACHE(inode), di_bh);
6834 ocfs2_convert_inline_data_to_extents(struct inode *inode, struct buffer_head *di_bh) argument
7009 ocfs2_commit_truncate(struct ocfs2_super *osb, struct inode *inode, struct buffer_head *di_bh) argument
7163 ocfs2_truncate_inline(struct inode *inode, struct buffer_head *di_bh, unsigned int start, unsigned int end, int trunc) argument
[all...]
H A Djournal.c2224 struct buffer_head *di_bh = NULL; local
2229 ret = ocfs2_read_journal_inode(osb, slot, &di_bh, NULL);
2235 di = (struct ocfs2_dinode *) di_bh->b_data;
2244 brelse(di_bh);
2245 di_bh = NULL;
H A Dnamei.c2514 struct buffer_head *di_bh = NULL; local
2569 status = ocfs2_read_inode_block(inode, &di_bh);
2584 di_bh, OCFS2_JOURNAL_ACCESS_WRITE);
2597 di = (struct ocfs2_dinode *)di_bh->b_data;
2603 ocfs2_journal_dirty(handle, di_bh);
2632 brelse(di_bh);
H A Dsuballoc.c1586 struct buffer_head *di_bh,
1592 struct ocfs2_dinode *di = (struct ocfs2_dinode *) di_bh->b_data;
1595 ret = ocfs2_journal_access_di(handle, INODE_CACHE(inode), di_bh,
1605 ocfs2_journal_dirty(handle, di_bh);
1612 struct buffer_head *di_bh,
1617 struct ocfs2_dinode *di = (struct ocfs2_dinode *) di_bh->b_data;
1584 ocfs2_alloc_dinode_update_counts(struct inode *inode, handle_t *handle, struct buffer_head *di_bh, u32 num_bits, u16 chain) argument
1611 ocfs2_rollback_alloc_dinode_counts(struct inode *inode, struct buffer_head *di_bh, u32 num_bits, u16 chain) argument

Completed in 227 milliseconds