Home
last modified time | relevance | path

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

/fs/ocfs2/
Ddir.c161 ret = ocfs2_journal_access_dr(handle, INODE_CACHE(dir), dx_root_bh, in ocfs2_dx_dir_link_trailer()
541 ret = ocfs2_read_block(INODE_CACHE(dir), phys, &tmp, in ocfs2_read_dir_block_direct()
599 ret = ocfs2_read_block(INODE_CACHE(dir), blkno, &tmp, in ocfs2_read_dx_root()
639 ret = ocfs2_read_block(INODE_CACHE(dir), blkno, &tmp, in ocfs2_read_dx_leaf()
658 ret = ocfs2_read_blocks(INODE_CACHE(dir), start, num, dx_leaf_bhs, 0, in ocfs2_read_dx_leaves()
778 ret = ocfs2_find_leaf(INODE_CACHE(inode), el, major_hash, in ocfs2_dx_dir_lookup_rec()
1107 ret = access(handle, INODE_CACHE(dir), de_bh, in ocfs2_update_entry()
1149 status = access(handle, INODE_CACHE(dir), bh, in __ocfs2_delete_entry()
1297 ret = ocfs2_journal_access_dr(handle, INODE_CACHE(dir), dx_root_bh, in ocfs2_delete_entry_dx()
1305 ret = ocfs2_journal_access_dl(handle, INODE_CACHE(dir), in ocfs2_delete_entry_dx()
[all …]
Dquota_local.c108 status = ocfs2_journal_access_dq(handle, INODE_CACHE(inode), bh, in ocfs2_modify_bh()
543 INODE_CACHE(lqinode), in ocfs2_recover_local_quota_file()
654 status = ocfs2_journal_access_dq(handle, INODE_CACHE(lqinode), in ocfs2_finish_quota_recovery()
1020 ocfs2_set_new_buffer_uptodate(INODE_CACHE(lqinode), bh); in ocfs2_local_quota_add_chunk()
1021 status = ocfs2_journal_access_dq(handle, INODE_CACHE(lqinode), bh, in ocfs2_local_quota_add_chunk()
1048 ocfs2_set_new_buffer_uptodate(INODE_CACHE(lqinode), dbh); in ocfs2_local_quota_add_chunk()
1049 status = ocfs2_journal_access_dq(handle, INODE_CACHE(lqinode), dbh, in ocfs2_local_quota_add_chunk()
1146 ocfs2_set_new_buffer_uptodate(INODE_CACHE(lqinode), bh); in ocfs2_extend_local_quota_file()
1158 status = ocfs2_journal_access_dq(handle, INODE_CACHE(lqinode), bh, in ocfs2_extend_local_quota_file()
1170 status = ocfs2_journal_access_dq(handle, INODE_CACHE(lqinode), in ocfs2_extend_local_quota_file()
[all …]
Dinode.c554 status = ocfs2_write_block(osb, bh, INODE_CACHE(inode)); in ocfs2_read_locked_inode()
606 status = ocfs2_journal_access_di(handle, INODE_CACHE(inode), in ocfs2_truncate_for_delete()
684 status = ocfs2_journal_access_di(handle, INODE_CACHE(inode), di_bh, in ocfs2_remove_inode()
695 ocfs2_remove_from_cache(INODE_CACHE(inode), di_bh); in ocfs2_remove_inode()
1167 ocfs2_metadata_cache_exit(INODE_CACHE(inode)); in ocfs2_clear_inode()
1169 mlog_bug_on_msg(INODE_CACHE(inode)->ci_num_cached, in ocfs2_clear_inode()
1172 INODE_CACHE(inode)->ci_num_cached); in ocfs2_clear_inode()
1174 mlog_bug_on_msg(!(INODE_CACHE(inode)->ci_flags & OCFS2_CACHE_FL_INLINE), in ocfs2_clear_inode()
1298 status = ocfs2_journal_access_di(handle, INODE_CACHE(inode), bh, in ocfs2_mark_inode_dirty()
1572 rc = ocfs2_read_blocks(INODE_CACHE(inode), in ocfs2_filecheck_read_inode_block_full()
[all …]
Dresize.c100 ret = ocfs2_journal_access_gd(handle, INODE_CACHE(bm_inode), in ocfs2_update_last_group_and_inode()
130 ret = ocfs2_journal_access_di(handle, INODE_CACHE(bm_inode), bm_bh, in ocfs2_update_last_group_and_inode()
501 ocfs2_set_new_buffer_uptodate(INODE_CACHE(inode), group_bh); in ocfs2_group_add()
523 ret = ocfs2_journal_access_gd(handle, INODE_CACHE(main_bm_inode), in ocfs2_group_add()
535 ret = ocfs2_journal_access_di(handle, INODE_CACHE(main_bm_inode), in ocfs2_group_add()
Dnamei.c396 status = ocfs2_journal_access_di(handle, INODE_CACHE(dir), in ocfs2_mknod()
539 ocfs2_set_new_buffer_uptodate(INODE_CACHE(inode), *new_fe_bh); in __ocfs2_mknod_locked()
541 status = ocfs2_journal_access_di(handle, INODE_CACHE(inode), in __ocfs2_mknod_locked()
596 ocfs2_ci_set_new(osb, INODE_CACHE(inode)); in __ocfs2_mknod_locked()
786 err = ocfs2_journal_access_di(handle, INODE_CACHE(inode), fe_bh, in ocfs2_link()
974 status = ocfs2_journal_access_di(handle, INODE_CACHE(inode), fe_bh, in ocfs2_unlink()
1499 status = ocfs2_journal_access_di(handle, INODE_CACHE(new_inode), in ocfs2_rename()
1544 status = ocfs2_journal_access_di(handle, INODE_CACHE(old_inode), in ocfs2_rename()
1632 INODE_CACHE(old_dir), in ocfs2_rename()
1751 ocfs2_set_new_buffer_uptodate(INODE_CACHE(inode), in ocfs2_create_symlink_data()
[all …]
Djournal.h132 return ocfs2_ci_is_new(INODE_CACHE(inode)); in ocfs2_inode_is_new()
199 if (!ocfs2_ci_fully_checkpointed(INODE_CACHE(inode))) { in ocfs2_checkpoint_inode()
209 ocfs2_ci_fully_checkpointed(INODE_CACHE(inode))); in ocfs2_checkpoint_inode()
Dsuballoc.c301 rc = ocfs2_read_block(INODE_CACHE(inode), gd_blkno, &tmp, in ocfs2_read_group_descriptor()
364 INODE_CACHE(alloc_inode), in ocfs2_block_group_fill()
450 ocfs2_set_new_buffer_uptodate(INODE_CACHE(alloc_inode), bg_bh); in ocfs2_block_group_alloc_contig()
501 INODE_CACHE(alloc_inode), in ocfs2_block_group_grow_discontig()
571 ocfs2_remove_from_cache(INODE_CACHE(alloc_inode), bg_bh); in ocfs2_bg_alloc_cleanup()
630 ocfs2_set_new_buffer_uptodate(INODE_CACHE(alloc_inode), bg_bh); in ocfs2_block_group_alloc_discontig()
712 status = ocfs2_journal_access_di(handle, INODE_CACHE(alloc_inode), in ocfs2_block_group_alloc()
1359 INODE_CACHE(alloc_inode), in ocfs2_block_group_set_bits()
1431 status = ocfs2_journal_access_gd(handle, INODE_CACHE(alloc_inode), in ocfs2_relink_block_group()
1440 status = ocfs2_journal_access_gd(handle, INODE_CACHE(alloc_inode), in ocfs2_relink_block_group()
[all …]
Dxattr.c377 if (!ocfs2_buffer_uptodate(INODE_CACHE(bucket->bu_inode), in ocfs2_init_xattr_bucket()
380 ocfs2_set_new_buffer_uptodate(INODE_CACHE(bucket->bu_inode), in ocfs2_init_xattr_bucket()
384 ocfs2_set_buffer_uptodate(INODE_CACHE(bucket->bu_inode), in ocfs2_init_xattr_bucket()
401 rc = ocfs2_read_blocks(INODE_CACHE(bucket->bu_inode), xb_blkno, in ocfs2_read_xattr_bucket()
428 INODE_CACHE(bucket->bu_inode), in ocfs2_xattr_bucket_journal_access()
523 rc = ocfs2_read_block(INODE_CACHE(inode), xb_blkno, &tmp, in ocfs2_read_xattr_block()
712 ocfs2_init_xattr_value_extent_tree(&et, INODE_CACHE(inode), vb); in ocfs2_xattr_extend_allocation()
717 status = vb->vb_access(handle, INODE_CACHE(inode), vb->vb_bh, in ocfs2_xattr_extend_allocation()
776 ocfs2_init_xattr_value_extent_tree(&et, INODE_CACHE(inode), vb); in __ocfs2_remove_xattr_range()
778 ret = vb->vb_access(handle, INODE_CACHE(inode), vb->vb_bh, in __ocfs2_remove_xattr_range()
[all …]
Dslot_map.c136 ret = ocfs2_read_blocks(INODE_CACHE(si->si_inode), -1, si->si_blocks, in ocfs2_refresh_slot_info()
199 status = ocfs2_write_block(osb, bh, INODE_CACHE(si->si_inode)); in ocfs2_update_disk_slot()
387 status = ocfs2_read_blocks(INODE_CACHE(si->si_inode), blkno, in ocfs2_map_slot_buffers()
Dextent_map.c285 ret = ocfs2_read_extent_block(INODE_CACHE(inode), last_eb_blk, &eb_bh); in ocfs2_last_eb_is_empty()
420 ret = ocfs2_find_leaf(INODE_CACHE(inode), el, v_cluster, in ocfs2_get_clusters_nocache()
448 ret = ocfs2_figure_hole_clusters(INODE_CACHE(inode), in ocfs2_get_clusters_nocache()
544 ret = ocfs2_find_leaf(INODE_CACHE(inode), el, v_cluster, in ocfs2_xattr_get_clusters()
1012 rc = ocfs2_read_blocks(INODE_CACHE(inode), p_block, count, in ocfs2_read_virt_blocks()
Dlocalalloc.c434 status = ocfs2_journal_access_di(handle, INODE_CACHE(local_alloc_inode), in ocfs2_shutdown_local_alloc()
520 status = ocfs2_write_block(osb, alloc_bh, INODE_CACHE(inode)); in ocfs2_begin_local_alloc_recovery()
748 INODE_CACHE(local_alloc_inode), in ocfs2_claim_local_alloc_bits()
795 INODE_CACHE(local_alloc_inode), in ocfs2_free_local_alloc_bits()
1283 INODE_CACHE(local_alloc_inode), in ocfs2_local_alloc_slide_window()
Dfile.c266 ret = ocfs2_journal_access_di(handle, INODE_CACHE(inode), bh, in ocfs2_update_inode_atime()
401 status = ocfs2_journal_access_di(handle, INODE_CACHE(inode), fe_bh, in ocfs2_orphan_for_truncate()
548 ocfs2_init_dinode_extent_tree(&et, INODE_CACHE(inode), fe_bh); in ocfs2_add_inode_data()
589 ocfs2_init_dinode_extent_tree(&et, INODE_CACHE(inode), bh); in ocfs2_extend_allocation()
622 status = ocfs2_journal_access_di(handle, INODE_CACHE(inode), bh, in ocfs2_extend_allocation()
737 ret = ocfs2_journal_access_di(handle, INODE_CACHE(inode), di_bh, in ocfs2_zero_start_ordered_transaction()
1392 ret = ocfs2_journal_access_di(handle, INODE_CACHE(inode), bh, in __ocfs2_write_remove_suid()
1778 ocfs2_init_dinode_extent_tree(&et, INODE_CACHE(inode), di_bh); in ocfs2_remove_inode_range()
1846 ret = ocfs2_find_path(INODE_CACHE(inode), path, in ocfs2_remove_inode_range()
Drefcounttree.c585 ret = ocfs2_journal_access_di(handle, INODE_CACHE(inode), di_bh, in ocfs2_create_refcount_tree()
721 ret = ocfs2_journal_access_di(handle, INODE_CACHE(inode), di_bh, in ocfs2_set_refcount_tree()
822 ret = ocfs2_journal_access_di(handle, INODE_CACHE(inode), di_bh, in ocfs2_remove_refcount_tree()
2649 ret = ocfs2_find_leaf(INODE_CACHE(inode), el, cpos, &eb_bh); in ocfs2_refcount_cal_cow_clusters()
2808 ret = ocfs2_read_extent_block(INODE_CACHE(inode), in ocfs2_refcount_cal_cow_clusters()
3007 struct ocfs2_caching_info *ci = INODE_CACHE(inode); in ocfs2_duplicate_clusters_by_jbd()
3460 INODE_CACHE(inode), di_bh); in ocfs2_refcount_cow_hunk()
3668 INODE_CACHE(inode), vb); in ocfs2_refcount_cow_xattr()
3775 ret = ocfs2_journal_access_di(handle, INODE_CACHE(inode), di_bh, in ocfs2_change_ctime()
3831 ocfs2_init_dinode_extent_tree(&di_et, INODE_CACHE(inode), di_bh); in ocfs2_attach_refcount_tree()
[all …]
Daops.c1162 ocfs2_init_dinode_extent_tree(&et, INODE_CACHE(inode), in ocfs2_write_cluster()
1507 ret = ocfs2_journal_access_di(handle, INODE_CACHE(inode), wc->w_di_bh, in ocfs2_write_begin_inline()
1743 ocfs2_init_dinode_extent_tree(&et, INODE_CACHE(inode), in ocfs2_write_begin_nolock()
1791 ret = ocfs2_journal_access_di(handle, INODE_CACHE(inode), wc->w_di_bh, in ocfs2_write_begin_nolock()
1969 ret = ocfs2_journal_access_di(handle, INODE_CACHE(inode), in ocfs2_write_end_nolock()
2345 ocfs2_init_dinode_extent_tree(&et, INODE_CACHE(inode), di_bh); in ocfs2_dio_end_io_write()
2368 ret = ocfs2_journal_access_di(handle, INODE_CACHE(inode), di_bh, in ocfs2_dio_end_io_write()
Dinode.h115 static inline struct ocfs2_caching_info *INODE_CACHE(struct inode *inode) in INODE_CACHE() function
Dmove_extents.c85 ret = ocfs2_find_path(INODE_CACHE(inode), path, cpos); in __ocfs2_move_extent()
780 ocfs2_init_dinode_extent_tree(&context->et, INODE_CACHE(inode), di_bh); in __ocfs2_move_extents_range()
947 status = ocfs2_journal_access_di(handle, INODE_CACHE(inode), di_bh, in ocfs2_move_extents()
Dquota_global.c157 rc = ocfs2_read_blocks(INODE_CACHE(inode), p_block, 1, bhp, 0, in ocfs2_read_quota_phys_block()
279 ocfs2_set_buffer_uptodate(INODE_CACHE(gqinode), bh); in ocfs2_quota_write()
280 err = ocfs2_journal_access_dq(handle, INODE_CACHE(gqinode), bh, in ocfs2_quota_write()
Dacl.c188 ret = ocfs2_journal_access_di(handle, INODE_CACHE(inode), di_bh, in ocfs2_acl_set_mode()
Dalloc.c5879 status = ocfs2_journal_access_di(handle, INODE_CACHE(tl_inode), tl_bh, in ocfs2_truncate_log_append()
5942 status = ocfs2_journal_access_di(handle, INODE_CACHE(tl_inode), tl_bh, in ocfs2_replay_truncate_records()
6224 status = ocfs2_write_block(osb, tl_bh, INODE_CACHE(tl_inode)); in ocfs2_begin_truncate_log_recovery()
7081 ret = ocfs2_journal_access_di(handle, INODE_CACHE(inode), di_bh, in ocfs2_convert_inline_data_to_extents()
7153 ocfs2_init_dinode_extent_tree(&et, INODE_CACHE(inode), di_bh); in ocfs2_convert_inline_data_to_extents()
7216 ocfs2_init_dinode_extent_tree(&et, INODE_CACHE(inode), di_bh); in ocfs2_commit_truncate()
7244 status = ocfs2_find_path(INODE_CACHE(inode), path, UINT_MAX); in ocfs2_commit_truncate()
7412 ret = ocfs2_journal_access_di(handle, INODE_CACHE(inode), di_bh, in ocfs2_truncate_inline()
Djournal.c949 status = ocfs2_write_block(osb, bh, INODE_CACHE(journal->j_inode)); in ocfs2_journal_toggle_dirty()
1687 status = ocfs2_write_block(osb, bh, INODE_CACHE(inode)); in ocfs2_replay_journal()
Ddlmglue.c2338 ocfs2_metadata_cache_purge(INODE_CACHE(inode)); in ocfs2_inode_lock_update()
3997 return ocfs2_ci_checkpointed(INODE_CACHE(inode), lockres, new_level); in ocfs2_check_meta_downconvert()
Dsuper.c1704 ocfs2_metadata_cache_init(INODE_CACHE(&oi->vfs_inode), in ocfs2_inode_init_once()