/linux/fs/ocfs2/ |
H A D | acl.c | 114 struct buffer_head *di_bh) in ocfs2_get_acl_nolock() argument 132 retval = ocfs2_xattr_get_nolock(inode, di_bh, name_index, "", NULL, 0); in ocfs2_get_acl_nolock() 137 retval = ocfs2_xattr_get_nolock(inode, di_bh, name_index, in ocfs2_get_acl_nolock() 158 static int ocfs2_acl_set_mode(struct inode *inode, struct buffer_head *di_bh, in ocfs2_acl_set_mode() argument 164 if (di_bh == NULL) { in ocfs2_acl_set_mode() 165 ret = ocfs2_read_inode_block(inode, &di_bh); 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() 186 ret = ocfs2_journal_access_di(handle, INODE_CACHE(inode), di_bh, in ocfs2_acl_set_mode() 200 ocfs2_journal_dirty(handle, di_bh); in ocfs2_acl_set_mode() [all …]
|
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 | 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 | 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() 625 ret = ocfs2_read_inode_block(inode, &di_bh); in ocfs2_get_clusters() 631 ret = ocfs2_get_clusters_nocache(inode, di_bh, v_cluster, &hole_len, in ocfs2_get_clusters() 660 brelse(di_bh); in ocfs2_extent_map_get_blocks() 710 static int ocfs2_fiemap_inline(struct inode *inode, struct buffer_head *di_bh, in ocfs2_fiemap_inline() 721 di = (struct ocfs2_dinode *)di_bh->b_data; in ocfs2_fiemap_inline() 752 struct buffer_head *di_bh = NULL; in ocfs2_fiemap() 759 ret = ocfs2_inode_lock(inode, &di_bh, in ocfs2_fiemap() 601 struct buffer_head *di_bh = NULL; ocfs2_get_clusters() local 700 ocfs2_fiemap_inline(struct inode * inode,struct buffer_head * di_bh,struct fiemap_extent_info * fieinfo,u64 map_start) ocfs2_fiemap_inline() argument 742 struct buffer_head *di_bh = NULL; ocfs2_fiemap() local 819 ocfs2_overwrite_io(struct inode * inode,struct buffer_head * di_bh,u64 map_start,u64 map_len) ocfs2_overwrite_io() argument 870 struct buffer_head *di_bh = NULL; ocfs2_seek_data_hole_offset() local [all...] |
H A D | aops.c | 219 struct buffer_head *di_bh) in ocfs2_read_inline_data() argument 222 struct ocfs2_dinode *di = (struct ocfs2_dinode *)di_bh->b_data; in ocfs2_read_inline_data() 250 struct buffer_head *di_bh = NULL; in ocfs2_read_inline_data() 255 ret = ocfs2_read_inode_block(inode, &di_bh); in ocfs2_readpage_inline() 261 ret = ocfs2_read_inline_data(inode, folio, di_bh); in ocfs2_readpage_inline() 265 brelse(di_bh); in ocfs2_readpage_inline() 828 struct buffer_head *di_bh) in ocfs2_free_write_ctxt() 841 get_bh(di_bh); in ocfs2_alloc_write_ctxt() 842 wc->w_di_bh = di_bh; in ocfs2_alloc_write_ctxt() 1514 int ocfs2_size_fits_inline_data(struct buffer_head *di_bh, u6 in ocfs2_write_begin_inline() 258 struct buffer_head *di_bh = NULL; ocfs2_readpage_inline() local 837 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) ocfs2_alloc_write_ctxt() argument 1526 ocfs2_size_fits_inline_data(struct buffer_head * di_bh,u64 new_size) ocfs2_size_fits_inline_data() argument 1607 ocfs2_expand_nonsparse_inode(struct inode * inode,struct buffer_head * di_bh,loff_t pos,unsigned len,struct ocfs2_write_ctxt * wc) ocfs2_expand_nonsparse_inode() argument 1631 ocfs2_zero_tail(struct inode * inode,struct buffer_head * di_bh,loff_t pos) ocfs2_zero_tail() argument 1646 ocfs2_write_begin_nolock(struct address_space * mapping,loff_t pos,unsigned len,ocfs2_write_type_t type,struct folio ** foliop,void ** fsdata,struct buffer_head * di_bh,struct page * mmap_page) ocfs2_write_begin_nolock() argument 1884 struct buffer_head *di_bh = NULL; ocfs2_write_begin() local 2147 struct buffer_head *di_bh = NULL; ocfs2_dio_wr_get_block() local 2298 struct buffer_head *di_bh = NULL; ocfs2_dio_end_io_write() local [all...] |
H A D | dir.c | 401 struct buffer_head *di_bh = NULL; in ocfs2_find_entry_id() local 405 ret = ocfs2_read_inode_block(dir, &di_bh); in ocfs2_find_entry_id() 411 di = (struct ocfs2_dinode *)di_bh->b_data; in ocfs2_find_entry_id() 414 found = ocfs2_search_dirblock(di_bh, dir, name, namelen, 0, in ocfs2_find_entry_id() 417 return di_bh; in ocfs2_find_entry_id() 419 brelse(di_bh); in ocfs2_find_entry_id() 1014 struct buffer_head *di_bh = NULL; in ocfs2_find_entry_dx() local 1019 ret = ocfs2_read_inode_block(dir, &di_bh); in ocfs2_find_entry_dx() 1025 di = (struct ocfs2_dinode *)di_bh->b_data; in ocfs2_find_entry_dx() 1044 brelse(di_bh); in ocfs2_find_entry_dx() [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 | refcounttree.c | 398 struct buffer_head *di_bh = NULL; in ocfs2_get_refcount_block() local 401 ret = ocfs2_read_inode_block(inode, &di_bh); in ocfs2_get_refcount_block() 409 di = (struct ocfs2_dinode *)di_bh->b_data; in ocfs2_get_refcount_block() 411 brelse(di_bh); in ocfs2_get_refcount_block() 551 struct buffer_head *di_bh) in ocfs2_create_refcount_tree() argument 556 struct ocfs2_dinode *di = (struct ocfs2_dinode *)di_bh->b_data; in ocfs2_create_refcount_tree() 584 ret = ocfs2_journal_access_di(handle, INODE_CACHE(inode), di_bh, in ocfs2_create_refcount_tree() 647 ocfs2_journal_dirty(handle, di_bh); in ocfs2_create_refcount_tree() 692 struct buffer_head *di_bh, in ocfs2_set_refcount_tree() argument 697 struct ocfs2_dinode *di = (struct ocfs2_dinode *)di_bh in ocfs2_set_refcount_tree() 755 ocfs2_remove_refcount_tree(struct inode * inode,struct buffer_head * di_bh) ocfs2_remove_refcount_tree() argument 925 ocfs2_try_remove_refcount_tree(struct inode * inode,struct buffer_head * di_bh) ocfs2_try_remove_refcount_tree() argument 3375 ocfs2_refcount_cow_hunk(struct inode * inode,struct buffer_head * di_bh,u32 cpos,u32 write_len,u32 max_cpos) ocfs2_refcount_cow_hunk() argument 3451 ocfs2_refcount_cow(struct inode * inode,struct buffer_head * di_bh,u32 cpos,u32 write_len,u32 max_cpos) ocfs2_refcount_cow() argument 3726 ocfs2_change_ctime(struct inode * inode,struct buffer_head * di_bh) ocfs2_change_ctime() argument 3760 ocfs2_attach_refcount_tree(struct inode * inode,struct buffer_head * di_bh) ocfs2_attach_refcount_tree() argument [all...] |
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() 2655 status = ocfs2_truncate_file(inode, di_bh, i_size_read(inode)); in ocfs2_add_inode_to_orphan() 2662 status = ocfs2_del_inode_from_orphan(osb, inode, di_bh, 0, 0); in ocfs2_add_inode_to_orphan() 2686 status = ocfs2_orphan_add(osb, handle, inode, di_bh, orphan_name, in ocfs2_add_inode_to_orphan() 2702 brelse(di_bh); in ocfs2_add_inode_to_orphan() 2709 struct inode *inode, struct buffer_head *di_bh, in ocfs2_del_inode_from_orphan() argument 2714 struct ocfs2_dinode *di = (struct ocfs2_dinode *)di_bh->b_data; in ocfs2_del_inode_from_orphan() 2754 di_bh, in ocfs2_del_inode_from_orphan() [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 | journal.c | 2264 struct buffer_head *di_bh = NULL; in ocfs2_recover_orphans() local 2297 ret = ocfs2_inode_lock(inode, &di_bh, 1); in ocfs2_recover_orphans() 2303 di = (struct ocfs2_dinode *)di_bh->b_data; in ocfs2_recover_orphans() 2306 ret = ocfs2_truncate_file(inode, di_bh, in ocfs2_recover_orphans() 2315 di_bh, 0, 0); in ocfs2_recover_orphans() 2321 brelse(di_bh); in ocfs2_recover_orphans() 2322 di_bh = NULL; in ocfs2_recover_orphans() 2420 struct buffer_head *di_bh = NULL; in ocfs2_check_journals_nolocks() local 2425 ret = ocfs2_read_journal_inode(osb, slot, &di_bh, NULL); in ocfs2_check_journals_nolocks() 2431 di = (struct ocfs2_dinode *) di_bh in ocfs2_check_journals_nolocks() [all...] |
H A D | namei.h | 32 struct inode *inode, struct buffer_head *di_bh,
|
H A D | xattr.c | 1025 struct buffer_head *di_bh = NULL; in ocfs2_listxattr() local 1035 ret = ocfs2_inode_lock(d_inode(dentry), &di_bh, 0); in ocfs2_listxattr() 1041 di = (struct ocfs2_dinode *)di_bh->b_data; in ocfs2_listxattr() 1060 brelse(di_bh); in ocfs2_listxattr() 1284 struct buffer_head *di_bh, in ocfs2_xattr_get_nolock() argument 1306 xis.inode_bh = xbs.inode_bh = di_bh; in ocfs2_xattr_get_nolock() 1307 di = (struct ocfs2_dinode *)di_bh->b_data; in ocfs2_xattr_get_nolock() 1330 struct buffer_head *di_bh = NULL; in ocfs2_xattr_get() local 1333 had_lock = ocfs2_inode_lock_tracker(inode, &di_bh, 0, &oh); in ocfs2_xattr_get() 1339 ret = ocfs2_xattr_get_nolock(inode, di_bh, name_inde in ocfs2_xattr_get() 2424 ocfs2_xattr_ibody_remove(struct inode * inode,struct buffer_head * di_bh,struct ocfs2_caching_info * ref_ci,struct buffer_head * ref_root_bh) ocfs2_xattr_ibody_remove() argument 2562 ocfs2_xattr_remove(struct inode * inode,struct buffer_head * di_bh) ocfs2_xattr_remove() argument 2719 ocfs2_xattr_ibody_init(struct inode * inode,struct buffer_head * di_bh,struct ocfs2_xattr_set_ctxt * ctxt) ocfs2_xattr_ibody_init() argument 3448 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) ocfs2_xattr_set_handle() argument 3536 struct buffer_head *di_bh = NULL; ocfs2_xattr_set() local 7302 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) ocfs2_init_security_set() argument [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);
|