Home
last modified time | relevance | path

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

/fs/ntfs/
Daops.c390 u32 attr_len; in ntfs_readpage() local
479 attr_len = le32_to_cpu(ctx->attr->data.resident.value_length); in ntfs_readpage()
481 if (unlikely(attr_len > ni->initialized_size)) in ntfs_readpage()
482 attr_len = ni->initialized_size; in ntfs_readpage()
485 if (unlikely(attr_len > i_size)) { in ntfs_readpage()
487 attr_len = i_size; in ntfs_readpage()
493 attr_len); in ntfs_readpage()
495 memset(addr + attr_len, 0, PAGE_SIZE - attr_len); in ntfs_readpage()
1347 u32 attr_len; in ntfs_writepage() local
1469 attr_len = le32_to_cpu(ctx->attr->data.resident.value_length); in ntfs_writepage()
[all …]
Dfile.c110 u32 attr_len; in ntfs_attr_extend_initialized() local
153 attr_len = le32_to_cpu(a->data.resident.value_length); in ntfs_attr_extend_initialized()
154 BUG_ON(old_i_size != (loff_t)attr_len); in ntfs_attr_extend_initialized()
160 memset(kattr + attr_len, 0, new_init_size - attr_len); in ntfs_attr_extend_initialized()
1552 u32 attr_len; in ntfs_commit_pages_after_write() local
1601 attr_len = le32_to_cpu(a->data.resident.value_length); in ntfs_commit_pages_after_write()
1603 BUG_ON(attr_len != i_size); in ntfs_commit_pages_after_write()
1604 BUG_ON(pos > attr_len); in ntfs_commit_pages_after_write()
1613 if (end > attr_len) { in ntfs_commit_pages_after_write()
1614 attr_len = end; in ntfs_commit_pages_after_write()
[all …]
Dattrib.c1928 u32 attr_len = 0; /* Silence stupid gcc warning. */ in ntfs_attr_extend_allocation() local
2054 attr_len = le32_to_cpu(a->data.resident.value_length); in ntfs_attr_extend_allocation()
2070 BUG_ON(new_data_size < attr_len); in ntfs_attr_extend_allocation()
2091 err = ntfs_attr_make_non_resident(ni, attr_len); in ntfs_attr_extend_allocation()
2291 attr_len = le32_to_cpu(a->length); in ntfs_attr_extend_allocation()
2450 if (ntfs_attr_record_resize(m, a, attr_len)) { in ntfs_attr_extend_allocation()
2458 mapping_pairs_offset), attr_len - in ntfs_attr_extend_allocation()
Dinode.c2367 u32 attr_len; in ntfs_truncate() local
2741 attr_len = le32_to_cpu(a->length); in ntfs_truncate()