• Home
  • Raw
  • Download

Lines Matching refs:ci

75 cache_info_to_refcount(struct ocfs2_caching_info *ci)  in cache_info_to_refcount()  argument
77 return container_of(ci, struct ocfs2_refcount_tree, rf_ci); in cache_info_to_refcount()
133 static int ocfs2_read_refcount_block(struct ocfs2_caching_info *ci, in ocfs2_read_refcount_block() argument
140 rc = ocfs2_read_block(ci, rb_blkno, &tmp, in ocfs2_read_refcount_block()
150 static u64 ocfs2_refcount_cache_owner(struct ocfs2_caching_info *ci) in ocfs2_refcount_cache_owner() argument
152 struct ocfs2_refcount_tree *rf = cache_info_to_refcount(ci); in ocfs2_refcount_cache_owner()
158 ocfs2_refcount_cache_get_super(struct ocfs2_caching_info *ci) in ocfs2_refcount_cache_get_super() argument
160 struct ocfs2_refcount_tree *rf = cache_info_to_refcount(ci); in ocfs2_refcount_cache_get_super()
165 static void ocfs2_refcount_cache_lock(struct ocfs2_caching_info *ci) in ocfs2_refcount_cache_lock() argument
167 struct ocfs2_refcount_tree *rf = cache_info_to_refcount(ci); in ocfs2_refcount_cache_lock()
172 static void ocfs2_refcount_cache_unlock(struct ocfs2_caching_info *ci) in ocfs2_refcount_cache_unlock() argument
174 struct ocfs2_refcount_tree *rf = cache_info_to_refcount(ci); in ocfs2_refcount_cache_unlock()
179 static void ocfs2_refcount_cache_io_lock(struct ocfs2_caching_info *ci) in ocfs2_refcount_cache_io_lock() argument
181 struct ocfs2_refcount_tree *rf = cache_info_to_refcount(ci); in ocfs2_refcount_cache_io_lock()
186 static void ocfs2_refcount_cache_io_unlock(struct ocfs2_caching_info *ci) in ocfs2_refcount_cache_io_unlock() argument
188 struct ocfs2_refcount_tree *rf = cache_info_to_refcount(ci); in ocfs2_refcount_cache_io_unlock()
879 static void ocfs2_find_refcount_rec_in_rl(struct ocfs2_caching_info *ci, in ocfs2_find_refcount_rec_in_rl() argument
961 static int ocfs2_get_refcount_cpos_end(struct ocfs2_caching_info *ci, in ocfs2_get_refcount_cpos_end() argument
970 struct super_block *sb = ocfs2_metadata_cache_get_super(ci); in ocfs2_get_refcount_cpos_end()
999 ocfs2_init_refcount_extent_tree(&et, ci, ref_root_bh); in ocfs2_get_refcount_cpos_end()
1009 ret = ocfs2_find_path(ci, left_path, cpos); in ocfs2_get_refcount_cpos_end()
1028 ret = ocfs2_find_path(ci, right_path, cpos); in ocfs2_get_refcount_cpos_end()
1061 static int ocfs2_get_refcount_rec(struct ocfs2_caching_info *ci, in ocfs2_get_refcount_rec() argument
1074 struct super_block *sb = ocfs2_metadata_cache_get_super(ci); in ocfs2_get_refcount_rec()
1079 ocfs2_find_refcount_rec_in_rl(ci, ref_root_bh, cpos, len, in ocfs2_get_refcount_rec()
1090 ret = ocfs2_find_leaf(ci, el, low_cpos, &eb_bh); in ocfs2_get_refcount_rec()
1103 (unsigned long long)ocfs2_metadata_cache_owner(ci), in ocfs2_get_refcount_rec()
1121 ret = ocfs2_get_refcount_cpos_end(ci, ref_root_bh, in ocfs2_get_refcount_rec()
1132 ret = ocfs2_read_refcount_block(ci, le64_to_cpu(rec->e_blkno), in ocfs2_get_refcount_rec()
1139 ocfs2_find_refcount_rec_in_rl(ci, ref_leaf_bh, cpos, len, in ocfs2_get_refcount_rec()
1241 struct ocfs2_caching_info *ci, in ocfs2_change_refcount_rec() argument
1251 ret = ocfs2_journal_access_rb(handle, ci, ref_leaf_bh, in ocfs2_change_refcount_rec()
1259 (unsigned long long)ocfs2_metadata_cache_owner(ci), in ocfs2_change_refcount_rec()
1282 struct ocfs2_caching_info *ci, in ocfs2_expand_inline_ref_root() argument
1291 struct super_block *sb = ocfs2_metadata_cache_get_super(ci); in ocfs2_expand_inline_ref_root()
1297 ret = ocfs2_journal_access_rb(handle, ci, ref_root_bh, in ocfs2_expand_inline_ref_root()
1318 ocfs2_set_new_buffer_uptodate(ci, new_bh); in ocfs2_expand_inline_ref_root()
1320 ret = ocfs2_journal_access_rb(handle, ci, new_bh, in ocfs2_expand_inline_ref_root()
1523 struct ocfs2_caching_info *ci, in ocfs2_new_leaf_refcount_block() argument
1532 struct super_block *sb = ocfs2_metadata_cache_get_super(ci); in ocfs2_new_leaf_refcount_block()
1541 ret = ocfs2_journal_access_rb(handle, ci, ref_root_bh, in ocfs2_new_leaf_refcount_block()
1548 ret = ocfs2_journal_access_rb(handle, ci, ref_leaf_bh, in ocfs2_new_leaf_refcount_block()
1569 ocfs2_set_new_buffer_uptodate(ci, new_bh); in ocfs2_new_leaf_refcount_block()
1571 ret = ocfs2_journal_access_rb(handle, ci, new_bh, in ocfs2_new_leaf_refcount_block()
1602 ocfs2_init_refcount_extent_tree(&ref_et, ci, ref_root_bh); in ocfs2_new_leaf_refcount_block()
1619 struct ocfs2_caching_info *ci, in ocfs2_expand_refcount_tree() argument
1632 ret = ocfs2_expand_inline_ref_root(handle, ci, ref_root_bh, in ocfs2_expand_refcount_tree()
1645 ret = ocfs2_new_leaf_refcount_block(handle, ci, ref_root_bh, in ocfs2_expand_refcount_tree()
1661 struct ocfs2_caching_info *ci, in ocfs2_adjust_refcount_rec() argument
1683 ocfs2_init_refcount_extent_tree(&et, ci, ref_root_bh); in ocfs2_adjust_refcount_rec()
1692 ret = ocfs2_find_path(ci, path, old_cpos); in ocfs2_adjust_refcount_rec()
1708 ret = ocfs2_journal_access_rb(handle, ci, ref_leaf_bh, in ocfs2_adjust_refcount_rec()
1715 ret = ocfs2_journal_access_eb(handle, ci, path_leaf_bh(path), in ocfs2_adjust_refcount_rec()
1745 struct ocfs2_caching_info *ci, in ocfs2_insert_refcount_rec() argument
1764 ret = ocfs2_expand_refcount_tree(handle, ci, ref_root_bh, in ocfs2_insert_refcount_rec()
1771 ret = ocfs2_get_refcount_rec(ci, ref_root_bh, in ocfs2_insert_refcount_rec()
1784 ret = ocfs2_journal_access_rb(handle, ci, ref_leaf_bh, in ocfs2_insert_refcount_rec()
1812 ret = ocfs2_adjust_refcount_rec(handle, ci, in ocfs2_insert_refcount_rec()
1833 struct ocfs2_caching_info *ci, in ocfs2_split_refcount_rec() argument
1890 ret = ocfs2_expand_refcount_tree(handle, ci, ref_root_bh, in ocfs2_split_refcount_rec()
1901 ret = ocfs2_get_refcount_rec(ci, ref_root_bh, in ocfs2_split_refcount_rec()
1915 ret = ocfs2_journal_access_rb(handle, ci, ref_leaf_bh, in ocfs2_split_refcount_rec()
1989 struct ocfs2_caching_info *ci, in __ocfs2_increase_refcount() argument
2001 (unsigned long long)ocfs2_metadata_cache_owner(ci), in __ocfs2_increase_refcount()
2005 ret = ocfs2_get_refcount_rec(ci, ref_root_bh, in __ocfs2_increase_refcount()
2030 ret = ocfs2_change_refcount_rec(handle, ci, in __ocfs2_increase_refcount()
2043 ret = ocfs2_insert_refcount_rec(handle, ci, ref_root_bh, in __ocfs2_increase_refcount()
2061 ret = ocfs2_split_refcount_rec(handle, ci, in __ocfs2_increase_refcount()
2083 struct ocfs2_caching_info *ci, in ocfs2_remove_refcount_extent() argument
2090 struct super_block *sb = ocfs2_metadata_cache_get_super(ci); in ocfs2_remove_refcount_extent()
2098 (unsigned long long)ocfs2_metadata_cache_owner(ci), in ocfs2_remove_refcount_extent()
2102 ocfs2_init_refcount_extent_tree(&et, ci, ref_root_bh); in ocfs2_remove_refcount_extent()
2110 ocfs2_remove_from_cache(ci, ref_leaf_bh); in ocfs2_remove_refcount_extent()
2126 ret = ocfs2_journal_access_rb(handle, ci, ref_root_bh, in ocfs2_remove_refcount_extent()
2163 struct ocfs2_caching_info *ci, in ocfs2_increase_refcount() argument
2169 return __ocfs2_increase_refcount(handle, ci, ref_root_bh, in ocfs2_increase_refcount()
2175 struct ocfs2_caching_info *ci, in ocfs2_decrease_refcount_rec() argument
2192 (unsigned long long)ocfs2_metadata_cache_owner(ci), in ocfs2_decrease_refcount_rec()
2197 ret = ocfs2_change_refcount_rec(handle, ci, in ocfs2_decrease_refcount_rec()
2206 ret = ocfs2_split_refcount_rec(handle, ci, in ocfs2_decrease_refcount_rec()
2219 ret = ocfs2_remove_refcount_extent(handle, ci, ref_root_bh, in ocfs2_decrease_refcount_rec()
2231 struct ocfs2_caching_info *ci, in __ocfs2_decrease_refcount() argument
2241 struct super_block *sb = ocfs2_metadata_cache_get_super(ci); in __ocfs2_decrease_refcount()
2245 (unsigned long long)ocfs2_metadata_cache_owner(ci), in __ocfs2_decrease_refcount()
2249 ret = ocfs2_get_refcount_rec(ci, ref_root_bh, in __ocfs2_decrease_refcount()
2265 ret = ocfs2_decrease_refcount_rec(handle, ci, ref_root_bh, in __ocfs2_decrease_refcount()
2382 struct ocfs2_caching_info *ci, in ocfs2_calc_refcount_meta_credits() argument
2397 ret = ocfs2_get_refcount_rec(ci, ref_root_bh, in ocfs2_calc_refcount_meta_credits()
2503 ocfs2_init_refcount_extent_tree(&et, ci, ref_root_bh); in ocfs2_calc_refcount_meta_credits()
2931 struct ocfs2_caching_info *ci = INODE_CACHE(inode); in ocfs2_duplicate_clusters_by_page() local
2932 struct super_block *sb = ocfs2_metadata_cache_get_super(ci); in ocfs2_duplicate_clusters_by_page()
3025 struct ocfs2_caching_info *ci = INODE_CACHE(inode); in ocfs2_duplicate_clusters_by_jbd() local
3044 ocfs2_set_new_buffer_uptodate(ci, new_bh); in ocfs2_duplicate_clusters_by_jbd()
3046 ret = ocfs2_read_block(ci, old_block, &old_bh, NULL); in ocfs2_duplicate_clusters_by_jbd()
3052 ret = ocfs2_journal_access(handle, ci, new_bh, in ocfs2_duplicate_clusters_by_jbd()
3140 struct ocfs2_caching_info *ci = context->data_et.et_ci; in ocfs2_replace_clusters() local
3141 u64 ino = ocfs2_metadata_cache_owner(ci); in ocfs2_replace_clusters()