Searched refs:NTFS_BLOCK_SIZE (Results 1 - 8 of 8) sorted by relevance

/macosx-10.10.1/ntfs-84/kext/
H A Dntfs_mst.c74 if (size & (NTFS_BLOCK_SIZE - 1) || usa_ofs & 1 ||
89 data_pos = (u16*)b + NTFS_BLOCK_SIZE/sizeof(u16) - 1;
101 data_pos += NTFS_BLOCK_SIZE/sizeof(u16);
105 data_pos = (u16*)b + NTFS_BLOCK_SIZE/sizeof(u16) - 1;
114 data_pos += NTFS_BLOCK_SIZE/sizeof(u16);
156 if (size & (NTFS_BLOCK_SIZE - 1) || usa_ofs & 1 ||
172 data_pos = (le16*)b + NTFS_BLOCK_SIZE/sizeof(le16) - 1;
183 data_pos += NTFS_BLOCK_SIZE/sizeof(le16);
205 data_pos = (le16*)b + NTFS_BLOCK_SIZE/sizeof(le16) - 1;
214 data_pos += NTFS_BLOCK_SIZE/sizeo
[all...]
H A Dntfs.h87 NTFS_BLOCK_SIZE = 512, enumerator in enum:__anon11037
H A Dntfs_logfile.c70 * This function only needs NTFS_BLOCK_SIZE bytes in @rp, i.e. it does not
87 if (logfile_system_page_size < NTFS_BLOCK_SIZE ||
88 logfile_log_page_size < NTFS_BLOCK_SIZE ||
133 usa_end > NTFS_BLOCK_SIZE - sizeof(u16)) {
178 * This function only needs NTFS_BLOCK_SIZE bytes in @rp, i.e. it does not
197 NTFS_BLOCK_SIZE - sizeof(u16)) {
211 ra_ofs + ca_ofs > NTFS_BLOCK_SIZE - sizeof(u16)) {
358 * This function only needs NTFS_BLOCK_SIZE bytes in @rp, i.e. it does not
458 NTFS_BLOCK_SIZE - sizeof(u16)) {
618 pos = NTFS_BLOCK_SIZE /
[all...]
H A Dntfs_mft.c1645 if (vol->mft_record_size < NTFS_BLOCK_SIZE)
1646 panic("%s(): vol->mft_record_size < NTFS_BLOCK_SIZE\n",
1663 m->usa_count = cpu_to_le16(1 + vol->mft_record_size / NTFS_BLOCK_SIZE);
2506 if (le16_to_cpu(m->usa_ofs) < NTFS_BLOCK_SIZE - sizeof(u16))
H A Dntfs_index.c1917 ia->usa_count = cpu_to_le16(1 + (idx_ni->block_size / NTFS_BLOCK_SIZE));
2207 if (le16_to_cpu(ia->usa_ofs) < NTFS_BLOCK_SIZE - sizeof(u16))
2404 ia->usa_count = cpu_to_le16(1 + (idx_ni->block_size / NTFS_BLOCK_SIZE));
H A Dntfs_vfsops.c4246 * NTFS_BLOCK_SIZE, change the block size to NTFS_BLOCK_SIZE.
4248 if (blocksize < NTFS_BLOCK_SIZE) {
4249 ntfs_debug("Setting device block size to NTFS_BLOCK_SIZE.");
4250 err = ntfs_blocksize_set(mp, dev_vn, NTFS_BLOCK_SIZE, context);
4253 "NTFS_BLOCK_SIZE (512 bytes) because "
4258 blocksize = NTFS_BLOCK_SIZE;
4261 "to NTFS_BLOCK_SIZE.", blocksize);
H A Dntfs_inode.c2933 if (ni->block_size < NTFS_BLOCK_SIZE) {
2934 ntfs_error(vol->mp, "Index block size (%u) < NTFS_BLOCK_SIZE "
2936 (unsigned)ni->block_size, NTFS_BLOCK_SIZE);
/macosx-10.10.1/ntfs-84/util/
H A Dntfs.util.c278 if (size & (NTFS_BLOCK_SIZE - 1) || usa_ofs & 1 ||
293 data_pos = (u16*)b + NTFS_BLOCK_SIZE/sizeof(u16) - 1;
305 data_pos += NTFS_BLOCK_SIZE/sizeof(u16);
309 data_pos = (u16*)b + NTFS_BLOCK_SIZE/sizeof(u16) - 1;
318 data_pos += NTFS_BLOCK_SIZE/sizeof(u16);
743 if (sector_size < NTFS_BLOCK_SIZE)
744 sector_size = NTFS_BLOCK_SIZE;
768 * sector which fits inside the first NTFS_BLOCK_SIZE bytes.
770 if (read(f, buf, sector_size) < NTFS_BLOCK_SIZE) {

Completed in 236 milliseconds