NTFS_BLOCK_SIZE
if (bk_cnt < 0 || bk_size % NTFS_BLOCK_SIZE) {
if (bk_cnt < 0 || bk_size % NTFS_BLOCK_SIZE) {
if (bksize & (bksize - 1) || bksize % NTFS_BLOCK_SIZE) {
if (count < 0 || bksize % NTFS_BLOCK_SIZE) {
if (index_block_size < NTFS_BLOCK_SIZE ||
if (index_block_size < NTFS_BLOCK_SIZE ||
if (icx->block_size < NTFS_BLOCK_SIZE) {
"sector size (%d)", icx->block_size, NTFS_BLOCK_SIZE);
ib->usa_count = cpu_to_le16(ib_size / NTFS_BLOCK_SIZE + 1);
usa_end > NTFS_BLOCK_SIZE - sizeof(u16)) {
NTFS_BLOCK_SIZE - sizeof(u16)) {
ra_ofs + ca_ofs > (u16)(NTFS_BLOCK_SIZE -
> (u32)(le16_to_cpu(rp->usa_count) - 1)*NTFS_BLOCK_SIZE)
if (le32_to_cpu(rp->system_page_size) <= NTFS_BLOCK_SIZE)
NTFS_BLOCK_SIZE - (int)sizeof(u16)) {
kaddr = ntfs_malloc(NTFS_BLOCK_SIZE);
if (ntfs_attr_pread(log_na, pos, NTFS_BLOCK_SIZE, kaddr) !=
NTFS_BLOCK_SIZE) {
pos = NTFS_BLOCK_SIZE >> 1;
pos = NTFS_BLOCK_SIZE >> 1;
pos = NTFS_BLOCK_SIZE >> 1;
if (logfile_system_page_size < NTFS_BLOCK_SIZE ||
logfile_log_page_size < NTFS_BLOCK_SIZE ||
if (le16_to_cpu(m->usa_ofs) <= (NTFS_BLOCK_SIZE - 2))
if (!(usa_ofs & 1) && (usa_ofs < NTFS_BLOCK_SIZE)) {
if (vol->mft_record_size >= NTFS_BLOCK_SIZE)
NTFS_BLOCK_SIZE + 1);
data_pos = (u16*)b + NTFS_BLOCK_SIZE/sizeof(u16) - 1;
data_pos += NTFS_BLOCK_SIZE/sizeof(u16);
data_pos = (u16*)b + NTFS_BLOCK_SIZE/sizeof(u16) - 1;
data_pos += NTFS_BLOCK_SIZE/sizeof(u16);
data_pos = (le16*)b + NTFS_BLOCK_SIZE/sizeof(le16) - 1;
data_pos += NTFS_BLOCK_SIZE/sizeof(le16);
data_pos = (u16*)b + NTFS_BLOCK_SIZE/sizeof(u16) - 1;
data_pos += NTFS_BLOCK_SIZE/sizeof(u16);
return size % NTFS_BLOCK_SIZE == 0 &&
usa_count == 1 + (size / NTFS_BLOCK_SIZE) &&
usa_ofs + ((u32)usa_count * 2) <= NTFS_BLOCK_SIZE - 2;
fd->geo_sector_size = NTFS_BLOCK_SIZE;
fd->geo_sector_size = NTFS_BLOCK_SIZE;
fd->geo_sector_size = NTFS_BLOCK_SIZE;
#ifndef NTFS_BLOCK_SIZE
if (index_block_size >= NTFS_BLOCK_SIZE) {
NTFS_BLOCK_SIZE + 1);