Home
last modified time | relevance | path

Searched refs:ret (Results 1 – 8 of 8) sorted by relevance

/pciutils/lib/
H A Dsylixos-device.c67 int ret = -1; in sylixos_read() local
81 ret = pciConfigInByte(d->bus, d->dev, d->func, pos, &data_byte); in sylixos_read()
82 if (ret != ERROR_NONE) in sylixos_read()
88 ret = pciConfigInWord(d->bus, d->dev, d->func, pos, &data_word); in sylixos_read()
89 if (ret != ERROR_NONE) in sylixos_read()
96 if (ret != ERROR_NONE) in sylixos_read()
108 int ret = PX_ERROR; in sylixos_write() local
123 ret = pciConfigOutByte(d->bus, d->dev, d->func, pos, data_byte); in sylixos_write()
124 if (ret != ERROR_NONE) in sylixos_write()
131 if (ret != ERROR_NONE) in sylixos_write()
[all …]
H A Dwin32-helpers.c416 BOOL ret; in win32_have_privilege() local
435 return ret; in win32_have_privilege()
1443 BOOL ret; in win32_call_func_with_tcb_privilege() local
1453 goto ret; in win32_call_func_with_tcb_privilege()
1476 goto ret; in win32_call_func_with_tcb_privilege()
1568 goto ret; in win32_call_func_with_tcb_privilege()
1582 goto ret; in win32_call_func_with_tcb_privilege()
1586 ret = FALSE; in win32_call_func_with_tcb_privilege()
1587 goto ret; in win32_call_func_with_tcb_privilege()
1589 ret: in win32_call_func_with_tcb_privilege()
[all …]
H A Dphysmem-djgpp.c248 int ret; in physmem_open() local
271 ret = __dpmi_get_version(&version); in physmem_open()
272 if (ret != 0) in physmem_open()
285 ret = __dpmi_get_capabilities(&capabilities, vendor); in physmem_open()
286 if (ret == 0 && (capabilities & 0xffff) == 0x0401) in physmem_open()
287 ret = -1; in physmem_open()
289 if (ret == 0) in physmem_open()
306 if (ret == 0 && (capabilities & (1<<2))) in physmem_open()
H A Dhurd.c120 int ret; in enum_devices() local
146 ret = strtol(entry->d_name, 0, 16); in enum_devices()
163 domain = ret; in enum_devices()
166 bus = ret; in enum_devices()
169 dev = ret; in enum_devices()
172 func = ret; in enum_devices()
H A Dwin32-kldbg.c171 BOOL ret = FALSE; in win32_kldbg_unpack_driver() local
241 ret = TRUE; in win32_kldbg_unpack_driver()
257 ret = TRUE; in win32_kldbg_unpack_driver()
269 return ret; in win32_kldbg_unpack_driver()
417 int ret = 0; in win32_kldbg_start_driver() local
455 ret = 1; in win32_kldbg_start_driver()
464 return ret; in win32_kldbg_start_driver()
H A Di386-io-windows.h153 BOOL ret; in SetProcessUserModeIOPL() local
175 ret = win32_call_func_with_tcb_privilege(SetProcessUserModeIOPLFunc, (LPVOID)&Arg); in SetProcessUserModeIOPL()
177 if (!ret) in SetProcessUserModeIOPL()
H A Decam.c459 int ret; local
477 ret = glob(acpimcfg, GLOB_NOCHECK, NULL, &mcfg_glob);
478 if (ret != 0)
479 a->debug("glob(%s) failed: %d...", acpimcfg, ret);
895 int ret; local
907 ret = glob(acpimcfg, GLOB_NOCHECK, NULL, &mcfg_glob);
908 if (ret == 0)
919 a->debug("glob(%s) failed: %d...", acpimcfg, ret);
/pciutils/lmr/
H A Dmargin_args.c147 int ret = sscanf(optarg, "%1[1-6]%1[tv]=%f%n%3[%,ps]%n%1[f]%n", recv, dir, &criteria, in parse_dev_args() local
149 if (ret < 3) in parse_dev_args()
151 ret = sscanf(optarg, "%1[1-6]%1[tv]=%1[f]%n,%f%n%2[ps%]%n", recv, dir, eye, in parse_dev_args()
153 if (ret < 3) in parse_dev_args()