/linux-master/fs/ocfs2/ |
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 | acl.c | 114 struct buffer_head *di_bh) 132 retval = ocfs2_xattr_get_nolock(inode, di_bh, name_index, "", NULL, 0); 137 retval = ocfs2_xattr_get_nolock(inode, di_bh, name_index, 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, argument 164 if (di_bh == NULL) { 165 ret = ocfs2_read_inode_block(inode, &di_bh); 171 get_bh(di_bh); 185 di = (struct ocfs2_dinode *)di_bh->b_data; 186 ret = ocfs2_journal_access_di(handle, INODE_CACHE(inode), di_bh, 112 ocfs2_get_acl_nolock(struct inode *inode, int type, struct buffer_head *di_bh) 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) argument 296 struct buffer_head *di_bh = NULL; 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) 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 | mmap.c | 47 struct buffer_head *di_bh, struct page *page) 94 &locked_page, &fsdata, di_bh, page); 117 struct buffer_head *di_bh = NULL; local 130 err = ocfs2_inode_lock(inode, &di_bh, 1); 144 ret = __ocfs2_page_mkwrite(vmf->vma->vm_file, di_bh, page); 148 brelse(di_bh); 46 __ocfs2_page_mkwrite(struct file *file, struct buffer_head *di_bh, struct page *page) argument
|
H A D | namei.h | 32 struct inode *inode, struct buffer_head *di_bh,
|
H A D | file.c | 314 struct buffer_head *di_bh, 328 ret = ocfs2_set_inode_size(handle, inode, di_bh, 439 struct buffer_head *di_bh, 446 /* We trust di_bh because it comes from ocfs2_inode_lock(), which 448 fe = (struct ocfs2_dinode *) di_bh->b_data; 488 status = ocfs2_truncate_inline(inode, di_bh, new_i_size, 500 status = ocfs2_orphan_for_truncate(osb, inode, di_bh, new_i_size); 509 status = ocfs2_commit_truncate(osb, inode, di_bh); 521 status = ocfs2_try_remove_refcount_tree(inode, di_bh); 712 struct buffer_head *di_bh, 313 ocfs2_simple_size_update(struct inode *inode, struct buffer_head *di_bh, u64 new_i_size) argument 438 ocfs2_truncate_file(struct inode *inode, struct buffer_head *di_bh, u64 new_i_size) argument 711 ocfs2_zero_start_ordered_transaction(struct inode *inode, struct buffer_head *di_bh, loff_t start_byte, loff_t length) argument 754 ocfs2_write_zero_page(struct inode *inode, u64 abs_from, u64 abs_to, struct buffer_head *di_bh) argument 857 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 931 ocfs2_zero_extend_range(struct inode *inode, u64 range_start, u64 range_end, struct buffer_head *di_bh) argument 965 ocfs2_zero_extend(struct inode *inode, struct buffer_head *di_bh, loff_t zero_to_size) argument 1005 ocfs2_extend_no_holes(struct inode *inode, struct buffer_head *di_bh, u64 new_i_size, u64 zero_to) argument 1047 ocfs2_extend_file(struct inode *inode, struct buffer_head *di_bh, u64 new_i_size) argument 1439 struct buffer_head *di_bh = NULL; local 1757 ocfs2_remove_inode_range(struct inode *inode, struct buffer_head *di_bh, u64 byte_start, u64 byte_len) argument 1930 struct buffer_head *di_bh = NULL; local 2177 ocfs2_inode_lock_for_extent_tree(struct inode *inode, struct buffer_head **di_bh, int meta_level, int write_sem, int wait) argument 2219 ocfs2_inode_unlock_for_extent_tree(struct inode *inode, struct buffer_head **di_bh, int meta_level, int write_sem) argument 2243 struct buffer_head *di_bh = NULL; local [all...] |
H A D | aops.c | 220 struct buffer_head *di_bh) 224 struct ocfs2_dinode *di = (struct ocfs2_dinode *)di_bh->b_data; 259 struct buffer_head *di_bh = NULL; local 264 ret = ocfs2_read_inode_block(inode, &di_bh); 270 ret = ocfs2_read_inline_data(inode, page, di_bh); 274 brelse(di_bh); 838 struct buffer_head *di_bh) 851 get_bh(di_bh); 852 wc->w_di_bh = di_bh; 1527 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) argument 835 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) argument 1607 ocfs2_expand_nonsparse_inode(struct inode *inode, struct buffer_head *di_bh, loff_t pos, unsigned len, struct ocfs2_write_ctxt *wc) argument 1632 ocfs2_zero_tail(struct inode *inode, struct buffer_head *di_bh, loff_t pos) argument 1644 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) argument 1885 struct buffer_head *di_bh = NULL; local 2148 struct buffer_head *di_bh = NULL; local 2301 struct buffer_head *di_bh = NULL; local [all...] |
H A D | extent_map.c | 397 struct buffer_head *di_bh, 413 di = (struct ocfs2_dinode *) di_bh->b_data; 601 struct buffer_head *di_bh = NULL; local 615 ret = ocfs2_read_inode_block(inode, &di_bh); 621 ret = ocfs2_get_clusters_nocache(inode, di_bh, v_cluster, &hole_len, 650 brelse(di_bh); 700 static int ocfs2_fiemap_inline(struct inode *inode, struct buffer_head *di_bh, argument 711 di = (struct ocfs2_dinode *)di_bh->b_data; 742 struct buffer_head *di_bh = NULL; local 749 ret = ocfs2_inode_lock(inode, &di_bh, 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) argument 819 ocfs2_overwrite_io(struct inode *inode, struct buffer_head *di_bh, u64 map_start, u64 map_len) argument 870 struct buffer_head *di_bh = NULL; 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 | inode.c | 635 struct buffer_head *di_bh, 644 struct ocfs2_dinode *di = (struct ocfs2_dinode *) di_bh->b_data; 682 status = ocfs2_journal_access_di(handle, INODE_CACHE(inode), di_bh, 691 ocfs2_journal_dirty(handle, di_bh); 693 ocfs2_remove_from_cache(INODE_CACHE(inode), di_bh); local 749 struct buffer_head *di_bh) 755 struct ocfs2_dinode *di = (struct ocfs2_dinode *) di_bh->b_data; 790 status = ocfs2_truncate_for_delete(osb, inode, di_bh); 798 status = ocfs2_dx_dir_truncate(inode, di_bh); 806 status = ocfs2_xattr_remove(inode, di_bh); 634 ocfs2_remove_inode(struct inode *inode, struct buffer_head *di_bh, struct inode *orphan_dir_inode, struct buffer_head *orphan_dir_bh) argument 748 ocfs2_wipe_inode(struct inode *inode, struct buffer_head *di_bh) argument 887 ocfs2_query_inode_wipe(struct inode *inode, struct buffer_head *di_bh, int *wipe) argument 996 struct buffer_head *di_bh = NULL; local [all...] |
H A D | dir.c | 395 struct buffer_head *di_bh = NULL; local 399 ret = ocfs2_read_inode_block(dir, &di_bh); 405 di = (struct ocfs2_dinode *)di_bh->b_data; 408 found = ocfs2_search_dirblock(di_bh, dir, name, namelen, 0, 411 return di_bh; 413 brelse(di_bh); 1008 struct buffer_head *di_bh = NULL; local 1013 ret = ocfs2_read_inode_block(dir, &di_bh); 1019 di = (struct ocfs2_dinode *)di_bh->b_data; 1038 brelse(di_bh); 1351 struct buffer_head *di_bh = NULL; local 1737 struct buffer_head *di_bh = NULL; local 2074 struct buffer_head *di_bh = NULL; local 2177 ocfs2_fill_new_dir_id(struct ocfs2_super *osb, handle_t *handle, struct inode *parent, struct inode *inode, struct buffer_head *di_bh) argument 2280 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 2505 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 2674 ocfs2_new_dx_should_be_inline(struct inode *dir, struct buffer_head *di_bh) argument 2762 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 3333 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 3877 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 4129 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 4302 ocfs2_dx_dir_remove_index(struct inode *dir, struct buffer_head *di_bh, struct buffer_head *dx_root_bh) argument 4383 ocfs2_dx_dir_truncate(struct inode *dir, struct buffer_head *di_bh) argument [all...] |
H A D | suballoc.h | 75 struct buffer_head *di_bh, 79 struct buffer_head *di_bh,
|
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.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 | move_extents.c | 758 static int __ocfs2_move_extents_range(struct buffer_head *di_bh, argument 766 struct ocfs2_dinode *di = (struct ocfs2_dinode *)di_bh->b_data; 778 ocfs2_init_dinode_extent_tree(&context->et, INODE_CACHE(inode), di_bh); 899 struct buffer_head *di_bh = NULL; local 916 status = ocfs2_inode_lock(inode, &di_bh, 1); 927 status = __ocfs2_move_extents_range(di_bh, context); 945 status = ocfs2_journal_access_di(handle, INODE_CACHE(inode), di_bh, 952 di = (struct ocfs2_dinode *)di_bh->b_data; 958 ocfs2_journal_dirty(handle, di_bh); 964 brelse(di_bh); [all...] |
H A D | refcounttree.c | 397 struct buffer_head *di_bh = NULL; local 400 ret = ocfs2_read_inode_block(inode, &di_bh); 408 di = (struct ocfs2_dinode *)di_bh->b_data; 410 brelse(di_bh); 550 struct buffer_head *di_bh) 555 struct ocfs2_dinode *di = (struct ocfs2_dinode *)di_bh->b_data; 583 ret = ocfs2_journal_access_di(handle, INODE_CACHE(inode), di_bh, 646 ocfs2_journal_dirty(handle, di_bh); 691 struct buffer_head *di_bh, 696 struct ocfs2_dinode *di = (struct ocfs2_dinode *)di_bh 549 ocfs2_create_refcount_tree(struct inode *inode, struct buffer_head *di_bh) argument 690 ocfs2_set_refcount_tree(struct inode *inode, struct buffer_head *di_bh, u64 refcount_loc) argument 754 ocfs2_remove_refcount_tree(struct inode *inode, struct buffer_head *di_bh) argument 923 ocfs2_try_remove_refcount_tree(struct inode *inode, struct buffer_head *di_bh) argument 3380 ocfs2_refcount_cow_hunk(struct inode *inode, struct buffer_head *di_bh, u32 cpos, u32 write_len, u32 max_cpos) argument 3456 ocfs2_refcount_cow(struct inode *inode, struct buffer_head *di_bh, u32 cpos, u32 write_len, u32 max_cpos) argument 3731 ocfs2_change_ctime(struct inode *inode, struct buffer_head *di_bh) argument 3765 ocfs2_attach_refcount_tree(struct inode *inode, struct buffer_head *di_bh) argument [all...] |
H A D | namei.c | 2633 struct buffer_head *di_bh = NULL; local 2638 status = ocfs2_inode_lock(inode, &di_bh, 1); 2644 di = (struct ocfs2_dinode *) di_bh->b_data; 2650 status = ocfs2_truncate_file(inode, di_bh, i_size_read(inode)); 2657 status = ocfs2_del_inode_from_orphan(osb, inode, di_bh, 0, 0); 2681 status = ocfs2_orphan_add(osb, handle, inode, di_bh, orphan_name, 2697 brelse(di_bh); 2704 struct inode *inode, struct buffer_head *di_bh, 2709 struct ocfs2_dinode *di = (struct ocfs2_dinode *)di_bh->b_data; 2749 di_bh, 2703 ocfs2_del_inode_from_orphan(struct ocfs2_super *osb, struct inode *inode, struct buffer_head *di_bh, int update_isize, loff_t end) argument 2790 struct buffer_head *di_bh = NULL; local [all...] |
H A D | journal.c | 2224 struct buffer_head *di_bh = NULL; local 2257 ret = ocfs2_inode_lock(inode, &di_bh, 1); 2263 di = (struct ocfs2_dinode *)di_bh->b_data; 2266 ret = ocfs2_truncate_file(inode, di_bh, 2275 di_bh, 0, 0); 2281 brelse(di_bh); 2282 di_bh = NULL; 2380 struct buffer_head *di_bh = NULL; local 2385 ret = ocfs2_read_journal_inode(osb, slot, &di_bh, NULL); 2391 di = (struct ocfs2_dinode *) di_bh [all...] |
H A D | xattr.c | 1025 struct buffer_head *di_bh = NULL; local 1035 ret = ocfs2_inode_lock(d_inode(dentry), &di_bh, 0); 1041 di = (struct ocfs2_dinode *)di_bh->b_data; 1060 brelse(di_bh); 1275 struct buffer_head *di_bh, 1297 xis.inode_bh = xbs.inode_bh = di_bh; 1298 di = (struct ocfs2_dinode *)di_bh->b_data; 1321 struct buffer_head *di_bh = NULL; local 1324 had_lock = ocfs2_inode_lock_tracker(inode, &di_bh, 0, &oh); 1330 ret = ocfs2_xattr_get_nolock(inode, di_bh, name_inde 1274 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 2415 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 2554 ocfs2_xattr_remove(struct inode *inode, struct buffer_head *di_bh) argument 2710 ocfs2_xattr_ibody_init(struct inode *inode, struct buffer_head *di_bh, struct ocfs2_xattr_set_ctxt *ctxt) argument 3438 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 3528 struct buffer_head *di_bh = NULL; local 7310 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 D | alloc.c | 6401 struct buffer_head *di_bh = NULL; local 6413 ret = ocfs2_inode_lock(inode, &di_bh, 1); 6435 ret = ocfs2_free_suballoc_bits(handle, inode, di_bh, 6449 brelse(di_bh); 7060 struct buffer_head *di_bh) 7069 struct ocfs2_dinode *di = (struct ocfs2_dinode *)di_bh->b_data; 7093 ret = ocfs2_journal_access_di(handle, INODE_CACHE(inode), di_bh, 7138 ret = ocfs2_read_inline_data(inode, page, di_bh); 7157 ocfs2_journal_dirty(handle, di_bh); 7165 ocfs2_init_dinode_extent_tree(&et, INODE_CACHE(inode), di_bh); 7059 ocfs2_convert_inline_data_to_extents(struct inode *inode, struct buffer_head *di_bh) argument 7211 ocfs2_commit_truncate(struct ocfs2_super *osb, struct inode *inode, struct buffer_head *di_bh) argument 7385 ocfs2_truncate_inline(struct inode *inode, struct buffer_head *di_bh, unsigned int start, unsigned int end, int trunc) argument [all...] |
H A D | suballoc.c | 1579 struct buffer_head *di_bh, 1585 struct ocfs2_dinode *di = (struct ocfs2_dinode *) di_bh->b_data; 1588 ret = ocfs2_journal_access_di(handle, INODE_CACHE(inode), di_bh, 1598 ocfs2_journal_dirty(handle, di_bh); 1605 struct buffer_head *di_bh, 1610 struct ocfs2_dinode *di = (struct ocfs2_dinode *) di_bh->b_data; 1577 ocfs2_alloc_dinode_update_counts(struct inode *inode, handle_t *handle, struct buffer_head *di_bh, u32 num_bits, u16 chain) argument 1604 ocfs2_rollback_alloc_dinode_counts(struct inode *inode, struct buffer_head *di_bh, u32 num_bits, u16 chain) argument
|