Searched refs:scsi_cmd_run_and_log (Results 1 – 1 of 1) sorted by relevance
/systemd-251/src/udev/cdrom_id/ |
D | cdrom_id.c | 217 static int scsi_cmd_run_and_log(struct scsi_cmd *cmd, int fd, unsigned char *buf, size_t bufsize, c… in scsi_cmd_run_and_log() function 248 return scsi_cmd_run_and_log(&sc, fd, NULL, 0, "start/stop unit"); in media_eject() 332 r = scsi_cmd_run_and_log(&sc, c->fd, inq, sizeof(inq), "inquire"); in cd_inquiry() 369 …r = scsi_cmd_run_and_log(&sc, c->fd, (unsigned char *)&discinfo.disc_information_length, sizeof(di… in cd_profiles_old_mmc() 381 … r = scsi_cmd_run_and_log(&sc, c->fd, (unsigned char *)&discinfo, len, "read disc information"); in cd_profiles_old_mmc() 458 r = scsi_cmd_run_and_log(&sc, c->fd, features, len, "get configuration"); in cd_profiles() 520 r = scsi_cmd_run_and_log(&sc, c->fd, dvdstruct, sizeof(dvdstruct), "read DVD structure"); in dvd_ram_media_update_state() 535 r = scsi_cmd_run_and_log(&sc, c->fd, format, sizeof(format), "read DVD format capacities"); in dvd_ram_media_update_state() 584 r = scsi_cmd_run_and_log(&sc, c->fd, buffer, sizeof(buffer), "read first 32 blocks"); in dvd_media_update_state() 623 r = scsi_cmd_run_and_log(&sc, c->fd, header, sizeof(header), "read disc information"); in cd_media_info() [all …]
|