Lines Matching refs:bg_blkno
111 u64 bg_blkno,
115 u64 *bg_blkno,
173 if (le64_to_cpu(gd->bg_blkno) != bh->b_blocknr) { in ocfs2_validate_gd_self()
176 (unsigned long long)le64_to_cpu(gd->bg_blkno)); in ocfs2_validate_gd_self()
382 bg->bg_blkno = cpu_to_le64(group_blkno); in ocfs2_block_group_fill()
428 u64 bg_blkno; in ocfs2_block_group_alloc_contig() local
442 bg_blkno = ocfs2_clusters_to_blocks(osb->sb, bit_off); in ocfs2_block_group_alloc_contig()
444 (unsigned long long)bg_blkno, alloc_rec); in ocfs2_block_group_alloc_contig()
446 bg_bh = sb_getblk(osb->sb, bg_blkno); in ocfs2_block_group_alloc_contig()
455 bg_blkno, num_bits, alloc_rec, cl); in ocfs2_block_group_alloc_contig()
585 u64 bg_blkno; in ocfs2_block_group_alloc_discontig() local
622 bg_blkno = ocfs2_clusters_to_blocks(osb->sb, bit_off); in ocfs2_block_group_alloc_discontig()
624 (unsigned long long)bg_blkno, alloc_rec); in ocfs2_block_group_alloc_discontig()
626 bg_bh = sb_getblk(osb->sb, bg_blkno); in ocfs2_block_group_alloc_discontig()
635 bg_blkno, num_bits, alloc_rec, cl); in ocfs2_block_group_alloc_discontig()
726 cl->cl_recs[alloc_rec].c_blkno = bg->bg_blkno; in ocfs2_block_group_alloc()
1399 (unsigned long long)le64_to_cpu(bg->bg_blkno), in ocfs2_block_group_set_bits()
1477 (unsigned long long)le64_to_cpu(bg->bg_blkno), in ocfs2_relink_block_group()
1478 (unsigned long long)le64_to_cpu(prev_bg->bg_blkno)); in ocfs2_relink_block_group()
1505 fe->id2.i_chain.cl_recs[chain].c_blkno = bg->bg_blkno; in ocfs2_relink_block_group()
1558 le64_to_cpu(gd->bg_blkno)); in ocfs2_cluster_group_search()
1563 (unsigned long long)le64_to_cpu(gd->bg_blkno), in ocfs2_cluster_group_search()
1616 blkoff = le64_to_cpu(bg->bg_blkno) + in ocfs2_block_group_search()
1695 u64 bg_blkno = res->sr_bg_blkno; /* Save off */ in ocfs2_bg_discontig_fix_result() local
1714 res->sr_bg_blkno = bg_blkno; /* Restore */ in ocfs2_bg_discontig_fix_result()
1850 (unsigned long long)le64_to_cpu(bg->bg_blkno), res->sr_bits); in ocfs2_search_chain()
1852 res->sr_bg_blkno = le64_to_cpu(bg->bg_blkno); in ocfs2_search_chain()
2295 u64 bg_blkno, in ocfs2_desc_bitmap_to_cluster_off() argument
2303 if (bg_blkno != osb->first_cluster_group_blkno) in ocfs2_desc_bitmap_to_cluster_off()
2304 cluster = ocfs2_blocks_to_clusters(inode->i_sb, bg_blkno); in ocfs2_desc_bitmap_to_cluster_off()
2329 u64 *bg_blkno, in ocfs2_block_to_cluster_group() argument
2337 *bg_blkno = ocfs2_which_cluster_group(inode, in ocfs2_block_to_cluster_group()
2340 if (*bg_blkno == osb->first_cluster_group_blkno) in ocfs2_block_to_cluster_group()
2344 data_blkno - *bg_blkno); in ocfs2_block_to_cluster_group()
2489 (unsigned long long)le64_to_cpu(bg->bg_blkno), in ocfs2_block_group_clear_bits()
2524 u64 bg_blkno, in _ocfs2_free_suballoc_bits() argument
2547 (unsigned long long)bg_blkno, in _ocfs2_free_suballoc_bits()
2550 status = ocfs2_read_group_descriptor(alloc_inode, fe, bg_blkno, in _ocfs2_free_suballoc_bits()
2595 u64 bg_blkno, in ocfs2_free_suballoc_bits() argument
2599 start_bit, bg_blkno, count, NULL); in ocfs2_free_suballoc_bits()
2609 u64 bg_blkno = ocfs2_which_suballoc_group(blk, bit); in ocfs2_free_dinode() local
2612 bg_blkno = le64_to_cpu(di->i_suballoc_loc); in ocfs2_free_dinode()
2614 inode_alloc_bh, bit, bg_blkno, 1); in ocfs2_free_dinode()
2627 u64 bg_blkno; in _ocfs2_free_clusters() local
2639 ocfs2_block_to_cluster_group(bitmap_inode, start_blk, &bg_blkno, in _ocfs2_free_clusters()
2642 trace_ocfs2_free_clusters((unsigned long long)bg_blkno, in _ocfs2_free_clusters()
2647 bg_start_bit, bg_blkno, in _ocfs2_free_clusters()
2838 u64 bg_blkno; in ocfs2_test_suballoc_bit() local
2853 bg_blkno = group_blkno ? group_blkno : in ocfs2_test_suballoc_bit()
2855 status = ocfs2_read_group_descriptor(suballoc, alloc_di, bg_blkno, in ocfs2_test_suballoc_bit()
2859 (unsigned long long)bg_blkno, status); in ocfs2_test_suballoc_bit()