Lines Matching refs:realfd
2249 int realfd; member
2344 if (pread64(data->realfd, data->buffer,
2398 ret = pread64(data->realfd, block_bitmap, info.block_size, offset);
2475 if ( (data.realfd = open(real_blkdev, O_RDWR|O_CLOEXEC)) < 0) {
2503 if (read_ext(data.realfd, 0) != 0) {
2541 close(data.realfd);
2580 if (pread64(priv_dat->realfd, priv_dat->buffer, CRYPT_INPLACE_BUFSIZE, offset) <= 0) {
2612 data.realfd = -1;
2614 if ( (data.realfd = open64(real_blkdev, O_RDWR|O_CLOEXEC)) < 0) {
2626 f2fs_info = generate_f2fs_info(data.realfd);
2668 close(data.realfd);
2679 int realfd, cryptofd; local
2686 if ( (realfd = open(real_blkdev, O_RDONLY|O_CLOEXEC)) < 0) {
2694 close(realfd);
2712 if (lseek64(realfd, i * CRYPT_SECTOR_SIZE, SEEK_SET) < 0) {
2723 if (unix_read(realfd, buf, CRYPT_SECTOR_SIZE) <= 0) {
2749 if (unix_read(realfd, buf, CRYPT_INPLACE_BUFSIZE) <= 0) {
2772 if (unix_read(realfd, buf, CRYPT_SECTOR_SIZE) <= 0) {
2788 close(realfd);