Home
last modified time | relevance | path

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

/linux-4.19.296/fs/ocfs2/
Dfile.c1717 u32 *trunc_len, u32 *trunc_end, in ocfs2_calc_trunc_pos() argument
1735 *trunc_len = *trunc_end - le32_to_cpu(rec->e_cpos); in ocfs2_calc_trunc_pos()
1749 *trunc_len = *trunc_end - trunc_start; in ocfs2_calc_trunc_pos()
1774 u32 trunc_start, trunc_len, trunc_end, trunc_cpos, phys_cpos; in ocfs2_remove_inode_range() local
1900 &trunc_len, &trunc_end, &blkno, &done); in ocfs2_remove_inode_range()
1908 phys_cpos, trunc_len, flags, in ocfs2_remove_inode_range()
Dalloc.c7205 u32 new_highest_cpos, range, trunc_cpos, trunc_len, phys_cpos, coff; in ocfs2_commit_truncate() local
7303 trunc_len = 0; in ocfs2_commit_truncate()
7311 trunc_len = ocfs2_rec_clusters(el, rec); in ocfs2_commit_truncate()
7319 trunc_len = range - new_highest_cpos; in ocfs2_commit_truncate()
7333 if ((flags & OCFS2_EXT_REFCOUNTED) && trunc_len && !ref_tree) { in ocfs2_commit_truncate()
7343 phys_cpos, trunc_len, flags, &dealloc, in ocfs2_commit_truncate()
Dxattr.c826 u32 trunc_len, cpos, phys_cpos, alloc_size; in ocfs2_xattr_shrink_size() local
833 trunc_len = old_clusters - new_clusters; in ocfs2_xattr_shrink_size()
834 while (trunc_len) { in ocfs2_xattr_shrink_size()
843 if (alloc_size > trunc_len) in ocfs2_xattr_shrink_size()
844 alloc_size = trunc_len; in ocfs2_xattr_shrink_size()
858 trunc_len -= alloc_size; in ocfs2_xattr_shrink_size()