Searched refs:bpc (Results 1 – 4 of 4) sorted by relevance
/fs/ocfs2/ |
D | extent_map.c | 662 int bpc = ocfs2_clusters_to_blocks(inode->i_sb, 1); in ocfs2_extent_map_get_blocks() local 680 boff += (v_blkno & (u64)(bpc - 1)); in ocfs2_extent_map_get_blocks() 687 *ret_count -= v_blkno & (u64)(bpc - 1); in ocfs2_extent_map_get_blocks()
|
D | xattr.c | 1100 u32 cpos, p_cluster, num_clusters, bpc, clusters; in ocfs2_xattr_get_value_outside() local 1109 bpc = ocfs2_clusters_to_blocks(inode->i_sb, 1); in ocfs2_xattr_get_value_outside() 1123 for (i = 0; i < num_clusters * bpc; i++, blkno++) { in ocfs2_xattr_get_value_outside() 1350 u32 cpos = 0, bpc = ocfs2_clusters_to_blocks(inode->i_sb, 1); in __ocfs2_xattr_set_value_outside() local 1372 for (i = 0; i < num_clusters * bpc; i++, blkno++) { in __ocfs2_xattr_set_value_outside() 3968 u32 bpc = ocfs2_xattr_buckets_per_cluster(OCFS2_SB(inode->i_sb)); in ocfs2_iterate_xattr_buckets() local 3969 u32 num_buckets = clusters * bpc; in ocfs2_iterate_xattr_buckets() 5099 u16 bpc = ocfs2_clusters_to_blocks(inode->i_sb, 1); in ocfs2_add_new_xattr_cluster() local 5134 if (bucket_blkno(first) + (prev_clusters * bpc) == block && in ocfs2_add_new_xattr_cluster() 6930 unsigned int bpc = in ocfs2_reflink_xattr_buckets() local [all …]
|
D | suballoc.c | 1623 unsigned int bpc = le16_to_cpu(cl->cl_bpc); in ocfs2_bg_discontig_fix_by_rec() local 1624 unsigned int bitoff = le32_to_cpu(rec->e_cpos) * bpc; in ocfs2_bg_discontig_fix_by_rec() 1625 unsigned int bitcount = le16_to_cpu(rec->e_leaf_clusters) * bpc; in ocfs2_bg_discontig_fix_by_rec()
|
D | aops.c | 1127 int bpc = ocfs2_clusters_to_blocks(inode->i_sb, 1); in ocfs2_write_cluster() local 1185 p_blkno += (user_pos >> inode->i_sb->s_blocksize_bits) & (u64)(bpc - 1); in ocfs2_write_cluster()
|