Home
last modified time | relevance | path

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

/fs/ocfs2/
Dfile.c1709 u32 *trunc_len, u32 *trunc_end, in ocfs2_calc_trunc_pos() argument
1727 *trunc_len = *trunc_end - le32_to_cpu(rec->e_cpos); in ocfs2_calc_trunc_pos()
1741 *trunc_len = *trunc_end - trunc_start; in ocfs2_calc_trunc_pos()
1766 u32 trunc_start, trunc_len, trunc_end, trunc_cpos, phys_cpos; in ocfs2_remove_inode_range() local
1892 &trunc_len, &trunc_end, &blkno, &done); in ocfs2_remove_inode_range()
1900 phys_cpos, trunc_len, flags, in ocfs2_remove_inode_range()
Dalloc.c7202 u32 new_highest_cpos, range, trunc_cpos, trunc_len, phys_cpos, coff; in ocfs2_commit_truncate() local
7300 trunc_len = 0; in ocfs2_commit_truncate()
7308 trunc_len = ocfs2_rec_clusters(el, rec); in ocfs2_commit_truncate()
7316 trunc_len = range - new_highest_cpos; in ocfs2_commit_truncate()
7330 if ((flags & OCFS2_EXT_REFCOUNTED) && trunc_len && !ref_tree) { in ocfs2_commit_truncate()
7340 phys_cpos, trunc_len, flags, &dealloc, in ocfs2_commit_truncate()
Dxattr.c816 u32 trunc_len, cpos, phys_cpos, alloc_size; in ocfs2_xattr_shrink_size() local
823 trunc_len = old_clusters - new_clusters; in ocfs2_xattr_shrink_size()
824 while (trunc_len) { in ocfs2_xattr_shrink_size()
833 if (alloc_size > trunc_len) in ocfs2_xattr_shrink_size()
834 alloc_size = trunc_len; in ocfs2_xattr_shrink_size()
848 trunc_len -= alloc_size; in ocfs2_xattr_shrink_size()