Lines Matching refs:attr_len
111 u32 attr_len; in ntfs_attr_extend_initialized() local
154 attr_len = le32_to_cpu(a->data.resident.value_length); in ntfs_attr_extend_initialized()
155 BUG_ON(old_i_size != (loff_t)attr_len); in ntfs_attr_extend_initialized()
161 memset(kattr + attr_len, 0, new_init_size - attr_len); in ntfs_attr_extend_initialized()
1545 u32 attr_len; in ntfs_commit_pages_after_write() local
1594 attr_len = le32_to_cpu(a->data.resident.value_length); in ntfs_commit_pages_after_write()
1596 BUG_ON(attr_len != i_size); in ntfs_commit_pages_after_write()
1597 BUG_ON(pos > attr_len); in ntfs_commit_pages_after_write()
1606 if (end > attr_len) { in ntfs_commit_pages_after_write()
1607 attr_len = end; in ntfs_commit_pages_after_write()
1608 a->data.resident.value_length = cpu_to_le32(attr_len); in ntfs_commit_pages_after_write()
1617 if (end < attr_len) in ntfs_commit_pages_after_write()
1618 memcpy(kaddr + end, kattr + end, attr_len - end); in ntfs_commit_pages_after_write()
1620 memset(kaddr + attr_len, 0, PAGE_SIZE - attr_len); in ntfs_commit_pages_after_write()