Lines Matching full:device
165 if (!(devroot = config_find(root, "device"))) {
166 LOGE("Could not find device section in config file '%s'", fn);
172 LOGE("device path is requried");
175 dinfo->device = strdup(tmp);
218 LOGE("Device must specify partition list");
230 if (dinfo->device)
231 free(dinfo->device);
281 if ((fd = open(dinfo->device, O_RDWR)) < 0) {
282 LOGE("Cannot open device '%s' (errno=%d)", dinfo->device, errno);
287 LOGE("Cannot stat file '%s', errno=%d.", dinfo->device, errno);
295 /* Verify that we can operate on the device that was requested.
305 LOGE("Device sector size is zero or sector sizes do not match!");
312 LOGE("Could not get block device size (errno=%d)", errno);
320 LOGI("Requesting operation on a regular file, not block device.");
332 LOGE("Device does not refer to a regular file or a block device!");
337 LOGV("Device/file %s: size=%llu bytes, num_lba=%u, sect_size=%d",
338 dinfo->device, disk_size, dinfo->num_lba, dinfo->sect_size);
462 printf("Device: %s\n", dinfo->device);