Home
last modified time | relevance | path

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

/linux-4.4.14/fs/ocfs2/
Daops.c661 u32 p_cpos = 0; in ocfs2_is_overwrite() local
666 ret = ocfs2_get_clusters(inode, v_cpos, &p_cpos, in ocfs2_is_overwrite()
673 if (p_cpos && !(ext_flags & OCFS2_EXT_UNWRITTEN)) in ocfs2_is_overwrite()
683 u32 p_cpos = 0; in ocfs2_direct_IO_zero_extend() local
692 ret = ocfs2_get_clusters(inode, v_cpos, &p_cpos, &num_clusters, in ocfs2_direct_IO_zero_extend()
699 if (p_cpos && !(ext_flags & OCFS2_EXT_UNWRITTEN)) { in ocfs2_direct_IO_zero_extend()
701 sector_t sector = ((u64)p_cpos << (osb->s_clustersize_bits - 9)) + in ocfs2_direct_IO_zero_extend()
717 u32 p_cpos = 0, clusters_to_add; in ocfs2_direct_IO_extend_no_holes() local
755 ret = ocfs2_get_clusters(inode, v_cpos, &p_cpos, &num_clusters, in ocfs2_direct_IO_extend_no_holes()
762 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.c880 u32 p_cpos, zero_clusters = 0; in ocfs2_zero_extend_get_range() local
888 rc = ocfs2_get_clusters(inode, zero_cpos, &p_cpos, in ocfs2_zero_extend_get_range()
895 if (p_cpos && !(ext_flags & OCFS2_EXT_UNWRITTEN)) { in ocfs2_zero_extend_get_range()
911 &p_cpos, &num_clusters, in ocfs2_zero_extend_get_range()
918 if (!p_cpos || (ext_flags & OCFS2_EXT_UNWRITTEN)) in ocfs2_zero_extend_get_range()
Dsuballoc.c512 u32 p_cpos, clusters; in ocfs2_block_group_grow_discontig() local
530 min_bits, &p_cpos, in ocfs2_block_group_grow_discontig()
537 p_blkno = ocfs2_clusters_to_blocks(osb->sb, p_cpos); in ocfs2_block_group_grow_discontig()
Ddir.c4424 u32 major_hash = UINT_MAX, p_cpos, uninitialized_var(cpos); in ocfs2_dx_dir_truncate() local
4459 p_cpos = ocfs2_blocks_to_clusters(dir->i_sb, blkno); in ocfs2_dx_dir_truncate()
4461 ret = ocfs2_remove_btree_range(dir, &et, cpos, p_cpos, clen, 0, in ocfs2_dx_dir_truncate()