Searched refs:blk_dev (Results 1 – 1 of 1) sorted by relevance
/bootable/recovery/uncrypt/ |
D | uncrypt.cpp | 246 static int produce_block_map(const char* path, const char* map_file, const char* blk_dev, in produce_block_map() argument 281 blk_dev, static_cast<int64_t>(sb.st_size), in produce_block_map() 303 wfd.reset(open(blk_dev, O_WRONLY)); in produce_block_map() 305 PLOG(ERROR) << "failed to open " << blk_dev << " for writing"; in produce_block_map() 416 PLOG(ERROR) << "failed to fsync \"" << blk_dev << "\""; in produce_block_map() 420 PLOG(ERROR) << "failed to close " << blk_dev; in produce_block_map() 461 const char* blk_dev = find_block_device(path, &encryptable, &encrypted); in uncrypt() local 462 if (blk_dev == NULL) { in uncrypt() 482 return produce_block_map(path, map_file, blk_dev, encrypted, socket); in uncrypt()
|