id
stringlengths
4
63
text
stringlengths
153
8.81M
efi_get_device_by_path(9)
NAME efi_get_device_by_path - find device by EFI Device Path SYNOPSIS struct device * efi_get_device_by_path (const struct efi_dev_path **node , size_t *len ); ARGUMENTS node EFI Device Path len maximum length of EFI Device Path in bytes DESCRIPTION Parse a series of EFI Device Path nodes at n...
efi_get_memory_map(9)
NAME efi_get_memory_map - get memory map SYNOPSIS efi_status_t efi_get_memory_map (struct efi_boot_memmap **map , bool install_cfg_tbl ); ARGUMENTS map pointer to memory map pointer to which to assign the newly allocated memory map install_cfg_tbl whether or not to install the boot ...
efi_get_random_bytes(9)
NAME efi_get_random_bytes - fill a buffer with random bytes SYNOPSIS efi_status_t efi_get_random_bytes (unsigned long size , u8 *out ); ARGUMENTS size size of the buffer out caller allocated buffer to receive the random bytes DESCRIPTION The call will fail if either the firmware does not imple...
efi_get_system_table(9)
NAME efi_get_system_table - Given a pointer to boot_params, retrieve the physical address of the EFI system table. SYNOPSIS unsigned long efi_get_system_table (struct boot_params *bp ); ARGUMENTS bp pointer to boot_params RETURN EFI system table address on success. On error, return 0. SEE ALSO Kernel file ...
efi_get_type(9)
NAME efi_get_type - Given a pointer to boot_params, determine the type of EFI environment. SYNOPSIS enum efi_type efi_get_type (struct boot_params *bp ); ARGUMENTS bp pointer to boot_params RETURN EFI_TYPE_{32,64} for valid EFI environments, EFI_TYPE_NONE otherwise. SEE ALSO Kernel file ./arch/x86/boot/com...
efi_kaslr_get_phys_seed(9)
NAME efi_kaslr_get_phys_seed - Get random seed for physical kernel KASLR SYNOPSIS u32 efi_kaslr_get_phys_seed (efi_handle_t image_handle ); ARGUMENTS image_handle Handle to the image DESCRIPTION If KASLR is not disabled, obtain a random seed using EFI_RNG_PROTOCOL that will be used to move the kernel physical mappin...
efi_kaslr_relocate_kernel(9)
NAME efi_kaslr_relocate_kernel - Relocate the kernel (random if KASLR enabled) SYNOPSIS efi_status_t efi_kaslr_relocate_kernel (unsigned long *image_addr , unsigned long *reserve_addr , unsigned long *reserve_size , unsigned long kernel_size , unsigned long kernel_codesize , unsigned long kernel_memsize , u32 phys_...
efi_load_initrd(9)
NAME efi_load_initrd - Load initial RAM disk SYNOPSIS efi_status_t efi_load_initrd (efi_loaded_image_t *image , unsigned long soft_limit , unsigned long hard_limit , const struct linux_efi_initrd **out ); ARGUMENTS image EFI loaded image protocol soft_limit preferred address for loading the initrd ...
efi_load_initrd_dev_path(9)
NAME efi_load_initrd_dev_path - load the initrd from the Linux initrd device path SYNOPSIS efi_status_t efi_load_initrd_dev_path (struct linux_efi_initrd *initrd , unsigned long max ); ARGUMENTS initrd pointer of struct to store the address where the initrd was loaded and the size of the loaded initrd ma...
efi_low_alloc_above(9)
NAME efi_low_alloc_above - allocate pages at or above given address SYNOPSIS efi_status_t efi_low_alloc_above (unsigned long size , unsigned long align , unsigned long *addr , unsigned long min ); ARGUMENTS size size of the memory area to allocate align minimum alignment of the allocated memory a...
efi_mem_reserve(9)
NAME efi_mem_reserve - Reserve an EFI memory region SYNOPSIS void efi_mem_reserve (phys_addr_t addr , u64 size ); ARGUMENTS addr Physical address to reserve size Size of reservation DESCRIPTION Mark a region as reserved from general kernel allocation and prevent it being released by efi_free...
efi_memmap_alloc(9)
NAME efi_memmap_alloc - Allocate memory for the EFI memory map SYNOPSIS int efi_memmap_alloc (unsigned int num_entries , struct efi_memory_map_data *data ); ARGUMENTS num_entries Number of entries in the allocated map. data efi memmap installation parameters DESCRIPTION Depending on whether mm_init ha...
efi_memmap_init_early(9)
NAME efi_memmap_init_early - Map the EFI memory map data structure SYNOPSIS int efi_memmap_init_early (struct efi_memory_map_data *data ); ARGUMENTS data EFI memory map data DESCRIPTION Use early_memremap to map the passed in EFI memory map and assign it to efi.memmap. RETURN zero on success, a negative erro...
efi_memmap_init_late(9)
NAME efi_memmap_init_late - Map efi.memmap with memremap() SYNOPSIS int efi_memmap_init_late (phys_addr_t addr , unsigned long size ); ARGUMENTS addr Physical address of the new EFI memory map size Size in bytes of the new EFI memory map DESCRIPTION Setup a mapping of the EFI memory map using i...
efi_memmap_insert(9)
NAME efi_memmap_insert - Insert a memory region in an EFI memmap SYNOPSIS void efi_memmap_insert (struct efi_memory_map *old_memmap , void *buf , struct efi_mem_range *mem ); ARGUMENTS old_memmap The existing EFI memory map structure buf Address of buffer to store new map mem Memory m...
efi_memmap_install(9)
NAME efi_memmap_install - Install a new EFI memory map in efi.memmap SYNOPSIS int efi_memmap_install (struct efi_memory_map_data *data ); ARGUMENTS data efi memmap installation parameters DESCRIPTION Unlike efi_memmap_init_*(), this function does not allow the caller to switch from early to late mappings. It ...
efi_memmap_split_count(9)
NAME efi_memmap_split_count - Count number of additional EFI memmap entries SYNOPSIS int efi_memmap_split_count (efi_memory_desc_t *md , struct range *range ); ARGUMENTS md EFI memory descriptor to split range Address range (start, end) to split around DESCRIPTION Returns the number of additio...
efi_parse_options(9)
NAME efi_parse_options - Parse EFI command line options SYNOPSIS efi_status_t efi_parse_options (char const *cmdline ); ARGUMENTS cmdline kernel command line DESCRIPTION Parse the ASCII string cmdline for EFI options, denoted by the efi= option, e.g. efi=nochunk. It should be noted that efi= is parsed in two ve...
efi_partition(9)
NAME efi_partition - scan for GPT partitions SYNOPSIS int efi_partition (struct parsed_partitions *state ); ARGUMENTS state disk parsed partitions DESCRIPTION called from check.c, if the disk contains GPT partitions, sets up partition entries in the kernel. If the first block on the disk is a legacy MBR, it ...
efi_printk(9)
NAME efi_printk - Print a kernel message SYNOPSIS int efi_printk (const char *fmt , ... ); ARGUMENTS fmt format string ... variable arguments DESCRIPTION The first letter of the format string is used to determine the logging level of the message. If the level is less then the current EFI logg...
efi_puts(9)
NAME efi_puts - Write a UTF-8 encoded string to the console SYNOPSIS void efi_puts (const char *str ); ARGUMENTS str UTF-8 encoded string SEE ALSO Kernel file ./drivers/firmware/efi/libstub/printk.c efi_char16_puts(9), efi_printk(9) April 2026 ...
efi_random_get_seed(9)
NAME efi_random_get_seed - provide random seed as configuration table SYNOPSIS efi_status_t efi_random_get_seed (void ); ARGUMENTS void no arguments DESCRIPTION The EFI_RNG_PROTOCOL is used to read random bytes. These random bytes are saved as a configuration table which can be used as entropy by the kern...
efi_range_is_wc(9)
NAME efi_range_is_wc - check the WC bit on an address range SYNOPSIS int efi_range_is_wc (unsigned long start , unsigned long len ); ARGUMENTS start starting kvirt address len length of range DESCRIPTION Consult the EFI memory map and make sure it's ok to set this range WC. Returns true or fal...
efi_relocate_kernel(9)
NAME efi_relocate_kernel - copy memory area SYNOPSIS efi_status_t efi_relocate_kernel (unsigned long *image_addr , unsigned long image_size , unsigned long alloc_size , unsigned long preferred_addr , unsigned long alignment , unsigned long min_addr ); ARGUMENTS image_addr pointer to address of memory area to copy ...
efi_remap_image(9)
NAME efi_remap_image - Remap a loaded image with the appropriate permissions for code and data SYNOPSIS void efi_remap_image (unsigned long image_base , unsigned alloc_size , unsigned long code_size ); ARGUMENTS image_base the base of the image in memory alloc_size the size of the area in memory occupied by...
efi_set_event_at(9)
NAME efi_set_event_at - add event to events array SYNOPSIS void efi_set_event_at (efi_event_t *events , size_t idx , efi_event_t event ); ARGUMENTS events array of UEFI events idx -- undescribed -- event event to add to the aray DESCRIPTION boottime->wait_for_event takes an array o...
efi_wait_for_key(9)
NAME efi_wait_for_key - Wait for key stroke SYNOPSIS efi_status_t efi_wait_for_key (unsigned long usec , efi_input_key_t *key ); ARGUMENTS usec number of microseconds to wait for key stroke key key entered DESCRIPTION Wait for up to usec microseconds for a key stroke. RETURN status code, EFI_...
efivar_entry_delete(9)
NAME efivar_entry_delete - delete variable SYNOPSIS int efivar_entry_delete (struct efivar_entry *entry ); ARGUMENTS entry entry containing variable to delete DESCRIPTION Delete the variable from the firmware. It is the caller's responsibility to free entry (by deleting the dentry/inode) once we return. Retur...
efivar_entry_get(9)
NAME efivar_entry_get - call get_variable() SYNOPSIS int efivar_entry_get (struct efivar_entry *entry , u32 *attributes , unsigned long *size , void *data ); ARGUMENTS entry read data for this variable attributes variable attributes size size of data buffer data buffer to ...
efivar_entry_set_get_size(9)
NAME efivar_entry_set_get_size - call set_variable() and get new size (atomic) SYNOPSIS int efivar_entry_set_get_size (struct efivar_entry *entry , u32 attributes , unsigned long *size , void *data , bool *set ); ARGUMENTS entry entry containing variable to set and get attributes attributes of variable...
efivar_entry_size(9)
NAME efivar_entry_size - obtain the size of a variable SYNOPSIS int efivar_entry_size (struct efivar_entry *entry , unsigned long *size ); ARGUMENTS entry entry for this variable size location to store the variable's size SEE ALSO Kernel file ./fs/efivarfs/vars.c efivar_init(9), efivar_entry_del...
efivar_init(9)
NAME efivar_init - build the initial list of EFI variables SYNOPSIS int efivar_init (int (*func)(efi_char16_t *, efi_guid_t, unsigned long, void *) , void *data , bool duplicate_check ); ARGUMENTS func callback function to invoke for every variable data function-specific data to pass to func ...
efivar_is_available(9)
NAME efivar_is_available - check if efivars is available SYNOPSIS bool efivar_is_available (void ); ARGUMENTS void no arguments DESCRIPTION return true iff evivars is currently registered SEE ALSO Kernel file ./drivers/firmware/efi/vars.c efivars_register(9), efivars_unregister(9) April 2026 ...
efivars_register(9)
NAME efivars_register - register an efivars SYNOPSIS int efivars_register (struct efivars *efivars , const struct efivar_operations *ops ); ARGUMENTS efivars efivars to register ops efivars operations DESCRIPTION Only a single efivars can be registered at any time. SEE ALSO Kernel file ./drivers...
efivars_unregister(9)
NAME efivars_unregister - unregister an efivars SYNOPSIS int efivars_unregister (struct efivars *efivars ); ARGUMENTS efivars efivars to unregister DESCRIPTION The caller must have already removed every entry from the list, failure to do so is an error. SEE ALSO Kernel file ./drivers/firmware/efi/vars.c efivar_...
efx_enqueue_skb_tso(9)
NAME efx_enqueue_skb_tso - segment and transmit a TSO socket buffer SYNOPSIS int efx_enqueue_skb_tso (struct efx_tx_queue *tx_queue , struct sk_buff *skb , bool *data_mapped ); ARGUMENTS tx_queue Efx TX queue skb Socket buffer data_mapped Did we map the data? Always set to true by this on s...
efx_ethtool_fill_self_tests(9)
NAME efx_ethtool_fill_self_tests - get self-test details SYNOPSIS int efx_ethtool_fill_self_tests (struct efx_nic *efx , struct efx_self_tests *tests , u8 *strings , u64 *data ); ARGUMENTS efx Efx NIC tests Efx self-test results structure, or NULL strings Ethtool strings, or NULL ...
efx_fill_loopback_test(9)
NAME efx_fill_loopback_test - fill in a block of loopback self-test entries SYNOPSIS int efx_fill_loopback_test (struct efx_nic *efx , struct efx_loopback_self_tests *lb_tests , enum efx_loopback_mode mode , unsigned int test_index , u8 *strings , u64 *data ); ARGUMENTS efx Efx NIC lb_tests Efx loo...
efx_fill_test(9)
NAME efx_fill_test - fill in an individual self-test entry SYNOPSIS void efx_fill_test (unsigned int test_index , u8 *strings , u64 *data , int *test , const char *unit_format , int unit_id , const char *test_format , const char *test_id ); ARGUMENTS test_index Index of the test strings Ethtool strings, ...
efx_filter_get_filter_safe(9)
NAME efx_filter_get_filter_safe - retrieve a filter by ID, carefully SYNOPSIS int efx_filter_get_filter_safe (struct efx_nic *efx , enum efx_filter_priority priority , u32 filter_id , struct efx_filter_spec *spec ); ARGUMENTS efx NIC from which to remove the filter priority Priority of filter, as p...
efx_filter_insert_filter(9)
NAME efx_filter_insert_filter - add or replace a filter SYNOPSIS s32 efx_filter_insert_filter (struct efx_nic *efx , struct efx_filter_spec *spec , bool replace_equal ); ARGUMENTS efx NIC in which to insert the filter spec Specification for the filter replace_equal Fl...
efx_filter_is_mc_recipient(9)
NAME efx_filter_is_mc_recipient - test whether spec is a multicast recipient SYNOPSIS bool efx_filter_is_mc_recipient (const struct efx_filter_spec *spec ); ARGUMENTS spec Specification to test RETURN true if the specification is a non-drop RX filter that matches a local MAC address I/G bit value of 1 or matc...
efx_filter_remove_id_safe(9)
NAME efx_filter_remove_id_safe - remove a filter by ID, carefully SYNOPSIS int efx_filter_remove_id_safe (struct efx_nic *efx , enum efx_filter_priority priority , u32 filter_id ); ARGUMENTS efx NIC from which to remove the filter priority Priority of filter, as passed to efx_filter_insert_filter ...
efx_filter_set_eth_local(9)
NAME efx_filter_set_eth_local - specify local Ethernet address and/or VID SYNOPSIS int efx_filter_set_eth_local (struct efx_filter_spec *spec , u16 vid , const u8 *addr ); ARGUMENTS spec Specification to initialise vid Outer VLAN ID to match, or EFX_FILTER_VID_UNSPEC addr Local E...
efx_filter_set_ipv4_full(9)
NAME efx_filter_set_ipv4_full - specify IPv4 hosts, transport protocol and ports SYNOPSIS int efx_filter_set_ipv4_full (struct efx_filter_spec *spec , u8 proto , __be32 lhost , __be16 lport , __be32 rhost , __be16 rport ); ARGUMENTS spec Specification to initialise proto Transport layer protocol ...
efx_filter_set_ipv4_local(9)
NAME efx_filter_set_ipv4_local - specify IPv4 host, transport protocol and port SYNOPSIS int efx_filter_set_ipv4_local (struct efx_filter_spec *spec , u8 proto , __be32 host , __be16 port ); ARGUMENTS spec Specification to initialise proto Transport layer protocol number host Local...
efx_filter_set_ipv6_local(9)
NAME efx_filter_set_ipv6_local - specify IPv6 host, transport protocol and port SYNOPSIS int efx_filter_set_ipv6_local (struct efx_filter_spec *spec , u8 proto , const struct in6_addr *host , __be16 port ); ARGUMENTS spec Specification to initialise proto Transport layer protocol number h...
efx_filter_set_mc_def(9)
NAME efx_filter_set_mc_def - specify matching otherwise-unmatched multicast SYNOPSIS int efx_filter_set_mc_def (struct efx_filter_spec *spec ); ARGUMENTS spec Specification to initialise SEE ALSO Kernel file ./drivers/net/ethernet/sfc/siena/filter.h enum efx_filter_match_flags(9), enum efx_filter_priority(9)...
efx_filter_set_uc_def(9)
NAME efx_filter_set_uc_def - specify matching otherwise-unmatched unicast SYNOPSIS int efx_filter_set_uc_def (struct efx_filter_spec *spec ); ARGUMENTS spec Specification to initialise SEE ALSO Kernel file ./drivers/net/ethernet/sfc/siena/filter.h enum efx_filter_match_flags(9), enum efx_filter_prior...
efx_filter_set_vport_id(9)
NAME efx_filter_set_vport_id - override virtual port id relating to filter SYNOPSIS void efx_filter_set_vport_id (struct efx_filter_spec *spec , u32 vport_id ); ARGUMENTS spec Specification to initialise vport_id firmware ID of the virtual port SEE ALSO Kernel file ./drivers/net/ethernet/sfc/filter...
efx_mae_allocate_pedit_mac(9)
NAME efx_mae_allocate_pedit_mac - allocate pedit MAC address in HW. SYNOPSIS int efx_mae_allocate_pedit_mac (struct efx_nic *efx , struct efx_tc_mac_pedit_action *ped ); ARGUMENTS efx NIC we're installing a pedit MAC address on ped pedit MAC action to be installed DESCRIPTION Attempts to inst...
efx_mae_free_pedit_mac(9)
NAME efx_mae_free_pedit_mac - free pedit MAC address in HW. SYNOPSIS void efx_mae_free_pedit_mac (struct efx_nic *efx , struct efx_tc_mac_pedit_action *ped ); ARGUMENTS efx NIC we're installing a pedit MAC address on ped pedit MAC action that needs to be freed DESCRIPTION Frees ped in HW, che...
efx_mcdi_rpc(9)
NAME efx_mcdi_rpc - Issue an MCDI command and wait for completion SYNOPSIS int efx_mcdi_rpc (struct efx_nic *efx , unsigned cmd , const efx_dword_t *inbuf , size_t inlen , efx_dword_t *outbuf , size_t outlen , size_t *outlen_actual ); ARGUMENTS efx NIC through which to issue the command cmd Co...
efx_mcdi_rpc_async(9)
NAME efx_mcdi_rpc_async - Schedule an MCDI command to run asynchronously SYNOPSIS int efx_mcdi_rpc_async (struct efx_nic *efx , unsigned int cmd , const efx_dword_t *inbuf , size_t inlen , size_t outlen , efx_mcdi_async_completer *complete , unsigned long cookie ); ARGUMENTS efx NIC through which to issue the...
efx_nic_copy_stats(9)
NAME efx_nic_copy_stats - Copy stats from the DMA buffer in to an intermediate buffer. This is used to get a consistent set of stats while the DMA buffer can be written at any time by the NIC. SYNOPSIS int efx_nic_copy_stats (struct efx_nic *efx , __le64 *dest ); ARGUMENTS efx The associated NIC. dest...
efx_nic_describe_stats(9)
NAME efx_nic_describe_stats - Describe supported statistics for ethtool SYNOPSIS size_t efx_nic_describe_stats (const struct efx_hw_stat_desc *desc , size_t count , const unsigned long *mask , u8 **names ); ARGUMENTS desc Array of struct efx_hw_stat_desc describing the statistics count Length of ...
efx_nic_update_stats(9)
NAME efx_nic_update_stats - Convert statistics DMA buffer to array of u64 SYNOPSIS void efx_nic_update_stats (const struct efx_hw_stat_desc *desc , size_t count , const unsigned long *mask , u64 *stats , const void *dma_buf , bool accumulate ); ARGUMENTS desc Array of struct efx_hw_stat_desc describing the DMA...
efx_siena_describe_stats(9)
NAME efx_siena_describe_stats - Describe supported statistics for ethtool SYNOPSIS size_t efx_siena_describe_stats (const struct efx_hw_stat_desc *desc , size_t count , const unsigned long *mask , u8 **names ); ARGUMENTS desc Array of struct efx_hw_stat_desc describing the statistics count Length...
efx_siena_filter_is_mc_recipient(9)
NAME efx_siena_filter_is_mc_recipient - test whether spec is a multicast recipient SYNOPSIS bool efx_siena_filter_is_mc_recipient (const struct efx_filter_spec *spec ); ARGUMENTS spec Specification to test RETURN true if the specification is a non-drop RX filter that matches a local MAC address I/G bit value ...
efx_siena_mcdi_rpc(9)
NAME efx_siena_mcdi_rpc - Issue an MCDI command and wait for completion SYNOPSIS int efx_siena_mcdi_rpc (struct efx_nic *efx , unsigned int cmd , const efx_dword_t *inbuf , size_t inlen , efx_dword_t *outbuf , size_t outlen , size_t *outlen_actual ); ARGUMENTS efx NIC through which to issue the command ...
efx_siena_mcdi_rpc_async(9)
NAME efx_siena_mcdi_rpc_async - Schedule an MCDI command to run asynchronously SYNOPSIS int efx_siena_mcdi_rpc_async (struct efx_nic *efx , unsigned int cmd , const efx_dword_t *inbuf , size_t inlen , size_t outlen , efx_mcdi_async_completer *complete , unsigned long cookie ); ARGUMENTS efx NIC through which ...
efx_siena_update_stats(9)
NAME efx_siena_update_stats - Convert statistics DMA buffer to array of u64 SYNOPSIS void efx_siena_update_stats (const struct efx_hw_stat_desc *desc , size_t count , const unsigned long *mask , u64 *stats , const void *dma_buf , bool accumulate ); ARGUMENTS desc Array of struct efx_hw_stat_desc describing the...
efx_tc_incomplete_mangle(9)
NAME efx_tc_incomplete_mangle - check for leftover partial pedits SYNOPSIS int efx_tc_incomplete_mangle (struct efx_tc_mangler_state *mung , struct netlink_ext_ack *extack ); ARGUMENTS mung accumulator for partial mangles extack netlink extended ack for reporting errors DESCRIPTION Since the MAE ...
efx_tc_mangle(9)
NAME efx_tc_mangle - handle a single 32-bit (or less) pedit SYNOPSIS int efx_tc_mangle (struct efx_nic *efx , struct efx_tc_action_set *act , const struct flow_action_entry *fa , struct efx_tc_mangler_state *mung , struct netlink_ext_ack *extack , struct efx_tc_match *match ); ARGUMENTS efx NIC we're installi...
efx_tx_queue_insert(9)
NAME efx_tx_queue_insert - push descriptors onto the TX queue SYNOPSIS void efx_tx_queue_insert (struct efx_tx_queue *tx_queue , dma_addr_t dma_addr , unsigned int len , struct efx_tx_buffer **final_buffer ); ARGUMENTS tx_queue Efx TX queue dma_addr DMA address of fragment len Length of ...
egress_pkey_check(9)
NAME egress_pkey_check - check P_KEY of a packet SYNOPSIS int egress_pkey_check (struct hfi1_pportdata *ppd , u32 slid , u16 pkey , u8 sc5 , int8_t s_pkey_index ); ARGUMENTS ppd Physical IB port data slid SLID for packet pkey PKEY for header sc5 SC for packet ...
ehci_hcd_omap_probe(9)
NAME ehci_hcd_omap_probe - initialize TI-based HCDs SYNOPSIS int ehci_hcd_omap_probe (struct platform_device *pdev ); ARGUMENTS pdev Pointer to this platform device's information DESCRIPTION Allocates basic resources for this USB host controller, and then invokes the start method for the HCD associated with i...
ehci_hcd_omap_remove(9)
NAME ehci_hcd_omap_remove - shutdown processing for EHCI HCDs SYNOPSIS void ehci_hcd_omap_remove (struct platform_device *pdev ); ARGUMENTS pdev USB Host Controller being removed DESCRIPTION Reverses the effect of usb_ehci_hcd_omap_probe, first invoking the HCD's stop method. It is always called from a threa...
ehci_hcd_xilinx_of_probe(9)
NAME ehci_hcd_xilinx_of_probe - Probe method for the USB host controller SYNOPSIS int ehci_hcd_xilinx_of_probe (struct platform_device *op ); ARGUMENTS op pointer to the platform_device bound to the host controller DESCRIPTION This function requests resources and sets up appropriate properties for the h...
ehci_hcd_xilinx_of_remove(9)
NAME ehci_hcd_xilinx_of_remove - shutdown hcd and release resources SYNOPSIS void ehci_hcd_xilinx_of_remove (struct platform_device *op ); ARGUMENTS op pointer to platform_device structure that is to be removed DESCRIPTION Remove the hcd structure, and release resources that has been requested during probe....
ehci_xilinx_port_handed_over(9)
NAME ehci_xilinx_port_handed_over - hand the port out if failed to enable it SYNOPSIS int ehci_xilinx_port_handed_over (struct usb_hcd *hcd , int portnum ); ARGUMENTS hcd Pointer to the usb_hcd device to which the host controller bound portnum Port number to which the device is attached. DESCRIPT...
ehv_bc_init(9)
NAME ehv_bc_init - ePAPR hypervisor byte channel driver initialization SYNOPSIS int ehv_bc_init (void ); ARGUMENTS void no arguments DESCRIPTION This function is called when this driver is loaded. SEE ALSO Kernel file ./drivers/tty/ehv_bytechan.c April 2026 ...
ei_receive(9)
NAME ei_receive - receive some packets SYNOPSIS void ei_receive (struct net_device *dev ); ARGUMENTS dev network device with which receive will be run DESCRIPTION We have a good packet(s), get it/them out of the buffers. Called with lock held. SEE ALSO Kernel file ./drivers/net/ethernet/8390/lib8390.c ei_t...
ei_rx_overrun(9)
NAME ei_rx_overrun - handle receiver overrun SYNOPSIS void ei_rx_overrun (struct net_device *dev ); ARGUMENTS dev network device which threw exception DESCRIPTION We have a receiver overrun: we have to kick the 8390 to get it started again. Problem is that you have to kick it exactly as NS prescribes in the...
ei_tx_err(9)
NAME ei_tx_err - handle transmitter error SYNOPSIS void ei_tx_err (struct net_device *dev ); ARGUMENTS dev network device which threw the exception DESCRIPTION A transmitter error has happened. Most likely excess collisions (which is a fairly normal condition). If the error is one where the Tx will have been...
ei_tx_intr(9)
NAME ei_tx_intr - transmit interrupt handler SYNOPSIS void ei_tx_intr (struct net_device *dev ); ARGUMENTS dev network device for which tx intr is handled DESCRIPTION We have finished a transmit: check for errors and then trigger the next packet to be sent. Called with lock held. SEE ALSO Kernel file ./driv...
eic_show(9)
NAME eic_show - show Electronic Identification Code in sysfs SYNOPSIS ssize_t eic_show (struct device *dev , struct device_attribute *attr , char *buf ); ARGUMENTS dev device attr device attribute buf sysfs buffer (PAGE_SIZE) where EIC is written DESCRIPTION Will be called on r...
eject(1)
NAME eject - eject removable media eject [options] device|mountpoint DESCRIPTION eject allows removable media (typically a CD-ROM, floppy disk, tape, JAZ, ZIP or USB disk) to be ejected under software control. The command can also control some multi-disc CD-ROM changers, the auto-eject feature supported by som...
elanfreq_get_cpu_frequency(9)
NAME elanfreq_get_cpu_frequency - determine current cpu speed SYNOPSIS unsigned int elanfreq_get_cpu_frequency (unsigned int cpu ); ARGUMENTS cpu -- undescribed -- DESCRIPTION Finds out at which frequency the CPU of the Elan SOC runs at the moment. Frequencies from 1 to 33 MHz are generated the normal way, ...
elanfreq_setup(9)
NAME elanfreq_setup - elanfreq command line parameter parsing SYNOPSIS int elanfreq_setup (char *str ); ARGUMENTS str -- undescribed -- DESCRIPTION elanfreq command line parameter. Use: elanfreq=66000 to set the maximum CPU frequency to 66 MHz. Note that in case you do not give this boot parameter, the...
elevator_match(9)
NAME elevator_match - Check whether @e's name or alias matches @name SYNOPSIS bool elevator_match (const struct elevator_type *e , const char *name ); ARGUMENTS e Scheduler to test name Elevator name to test DESCRIPTION Return true if the elevator e's name or alias matches name. SEE ALSO Ke...
elf(5)
NAME elf - format of Executable and Linking Format (ELF) files SYNOPSIS #include <elf.h> DESCRIPTION The header file <elf.h> defines the format of ELF executable binary files. Amongst these files are normal executable files, relocatable object files, core files, and shared objects. An executable file using ...
elf_is_ehdr_sane(9)
NAME elf_is_ehdr_sane - check that it is safe to use the ELF header SYNOPSIS bool elf_is_ehdr_sane (const struct elfhdr *ehdr , size_t buf_len ); ARGUMENTS ehdr -- undescribed -- buf_len size of the buffer in which the ELF file is loaded. SEE ALSO Kernel file ./kernel/kexec_elf.c elf_is_phdr_sane(...
elf_is_phdr_sane(9)
NAME elf_is_phdr_sane - check that it is safe to use the program header SYNOPSIS bool elf_is_phdr_sane (const struct elf_phdr *phdr , size_t buf_len ); ARGUMENTS phdr -- undescribed -- buf_len size of the buffer in which the ELF file is loaded. SEE ALSO Kernel file ./kernel/kexec_elf.c elf_is_ehdr...
elf_read_from_buffer(9)
NAME elf_read_from_buffer - read ELF file and sets up ELF header and ELF info SYNOPSIS int elf_read_from_buffer (const char *buf , size_t len , struct elfhdr *ehdr , struct kexec_elf_info *elf_info ); ARGUMENTS buf Buffer to read ELF file from. len Size of buf. ehdr Pointer to e...
elf_read_phdrs(9)
NAME elf_read_phdrs - read the program headers from the buffer SYNOPSIS int elf_read_phdrs (const char *buf , size_t len , struct kexec_elf_info *elf_info ); ARGUMENTS buf -- undescribed -- len -- undescribed -- elf_info -- undescribed -- DESCRIPTION This function assumes that the ...
elf_section(9)
NAME elf_section - return a pointer to the data for a given section SYNOPSIS const void * elf_section (const void *elf , const char *name , unsigned int *len ); ARGUMENTS elf ELF image name section name to search for len pointer to returned length of found section SEE ALSO Kern...
elf_symtab__for_each_symbol(9)
NAME elf_symtab__for_each_symbol - iterate thru all the symbols SYNOPSIS elf_symtab__for_each_symbol (syms , nr_syms , idx , sym ); ARGUMENTS syms struct elf_symtab instance to iterate nr_syms -- undescribed -- idx uint32_t idx sym GElf_Sym iterator SEE ALSO Kernel ...
elf_validate_sections(9)
NAME elf_validate_sections - validate each section in the FMC ELF image SYNOPSIS bool elf_validate_sections (const void *elf , size_t length ); ARGUMENTS elf ELF image length size of the entire ELF image SEE ALSO Kernel file ./drivers/gpu/drm/nouveau/nvkm/subdev/gsp/gh100.c elf_section(9) April...
elf_validity_cache_index(9)
NAME elf_validity_cache_index - Resolve, validate, cache section indices SYNOPSIS int elf_validity_cache_index (struct load_info *info , int flags ); ARGUMENTS info Load info to read from and update. load_info->sechdrs and load_info->secstrings must be populated. flags Load flags, relevant to su...
elf_validity_cache_index_info(9)
NAME elf_validity_cache_index_info - Validate and cache modinfo section SYNOPSIS int elf_validity_cache_index_info (struct load_info *info ); ARGUMENTS info Load info to populate the modinfo index on. Must have load_info->sechdrs and load_info->secstrings populated DESCRIPTION Checks that if there is a .modi...
elf_validity_cache_index_mod(9)
NAME elf_validity_cache_index_mod - Validates and caches this_module section SYNOPSIS int elf_validity_cache_index_mod (struct load_info *info ); ARGUMENTS info Load info to cache this_module on. Must have load_info->sechdrs and load_info->secstrings populated DESCRIPTION The ".gnu.linkonce.this_module" ELF ...
elf_validity_cache_index_str(9)
NAME elf_validity_cache_index_str - Validate and cache strtab index SYNOPSIS int elf_validity_cache_index_str (struct load_info *info ); ARGUMENTS info Load info to cache strtab index in. Must have load_info->sechdrs and load_info->secstrings populated. Must have load_info->index.sym populated. DESCRIPTION ...
elf_validity_cache_index_sym(9)
NAME elf_validity_cache_index_sym - Validate and cache symtab index SYNOPSIS int elf_validity_cache_index_sym (struct load_info *info ); ARGUMENTS info Load info to cache symtab index in. Must have load_info->sechdrs and load_info->secstrings populated. DESCRIPTION Checks that there is exactly one symbol tab...
elf_validity_cache_index_versions(9)
NAME elf_validity_cache_index_versions - Validate and cache version indices SYNOPSIS int elf_validity_cache_index_versions (struct load_info *info , int flags ); ARGUMENTS info Load info to cache version indices in. Must have load_info->sechdrs and load_info->secstrings populated. flags Load fla...
elf_validity_cache_sechdrs(9)
NAME elf_validity_cache_sechdrs - Cache section headers if valid SYNOPSIS int elf_validity_cache_sechdrs (struct load_info *info ); ARGUMENTS info Load info to compute section headers from DESCRIPTION Checks: * ELF header is valid (see elf_validity_ehdr) * Section headers are the size we expect * Section ...
elf_validity_cache_secstrings(9)
NAME elf_validity_cache_secstrings - Caches section names if valid SYNOPSIS int elf_validity_cache_secstrings (struct load_info *info ); ARGUMENTS info Load info to cache section names from. Must have valid sechdrs. DESCRIPTION Specifically checks: * Section name table index is inbounds of section headers *...
elf_validity_cache_strtab(9)
NAME elf_validity_cache_strtab - Validate and cache symbol string table SYNOPSIS int elf_validity_cache_strtab (struct load_info *info ); ARGUMENTS info Load info to read from and update. Must have load_info->sechdrs and load_info->secstrings populated. Must have load_info->index populated. DESCRIPTION Chec...
elf_validity_ehdr(9)
NAME elf_validity_ehdr - Checks an ELF header for module validity SYNOPSIS int elf_validity_ehdr (const struct load_info *info ); ARGUMENTS info Load info containing the ELF header to check DESCRIPTION Checks whether an ELF header could belong to a valid module. Checks: * ELF header is within the data the use...
elfcorehdr_read(9)
NAME elfcorehdr_read - read from ELF core header SYNOPSIS ssize_t elfcorehdr_read (char *buf , size_t count , u64 *ppos ); ARGUMENTS buf buffer where the data is placed count number of bytes to read ppos address in the memory DESCRIPTION This function reads count bytes from elf c...