Lines Matching refs:name

123 				ni->name, ni->name_len) &&
152 err = ntfs_attr_lookup(ni->type, ni->name, ni->name_len,
521 * @name: attribute name to find (optional, i.e. NULL means don't care)
522 * @name_len: attribute name length (only needed if @name present)
523 * @ic: IGNORE_CASE or CASE_SENSITIVE (ignored if @name not present)
533 * attribute of @type, optionally @name and @val.
548 * If @ic is IGNORE_CASE, the @name comparisson is not case sensitive and
552 * sensitive. When @name is present, @name_len is the @name length in Unicode
555 * If @name is not present (NULL), we assume that the unnamed attribute is
575 static int ntfs_attr_find(const ATTR_TYPE type, const ntfschar *name,
608 /* check whether ATTR_RECORD's name is within bounds */
631 * If @name is present, compare the two names. If @name is
634 if (!name) {
638 } else if (!ntfs_are_names_equal(name, name_len,
643 rc = ntfs_collate_names(name, name_len,
649 * If @name collates before a->name, there is no
657 rc = ntfs_collate_names(name, name_len,
668 * The names match or @name not present and attribute is
820 * @name: attribute name to find (optional, i.e. NULL means don't care)
821 * @name_len: attribute name length (only needed if @name present)
822 * @ic: IGNORE_CASE or CASE_SENSITIVE (ignored if @name not present)
868 const ntfschar *name, const u32 name_len,
930 * If @name is present, compare the two names. If @name is
935 if (!name) {
938 } else if (!ntfs_are_names_equal(al_name, al_name_len, name,
942 rc = ntfs_collate_names(name, name_len, al_name,
946 * If @name collates before al_name, there is no
962 rc = ntfs_collate_names(name, name_len, al_name,
971 * The names match or @name not present and attribute is
1065 * If the type and/or the name are mismatched between the
1117 return ntfs_attr_find(AT_END, name, name_len, ic, val, val_len,
1151 err = ntfs_attr_find(type, name, name_len, ic, val, val_len,
1161 * @name: attribute name to find (optional, i.e. NULL means don't care)
1162 * @name_len: attribute name length (only needed if @name present)
1163 * @ic: IGNORE_CASE or CASE_SENSITIVE (ignored if @name not present)
1197 int ntfs_attr_lookup(const ATTR_TYPE type, const ntfschar *name,
1213 return ntfs_attr_find(type, name, name_len, ic, val, val_len,
1215 return ntfs_external_attr_find(type, name, name_len, ic, lowest_vcn,
1634 err = ntfs_attr_lookup(ni->type, ni->name, ni->name_len,
1646 * Calculate new offsets for the name and the mapping pairs array.
1689 /* Move the attribute name if it exists and update the offset. */
1768 /* Move the attribute name if it exists and update the offset. */
2040 err = ntfs_attr_lookup(ni->type, ni->name, ni->name_len,
2340 err = ntfs_attr_lookup(ni->type, ni->name, ni->name_len,
2395 if (ntfs_attr_lookup(ni->type, ni->name, ni->name_len, CASE_SENSITIVE,