Searched refs:usa_count (Results 1 - 7 of 7) sorted by relevance
/haiku/src/add-ons/kernel/file_systems/ntfs/libntfs/ |
H A D | mst.c | 41 is_valid_record(u32 size, u16 usa_ofs, u16 usa_count) argument 45 usa_count == 1 + (size / NTFS_BLOCK_SIZE) && 46 usa_ofs + ((u32)usa_count * 2) <= NTFS_BLOCK_SIZE - 2; 68 u16 usa_ofs, usa_count, usn; local 75 usa_count = le16_to_cpu(b->usa_count); 77 if (!is_valid_record(size, usa_ofs, usa_count)) { 81 " usa_ofs: %d usa_count: %u", 85 (unsigned int)usa_count); 106 while (--usa_count) { 171 u16 usa_ofs, usa_count, usn; local 235 u16 usa_count = le16_to_cpu(b->usa_count); local [all...] |
H A D | logfile.c | 60 u16 ra_ofs, usa_count, usa_ofs, usa_end = 0; local 108 if (ntfs_is_chkd_record(rp->magic) && !le16_to_cpu(rp->usa_count)) { 113 usa_count = 1 + (logfile_system_page_size >> NTFS_BLOCK_SIZE_BITS); 114 if (usa_count != le16_to_cpu(rp->usa_count)) { 121 usa_end = usa_ofs + usa_count * sizeof(u16); 397 * For safety, make sure this is consistent with the usa_count 401 > (u32)(le16_to_cpu(rp->usa_count) - 1)*NTFS_BLOCK_SIZE) 429 if ((!ntfs_is_chkd_record(trp->magic) || le16_to_cpu(trp->usa_count))
|
H A D | logfile.h | 73 /* 6*/ le16 usa_count; /* See NTFS_RECORD definition in layout.h. */ member in struct:__anon1505 81 of the usa (usa_count) and add it to usa_ofs. 317 le16 usa_count; /* See NTFS_RECORD definition in layout.h. */ member in struct:__anon1509
|
H A D | layout.h | 185 * maximum size = usa_ofs + (usa_count * 2) = 510 bytes 189 * (usa_count * 2) has to be less than or equal to 510. 196 le16 usa_count; /* Number of le16 sized entries in the usa member in struct:__anon18 198 thus the number of fixups is the usa_count 350 le16 usa_count; /* See NTFS_RECORD definition above. */ member in struct:__anon21 425 le16 usa_count; /* See NTFS_RECORD definition above. */ member in struct:__anon22 2157 le16 usa_count; /* See NTFS_RECORD definition. */ member in struct:__anon81
|
H A D | mft.c | 431 mrec->usa_count = cpu_to_le16(vol->mft_record_size / 434 mrec->usa_count = const_cpu_to_le16(1); 436 "Setting usa_count to 1. If Windows chkdsk " 449 (le16_to_cpu(mrec->usa_count) << 1) + 7) & ~7);
|
H A D | index.c | 918 ib->usa_count = cpu_to_le16(ib_size / NTFS_BLOCK_SIZE + 1); 926 le16_to_cpu(ib->usa_count) * 2 + 7) & ~7);
|
/haiku/src/add-ons/kernel/file_systems/ntfs/utils/ |
H A D | mkntfs.c | 2186 ia_val->usa_count = cpu_to_le16(index_block_size / 2189 ia_val->usa_count = cpu_to_le16(1); 2191 "Setting usa_count to 1. If Windows chkdsk " 2205 le16_to_cpu(ia_val->usa_count) * 2 + 7) & ~7);
|
Completed in 64 milliseconds