Lines Matching defs:cpos
342 u32 phys, cpos = offset >> OCFS2_SB(inode->i_sb)->s_clustersize_bits;
354 status = ocfs2_get_clusters(inode, cpos, &phys,
364 return ocfs2_refcount_cow(inode, fe_bh, cpos, 1, cpos+1);
1435 u32 cpos, phys_cpos, clusters, alloc_size;
1463 cpos = start >> OCFS2_SB(inode->i_sb)->s_clustersize_bits;
1465 clusters -= cpos;
1468 ret = ocfs2_get_clusters(inode, cpos, &phys_cpos,
1490 ret = ocfs2_extend_allocation(inode, cpos, alloc_size, 1);
1498 cpos += alloc_size;
2131 u32 cpos, clusters, extent_len, phys_cpos;
2139 cpos = pos >> OCFS2_SB(sb)->s_clustersize_bits;
2140 clusters = ocfs2_clusters_for_bytes(sb, pos + count) - cpos;
2143 ret = ocfs2_get_clusters(inode, cpos, &phys_cpos, &extent_len,
2159 cpos += extent_len;
2242 u32 cpos;
2321 cpos = pos >> OCFS2_SB(inode->i_sb)->s_clustersize_bits;
2323 ocfs2_clusters_for_bytes(inode->i_sb, pos + count) - cpos;
2324 ret = ocfs2_refcount_cow(inode, di_bh, cpos, clusters, UINT_MAX);