Lines Matching defs:attr
1088 * the name itself is at offset 0x58 from the data attr.
1150 FILE_NAME_ATTR *attr;
1165 attr = (FILE_NAME_ATTR *)((char *)rec +
1176 name->uname = attr->file_name;
1177 name->uname_len = attr->file_name_length;
1178 name->name_space = attr->file_name_type;
1179 name->size_alloc = sle64_to_cpu(attr->allocated_size);
1180 name->size_data = sle64_to_cpu(attr->data_size);
1181 name->flags = attr->file_attributes;
1183 name->date_c = ntfs2timespec(attr->creation_time).tv_sec;
1184 name->date_a = ntfs2timespec(attr->last_data_change_time).tv_sec;
1185 name->date_m = ntfs2timespec(attr->last_mft_change_time).tv_sec;
1186 name->date_r = ntfs2timespec(attr->last_access_time).tv_sec;
1197 name->parent_mref = attr->parent_directory;
1222 attr = (FILE_NAME_ATTR *)((char *)rec +
1224 name->flags = attr->file_attributes;
1226 name->date_c = ntfs2timespec(attr->creation_time).tv_sec;
1227 name->date_a = ntfs2timespec(attr->last_data_change_time).tv_sec;
1228 name->date_m = ntfs2timespec(attr->last_mft_change_time).tv_sec;
1229 name->date_r = ntfs2timespec(attr->last_access_time).tv_sec;
1233 attr = (FILE_NAME_ATTR *)((char *)rec +
1235 name->size_alloc = sle64_to_cpu(attr->allocated_size);
1236 name->size_data = sle64_to_cpu(attr->data_size);
2223 ntfs_attr *attr;
2235 attr = ntfs_attr_open(vol->mft_ni, AT_BITMAP, AT_UNNAMED, 0);
2236 if (!attr) {
2241 bmpsize = attr->initialized_size;
2272 size = ntfs_attr_pread(attr, i, read_count, buffer);
2333 if (attr)
2334 ntfs_attr_close(attr);
2391 goto attr;
2422 attr: