Searched refs:os_err (Results 1 – 8 of 8) sorted by relevance
168 int os_err = get_scsi_pt_os_err(ptvp); in sg_ll_get_lba_status16() local170 if ((os_err > 0) && (os_err < 47)) in sg_ll_get_lba_status16()171 ret = SG_LIB_OS_BASE_ERR + os_err; in sg_ll_get_lba_status16()247 int os_err = get_scsi_pt_os_err(ptvp); in sg_ll_get_lba_status32() local249 if ((os_err > 0) && (os_err < 47)) in sg_ll_get_lba_status32()250 ret = SG_LIB_OS_BASE_ERR + os_err; in sg_ll_get_lba_status32()320 int os_err = get_scsi_pt_os_err(ptvp); in sg_ll_report_tgt_prt_grp2() local322 if ((os_err > 0) && (os_err < 47)) in sg_ll_report_tgt_prt_grp2()323 ret = SG_LIB_OS_BASE_ERR + os_err; in sg_ll_report_tgt_prt_grp2()387 int os_err = get_scsi_pt_os_err(ptvp); in sg_ll_set_tgt_prt_grp() local[all …]
141 int os_err = get_scsi_pt_os_err(ptvp); in sg_ll_sync_cache_10() local143 if ((os_err > 0) && (os_err < 47)) in sg_ll_sync_cache_10()144 ret = SG_LIB_OS_BASE_ERR + os_err; in sg_ll_sync_cache_10()197 int os_err = get_scsi_pt_os_err(ptvp); in sg_ll_readcap_16() local199 if ((os_err > 0) && (os_err < 47)) in sg_ll_readcap_16()200 ret = SG_LIB_OS_BASE_ERR + os_err; in sg_ll_readcap_16()250 int os_err = get_scsi_pt_os_err(ptvp); in sg_ll_readcap_10() local252 if ((os_err > 0) && (os_err < 47)) in sg_ll_readcap_10()253 ret = SG_LIB_OS_BASE_ERR + os_err; in sg_ll_readcap_10()308 int os_err = get_scsi_pt_os_err(ptvp); in sg_ll_mode_sense6() local[all …]
103 int os_err = get_scsi_pt_os_err(ptvp); in sg_ll_set_cd_speed() local105 if ((os_err > 0) && (os_err < 47)) in sg_ll_set_cd_speed()106 ret = SG_LIB_OS_BASE_ERR + os_err; in sg_ll_set_cd_speed()178 int os_err = get_scsi_pt_os_err(ptvp); in sg_ll_get_config() local180 if ((os_err > 0) && (os_err < 47)) in sg_ll_get_config()181 ret = SG_LIB_OS_BASE_ERR + os_err; in sg_ll_get_config()273 int os_err = get_scsi_pt_os_err(ptvp); in sg_ll_get_performance() local275 if ((os_err > 0) && (os_err < 47)) in sg_ll_get_performance()276 ret = SG_LIB_OS_BASE_ERR + os_err; in sg_ll_get_performance()357 int os_err = get_scsi_pt_os_err(ptvp); in sg_ll_set_streaming() local[all …]
202 int os_err = 0; in check_file_type() local208 os_err = errno; in check_file_type()211 safe_strerror(os_err), os_err); in check_file_type()228 os_err = errno; in check_file_type()231 "(errno=%d)\n", __func__, safe_strerror(os_err), in check_file_type()232 os_err); in check_file_type()234 os_err = 0; in check_file_type()238 os_err = EBADF; in check_file_type()266 *os_err_p = os_err; in check_file_type()495 &ptp->os_err, verbose); in set_pt_file_handle()[all …]
513 int os_err = get_scsi_pt_os_err(ptvp); in sg_ll_test_unit_ready_progress() local515 if ((os_err > 0) && (os_err < 47)) in sg_ll_test_unit_ready_progress()516 ret = SG_LIB_OS_BASE_ERR + os_err; in sg_ll_test_unit_ready_progress()587 int os_err = get_scsi_pt_os_err(ptvp); in sg_ll_request_sense() local589 if ((os_err > 0) && (os_err < 47)) in sg_ll_request_sense()590 ret = SG_LIB_OS_BASE_ERR + os_err; in sg_ll_request_sense()645 int os_err = get_scsi_pt_os_err(ptvp); in sg_ll_report_luns() local647 if ((os_err > 0) && (os_err < 47)) in sg_ll_report_luns()648 ret = SG_LIB_OS_BASE_ERR + os_err; in sg_ll_report_luns()
310 ptp->os_err = 0; in do_nvme_admin_cmd()331 ptp->os_err = -res; in do_nvme_admin_cmd()638 ptp->os_err = 0; in sntl_tur()687 ptp->os_err = 0; in sntl_req_sense()
105 int os_err; member
107 os_err = OSError(*io_err.args)108 os_err.filename = getattr(io_err, 'filename', None)109 raise os_err