Home
last modified time | relevance | path

Searched refs:os_err (Results 1 – 9 of 9) sorted by relevance

/external/f2fs-tools/tools/sg_write_buffer/
Dsg_cmds_extra.c168 int os_err = get_scsi_pt_os_err(ptvp); in sg_ll_get_lba_status16() local
170 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() local
249 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() local
322 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 …]
Dsg_cmds_basic2.c141 int os_err = get_scsi_pt_os_err(ptvp); in sg_ll_sync_cache_10() local
143 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() local
199 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() local
252 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 …]
Dsg_cmds_mmc.c103 int os_err = get_scsi_pt_os_err(ptvp); in sg_ll_set_cd_speed() local
105 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() local
180 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() local
275 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 …]
Dsg_pt_linux.c202 int os_err = 0; in check_file_type() local
208 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 …]
Dsg_cmds_basic.c513 int os_err = get_scsi_pt_os_err(ptvp); in sg_ll_test_unit_ready_progress() local
515 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() local
589 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() local
647 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()
Dsg_pt_linux_nvme.c310 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()
/external/rust/crates/getrandom/src/
Derror.rs94 fn os_err(errno: i32, buf: &mut [u8]) -> Option<&str> {
106 fn os_err(errno: i32, _buf: &mut [u8]) -> Option<wasi::Error> {
110 fn os_err(_errno: i32, _buf: &mut [u8]) -> Option<&str> {
122 if let Some(err) = os_err(errno, &mut buf) { in fmt()
139 match os_err(errno, &mut buf) { in fmt()
/external/f2fs-tools/tools/sg_write_buffer/include/
Dsg_pt_linux.h105 int os_err; member
/external/python/parse_type/tasks/_vendor/
Dpath.py107 os_err = OSError(*io_err.args)
108 os_err.filename = getattr(io_err, 'filename', None)
109 raise os_err