Searched refs:delay_info (Results 1 – 3 of 3) sorted by relevance
730 struct ctl_io_delay_info delay_info; in cctl_delay() local739 memset(&delay_info, 0, sizeof(delay_info)); in cctl_delay()762 delay_info.delay_loc = CTL_DELAY_LOC_DATAMOVE; in cctl_delay()764 delay_info.delay_loc = CTL_DELAY_LOC_DONE; in cctl_delay()773 delay_info.delay_type = CTL_DELAY_TYPE_ONESHOT; in cctl_delay()775 delay_info.delay_type = CTL_DELAY_TYPE_CONT; in cctl_delay()782 delay_info.lun_id = lun; in cctl_delay()783 delay_info.delay_secs = delaytime; in cctl_delay()785 if (ioctl(fd, CTL_DELAY_IO, &delay_info) == -1) { in cctl_delay()790 switch (delay_info.status) { in cctl_delay()[all …]
2740 struct ctl_io_delay_info *delay_info; in ctl_ioctl() local2742 delay_info = (struct ctl_io_delay_info *)addr; in ctl_ioctl()2746 if (delay_info->lun_id >= ctl_max_luns || in ctl_ioctl()2747 (lun = softc->ctl_luns[delay_info->lun_id]) == NULL) { in ctl_ioctl()2749 delay_info->status = CTL_DELAY_STATUS_INVALID_LUN; in ctl_ioctl()2754 delay_info->status = CTL_DELAY_STATUS_OK; in ctl_ioctl()2755 switch (delay_info->delay_type) { in ctl_ioctl()2760 delay_info->status = CTL_DELAY_STATUS_INVALID_TYPE; in ctl_ioctl()2763 switch (delay_info->delay_loc) { in ctl_ioctl()2765 lun->delay_info.datamove_type = delay_info->delay_type; in ctl_ioctl()[all …]
331 struct ctl_lun_delay_info delay_info; member