Home
last modified time | relevance | path

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

/linux-6.1.9/drivers/net/wireless/ath/ath6kl/
Dinit.c1664 size_t trunc_len, len = 0; in ath6kl_init_get_fwcaps() local
1679 trunc_len = strlen(trunc) + 1; in ath6kl_init_get_fwcaps()
1680 strncpy(buf + buf_len - trunc_len, trunc, trunc_len); in ath6kl_init_get_fwcaps()
/linux-6.1.9/fs/ocfs2/
Dfile.c1706 u32 *trunc_len, u32 *trunc_end, in ocfs2_calc_trunc_pos() argument
1724 *trunc_len = *trunc_end - le32_to_cpu(rec->e_cpos); in ocfs2_calc_trunc_pos()
1738 *trunc_len = *trunc_end - trunc_start; in ocfs2_calc_trunc_pos()
1763 u32 trunc_start, trunc_len, trunc_end, trunc_cpos, phys_cpos; in ocfs2_remove_inode_range() local
1889 &trunc_len, &trunc_end, &blkno, &done); in ocfs2_remove_inode_range()
1897 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.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()