iPXE
Defines | Functions
mlx_bail.h File Reference
#include "mlx_types.h"

Go to the source code of this file.

Defines

#define MLX_BAIL_ERROR(id, status, message)   MLX_CHECK_STATUS(id, status, bail, message)
#define MLX_FATAL_CHECK_STATUS(status, label, message)
#define MLX_CHECK_STATUS(id, status, label, message)

Functions

 FILE_LICENCE (GPL2_OR_LATER)

Define Documentation

#define MLX_BAIL_ERROR (   id,
  status,
  message 
)    MLX_CHECK_STATUS(id, status, bail, message)

Definition at line 27 of file mlx_bail.h.

#define MLX_FATAL_CHECK_STATUS (   status,
  label,
  message 
)
#define MLX_CHECK_STATUS (   id,
  status,
  label,
  message 
)
Value:
do {                                                                                                                    \
            if (status != MLX_SUCCESS) {                                                                \
                MLX_DEBUG_ERROR(id, message " (Status = %d)\n", status);\
                goto label;                                                                                             \
            }                                                                                                                   \
        } while (0)

Definition at line 37 of file mlx_bail.h.

Referenced by flexboot_nodnic_is_supported(), flexboot_nodnic_mcast_attach(), flexboot_nodnic_mcast_detach(), flexboot_nodnic_probe(), golan_set_link_speed(), mlx_blink_leds(), mlx_get_max_mtu(), mlx_get_max_speed(), mlx_icmd_clear_semaphore(), mlx_icmd_get_semaphore(), mlx_icmd_get_status(), mlx_icmd_go(), mlx_icmd_init(), mlx_icmd_read_buffer(), mlx_icmd_send_command(), mlx_icmd_set_opcode(), mlx_icmd_write_buffer(), mlx_pci_gw_check_capability_id(), mlx_pci_gw_free_ownership(), mlx_pci_gw_get_ownership(), mlx_pci_gw_init(), mlx_pci_gw_read(), mlx_pci_gw_search_capability(), mlx_pci_gw_set_space(), mlx_pci_gw_wait_for_flag_value(), mlx_pci_gw_write(), mlx_reg_access(), mlx_set_admin_mtu(), mlx_set_link_speed(), mlx_vmac_query_virt_mac(), mlx_vmac_set_virt_mac(), nodnic_cmd_read(), nodnic_cmd_write(), nodnic_device_clear_int(), nodnic_device_get_fw_version(), nodnic_port_add_mac_filter(), nodnic_port_check_and_set_dma(), nodnic_port_disable_dma(), nodnic_port_enable_dma(), nodnic_port_get_state(), nodnic_port_query(), nodnic_port_read_port_management_change_event(), nodnic_port_read_reset_needed(), nodnic_port_remove_mac_filter(), nodnic_port_set_network(), nodnic_port_set_promisc(), nodnic_port_set_promisc_multicast(), nodnic_port_set_send_uar_offset(), nodnic_port_update_ring_doorbell(), nvconfig_get_boot_default_conf(), nvconfig_get_boot_ext_default_conf(), nvconfig_get_ib_boot_default_conf(), nvconfig_get_ib_dhcp_default_conf(), nvconfig_get_iscsi_gen_default_conf(), nvconfig_get_iscsi_init_dhcp_default_conf(), nvconfig_get_nv_virt_caps_default_conf(), nvconfig_get_nv_virt_default_conf(), nvconfig_get_ocsd_ocbb_default_conf(), nvconfig_get_rom_banner_to_default_conf(), nvconfig_get_rom_cap_default_conf(), nvconfig_get_vpi_link_default_conf(), nvconfig_get_wol_default_conf(), nvconfig_nvdata_access(), nvconfig_nvdata_default_access(), nvconfig_nvdata_invalidate(), nvconfig_nvdata_read_default_value(), nvconfig_query_capability(), nvconfig_read_rom_ini_values(), nvconfig_set_fw_reset_level(), and wait_for_device_initialization().


Function Documentation

FILE_LICENCE ( GPL2_OR_LATER  )