Lines Matching refs:CRYPT_SECTOR_SIZE
52 #define CRYPT_SECTORS_PER_BUFSIZE (CRYPT_INPLACE_BUFSIZE / CRYPT_SECTOR_SIZE)
136 offset / info.block_size * CRYPT_SECTOR_SIZE);
143 data->offset / info.block_size * CRYPT_SECTOR_SIZE);
180 / info.block_size * CRYPT_SECTOR_SIZE - 1;
528 if (lseek64(realfd, i * CRYPT_SECTOR_SIZE, SEEK_SET) < 0) {
533 if (lseek64(cryptofd, i * CRYPT_SECTOR_SIZE, SEEK_SET) < 0) {
539 if (unix_read(realfd, buf, CRYPT_SECTOR_SIZE) <= 0) {
544 if (unix_write(cryptofd, buf, CRYPT_SECTOR_SIZE) <= 0) {
588 if (unix_read(realfd, buf, CRYPT_SECTOR_SIZE) <= 0) {
592 if (unix_write(cryptofd, buf, CRYPT_SECTOR_SIZE) <= 0) {