• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/fs/ocfs2/

Lines Matching defs:ref_root_bh

56 	struct buffer_head *ref_root_bh;
337 struct buffer_head *ref_root_bh = NULL;
365 ret = ocfs2_read_refcount_block(&new->rf_ci, rf_blkno, &ref_root_bh);
373 ref_rb = (struct ocfs2_refcount_block *)ref_root_bh->b_data;
399 brelse(ref_root_bh);
459 struct buffer_head *ref_root_bh = NULL;
479 &ref_root_bh);
487 rb = (struct ocfs2_refcount_block *)ref_root_bh->b_data;
511 brelse(ref_root_bh);
512 ref_root_bh = NULL;
518 *ref_bh = ref_root_bh;
519 ref_root_bh = NULL;
522 brelse(ref_root_bh);
704 struct buffer_head *ref_root_bh = NULL;
711 &ref_tree, &ref_root_bh);
731 ret = ocfs2_journal_access_rb(handle, &ref_tree->rf_ci, ref_root_bh,
738 rb = (struct ocfs2_refcount_block *)ref_root_bh->b_data;
741 ocfs2_journal_dirty(handle, ref_root_bh);
754 brelse(ref_root_bh);
962 struct buffer_head *ref_root_bh,
999 ocfs2_init_refcount_extent_tree(&et, ci, ref_root_bh);
1062 struct buffer_head *ref_root_bh,
1076 (struct ocfs2_refcount_block *)ref_root_bh->b_data;
1079 ocfs2_find_refcount_rec_in_rl(ci, ref_root_bh, cpos, len,
1081 *ret_bh = ref_root_bh;
1082 get_bh(ref_root_bh);
1121 ret = ocfs2_get_refcount_cpos_end(ci, ref_root_bh,
1282 struct buffer_head *ref_root_bh,
1294 (struct ocfs2_refcount_block *)ref_root_bh->b_data;
1296 ret = ocfs2_journal_access_rb(handle, ci, ref_root_bh,
1331 memcpy(new_bh->b_data, ref_root_bh->b_data, sb->s_blocksize);
1339 new_rb->rf_parent = cpu_to_le64(ref_root_bh->b_blocknr);
1353 ocfs2_journal_dirty(handle, ref_root_bh);
1511 struct buffer_head *ref_root_bh,
1521 (struct ocfs2_refcount_block *)ref_root_bh->b_data;
1528 ret = ocfs2_journal_access_rb(handle, ci, ref_root_bh,
1574 new_rb->rf_parent = cpu_to_le64(ref_root_bh->b_blocknr);
1589 ocfs2_init_refcount_extent_tree(&ref_et, ci, ref_root_bh);
1607 struct buffer_head *ref_root_bh,
1614 if (ref_root_bh == ref_leaf_bh) {
1619 ret = ocfs2_expand_inline_ref_root(handle, ci, ref_root_bh,
1632 ret = ocfs2_new_leaf_refcount_block(handle, ci, ref_root_bh,
1649 struct buffer_head *ref_root_bh,
1658 (struct ocfs2_refcount_block *)ref_root_bh->b_data;
1670 ocfs2_init_refcount_extent_tree(&et, ci, ref_root_bh);
1733 struct buffer_head *ref_root_bh,
1751 ret = ocfs2_expand_refcount_tree(handle, ci, ref_root_bh,
1758 ret = ocfs2_get_refcount_rec(ci, ref_root_bh,
1801 ref_root_bh,
1822 struct buffer_head *ref_root_bh,
1876 ret = ocfs2_expand_refcount_tree(handle, ci, ref_root_bh,
1887 ret = ocfs2_get_refcount_rec(ci, ref_root_bh,
1977 struct buffer_head *ref_root_bh,
1992 ret = ocfs2_get_refcount_rec(ci, ref_root_bh,
2030 ret = ocfs2_insert_refcount_rec(handle, ci, ref_root_bh,
2050 ref_root_bh, ref_leaf_bh,
2072 struct buffer_head *ref_root_bh,
2085 ocfs2_init_refcount_extent_tree(&et, ci, ref_root_bh);
2109 ret = ocfs2_journal_access_rb(handle, ci, ref_root_bh,
2116 rb = (struct ocfs2_refcount_block *)ref_root_bh->b_data;
2128 (unsigned long long)ref_root_bh->b_blocknr);
2139 ocfs2_journal_dirty(handle, ref_root_bh);
2147 struct buffer_head *ref_root_bh,
2152 return __ocfs2_increase_refcount(handle, ci, ref_root_bh,
2159 struct buffer_head *ref_root_bh,
2192 ref_root_bh, ref_leaf_bh,
2203 if (!rb->rf_records.rl_used && ref_leaf_bh != ref_root_bh) {
2204 ret = ocfs2_remove_refcount_extent(handle, ci, ref_root_bh,
2217 struct buffer_head *ref_root_bh,
2235 ret = ocfs2_get_refcount_rec(ci, ref_root_bh,
2251 ret = ocfs2_decrease_refcount_rec(handle, ci, ref_root_bh,
2291 struct buffer_head *ref_root_bh = NULL;
2309 &ref_root_bh);
2315 ret = __ocfs2_decrease_refcount(handle, &tree->rf_ci, ref_root_bh,
2320 brelse(ref_root_bh);
2369 struct buffer_head *ref_root_bh,
2385 ret = ocfs2_get_refcount_rec(ci, ref_root_bh,
2489 rb = (struct ocfs2_refcount_block *)ref_root_bh->b_data;
2493 ocfs2_init_refcount_extent_tree(&et, ci, ref_root_bh);
2530 struct buffer_head *ref_root_bh = NULL;
2552 &ref_root_bh);
2560 ref_root_bh,
2572 brelse(ref_root_bh);
2847 struct buffer_head *ref_root_bh,
2868 ret = ocfs2_calc_refcount_meta_credits(sb, ref_ci, ref_root_bh,
3221 context->ref_root_bh,
3241 ret = ocfs2_get_refcount_rec(ref_ci, context->ref_root_bh,
3296 context->ref_root_bh,
3414 struct buffer_head *ref_root_bh = NULL;
3442 1, &ref_tree, &ref_root_bh);
3452 context->ref_root_bh = ref_root_bh;
3471 brelse(ref_root_bh);
3536 struct buffer_head *ref_root_bh,
3559 ret = ocfs2_get_refcount_rec(ref_ci, ref_root_bh,
3599 rb = (struct ocfs2_refcount_block *)ref_root_bh->b_data;
3605 ocfs2_init_refcount_extent_tree(&et, ref_ci, ref_root_bh);
3623 struct buffer_head *ref_root_bh,
3656 context->ref_root_bh = ref_root_bh;;
3685 struct buffer_head *ref_root_bh,
3697 ref_ci, ref_root_bh,
3735 ret = __ocfs2_increase_refcount(handle, ref_ci, ref_root_bh,
3795 struct buffer_head *ref_root_bh = NULL;
3819 &ref_tree, &ref_root_bh);
3841 ref_root_bh, cpos,
3858 ref_root_bh,
3874 brelse(ref_root_bh);
3893 struct buffer_head *ref_root_bh,
3907 ref_root_bh, &meta_ac,
3929 ret = ocfs2_increase_refcount(handle, ref_ci, ref_root_bh,
3990 struct buffer_head *ref_root_bh,
4011 ref_ci, ref_root_bh,
4113 struct buffer_head *ref_root_bh = NULL;
4138 1, &ref_tree, &ref_root_bh);
4143 rb = (struct ocfs2_refcount_block *)ref_root_bh->b_data;
4146 &ref_tree->rf_ci, ref_root_bh,
4155 brelse(ref_root_bh);