Searched refs:usa_ofs (Results 1 - 7 of 7) sorted by relevance

/macosx-10.10/ntfs-84/kext/
H A Dntfs_mst.c67 u16 usa_ofs, usa_count, usn; local
70 usa_ofs = le16_to_cpu(b->usa_ofs);
74 if (size & (NTFS_BLOCK_SIZE - 1) || usa_ofs & 1 ||
75 (u32)usa_ofs + ((u32)usa_count * 2) > size ||
79 usa_pos = (u16*)b + usa_ofs/sizeof(u16);
144 u16 usa_ofs, usa_count, usn; local
152 usa_ofs = le16_to_cpu(b->usa_ofs);
156 if (size & (NTFS_BLOCK_SIZE - 1) || usa_ofs
200 u16 usa_ofs = le16_to_cpu(b->usa_ofs); local
[all...]
H A Dntfs_logfile.h86 /* 4*/ le16 usa_ofs; /* See NTFS_RECORD definition in ntfs_layout.h. member in struct:__anon11428
99 of the usa (usa_count) and add it to usa_ofs.
H A Dntfs_logfile.c77 u16 ra_ofs, usa_count, usa_ofs, usa_end = 0; local
130 usa_ofs = le16_to_cpu(rp->usa_ofs);
131 usa_end = usa_ofs + usa_count * sizeof(u16);
132 if (usa_ofs < sizeof(RESTART_PAGE_HEADER) ||
H A Dntfs_layout.h193 * maximum size = usa_ofs + (usa_count * 2) = 510 bytes
196 * This formula can be used as a consistency check in that usa_ofs +
202 le16 usa_ofs; /* Offset to the Update Sequence Array (usa) member in struct:__anon11330
340 le16 usa_ofs; /* See NTFS_RECORD definition above. */ member in struct:__anon11333
409 le16 usa_ofs; /* See NTFS_RECORD definition above. */ member in struct:__anon11334
2082 le16 usa_ofs; /* See NTFS_RECORD definition. */ member in struct:__anon11394
H A Dntfs_mft.c1652 m->usa_ofs = cpu_to_le16((sizeof(MFT_RECORD_OLD) + 1) & ~1);
1654 m->usa_ofs = cpu_to_le16((sizeof(MFT_RECORD) + 1) & ~1);
1665 *(le16*)((u8*)m + le16_to_cpu(m->usa_ofs)) = cpu_to_le16(1);
1673 m->attrs_offset = cpu_to_le16((le16_to_cpu(m->usa_ofs) +
2506 if (le16_to_cpu(m->usa_ofs) < NTFS_BLOCK_SIZE - sizeof(u16))
2507 usn = *(le16*)((u8*)m + le16_to_cpu(m->usa_ofs));
2518 *(le16*)((u8*)m + le16_to_cpu(m->usa_ofs)) = usn;
H A Dntfs_index.c1916 ia->usa_ofs = const_cpu_to_le16(sizeof(INDEX_BLOCK));
1919 *(le16*)((u8*)ia + le16_to_cpu(ia->usa_ofs)) = cpu_to_le16(1);
2207 if (le16_to_cpu(ia->usa_ofs) < NTFS_BLOCK_SIZE - sizeof(u16))
2208 usn = *(le16*)((u8*)ia + le16_to_cpu(ia->usa_ofs));
2214 *(le16*)((u8*)ia + le16_to_cpu(ia->usa_ofs)) = usn;
2403 ia->usa_ofs = const_cpu_to_le16(sizeof(INDEX_BLOCK));
2406 *(le16*)((u8*)ia + le16_to_cpu(ia->usa_ofs)) = cpu_to_le16(1);
2995 *(le16*)((u8*)ictx->ia + le16_to_cpu(ictx->ia->usa_ofs)) =
2996 *(le16*)((u8*)ia + le16_to_cpu(ia->usa_ofs));
/macosx-10.10/ntfs-84/util/
H A Dntfs.util.c271 u16 usa_ofs, usa_count, usn; local
274 usa_ofs = le16_to_cpu(b->usa_ofs);
278 if (size & (NTFS_BLOCK_SIZE - 1) || usa_ofs & 1 ||
279 (u32)usa_ofs + ((u32)usa_count * 2) > size ||
283 usa_pos = (u16*)b + usa_ofs/sizeof(u16);

Completed in 204 milliseconds