Lines Matching refs:cpos
344 u32 phys, cpos = offset >> OCFS2_SB(inode->i_sb)->s_clustersize_bits;
356 status = ocfs2_get_clusters(inode, cpos, &phys,
366 return ocfs2_refcount_cow(inode, fe_bh, cpos, 1, cpos+1);
1441 u32 cpos, phys_cpos, clusters, alloc_size;
1469 cpos = start >> OCFS2_SB(inode->i_sb)->s_clustersize_bits;
1471 clusters -= cpos;
1474 ret = ocfs2_get_clusters(inode, cpos, &phys_cpos,
1496 ret = ocfs2_extend_allocation(inode, cpos, alloc_size, 1);
1504 cpos += alloc_size;
2147 u32 cpos, clusters, extent_len, phys_cpos;
2155 cpos = pos >> OCFS2_SB(sb)->s_clustersize_bits;
2156 clusters = ocfs2_clusters_for_bytes(sb, pos + count) - cpos;
2159 ret = ocfs2_get_clusters(inode, cpos, &phys_cpos, &extent_len,
2175 cpos += extent_len;
2258 u32 cpos;
2337 cpos = pos >> OCFS2_SB(inode->i_sb)->s_clustersize_bits;
2339 ocfs2_clusters_for_bytes(inode->i_sb, pos + count) - cpos;
2340 ret = ocfs2_refcount_cow(inode, di_bh, cpos, clusters, UINT_MAX);