Home
last modified time | relevance | path

Searched refs:error (Results 1 – 25 of 33) sorted by relevance

12

/pciutils/lib/
H A Dwin32-kldbg.c170 DWORD error = 0; in win32_kldbg_unpack_driver() local
182 error = GetLastError(); in win32_kldbg_unpack_driver()
234 error = GetLastError(); in win32_kldbg_unpack_driver()
416 DWORD error = 0; in win32_kldbg_start_driver() local
431 error = GetLastError(); in win32_kldbg_start_driver()
446 error = GetLastError(); in win32_kldbg_start_driver()
472 DWORD error; in win32_kldbg_setup() local
491 error = GetLastError(); in win32_kldbg_setup()
520 error = GetLastError(); in win32_kldbg_setup()
556 error = GetLastError(); in win32_kldbg_setup()
[all …]
H A Dwin32-cfgmgr32.c351 DWORD error; in get_driver_path_for_service() local
356 error = GetLastError(); in get_driver_path_for_service()
364 error = GetLastError(); in get_driver_path_for_service()
377 error = GetLastError(); in get_driver_path_for_service()
389 error = GetLastError(); in get_driver_path_for_service()
549 LONG error; in read_reg_key_string_value() local
556 SetLastError(error); in read_reg_key_string_value()
578 SetLastError(error); in read_reg_key_string_value()
614 LONG error; in get_driver_path_for_regkey() local
623 if (error == 0) in get_driver_path_for_regkey()
[all …]
H A Dphysmem-djgpp.c155 int error; in set_and_get_page_attributes() local
162 error = __dpmi_error; in set_and_get_page_attributes()
164 switch (error) in set_and_get_page_attributes()
196 error = __dpmi_error; in set_and_get_page_attributes()
198 switch (error) in set_and_get_page_attributes()
397 int error; in physmem_map() local
538 error = __dpmi_error; in physmem_map()
543 switch (error) in physmem_map()
582 error = __dpmi_error; in physmem_map()
587 switch (error) in physmem_map()
H A Dfbsd-device.c76 a->error("fbsd_init: %s open failed", name); in fbsd_init()
114 a->error("calloc: %s", strerror(errno)); in fbsd_scan()
133 a->error("fbsd_scan: ioctl(PCIOCGETCONF) failed: %s", in fbsd_scan()
140 a->error("fbsd_scan: ioctl(PCIOCGETCONF) failed"); in fbsd_scan()
201 d->access->error("fbsd_fill_info: ioctl(PCIOCGETCONF) failed: %s", strerror(errno)); in fbsd_fill_info()
236 d->access->error("fbsd_fill_info: ioctl(PCIOCGETBAR) failed: %s", strerror(errno)); in fbsd_fill_info()
281 d->access->error("fbsd_read: ioctl(PCIOCREAD) failed: %s", strerror(errno)); in fbsd_read()
346 d->access->error("fbsd_write: ioctl(PCIOCWRITE) failed: %s", strerror(errno)); in fbsd_write()
H A Dinit.c247 …(a && a->error ? a->error : pci_generic_error)("Out of memory (allocation of %d bytes failed)", si… in pci_malloc()
484 if (!a->error) in pci_init_internal()
485 a->error = pci_generic_error; in pci_init_internal()
496 a->error("This access method is not supported."); in pci_init_internal()
531 a->error("Cannot find any working access method."); in pci_init_v35()
547 b->error = a->error; in pci_clone_access()
H A Ddump.c68 a->error("dump: File name not given."); in dump_init()
70 a->error("dump: Cannot open %s: %s", name, strerror(errno)); in dump_init()
77 a->error("dump: line too long or unterminated"); in dump_init()
109 a->error("dump: At most 4096 bytes of config space are supported"); in dump_init()
128 a->error("dump: Malformed line"); in dump_init()
167 d->access->error("Writing to dump files is not supported."); in dump_write()
H A Dsysfs.c87 d->access->error("File name too long"); in sysfs_obj_name()
98 void (*warn)(char *msg, ...) = (mandatory ? a->error : a->warning); in sysfs_get_string()
168 a->error("Cannot open %s: %s", namebuf, strerror(errno)); in sysfs_get_resources()
175 a->error("Syntax error in %s", namebuf); in sysfs_get_resources()
246 a->error("Directory name too long"); in sysfs_scan()
249 a->error("Cannot open %s", dirname); in sysfs_scan()
261 a->error("sysfs_scan: Couldn't parse entry name %s", entry->d_name); in sysfs_scan()
265 a->error("sysfs_scan: Invalid domain %x", dom); in sysfs_scan()
286 a->error("Directory name too long"); in sysfs_fill_slots()
305 a->error("File name too long"); in sysfs_fill_slots()
H A Dhurd.c54 a->error("Could not open file `%s'", _SERVERS_BUS_PCI); in hurd_detect()
109 d->access->error("Cannot find the PCI arbiter"); in device_port_lookup()
133 a->error("Cannot open directory: %s (%s)", parent, strerror(errno)); in enum_devices()
152 a->error("Wrong directory name: %s (number expected) probably " in enum_devices()
178 a->error("Wrong directory tree, probably not connected to an arbiter"); in enum_devices()
200 a->error("Cannot close directory: %s (%s)", parent, strerror(errno)); in enum_devices()
H A Daix-device.c61 a->error("aix_find_bus: bus number %d not found", bus_number); in aix_find_bus()
78 a->error("aix_open_bus: %s open failed", devbuf); in aix_bus_open()
139 a->error("aix_config: popen(\"%s\") failed", command); in aix_detect()
233 d->access->error("aix_read: ioctl(MIOPCFGET) failed"); in aix_read()
256 d->access->error("aix_write: ioctl(MIOPCFPUT) failed"); in aix_write()
H A Decam.c390 DWORD error; in get_system_firmware_table_acpi_mcfg() local
406 error = GetLastError(); in get_system_firmware_table_acpi_mcfg()
407 if (error == ERROR_INVALID_FUNCTION) /* ACPI is not present. */ in get_system_firmware_table_acpi_mcfg()
409 else if (error == ERROR_NOT_FOUND) /* MCFG table is not present. */ in get_system_firmware_table_acpi_mcfg()
411 a->debug("Cannot retrieve ACPI MCFG table: %s.\n", win32_strerror(error)); in get_system_firmware_table_acpi_mcfg()
419 error = GetLastError(); in get_system_firmware_table_acpi_mcfg()
420 a->debug("Cannot retrieve ACPI MCFG table: %s.\n", win32_strerror(error)); in get_system_firmware_table_acpi_mcfg()
1038 a->error("Option ecam.addrs has invalid address format \"%s\".", addrs);
1044 a->error("Cannot open physcal memory: %s.", strerror(errno));
1048 a->error("Cannot get page size: %s.", strerror(errno));
[all …]
H A Di386-io-windows.h67 #error "Unsupported compiler"
217 DWORD error = GetLastError(); in intel_setup_io() local
218 …cessUserModeIOPL call failed: %s.", error == ERROR_INVALID_FUNCTION ? "Call is not supported" : wi… in intel_setup_io()
H A Dproc.c66 a->error("File name too long"); in proc_scan()
69 a->error("Cannot open %s", buf); in proc_scan()
99 a->error("proc: parse error (read only %d items)", cnt); in proc_scan()
149 a->error("File name too long"); in proc_setup()
158 a->error("File name too long"); in proc_setup()
H A Dnbsd-libpci.c58 a->error("nbsd_init: %s open failed", name); in nbsd_init()
83 d->access->error("nbsd_read: pci_bus_conf_read() failed"); in nbsd_read()
123 d->access->error("nbsd_write: pci_bus_conf_read() failed"); in nbsd_write()
140 d->access->error("nbsd_write: pci_bus_conf_write() failed"); in nbsd_write()
H A Dwin32-helpers.c1141 DWORD error; in win32_find_and_open_process_for_query() local
1253 error = GetLastError(); in win32_find_and_open_process_for_query()
1262 if (length == 0 && error == ERROR_PARTIAL_COPY && partial_retry++ < 10) in win32_find_and_open_process_for_query()
1279 if (MyGetProcessImageFileNameW && length == 0 && error != ERROR_INSUFFICIENT_BUFFER) in win32_find_and_open_process_for_query()
1330 DWORD error; in try_grant_permissions_and_open_process_token() local
1344 error = GetLastError(); in try_grant_permissions_and_open_process_token()
1350 else if (error != ERROR_ACCESS_DENIED) in try_grant_permissions_and_open_process_token()
1442 DWORD error; in win32_call_func_with_tcb_privilege() local
1590 error = GetLastError(); in win32_call_func_with_tcb_privilege()
1601 SetLastError(error); in win32_call_func_with_tcb_privilege()
H A Drt-thread-smart-dm.c66 a->error("File name too long"); in rt_thread_smart_dm_scan()
70 a->error("Cannot open %s", buf); in rt_thread_smart_dm_scan()
101 a->error("proc: parse error (read only %d items)", cnt); in rt_thread_smart_dm_scan()
152 a->error("File name too long"); in rt_thread_smart_dm_setup()
H A Dobsd-device.c48 a->error("obsd_init: %s open failed", name); in obsd_init()
84 d->access->error("obsd_read: ioctl(PCIOCREAD) failed"); in obsd_read()
135 d->access->error("obsd_write: ioctl(PCIOCWRITE) failed"); in obsd_write()
H A Dmmio-ports.c253 a->error("Option %s was not specified.", addrs_param_name); in conf1_init()
256 a->error("Option %s has invalid address format \"%s\".", addrs_param_name, addrs); in conf1_init()
260 a->error("Cannot open physcal memory: %s.", strerror(errno)); in conf1_init()
264 a->error("Cannot get page size: %s.", strerror(errno)); in conf1_init()
H A Ddarwin.c138 …d->access->error("darwin_read: kACPIMethodAddressSpaceRead failed: %s", mach_error_string(status)); in darwin_read()
194 …d->access->error("darwin_read: kACPIMethodAddressSpaceWrite failed: %s", mach_error_string(status)… in darwin_write()
H A Di386-ports.c36 #error Do not know how to access I/O ports on this OS.
53 a->error("No permission to access I/O ports (you probably have to be root)."); in conf12_init()
H A Daccess.c98 d->access->error("Unaligned read: pos=%02x, len=%d", pos, len); in pci_read_data()
145 d->access->error("Unaligned write: pos=%02x,len=%d", pos, len); in pci_write_data()
H A Dphysmem-windows.c222 #error "Unsupported compiler" in w32skrnl_physical_address_mapping()
326 #error "Unsupported compiler" in vdxcall_physical_address_mapping()
362 #error "Unsupported compiler" in win32_get_physmem_offset()
H A Di386-io-access.h73 #error Do not know how to access I/O ports on this compiler
H A Dsysdep.h105 #error "BYTE_ORDER not defined for your platform"
H A Dparams.c39 acc->error("Parameter %s re-defined differently", param); in pci_define_param()
/pciutils/
H A Dbitops.h16 #error Import only from pci.h

12