Home
last modified time | relevance | path

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

/fs/ocfs2/
Dextent_map.c662 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()
Dxattr.c1104 u32 cpos, p_cluster, num_clusters, bpc, clusters; in ocfs2_xattr_get_value_outside() local
1113 bpc = ocfs2_clusters_to_blocks(inode->i_sb, 1); in ocfs2_xattr_get_value_outside()
1127 for (i = 0; i < num_clusters * bpc; i++, blkno++) { in ocfs2_xattr_get_value_outside()
1354 u32 cpos = 0, bpc = ocfs2_clusters_to_blocks(inode->i_sb, 1); in __ocfs2_xattr_set_value_outside() local
1376 for (i = 0; i < num_clusters * bpc; i++, blkno++) { in __ocfs2_xattr_set_value_outside()
3972 u32 bpc = ocfs2_xattr_buckets_per_cluster(OCFS2_SB(inode->i_sb)); in ocfs2_iterate_xattr_buckets() local
3973 u32 num_buckets = clusters * bpc; in ocfs2_iterate_xattr_buckets()
5103 u16 bpc = ocfs2_clusters_to_blocks(inode->i_sb, 1); in ocfs2_add_new_xattr_cluster() local
5138 if (bucket_blkno(first) + (prev_clusters * bpc) == block && in ocfs2_add_new_xattr_cluster()
6934 unsigned int bpc = in ocfs2_reflink_xattr_buckets() local
[all …]
Dsuballoc.c1623 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()
Daops.c1127 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()