HomeSort by relevance Sort by last modified time
    Searched refs:CRYPT_INPLACE_BUFSIZE (Results 1 - 3 of 3) sorted by null

  /system/vold/
EncryptInplace.h 22 #define CRYPT_INPLACE_BUFSIZE 4096
EncryptInplace.cpp 52 #define CRYPT_SECTORS_PER_BUFSIZE (CRYPT_INPLACE_BUFSIZE / CRYPT_SECTOR_SIZE)
394 off64_t offset = pos * CRYPT_INPLACE_BUFSIZE;
396 if (pread64(priv_dat->realfd, priv_dat->buffer, CRYPT_INPLACE_BUFSIZE, offset) <= 0) {
401 if (pwrite64(priv_dat->cryptofd, priv_dat->buffer, CRYPT_INPLACE_BUFSIZE, offset) <= 0) {
496 char *buf[CRYPT_INPLACE_BUFSIZE];
565 if (unix_read(realfd, buf, CRYPT_INPLACE_BUFSIZE) <= 0) {
569 if (unix_write(cryptofd, buf, CRYPT_INPLACE_BUFSIZE) <= 0) {
cryptfs.cpp     [all...]

Completed in 86 milliseconds