• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /netgear-WNDR4500-V1.0.1.40_1.0.68/src/linux/linux-2.6/fs/ntfs/

Lines Matching refs:resident

540  * @val:	attribute value to find (optional, resident attributes only)
574 * Finally, the resident attribute value @val is looked for, if present. If
581 * use ntfs_attr_find() to search for extent records of non-resident
589 * non-resident as this most likely will result in a crash!
671 a->data.resident.value_offset),
673 a->data.resident.value_length)));
682 a->data.resident.value_length);
815 * @lowest_vcn: lowest vcn to find (optional, non-resident attributes only)
816 * @val: attribute value to find (optional, resident attributes only)
1066 a->data.resident.value_length) == val_len &&
1068 le16_to_cpu(a->data.resident.value_offset),
1148 * @lowest_vcn: lowest vcn to find (optional, non-resident attributes only)
1149 * @val: attribute value to find (optional, resident attributes only)
1362 * ntfs_attr_can_be_non_resident - check if an attribute can be non-resident
1367 * be non-resident. This information is obtained from $AttrDef system file.
1369 * Return 0 if the attribute is allowed to be non-resident, -EPERM if not, and
1387 * ntfs_attr_can_be_resident - check if an attribute can be resident
1392 * be resident. This information is derived from our ntfs knowledge and may
1394 * present. Basically we allow everything to be resident except for index
1397 * Return 0 if the attribute is allowed to be non-resident and -EPERM if not.
1399 * Warning: In the system file $MFT the attribute $Bitmap must be non-resident
1417 * Resize the attribute record @a, i.e. the resident part of the attribute, in
1456 * ntfs_resident_attr_value_resize - resize the value of a resident attribute
1478 /* Resize the resident part of the attribute record. */
1480 le16_to_cpu(a->data.resident.value_offset) + new_size))
1486 old_size = le32_to_cpu(a->data.resident.value_length);
1488 memset((u8*)a + le16_to_cpu(a->data.resident.value_offset) +
1491 a->data.resident.value_length = cpu_to_le32(new_size);
1512 /* Check that the attribute is allowed to be non-resident. */
1517 "non-resident.");
1604 * Determine the size of the resident part of the now non-resident
1612 attr_size = le32_to_cpu(a->data.resident.value_length);
1617 le16_to_cpu(a->data.resident.value_offset),
1625 old_res_attr_flags = a->data.resident.flags;
1626 /* Resize the resident part of the attribute record. */
1631 * Convert the resident part of the attribute record to describe a
1632 * non-resident attribute.
1640 /* Setup the fields specific to non-resident attributes. */
1667 /* Setup the in-memory attribute structure to be non-resident. */
1713 /* Convert the attribute back into a resident attribute. */
1716 name_ofs = (offsetof(ATTR_RECORD, data.resident.reserved) +
1717 sizeof(a->data.resident.reserved) + 7) & ~7;
1724 /* Resize the resident part of the attribute record. */
1731 ntfs_error(vol->sb, "Failed to undo partial resident "
1732 "to non-resident attribute "
1749 /* Setup the fields specific to resident attributes. */
1750 a->data.resident.value_length = cpu_to_le32(attr_size);
1751 a->data.resident.value_offset = cpu_to_le16(mp_ofs);
1752 a->data.resident.flags = old_res_attr_flags;
1753 memset(&a->data.resident.reserved, 0,
1754 sizeof(a->data.resident.reserved));
1816 * For resident attributes this involves resizing the attribute record and if
1818 * converting the attribute to a non-resident attribute which in turn involves
1819 * extending the allocation of a non-resident attribute as described below.
1821 * For non-resident attributes this involves allocating clusters in the data
1846 * from resident to non-resident safely.
1886 * For non-resident attributes, @start and @new_size need to be aligned
1937 * We will be modifying both the runlist (if non-resident) and the mft
1957 * If non-resident, seek to the last extent. If resident, there is
1964 * just converted the attribute from resident to non-resident it is
1993 attr_len = le32_to_cpu(a->data.resident.value_length);
2001 le16_to_cpu(a->data.resident.value_offset) +
2006 le16_to_cpu(a->data.resident.value_offset);
2010 a->data.resident.value_length =
2028 * non-resident and if successful restart the extension process.
2034 * Could not make non-resident. If this is due to this not being
2036 * try to make other attributes non-resident. Otherwise fail.
2046 "because the conversion from resident "
2047 "to non-resident attribute failed "
2061 "record/on disk for the non-resident "
2066 "non-resident. This case is not "
2210 // other attributes non-resident and/or by moving other