Lines Matching refs:SECTOR_SIZE
113 if ((fo & 1) || fo + fn * sizeof(short) > SECTOR_SIZE || !fn-- || in ntfs_fix_pre_write()
114 fn * SECTOR_SIZE > bytes) { in ntfs_fix_pre_write()
128 ptr = Add2Ptr(rhdr, SECTOR_SIZE - sizeof(short)); in ntfs_fix_pre_write()
133 ptr += SECTOR_SIZE / sizeof(short); in ntfs_fix_pre_write()
155 if ((fo & 1) || fo + fn * sizeof(short) > SECTOR_SIZE || !fn-- || in ntfs_fix_post_read()
156 fn * SECTOR_SIZE > bytes) { in ntfs_fix_post_read()
163 ptr = Add2Ptr(rhdr, SECTOR_SIZE - sizeof(short)); in ntfs_fix_post_read()
175 ptr += SECTOR_SIZE / sizeof(short); in ntfs_fix_post_read()
1381 if ((fo & 1) || fo + fn * sizeof(short) > SECTOR_SIZE || !fn-- || in ntfs_write_bh()
1382 fn * SECTOR_SIZE > bytes) { in ntfs_write_bh()
1420 ptr = Add2Ptr(bh_data, SECTOR_SIZE - sizeof(short)); in ntfs_write_bh()
1425 ptr += SECTOR_SIZE / sizeof(short); in ntfs_write_bh()