Lines Matching defs:type
373 * find_attribute - Find an attribute of the given type
374 * @type: An attribute type, e.g. AT_FILE_NAME
378 * given attribute type.
386 ATTR_RECORD * find_attribute(const ATTR_TYPES type, ntfs_attr_search_ctx *ctx)
393 if (ntfs_attr_lookup(type, NULL, 0, 0, 0, NULL, 0, ctx) != 0) {
394 ntfs_log_debug("find_attribute didn't find an attribute of type: 0x%02x.\n", type);
395 return NULL; /* None / no more of that type */
398 ntfs_log_debug("find_attribute found an attribute of type: 0x%02x.\n", type);
403 * find_first_attribute - Find the first attribute of a given type
404 * @type: An attribute type, e.g. AT_FILE_NAME
407 * Search through a raw MFT record for an attribute of a given type.
416 ATTR_RECORD * find_first_attribute(const ATTR_TYPES type, MFT_RECORD *mft)
432 rec = find_attribute(type, ctx);
435 ntfs_log_debug("find_first_attribute: found attr of type 0x%02x.\n", type);
437 ntfs_log_debug("find_first_attribute: didn't find attr of type 0x%02x.\n", type);
583 attrdef = ntfs_attr_find_in_attrdef(vol, attr->type);
588 ntfs_log_error("Couldn't translate attribute type to "
595 ntfs_log_error("Unknown attribute type 0x%02x\n", attr->type);
600 ntfs_log_error("Attribute type was truncated.\n");