Lines Matching defs:type

829  * @type:	attribute type to find
841 * attribute of @type, optionally @name and @val. If found, ntfs_attr_find()
855 * If @type is AT_UNUSED, return the first found attribute, i.e. one can
856 * enumerate all attributes by setting @type to AT_UNUSED and then calling
862 * If @type is AT_END, seek to the end and return -1 with errno set to ENOENT.
897 static int mkntfs_attr_find(const ATTR_TYPES type, const ntfschar *name,
921 if (((type != AT_UNUSED) && (le32_to_cpu(a->type) >
922 le32_to_cpu(type))) ||
923 (a->type == AT_END)) {
930 if (type == AT_UNUSED)
932 if (a->type != type)
1018 * @type: attribute type to find
1034 * If @type is AT_UNUSED, return the first found attribute, i.e. one can
1035 * enumerate all attributes by setting @type to AT_UNUSED and then calling
1041 * If @type is AT_END, seek to the end of the base mft record ignoring the
1073 * The only exception to this is when @type is AT_END, in which case
1082 static int mkntfs_attr_lookup(const ATTR_TYPES type, const ntfschar *name,
1097 if (!base_ni || !NInoAttrList(base_ni) || type == AT_ATTRIBUTE_LIST)
1098 return mkntfs_attr_find(type, name, name_len, ic, val, val_len,
1114 const ATTR_TYPES type, const char *name, u32 name_len,
1148 if (!mkntfs_attr_lookup(type, uname, uname_len, ic, 0, NULL, 0, ctx)) {
1231 a->type = type;
1297 const ATTR_TYPES type, const char *name, u32 name_len,
1331 if (!mkntfs_attr_lookup(type, uname, uname_len, ic, 0, NULL, 0, ctx)) {
1416 a->type = type;
1485 const ATTR_TYPES type, const char *name, u32 name_len,
1517 if (!mkntfs_attr_lookup(type, uname, uname_len, ic, 0, val, val_len,
1559 a->type = type;
1563 if (type == AT_OBJECT_ID)
1899 r->type = (indexed_attr_type == AT_FILE_NAME) ? AT_FILE_NAME : 0;
2318 MFT_RECORD *m, ntfschar *name, u32 name_size, ATTR_TYPES type)
2358 if (type == AT_FILE_NAME) {
2391 } else if (type == AT_UNUSED) { /* case view */