Lines Matching refs:rf_blkno
112 if (le64_to_cpu(rb->rf_blkno) != bh->b_blocknr) { in ocfs2_validate_refcount_block()
116 (unsigned long long)le64_to_cpu(rb->rf_blkno)); in ocfs2_validate_refcount_block()
152 return rf->rf_blkno; in ocfs2_refcount_cache_owner()
209 if (blkno < tree->rf_blkno) in ocfs2_find_refcount_tree()
211 else if (blkno > tree->rf_blkno) in ocfs2_find_refcount_tree()
224 u64 rf_blkno = new->rf_blkno; in ocfs2_insert_refcount_tree() local
235 if (rf_blkno < tmp->rf_blkno) in ocfs2_insert_refcount_tree()
237 else if (rf_blkno > tmp->rf_blkno) in ocfs2_insert_refcount_tree()
242 (unsigned long long)rf_blkno); in ocfs2_insert_refcount_tree()
307 u64 rf_blkno, u32 generation) in ocfs2_init_refcount_tree_lock() argument
311 rf_blkno, generation); in ocfs2_init_refcount_tree_lock()
315 ocfs2_allocate_refcount_tree(struct ocfs2_super *osb, u64 rf_blkno) in ocfs2_allocate_refcount_tree() argument
323 new->rf_blkno = rf_blkno; in ocfs2_allocate_refcount_tree()
330 static int ocfs2_get_refcount_tree(struct ocfs2_super *osb, u64 rf_blkno, in ocfs2_get_refcount_tree() argument
340 osb->osb_ref_tree_lru->rf_blkno == rf_blkno) in ocfs2_get_refcount_tree()
343 tree = ocfs2_find_refcount_tree(osb, rf_blkno); in ocfs2_get_refcount_tree()
349 new = ocfs2_allocate_refcount_tree(osb, rf_blkno); in ocfs2_get_refcount_tree()
363 ret = ocfs2_read_refcount_block(&new->rf_ci, rf_blkno, &ref_root_bh); in ocfs2_get_refcount_tree()
373 ocfs2_init_refcount_tree_lock(osb, new, rf_blkno, in ocfs2_get_refcount_tree()
378 tree = ocfs2_find_refcount_tree(osb, rf_blkno); in ocfs2_get_refcount_tree()
476 ret = ocfs2_read_refcount_block(&tree->rf_ci, tree->rf_blkno, in ocfs2_lock_refcount_tree()
546 (unsigned long long) tree->rf_blkno); in ocfs2_purge_refcount_trees()
636 rb->rf_blkno = cpu_to_le64(first_blkno); in ocfs2_create_refcount_tree()
795 blk = le64_to_cpu(rb->rf_blkno); in ocfs2_remove_refcount_tree()
1339 new_rb->rf_blkno = cpu_to_le64(blkno); in ocfs2_expand_inline_ref_root()
1584 new_rb->rf_blkno = cpu_to_le64(blkno); in ocfs2_new_leaf_refcount_block()
2117 le64_to_cpu(rb->rf_blkno), in ocfs2_remove_refcount_extent()
2320 ret = ocfs2_read_refcount_block(&tree->rf_ci, tree->rf_blkno, in ocfs2_decrease_refcount()