Home
last modified time | relevance | path

Searched refs:p_cpos (Results 1 – 5 of 5) sorted by relevance

/linux-4.1.27/fs/ocfs2/
Daops.c649 u32 p_cpos = 0; in ocfs2_is_overwrite() local
654 ret = ocfs2_get_clusters(inode, v_cpos, &p_cpos, in ocfs2_is_overwrite()
661 if (p_cpos && !(ext_flags & OCFS2_EXT_UNWRITTEN)) in ocfs2_is_overwrite()
671 u32 p_cpos = 0; in ocfs2_direct_IO_zero_extend() local
680 ret = ocfs2_get_clusters(inode, v_cpos, &p_cpos, &num_clusters, in ocfs2_direct_IO_zero_extend()
687 if (p_cpos && !(ext_flags & OCFS2_EXT_UNWRITTEN)) { in ocfs2_direct_IO_zero_extend()
689 sector_t sector = ((u64)p_cpos << (osb->s_clustersize_bits - 9)) + in ocfs2_direct_IO_zero_extend()
705 u32 p_cpos = 0, clusters_to_add; in ocfs2_direct_IO_extend_no_holes() local
743 ret = ocfs2_get_clusters(inode, v_cpos, &p_cpos, &num_clusters, in ocfs2_direct_IO_extend_no_holes()
750 zero_start = ocfs2_clusters_to_bytes(osb->sb, p_cpos) + in ocfs2_direct_IO_extend_no_holes()
[all …]
Dmove_extents.c60 u32 cpos, u32 len, u32 p_cpos, u32 new_p_cpos, in __ocfs2_move_extent() argument
70 u64 old_blkno = ocfs2_clusters_to_blocks(inode->i_sb, p_cpos); in __ocfs2_move_extent()
73 p_cpos, new_p_cpos, len); in __ocfs2_move_extent()
Dfile.c876 u32 p_cpos, zero_clusters = 0; in ocfs2_zero_extend_get_range() local
884 rc = ocfs2_get_clusters(inode, zero_cpos, &p_cpos, in ocfs2_zero_extend_get_range()
891 if (p_cpos && !(ext_flags & OCFS2_EXT_UNWRITTEN)) { in ocfs2_zero_extend_get_range()
907 &p_cpos, &num_clusters, in ocfs2_zero_extend_get_range()
914 if (!p_cpos || (ext_flags & OCFS2_EXT_UNWRITTEN)) in ocfs2_zero_extend_get_range()
Dsuballoc.c528 u32 p_cpos, clusters; in ocfs2_block_group_grow_discontig() local
546 min_bits, &p_cpos, in ocfs2_block_group_grow_discontig()
553 p_blkno = ocfs2_clusters_to_blocks(osb->sb, p_cpos); in ocfs2_block_group_grow_discontig()
Ddir.c4437 u32 major_hash = UINT_MAX, p_cpos, uninitialized_var(cpos); in ocfs2_dx_dir_truncate() local
4472 p_cpos = ocfs2_blocks_to_clusters(dir->i_sb, blkno); in ocfs2_dx_dir_truncate()
4474 ret = ocfs2_remove_btree_range(dir, &et, cpos, p_cpos, clen, 0, in ocfs2_dx_dir_truncate()