Lines Matching refs:rf_blkno
112 if (le64_to_cpu(rb->rf_blkno) != bh->b_blocknr) { in ocfs2_validate_refcount_block()
117 (unsigned long long)le64_to_cpu(rb->rf_blkno)); in ocfs2_validate_refcount_block()
154 return rf->rf_blkno; in ocfs2_refcount_cache_owner()
211 if (blkno < tree->rf_blkno) in ocfs2_find_refcount_tree()
213 else if (blkno > tree->rf_blkno) in ocfs2_find_refcount_tree()
226 u64 rf_blkno = new->rf_blkno; in ocfs2_insert_refcount_tree() local
237 if (rf_blkno < tmp->rf_blkno) in ocfs2_insert_refcount_tree()
239 else if (rf_blkno > tmp->rf_blkno) in ocfs2_insert_refcount_tree()
244 (unsigned long long)rf_blkno); in ocfs2_insert_refcount_tree()
309 u64 rf_blkno, u32 generation) in ocfs2_init_refcount_tree_lock() argument
313 rf_blkno, generation); in ocfs2_init_refcount_tree_lock()
317 ocfs2_allocate_refcount_tree(struct ocfs2_super *osb, u64 rf_blkno) in ocfs2_allocate_refcount_tree() argument
325 new->rf_blkno = rf_blkno; in ocfs2_allocate_refcount_tree()
332 static int ocfs2_get_refcount_tree(struct ocfs2_super *osb, u64 rf_blkno, in ocfs2_get_refcount_tree() argument
342 osb->osb_ref_tree_lru->rf_blkno == rf_blkno) in ocfs2_get_refcount_tree()
345 tree = ocfs2_find_refcount_tree(osb, rf_blkno); in ocfs2_get_refcount_tree()
351 new = ocfs2_allocate_refcount_tree(osb, rf_blkno); in ocfs2_get_refcount_tree()
365 ret = ocfs2_read_refcount_block(&new->rf_ci, rf_blkno, &ref_root_bh); in ocfs2_get_refcount_tree()
375 ocfs2_init_refcount_tree_lock(osb, new, rf_blkno, in ocfs2_get_refcount_tree()
380 tree = ocfs2_find_refcount_tree(osb, rf_blkno); in ocfs2_get_refcount_tree()
478 ret = ocfs2_read_refcount_block(&tree->rf_ci, tree->rf_blkno, in ocfs2_lock_refcount_tree()
548 (unsigned long long) tree->rf_blkno); in ocfs2_purge_refcount_trees()
638 rb->rf_blkno = cpu_to_le64(first_blkno); in ocfs2_create_refcount_tree()
797 blk = le64_to_cpu(rb->rf_blkno); in ocfs2_remove_refcount_tree()
1343 new_rb->rf_blkno = cpu_to_le64(blkno); in ocfs2_expand_inline_ref_root()
1590 new_rb->rf_blkno = cpu_to_le64(blkno); in ocfs2_new_leaf_refcount_block()
2123 le64_to_cpu(rb->rf_blkno), in ocfs2_remove_refcount_extent()
2326 ret = ocfs2_read_refcount_block(&tree->rf_ci, tree->rf_blkno, in ocfs2_decrease_refcount()