Searched refs:CRYPT_SECTOR_SIZE (Results 1 – 1 of 1) sorted by relevance
/system/vold/ |
D | cryptfs.cpp | 1982 #define CRYPT_SECTORS_PER_BUFSIZE (CRYPT_INPLACE_BUFSIZE / CRYPT_SECTOR_SIZE) 1983 #define CRYPT_SECTOR_SIZE 512 macro 2063 offset / info.block_size * CRYPT_SECTOR_SIZE); in log_progress() 2070 data->offset / info.block_size * CRYPT_SECTOR_SIZE); in log_progress() 2107 / info.block_size * CRYPT_SECTOR_SIZE - 1; in flush_outstanding_data() 2455 if (lseek64(realfd, i * CRYPT_SECTOR_SIZE, SEEK_SET) < 0) { in cryptfs_enable_inplace_full() 2460 if (lseek64(cryptofd, i * CRYPT_SECTOR_SIZE, SEEK_SET) < 0) { in cryptfs_enable_inplace_full() 2466 if (unix_read(realfd, buf, CRYPT_SECTOR_SIZE) <= 0) { in cryptfs_enable_inplace_full() 2471 if (unix_write(cryptofd, buf, CRYPT_SECTOR_SIZE) <= 0) { in cryptfs_enable_inplace_full() 2515 if (unix_read(realfd, buf, CRYPT_SECTOR_SIZE) <= 0) { in cryptfs_enable_inplace_full() [all …]
|