Lines Matching refs:attr_len
388 u32 attr_len; in ntfs_read_folio() local
477 attr_len = le32_to_cpu(ctx->attr->data.resident.value_length); in ntfs_read_folio()
479 if (unlikely(attr_len > ni->initialized_size)) in ntfs_read_folio()
480 attr_len = ni->initialized_size; in ntfs_read_folio()
483 if (unlikely(attr_len > i_size)) { in ntfs_read_folio()
485 attr_len = i_size; in ntfs_read_folio()
491 attr_len); in ntfs_read_folio()
493 memset(addr + attr_len, 0, PAGE_SIZE - attr_len); in ntfs_read_folio()
1346 u32 attr_len; in ntfs_writepage() local
1469 attr_len = le32_to_cpu(ctx->attr->data.resident.value_length); in ntfs_writepage()
1471 if (unlikely(attr_len > i_size)) { in ntfs_writepage()
1473 attr_len = i_size; in ntfs_writepage()
1479 attr_len); in ntfs_writepage()
1487 addr, attr_len); in ntfs_writepage()
1489 memset(addr + attr_len, 0, PAGE_SIZE - attr_len); in ntfs_writepage()