Searched refs:block_dev (Results 1 – 1 of 1) sorted by relevance
55 char block_dev[PATH_MAX+1]; in sysMapBlockFile() local62 if (fgets(block_dev, sizeof(block_dev), mapf) == NULL) { in sysMapBlockFile()66 for (i = 0; i < sizeof(block_dev); ++i) { in sysMapBlockFile()67 if (block_dev[i] == '\n') { in sysMapBlockFile()68 block_dev[i] = 0; in sysMapBlockFile()102 int fd = open(block_dev, O_RDONLY); in sysMapBlockFile()104 LOGE("failed to open block device %s: %s\n", block_dev, strerror(errno)); in sysMapBlockFile()