iPXE
Miscellaneous attributes

Macros

#define __unused   __attribute__ (( unused ))
 Declare a variable or data structure as unused.
#define __pure   __attribute__ (( pure ))
 Declare a function as pure - i.e.
#define __const   __attribute__ (( const ))
 Declare a function as const - i.e.
#define __nonnull   __attribute__ (( nonnull ))
 Declare a function's pointer parameters as non-null - i.e.
#define __malloc   __attribute__ (( malloc ))
 Declare a pointer returned by a function as a unique memory address as returned by malloc-type functions.
#define __used   __attribute__ (( used ))
 Declare a function as used.
#define __aligned   __attribute__ (( aligned ( 16 ) ))
 Declare a data structure to be aligned with 16-byte alignment.
#define __always_inline   __attribute__ (( always_inline ))
 Declare a function to be always inline.
#define inline   inline __attribute__ (( no_instrument_function ))

Detailed Description

Macro Definition Documentation

◆ __unused

__always_inline void unsigned long bus_addr size_t len __unused   __attribute__ (( unused ))

Declare a variable or data structure as unused.

Definition at line 573 of file compiler.h.

Referenced by __attribute__(), a3c90x_internal_WriteEeprom(), abft_complete(), acpi_find(), acpi_settings_applies(), amd79c901_read_mode(), amd8111e_disable(), ansiscr_cursor(), ansiscr_getc(), ansiscr_peek(), aoe_rx(), aoecmd_ata_rsp(), aoecmd_cfg_cmd_len(), ar5008_hw_compute_pll_control(), ar5008_hw_override_ini(), ar9002_hw_clr11n_aggr(), ar9002_hw_fill_txdesc(), ar9002_hw_per_calibration(), ar9002_hw_set11n_aggr_first(), ar9002_hw_set11n_aggr_last(), ar9002_hw_set11n_aggr_middle(), ar9002_hw_set11n_ratescenario(), ar9002_hw_set_clrdmask(), ar9003_hw_clr11n_aggr(), ar9003_hw_compute_pll_control(), ar9003_hw_fill_txdesc(), ar9003_hw_find_mag_approx(), ar9003_hw_init_cal(), ar9003_hw_per_calibration(), ar9003_hw_power_control_override(), ar9003_hw_proc_txdesc(), ar9003_hw_set11n_aggr_last(), ar9003_hw_set11n_aggr_middle(), ar9003_hw_set11n_ratescenario(), ar9003_hw_set_clrdmask(), ar9003_hw_set_paprd_txdesc(), ar9003_hw_solve_iq_cal(), ar9100_hw_compute_pll_control(), ar9160_hw_compute_pll_control(), ar9300_uncompress_block(), arbel_fill_rc_send_wqe(), arbel_fill_ud_send_wqe(), arbel_mcast_detach(), arp_ntoa(), arp_rx(), asn1_parse_gcm(), atacmd_data_buffer(), atacmd_data_none(), atacmd_data_priv(), ath5k_hw_get_capability(), ath5k_hw_nic_wakeup(), ath5k_hw_proc_2word_tx_status(), ath5k_hw_proc_4word_tx_status(), ath5k_hw_proc_5210_rx_status(), ath5k_hw_proc_5212_rx_status(), ath5k_hw_setup_2word_tx_desc(), ath5k_hw_setup_4word_tx_desc(), ath5k_hw_setup_rx_desc(), ath5k_hw_write_rate_duration(), ath5k_rxbuf_free(), ath9k_hw_4k_set_addac(), ath9k_hw_ani_monitor(), ath9k_hw_ar9287_set_addac(), ath9k_hw_ar9300_check_eeprom(), ath9k_hw_ar9300_get_eeprom_rev(), ath9k_hw_ar9300_get_spur_channel(), ath9k_hw_ar9300_set_addac(), ath9k_hw_get_channel_centers(), ath9k_hw_get_delta_slope_vals(), ath9k_hw_process_rxdesc_edma(), ath9k_hw_resettxqueue(), ath9k_hw_rxprocdesc(), ath9k_hw_set_txq_interrupts(), ath9k_process_rate(), ath9k_set_hw_capab(), ath_buf_set_rate(), ath_descdma_cleanup(), ath_draintxq(), ath_rx_tasklet(), ath_set_channel(), ath_tx_complete(), ath_txq_schedule(), atl1e_mdio_read(), atl1e_mdio_write(), atl1e_tx_queue(), autoboot_payload(), bios_handle_cup(), bios_handle_dectcem_reset(), bios_handle_dectcem_set(), bios_handle_ed(), bios_handle_sgr(), bios_inject_shutdown(), bnx2_disable(), bnx2_irq(), bnx2_remove(), bnx2_set_rx_mode(), bnxt_er_task_timer(), bnxt_er_wait_timer(), bofm_dummy_update(), builtin_applies(), builtin_fetch(), cachedhcp_probe(), cachedhcp_shutdown(), cbc_setiv(), cbc_setkey(), ccmp_kie_decrypt(), cgem_expired(), cipher_null_auth(), cipher_null_decrypt(), cipher_null_encrypt(), cipher_null_setiv(), cipher_null_setkey(), clear_value(), corkscrew_probe1(), cpuid_settings_applies(), cs89x0_disable(), cs89x0_irq(), cs89x0_probe(), davicom_disable(), davicom_irq(), davicom_media_chk(), dhcp_discovery_tx(), dhcppkt_applies(), dhcpv6_applies(), dhcpv6_fetch_len6(), digest_null_final(), digest_null_init(), digest_null_update(), discard_cache(), dm9132_id_table(), DMAAPI_INLINE(), dmfe_descriptor_init(), dmfe_disable(), dmfe_irq(), dmfe_program_DM9801(), dmfe_program_DM9802(), dmfe_set_phyxcer(), dns_xfer_deliver(), dummy_connect(), dummy_irq(), dummy_san_boot(), eapol_eap_rx(), eapol_expired(), eapol_rx(), ecdsa_decrypt(), ecdsa_encrypt(), eepro_disable(), eepro_irq(), efi_block_io_flush_blocks(), efi_block_io_read(), efi_block_io_read_blocks(), efi_block_io_reset(), efi_block_io_reset(), efi_block_io_write(), efi_block_io_write_blocks(), efi_bofm_stop(), efi_cacert_shutdown(), efi_disk_io_read_disk(), efi_disk_io_write_disk(), efi_download_abort(), efi_download_poll(), efi_download_start(), efi_driver_controller_name(), efi_driver_name(), efi_driver_start(), efi_driver_stop(), efi_driver_supported(), efi_fdt_install(), efi_file_load(), efi_file_open(), efi_file_open_volume(), efi_file_set_info(), efi_file_write(), efi_handle_cup(), efi_handle_dectcem_reset(), efi_handle_dectcem_set(), efi_handle_ed(), efi_handle_sgr(), efi_null_apple_bsdp(), efi_null_apple_dhcp(), efi_null_block_flush(), efi_null_block_read(), efi_null_block_reset(), efi_null_block_write(), efi_null_get_controller_name(), efi_null_get_driver_name(), efi_null_hii_callback(), efi_null_hii_extract(), efi_null_hii_route(), efi_null_load_file(), efi_null_pxe_arp(), efi_null_pxe_dhcp(), efi_null_pxe_discover(), efi_null_pxe_mtftp(), efi_null_pxe_set_ip_filter(), efi_null_pxe_set_packets(), efi_null_pxe_set_parameters(), efi_null_pxe_set_station_ip(), efi_null_pxe_start(), efi_null_pxe_stop(), efi_null_pxe_udp_read(), efi_null_pxe_udp_write(), efi_null_snp_get_status(), efi_null_snp_initialize(), efi_null_snp_mcast_ip_to_mac(), efi_null_snp_nvdata(), efi_null_snp_receive(), efi_null_snp_receive_filters(), efi_null_snp_reset(), efi_null_snp_shutdown(), efi_null_snp_start(), efi_null_snp_station_address(), efi_null_snp_statistics(), efi_null_snp_stop(), efi_null_snp_transmit(), efi_null_usb_async_interrupt_transfer(), efi_null_usb_async_isochronous_transfer(), efi_null_usb_bulk_transfer(), efi_null_usb_control_transfer(), efi_null_usb_get_config_descriptor(), efi_null_usb_get_device_descriptor(), efi_null_usb_get_endpoint_descriptor(), efi_null_usb_get_interface_descriptor(), efi_null_usb_get_string_descriptor(), efi_null_usb_get_supported_languages(), efi_null_usb_isochronous_transfer(), efi_null_usb_port_reset(), efi_null_usb_sync_interrupt_transfer(), efi_null_vlan_find(), efi_null_vlan_remove(), efi_null_vlan_set(), efi_probe(), efi_probe(), efi_remove(), efi_remove(), efi_shutdown_hook(), efi_snp_get_controller_name(), efi_snp_get_driver_name(), efi_snp_hii_append(), efi_snp_hii_callback(), efi_snp_hii_store(), efi_snp_load_file(), efi_snp_notify(), efi_snp_probe(), efi_snp_remove(), efi_snp_wait_for_packet(), efi_tick(), efi_tick_shutdown(), efi_unload(), efi_usb_sync_complete(), efi_usb_timer(), efi_veto_dhcp6(), efi_veto_hp_xhci(), efi_veto_ip4config(), efi_veto_vmware_uefipxebc(), efi_watchdog_expired(), efipci_dma_alloc(), efipci_dma_unmap(), efivars_applies(), efivars_fetch(), ehci_companion(), ehci_dump(), ehci_hub_close(), ehci_hub_open(), eoib_complete_recv(), eoib_complete_send(), eoib_heartbeat_ntoa(), eoib_heartbeat_rx(), eoib_probe(), epic100_disable(), epic100_irq(), eplatform_discard(), eth_probe(), eth_pull(), eth_push(), eth_slow_rx(), euniq_discard(), exanic_expired(), fbcon_handle_cup(), fbcon_handle_dectcem_reset(), fbcon_handle_dectcem_set(), fbcon_handle_ed(), fc_els_echo_detect(), fc_els_flogi_detect(), fc_els_logo_detect(), fc_els_logo_rx_response(), fc_els_plogi_detect(), fc_els_prli_detect(), fc_els_rtv_detect(), fc_els_rtv_rx(), fc_els_unknown_detect(), fc_els_unknown_tx(), fc_link_expired(), fc_ns_query_deliver(), fc_xchg_expired(), fc_xchg_rx(), fc_xchg_window(), fcoe_alloc_iob(), fcoe_deliver(), fcoe_expired(), fcoe_fip_rx(), fcoe_fip_rx_els_response(), fcoe_fip_rx_vlan(), fcoe_remove(), fcoe_rx(), fcpcmd_recv_rsp(), fcpcmd_recv_unknown(), fcpcmd_recv_xfer_rdy(), flexboot_nodnic_disable_dma(), flexboot_nodnic_enable_dma(), flexboot_nodnic_eth_complete_recv(), flexboot_nodnic_eth_complete_send(), flexboot_nodnic_get_factory_mac(), flexboot_nodnic_ib_close(), flexboot_nodnic_ib_open(), flexboot_nodnic_inform_sma(), flexboot_nodnic_modify_qp(), flexboot_nodnic_probe(), flexboot_nodnic_state_change_netdev(), flexboot_nodnic_unregister_netdev(), format_base64_setting(), format_busdevfn_setting(), format_dnssl_setting(), format_hex_colon_setting(), format_hex_hyphen_setting(), format_hex_raw_setting(), format_ipv4_setting(), format_ipv4_setting(), format_ipv6_setting(), format_ipv6_setting(), format_string_setting(), format_uristring_setting(), fragment_expired(), ftp_control_deliver(), get_eeprom_chksum(), golan_modify_qp_init_to_rtr(), golan_modify_qp_rst_to_init(), golan_modify_qp_rtr_to_rts(), goto_find_label(), gve_free_qpl(), gve_watchdog(), has_key(), help_exec(), hermon_eth_complete_recv(), hermon_eth_complete_send(), hermon_fill_eth_send_wqe(), hermon_fill_nop_send_wqe(), hermon_fill_rc_send_wqe(), hermon_fill_ud_send_wqe(), hermon_mcast_detach(), hermon_state_change_ibdev(), hermon_state_change_netdev(), hermon_unregister_ibdev(), hermon_unregister_netdev(), http_block_read(), http_block_read_capacity(), http_conn_deliver(), http_format_connection(), http_format_user_agent(), http_parse_basic_auth(), http_retry_expired(), http_watchdog_expired(), hw_open(), i386_readq(), i386_writeq(), ib_cached_path_complete(), ib_cmrc_changed(), ib_cmrc_complete_recv(), ib_cmrc_xfer_deliver(), ib_destroy_conn(), ib_destroy_madx(), ib_destroy_sma(), ib_mcast_complete(), ib_mi_complete_recv(), ib_path_complete(), ib_sbft_complete(), ib_step(), ice_admin_event(), icmpv4_rx(), icmpv6_rx_echo_reply(), icmpv6_rx_echo_request(), icplus_destroy_ring(), icplus_write_eeprom(), ics1893_read_mode(), ifclose_payload(), ifopen_payload(), ifpoller_progress(), ifstat_payload(), igbvf_check_for_ack_vf(), igbvf_check_for_msg_vf(), igbvf_check_for_rst_vf(), igbvf_rar_set_vf(), igbvf_read_mbx_vf(), igbvf_write_mbx_vf(), imgselect(), imux_alloc_iob(), imux_deliver(), init_ring(), int13_boot(), int13_get_last_status(), int13_reset(), int20(), intel_describe_rx(), intel_write_eeprom(), intelxl_admin_event(), intelxl_free_admin(), intelxl_free_ring(), IOMAP_INLINE(), ipair_deliver(), ipair_expired(), iphone_expired(), ipoib_complete_recv(), ipoib_complete_send(), ipv4_fragment_offset(), ipv4_is_fragment(), ipv4_more_fragments(), ipv4_rx(), ipv6_applies(), ipv6_rx(), iscsi_rx_bhs(), iscsi_rx_discard(), iscsi_rx_nop_in(), iscsi_rx_r2t(), iscsi_socket_deliver(), iscsi_tx_nothing(), iwlist_payload(), iwstat_payload(), legacy_close(), legacy_irq(), legacy_open(), librm_test_call(), linda_fini_recv(), linda_set_pkey_table(), linux_args_cleanup(), lldp_applies(), lldp_remove(), lldp_rx(), lotest_ntoa(), lotest_rx(), mdio_read(), mdio_read(), mdio_write(), mdio_write(), memmap_describe(), memmap_settings_applies(), mlx_memory_be32_to_cpu_priv(), mlx_memory_cmp_priv(), mlx_memory_cpu_to_be32_priv(), mlx_memory_cpy_priv(), mlx_memory_set_priv(), mlx_utils_acquire_lock_priv(), mlx_utils_free_lock_priv(), mlx_utils_init_lock_priv(), mlx_utils_rand_priv(), mlx_utils_release_lock_priv(), mnpnet_event(), mp_exec_boot(), mp_start_all(), named_window(), nbi_load_segment(), nbi_prepare_segment(), ndp_applies(), ndp_prefix_applies(), ndp_rx_neighbour(), ndp_rx_neighbour_advertisement_ll_target(), ndp_rx_router_advertisement(), ndp_rx_router_advertisement_ll_source(), ndp_tx_request(), ne_poll(), ne_reset(), neighbour_flush(), net80211_ll_pull(), net_step(), netdev_link_block_expired(), netfront_net_probe(), netvsc_completed(), netvsc_create_ring(), nfs_deliver(), nfs_mount_deliver(), nfs_pm_deliver(), nii_delay(), nii_sync(), nii_unmap(), ns8390_disable(), ns8390_irq(), null_close(), null_find_smbios(), null_gpio_config(), null_gpio_in(), null_gpio_out(), null_intf_close(), null_irq(), null_open(), null_poll(), null_reboot(), null_san_boot(), null_san_hook(), null_san_unhook(), null_transmit(), null_uart_data_ready(), null_uart_flush(), null_uart_init(), null_uart_receive(), null_uart_transmit(), nvo_applies(), nway_start(), oncrpc_get_reply(), parse_base64_setting(), parse_flag(), parse_hex_hyphen_setting(), parse_hex_raw_setting(), parse_hex_setting(), parse_ipv4_setting(), parse_ipv4_setting(), parse_ipv6_setting(), parse_ipv6_setting(), parse_string_setting(), parse_uristring_setting(), pci_settings_applies(), pci_settings_fetch(), PCIAPI_INLINE(), PCIAPI_INLINE(), PCIAPI_INLINE(), PCIAPI_INLINE(), PCIAPI_INLINE(), PCIAPI_INLINE(), PCIAPI_INLINE(), PCIAPI_INLINE(), PCIAPI_INLINE(), PCIAPI_INLINE(), PCIAPI_INLINE(), PCIAPI_INLINE(), PCIAPI_INLINE(), PCIAPI_INLINE(), PCIAPI_INLINE(), PCIAPI_INLINE(), PCIAPI_INLINE(), PCIAPI_INLINE(), PCIAPI_INLINE(), PCIAPI_INLINE(), pcibios_discover(), pcnet32_mdio_write(), peerblk_expired(), peerdisc_expired(), peerdisc_socket_rx(), ping_alloc_iob(), ping_rx(), pinger_expired(), png_unfilter_average(), png_unfilter_none(), png_unfilter_sub(), png_unfilter_up(), pnic_close(), pnic_do_nway(), pnic_open(), pnm_greymap(), pnm_pixmap(), pool_expired(), printf_putchar(), prism2_disable(), prism2_irq(), prism2_pci_disable(), prism2_plx_disable(), process_always(), pubkey_null_decrypt(), pubkey_null_encrypt(), pubkey_null_sign(), pubkey_null_verify(), pxe_api_call_weak(), pxe_menu_boot(), pxe_notify(), qib7322_destroy_send_bufs(), qib7322_destroy_send_wq(), qib7322_fini_recv(), qib7322_free_send_buf(), qib7322_send_buffer_offset(), qib7322_set_pkey_table(), rarp_ntoa(), rarp_rx(), rbg_shutdown_fn(), rc80211_init(), read_value(), realtek_mii_read(), realtek_mii_write(), ref_no_free(), refill_rx(), remove_devices(), retry_step(), rhine_mii_read(), rhine_mii_write(), rtl818x_ioread16(), rtl818x_ioread32(), rtl818x_ioread8(), rtl818x_iowrite16(), rtl818x_iowrite32(), rtl818x_iowrite8(), rtl8201_read_mode(), sandev_command_expired(), sandev_command_read_capacity(), sanpath_block_window(), script_exec_line(), scsicmd_test_unit_ready_cmd(), sec80211_detect(), serial_shutdown(), set_rx_mode(), set_rx_mode(), set_value(), setup_tx_flags(), shomron_fill_eth_send_wqe(), shutdown_cache(), sis190_get_mac_addr_from_eeprom(), sis190_isa_bridge_probe(), sis190_isa_bridge_remove(), sis630e_get_mac_addr(), sis635_get_mac_addr(), sis900_disable(), sis900_get_mac_addr(), sis900_init_rxd(), sis900_init_txd(), sis900_irq(), sis900_read_mode(), sis900_reset(), sis900_set_rx_mode(), sis96x_get_mac_addr(), skge_devinit(), skge_rx_setup(), sky2_le_error(), sky2_probe(), sky2_rx_map_iob(), slam_mc_socket_deliver(), slam_socket_deliver(), slirp_clock_get_ns(), slirp_expired(), slk_attr_off(), slk_attr_on(), slk_attr_set(), smbios_applies(), smc9000_disable(), smc9000_irq(), smscusb_mii_read(), smscusb_mii_write(), snpnet_do_nothing(), srpdev_deliver(), startpxe_payload(), stoppxe_exec(), stp_ntoa(), stp_rx(), sundance_disable(), sync_progress(), syslog_handle_priority(), syslogs_handle_priority(), t509_irq(), t515_irq(), t529_disable(), t595_disable(), t595_irq(), tcp_keepalive_expired(), tcp_rx(), tcp_shutdown(), tcp_wait_expired(), tcp_xfer_deliver(), test_image_exec(), test_image_probe(), testnet_close(), testnet_open(), testnet_poll(), tg3_do_test_dma(), tg3_phy_autoneg_cfg(), tg3_rx_prodring_alloc(), tlan_disable(), TLan_FinishReset(), tlan_irq(), TLan_MiiReadReg(), TLan_MiiWriteReg(), TLan_ResetAdapter(), TLan_ResetLists(), TLan_SetMac(), tls_cipherstream_deliver(), tls_clear_cipher(), tls_new_certificate_request(), tls_new_hello_request(), tls_new_unknown(), tls_plainstream_deliver(), tulip_disable(), tulip_init_ring(), tulip_irq(), udp_rx(), uhci_hub_close(), uhci_hub_open(), uhci_root_close(), uhci_root_open(), undibus_remove(), unhide_etherboot(), usb_settings_applies(), usb_settings_fetch(), usb_step(), usbio_bulk_in_close(), usbio_bulk_in_open(), usbio_bulk_out_close(), usbio_bulk_out_open(), usbio_bus_close(), usbio_bus_open(), usbio_control_close(), usbio_control_open(), usbio_device_address(), usbio_device_close(), usbio_endpoint_mtu(), usbio_endpoint_reset(), usbio_hub_close(), usbio_root_clear_tt(), usbio_root_close(), usbio_root_disable(), usbio_root_enable(), usbio_root_open(), usbio_root_speed(), used_len_ipv4(), velocity_mii_read(), velocity_mii_write(), vlan_netdev_rx_err(), vlan_notify(), vlan_probe(), vlan_remove(), vlan_rx(), vlan_tci(), vmbus_remove_channels(), vt6103_read_mode(), vxge_hw_ring_rxd_post(), vxge_irq(), w89c840_disable(), w89c840_irq(), wattr_get(), wattr_off(), wattr_on(), wattr_set(), wcolour_set(), weierstrass_add_ladder(), wep_init(), wpa_psk_no_change_key(), x25519_curve_add(), xcm_deliver(), xcm_keepalive(), xcm_reopen(), xenbus_remove(), xferbuf_void_realloc(), xhci_deconfigure_endpoint_input(), xhci_evaluate_context_input(), xhci_hub_close(), xhci_root_close(), xsigo_discover(), xsigo_ib_open(), xsigo_net_notify(), xsigo_xcm_complete(), xsigo_xds_complete(), xsmp_rx_session_hello(), and yukon_speed().

◆ __pure

#define __pure   __attribute__ (( pure ))

Declare a function as pure - i.e.

without side effects

Definition at line 578 of file compiler.h.

Referenced by flushinp(), and memmove().

◆ __const

#define __const   __attribute__ (( const ))

Declare a function as const - i.e.

it does not access global memory (including dereferencing pointers passed to it) at all. Must also not call any non-const functions.

Definition at line 585 of file compiler.h.

◆ __nonnull

#define __nonnull   __attribute__ (( nonnull ))

Declare a function's pointer parameters as non-null - i.e.

force compiler to check pointers at compile time and enable possible optimizations based on that fact

Definition at line 592 of file compiler.h.

Referenced by __attribute__(), baudrate(), cbreak(), delscreen(), FILE_SECBOOT(), flushinp(), init_editstring(), memcpy(), memmove(), memset(), mvderwin(), overwrite(), slk_noutrefresh(), vidputs(), wattr_set(), wechochar(), and wtimeout().

◆ __malloc

#define __malloc   __attribute__ (( malloc ))

Declare a pointer returned by a function as a unique memory address as returned by malloc-type functions.

Definition at line 598 of file compiler.h.

Referenced by calloc(), FILE_SECBOOT(), and memmove().

◆ __used

#define __used   __attribute__ (( used ))

Declare a function as used.

Necessary only if the function is called only from assembler code.

Definition at line 605 of file compiler.h.

Referenced by __text16_array(), bios_inject(), int13(), int20(), int21(), and int22().

◆ __aligned

#define __aligned   __attribute__ (( aligned ( 16 ) ))

Declare a data structure to be aligned with 16-byte alignment.

Definition at line 608 of file compiler.h.

◆ __always_inline

#define __always_inline   __attribute__ (( always_inline ))

◆ inline

#define inline   inline __attribute__ (( no_instrument_function ))

Definition at line 624 of file compiler.h.

Referenced by addch().