Home
last modified time | relevance | path

Searched refs:trunc_len (Results 1 – 3 of 3) sorted by relevance

/fs/ocfs2/
Dfile.c1705 u32 *trunc_len, u32 *trunc_end, in ocfs2_calc_trunc_pos() argument
1723 *trunc_len = *trunc_end - le32_to_cpu(rec->e_cpos); in ocfs2_calc_trunc_pos()
1737 *trunc_len = *trunc_end - trunc_start; in ocfs2_calc_trunc_pos()
1762 u32 trunc_start, trunc_len, trunc_end, trunc_cpos, phys_cpos; in ocfs2_remove_inode_range() local
1888 &trunc_len, &trunc_end, &blkno, &done); in ocfs2_remove_inode_range()
1896 phys_cpos, trunc_len, flags, in ocfs2_remove_inode_range()
Dalloc.c7209 u32 new_highest_cpos, range, trunc_cpos, trunc_len, phys_cpos, coff; in ocfs2_commit_truncate() local
7307 trunc_len = 0; in ocfs2_commit_truncate()
7315 trunc_len = ocfs2_rec_clusters(el, rec); in ocfs2_commit_truncate()
7323 trunc_len = range - new_highest_cpos; in ocfs2_commit_truncate()
7337 if ((flags & OCFS2_EXT_REFCOUNTED) && trunc_len && !ref_tree) { in ocfs2_commit_truncate()
7347 phys_cpos, trunc_len, flags, &dealloc, in ocfs2_commit_truncate()
Dxattr.c812 u32 trunc_len, cpos, phys_cpos, alloc_size; in ocfs2_xattr_shrink_size() local
819 trunc_len = old_clusters - new_clusters; in ocfs2_xattr_shrink_size()
820 while (trunc_len) { in ocfs2_xattr_shrink_size()
829 if (alloc_size > trunc_len) in ocfs2_xattr_shrink_size()
830 alloc_size = trunc_len; in ocfs2_xattr_shrink_size()
844 trunc_len -= alloc_size; in ocfs2_xattr_shrink_size()