Home
last modified time | relevance | path

Searched refs:bpc (Results 1 – 4 of 4) sorted by relevance

/fs/ocfs2/
Dextent_map.c664 int bpc = ocfs2_clusters_to_blocks(inode->i_sb, 1); in ocfs2_extent_map_get_blocks() local
682 boff += (v_blkno & (u64)(bpc - 1)); in ocfs2_extent_map_get_blocks()
689 *ret_count -= v_blkno & (u64)(bpc - 1); in ocfs2_extent_map_get_blocks()
Dxattr.c1106 u32 cpos, p_cluster, num_clusters, bpc, clusters; in ocfs2_xattr_get_value_outside() local
1115 bpc = ocfs2_clusters_to_blocks(inode->i_sb, 1); in ocfs2_xattr_get_value_outside()
1129 for (i = 0; i < num_clusters * bpc; i++, blkno++) { in ocfs2_xattr_get_value_outside()
1356 u32 cpos = 0, bpc = ocfs2_clusters_to_blocks(inode->i_sb, 1); in __ocfs2_xattr_set_value_outside() local
1378 for (i = 0; i < num_clusters * bpc; i++, blkno++) { in __ocfs2_xattr_set_value_outside()
3974 u32 bpc = ocfs2_xattr_buckets_per_cluster(OCFS2_SB(inode->i_sb)); in ocfs2_iterate_xattr_buckets() local
3975 u32 num_buckets = clusters * bpc; in ocfs2_iterate_xattr_buckets()
5105 u16 bpc = ocfs2_clusters_to_blocks(inode->i_sb, 1); in ocfs2_add_new_xattr_cluster() local
5140 if (bucket_blkno(first) + (prev_clusters * bpc) == block && in ocfs2_add_new_xattr_cluster()
6936 unsigned int bpc = in ocfs2_reflink_xattr_buckets() local
[all …]
Dsuballoc.c1625 unsigned int bpc = le16_to_cpu(cl->cl_bpc); in ocfs2_bg_discontig_fix_by_rec() local
1626 unsigned int bitoff = le32_to_cpu(rec->e_cpos) * bpc; in ocfs2_bg_discontig_fix_by_rec()
1627 unsigned int bitcount = le16_to_cpu(rec->e_leaf_clusters) * bpc; in ocfs2_bg_discontig_fix_by_rec()
Daops.c1131 int bpc = ocfs2_clusters_to_blocks(inode->i_sb, 1); in ocfs2_write_cluster() local
1189 p_blkno += (user_pos >> inode->i_sb->s_blocksize_bits) & (u64)(bpc - 1); in ocfs2_write_cluster()