id
stringlengths
4
63
text
stringlengths
153
8.81M
wx_ptp_reset_cyclecounter(9)
NAME wx_ptp_reset_cyclecounter - create the cycle counter from hw SYNOPSIS void wx_ptp_reset_cyclecounter (struct wx *wx ); ARGUMENTS wx pointer to the wx structure DESCRIPTION This function should be called to set the proper values for the TSC_1588_INC register and tell the cyclecounter structure what the...
wx_ptp_rx_hang(9)
NAME wx_ptp_rx_hang - detect error case when Rx timestamp registers latched SYNOPSIS void wx_ptp_rx_hang (struct wx *wx ); ARGUMENTS wx pointer to wx struct DESCRIPTION this watchdog task is scheduled to detect error case where hardware has dropped an Rx packet that was timestamped when the ring is full....
wx_ptp_rx_hwtstamp(9)
NAME wx_ptp_rx_hwtstamp - utility function which checks for RX time stamp SYNOPSIS void wx_ptp_rx_hwtstamp (struct wx *wx , struct sk_buff *skb ); ARGUMENTS wx pointer to wx struct skb particular skb to send timestamp with DESCRIPTION if the timestamp is valid, we convert it into the timecou...
wx_ptp_stop(9)
NAME wx_ptp_stop - destroy the ptp_clock device SYNOPSIS void wx_ptp_stop (struct wx *wx ); ARGUMENTS wx pointer to wx struct DESCRIPTION Completely destroy the ptp_clock device, and disable all PTP related features. Intended to be run when the device is being closed. SEE ALSO Kernel file ./drivers/net/e...
wx_ptp_suspend(9)
NAME wx_ptp_suspend - stop ptp work items SYNOPSIS void wx_ptp_suspend (struct wx *wx ); ARGUMENTS wx pointer to wx struct DESCRIPTION This function suspends ptp activity, and prevents more work from being generated, but does not destroy the clock device. SEE ALSO Kernel file ./drivers/net/ethernet/wangx...
wx_ptp_tx_hang(9)
NAME wx_ptp_tx_hang - detect error case where Tx timestamp never finishes SYNOPSIS void wx_ptp_tx_hang (struct wx *wx ); ARGUMENTS wx private network wx structure SEE ALSO Kernel file ./drivers/net/ethernet/wangxun/libwx/wx_ptp.c wx_ptp_clear_tx_timestamp(9), wx_ptp_convert_to_hwtstamp(9), wx_ptp_tx_hw...
wx_ptp_tx_hwtstamp(9)
NAME wx_ptp_tx_hwtstamp - utility function which checks for TX time stamp SYNOPSIS void wx_ptp_tx_hwtstamp (struct wx *wx ); ARGUMENTS wx the private board struct DESCRIPTION if the timestamp is valid, we convert it into the timecounter ns value, then store that result into the shhwtstamps structure which i...
wx_read_ee_hostif(9)
NAME wx_read_ee_hostif - Read EEPROM word using a host interface cmd SYNOPSIS int wx_read_ee_hostif (struct wx *wx , u16 offset , u16 *data ); ARGUMENTS wx pointer to hardware structure offset offset of word in the EEPROM to read data word read from the EEPROM DESCRIPTION Reads ...
wx_read_ee_hostif_buffer(9)
NAME wx_read_ee_hostif_buffer - Read EEPROM word(s) using hostif SYNOPSIS int wx_read_ee_hostif_buffer (struct wx *wx , u16 offset , u16 words , u16 *data ); ARGUMENTS wx pointer to hardware structure offset offset of word in the EEPROM to read words number of words data ...
wx_read_ee_hostif_data(9)
NAME wx_read_ee_hostif_data - Read EEPROM word using a host interface cmd assuming that the semaphore is already obtained. SYNOPSIS int wx_read_ee_hostif_data (struct wx *wx , u16 offset , u16 *data ); ARGUMENTS wx pointer to hardware structure offset offset of word in the EEPROM to read ...
wx_read_mbx_pf(9)
NAME wx_read_mbx_pf - Read a message from the mailbox SYNOPSIS int wx_read_mbx_pf (struct wx *wx , u32 *msg , u16 size , u16 vf ); ARGUMENTS wx pointer to the HW structure msg The message buffer size Length of buffer vf the VF index RETURN return 0 on success ...
wx_read_mbx_vf(9)
NAME wx_read_mbx_vf - Reads a message from the inbox intended for vf SYNOPSIS int wx_read_mbx_vf (struct wx *wx , u32 *msg , u16 size ); ARGUMENTS wx pointer to the HW structure msg The message buffer size Length of buffer RETURN returns 0 if it successfully copied message int...
wx_read_posted_mbx(9)
NAME wx_read_posted_mbx - Wait for message notification and receive message SYNOPSIS int wx_read_posted_mbx (struct wx *wx , u32 *msg , u16 size ); ARGUMENTS wx pointer to the HW structure msg The message buffer size Length of buffer RETURN returns 0 if it successfully receive...
wx_release_sw_sync(9)
NAME wx_release_sw_sync - Release SW semaphore SYNOPSIS void wx_release_sw_sync (struct wx *wx , u32 mask ); ARGUMENTS wx pointer to hardware structure mask Mask to specify which semaphore to release DESCRIPTION Releases the SW semaphore for the specified function (CSR, PHY0, PHY1, EEPROM, Fl...
wx_reset_hw_vf(9)
NAME wx_reset_hw_vf - Performs hardware reset SYNOPSIS int wx_reset_hw_vf (struct wx *wx ); ARGUMENTS wx pointer to hardware structure DESCRIPTION Resets the hardware by resetting the transmit and receive units, masks and clears all interrupts. RETURN returns 0 on success, negative error code on failure S...
wx_rlpml_set_vf(9)
NAME wx_rlpml_set_vf - Set the maximum receive packet length SYNOPSIS int wx_rlpml_set_vf (struct wx *wx , u16 max_size ); ARGUMENTS wx pointer to the HW structure max_size value to assign to max frame size RETURN returns 0 on success, negative error code on failure SEE ALSO Kernel file ./driv...
wx_rx_checksum(9)
NAME wx_rx_checksum - indicate in skb if hw indicated a good cksum SYNOPSIS void wx_rx_checksum (struct wx_ring *ring , union wx_rx_desc *rx_desc , struct sk_buff *skb ); ARGUMENTS ring structure containing ring specific data rx_desc current Rx descriptor being processed skb skb cur...
wx_set_interrupt_capability(9)
NAME wx_set_interrupt_capability - set MSI-X or MSI if supported SYNOPSIS int wx_set_interrupt_capability (struct wx *wx ); ARGUMENTS wx board private structure to initialize DESCRIPTION Attempt to configure the interrupts using the best available capabilities of the hardware and the kernel. SEE ALSO Kerne...
wx_set_ivar(9)
NAME wx_set_ivar - set the IVAR registers, mapping interrupt causes to vectors SYNOPSIS void wx_set_ivar (struct wx *wx , s8 direction , u16 queue , u16 msix_vector ); ARGUMENTS wx pointer to wx struct direction 0 for Rx, 1 for Tx, -1 for other causes queue queue to map the correspond...
wx_set_mac(9)
NAME wx_set_mac - Change the Ethernet Address of the NIC SYNOPSIS int wx_set_mac (struct net_device *netdev , void *p ); ARGUMENTS netdev network interface device structure p pointer to an address structure DESCRIPTION Returns 0 on success, negative on failure SEE ALSO Kernel file ./drivers/...
wx_set_mta(9)
NAME wx_set_mta - Set bit-vector in multicast table SYNOPSIS void wx_set_mta (struct wx *wx , u8 *mc_addr ); ARGUMENTS wx pointer to private structure mc_addr Multicast address DESCRIPTION Sets the bit-vector in the multicast table. SEE ALSO Kernel file ./drivers/net/ethernet/wangxun/libwx/wx...
wx_set_rar(9)
NAME wx_set_rar - Set Rx address register SYNOPSIS int wx_set_rar (struct wx *wx , u32 index , u8 *addr , u64 pools , u32 enable_addr ); ARGUMENTS wx pointer to hardware structure index Receive address register to write addr Address to put into receive address register po...
wx_set_rar_vf(9)
NAME wx_set_rar_vf - set device MAC address SYNOPSIS int wx_set_rar_vf (struct wx *wx , u32 index , u8 *addr , u32 enable_addr ); ARGUMENTS wx pointer to hardware structure index Receive address register to write addr Address to put into receive address register enable_ad...
wx_set_rss_queues(9)
NAME wx_set_rss_queues - Allocate queues for RSS SYNOPSIS void wx_set_rss_queues (struct wx *wx ); ARGUMENTS wx board private structure to initialize DESCRIPTION This is our "base" multiqueue mode. RSS (Receive Side Scaling) will try to allocate one Rx queue per CPU, and if available, one Tx queue per CPU....
wx_set_rxpba(9)
NAME wx_set_rxpba - Initialize Rx packet buffer SYNOPSIS void wx_set_rxpba (struct wx *wx ); ARGUMENTS wx pointer to private structure SEE ALSO Kernel file ./drivers/net/ethernet/wangxun/libwx/wx_hw.c wx_irq_disable(9), wx_mng_present(9), wx_release_sw_sync(9), wx_acquire_sw_sync(9), wx_host_interface_com...
wx_set_vfta(9)
NAME wx_set_vfta - Set VLAN filter table SYNOPSIS int wx_set_vfta (struct wx *wx , u32 vlan , u32 vind , bool vlan_on ); ARGUMENTS wx pointer to hardware structure vlan VLAN id to write to VLAN filter vind VMDq output index that maps queue to VLAN id in VFVFB vlan_on ...
wx_set_vfta_vf(9)
NAME wx_set_vfta_vf - Set/Unset vlan filter table address SYNOPSIS int wx_set_vfta_vf (struct wx *wx , u32 vlan , u32 vind , bool vlan_on , bool vlvf_bypass ); ARGUMENTS wx pointer to the HW structure vlan 12 bit VLAN ID vind unused by VF drivers vlan_on if true then...
wx_set_vlvf(9)
NAME wx_set_vlvf - Set VLAN Pool Filter SYNOPSIS int wx_set_vlvf (struct wx *wx , u32 vlan , u32 vind , bool vlan_on , bool *vfta_changed ); ARGUMENTS wx pointer to hardware structure vlan VLAN id to write to VLAN filter vind VMDq output index that maps queue to VLAN id in VFVFB...
wx_setup_all_rx_resources(9)
NAME wx_setup_all_rx_resources - allocate all queues Rx resources SYNOPSIS int wx_setup_all_rx_resources (struct wx *wx ); ARGUMENTS wx pointer to hardware structure DESCRIPTION If this function returns with an error, then it's possible one or more of the rings is populated (while the rest are not). It is ...
wx_setup_all_tx_resources(9)
NAME wx_setup_all_tx_resources - allocate all queues Tx resources SYNOPSIS int wx_setup_all_tx_resources (struct wx *wx ); ARGUMENTS wx pointer to private structure DESCRIPTION If this function returns with an error, then it's possible one or more of the rings is populated (while the rest are not). It is t...
wx_setup_isb_resources(9)
NAME wx_setup_isb_resources - allocate interrupt status resources SYNOPSIS int wx_setup_isb_resources (struct wx *wx ); ARGUMENTS wx board private structure DESCRIPTION Return 0 on success, negative on failure SEE ALSO Kernel file ./drivers/net/ethernet/wangxun/libwx/wx_lib.c wx_alloc_rx_buffers(9), wx_i...
wx_setup_rx_resources(9)
NAME wx_setup_rx_resources - allocate Rx resources (Descriptors) SYNOPSIS int wx_setup_rx_resources (struct wx_ring *rx_ring ); ARGUMENTS rx_ring rx descriptor ring (for a specific queue) to setup DESCRIPTION Returns 0 on success, negative on failure SEE ALSO Kernel file ./drivers/net/ethernet/wangxun/libwx/w...
wx_setup_tx_resources(9)
NAME wx_setup_tx_resources - allocate Tx resources (Descriptors) SYNOPSIS int wx_setup_tx_resources (struct wx_ring *tx_ring ); ARGUMENTS tx_ring tx descriptor ring (for a specific queue) to setup DESCRIPTION Return 0 on success, negative on failure SEE ALSO Kernel file ./drivers/net/ethernet/wangxun/libwx/wx...
wx_start_hw(9)
NAME wx_start_hw - Prepare hardware for Tx/Rx SYNOPSIS void wx_start_hw (struct wx *wx ); ARGUMENTS wx pointer to hardware structure DESCRIPTION Starts the hardware using the generic start_hw function and the generation start_hw function. Then performs revision-specific operations, if any. SEE ALSO Kernel...
wx_stop_adapter(9)
NAME wx_stop_adapter - Generic stop Tx/Rx units SYNOPSIS int wx_stop_adapter (struct wx *wx ); ARGUMENTS wx pointer to hardware structure DESCRIPTION Sets the adapter_stopped flag within wx_hw struct. Clears interrupts, disables transmit and receive units. The adapter_stopped flag is used by the shared cod...
wx_stop_adapter_vf(9)
NAME wx_stop_adapter_vf - Generic stop Tx/Rx units SYNOPSIS void wx_stop_adapter_vf (struct wx *wx ); ARGUMENTS wx pointer to hardware structure DESCRIPTION Clears interrupts, disables transmit and receive units. SEE ALSO Kernel file ./drivers/net/ethernet/wangxun/libwx/wx_vf.c wx_init_hw_vf(9), wx_res...
wx_update_mc_addr_list(9)
NAME wx_update_mc_addr_list - Updates MAC list of multicast addresses SYNOPSIS void wx_update_mc_addr_list (struct wx *wx , struct net_device *netdev ); ARGUMENTS wx pointer to private structure netdev pointer to net device structure DESCRIPTION The given list replaces any existing list. Clear...
wx_update_mc_addr_list_vf(9)
NAME wx_update_mc_addr_list_vf - Update Multicast addresses SYNOPSIS int wx_update_mc_addr_list_vf (struct wx *wx , struct net_device *netdev ); ARGUMENTS wx pointer to the HW structure netdev pointer to the net device structure DESCRIPTION Updates the Multicast Table Array. RETURN returns 0 o...
wx_update_stats(9)
NAME wx_update_stats - Update the board statistics counters. SYNOPSIS void wx_update_stats (struct wx *wx ); ARGUMENTS wx board private structure SEE ALSO Kernel file ./drivers/net/ethernet/wangxun/libwx/wx_hw.c wx_irq_disable(9), wx_mng_present(9), wx_release_sw_sync(9), wx_acquire_sw_sync(9), wx_host_in...
wx_update_xcast_mode_vf(9)
NAME wx_update_xcast_mode_vf - Update Multicast mode SYNOPSIS int wx_update_xcast_mode_vf (struct wx *wx , int xcast_mode ); ARGUMENTS wx pointer to the HW structure xcast_mode new multicast mode DESCRIPTION Updates the Multicast Mode of VF. RETURN returns 0 on success, negative error code on fail...
wx_write_eitr(9)
NAME wx_write_eitr - write EITR register in hardware specific way SYNOPSIS void wx_write_eitr (struct wx_q_vector *q_vector ); ARGUMENTS q_vector structure containing interrupt and ring information DESCRIPTION This function is made to be called by ethtool and by the driver when it needs to update EITR registers a...
wx_write_mbx_pf(9)
NAME wx_write_mbx_pf - Places a message in the mailbox SYNOPSIS int wx_write_mbx_pf (struct wx *wx , u32 *msg , u16 size , u16 vf ); ARGUMENTS wx pointer to the HW structure msg The message buffer size Length of buffer vf the VF index RETURN return 0 on succes...
wx_write_mbx_vf(9)
NAME wx_write_mbx_vf - Write a message to the mailbox SYNOPSIS int wx_write_mbx_vf (struct wx *wx , u32 *msg , u16 size ); ARGUMENTS wx pointer to the HW structure msg The message buffer size Length of buffer RETURN returns 0 if it successfully copied message into the buffer ...
wx_write_mc_addr_list(9)
NAME wx_write_mc_addr_list - write multicast addresses to MTA SYNOPSIS int wx_write_mc_addr_list (struct net_device *netdev ); ARGUMENTS netdev network interface device structure DESCRIPTION Writes multicast address list to the MTA hash table. RETURN 0 on no addresses written X on writing X addresses to MTA S...
wx_write_posted_mbx(9)
NAME wx_write_posted_mbx - Write a message to the mailbox, wait for ack SYNOPSIS int wx_write_posted_mbx (struct wx *wx , u32 *msg , u16 size ); ARGUMENTS wx pointer to the HW structure msg The message buffer size Length of buffer RETURN returns 0 if it successfully copied mes...
wx_write_uc_addr_list(9)
NAME wx_write_uc_addr_list - write unicast addresses to RAR table SYNOPSIS int wx_write_uc_addr_list (struct net_device *netdev , int pool ); ARGUMENTS netdev network interface device structure pool index for mac table DESCRIPTION Writes unicast address list to the RAR table. RETURN -ENOMEM on f...
x25(7)
NAME x25 - ITU-T X.25 / ISO/IEC 8208 protocol interface SYNOPSIS #include <sys/socket.h> #include <linux/x25.h> x25_socket = socket(AF_X25, SOCK_SEQPACKET, 0); DESCRIPTION X25 sockets provide an interface to the X.25 packet layer protocol. This allows applications to communicate over a public X.25 data net...
x25_get_route(9)
NAME x25_get_route - Find a route given an X.25 address. SYNOPSIS struct x25_route * x25_get_route (struct x25_address *addr ); ARGUMENTS addr - address to find a route for DESCRIPTION Find a route given an X.25 address. SEE ALSO Kernel file ./net/x25/x25_route.c __x25_remove_route(9) April 2026 ...
x25_parse_facilities(9)
NAME x25_parse_facilities - Parse facilities from skb into the facilities structs SYNOPSIS int x25_parse_facilities (struct sk_buff *skb , struct x25_facilities *facilities , struct x25_dte_facilities *dte_facs , unsigned long *vc_fac_mask ); ARGUMENTS skb sk_buff to parse facilities Regular faciliti...
x509.1ssl(1)
NAME asn1parse, ca, ciphers, cmp, cms, crl, crl2pkcs7, dgst, dhparam, dsa, dsaparam, ec, ecparam, enc, engine, errstr, gendsa, genpkey, genrsa, info, kdf, mac, nseq, ocsp, passwd, pkcs12, pkcs7, pkcs8, pkey, pkeyparam, pkeyutl, prime, rand, rehash, req, rsa, rsautl, s_client, s_server, s_time, sess_id, smime, speed, sp...
x509.7ssl(7)
NAME x509 - X.509 certificate handling SYNOPSIS #include <openssl/x509.h> DESCRIPTION An X.509 certificate is a structured grouping of information about an individual, a device, or anything one can imagine. An X.509 CRL (certificate revocation list) is a tool to help determine if a certificate is still valid. The e...
x509_decode_time(9)
NAME x509_decode_time - Decode an X.509 time ASN.1 object SYNOPSIS int x509_decode_time (time64_t *_t , size_t hdrlen , unsigned char tag , const unsigned char *value , size_t vlen ); ARGUMENTS _t The time to fill in hdrlen The length of the object header tag The object tag ...
x509_verify(3)
NAME x509_verify, x509_verify_ctx_new, x509_verify_ctx_free, x509_verify_ctx_set_max_depth, x509_verify_ctx_set_max_signatures, x509_verify_ctx_set_max_chains, x509_verify_ctx_set_purpose, x509_verify_ctx_set_intermediates, x509_verify_ctx_error_string, x509_verify_ctx_error_depth, x509_verify_ctx_cha...
x509v3.cnf(5)
NAME x509v3.cnf — X.509 V3 certificate extension configuration format DESCRIPTION Several of the OpenSSL utilities can add extensions to a certificate or certificate request based on the contents of a configuration file. The file format is based on the openssl.cnf(5) format. Typically the application will con...
x509v3_config.5ssl(5)
NAME x509v3_config - X509 V3 certificate extension configuration format DESCRIPTION Several OpenSSL commands can add extensions to a certificate or certificate request based on the contents of a configuration file and CLI options such as -addext. The syntax of configuration files is described in config(5). The comma...
x86_acpi_enter_sleep_state(9)
NAME x86_acpi_enter_sleep_state - enter sleep state SYNOPSIS acpi_status __visible x86_acpi_enter_sleep_state (u8 state ); ARGUMENTS state Sleep state to enter. DESCRIPTION Wrapper around acpi_enter_sleep_state to be called by assembly. SEE ALSO Kernel file ./arch/x86/kernel/acpi/sleep.c acpi_get_wakeup_addre...
x86_acpi_suspend_lowlevel(9)
NAME x86_acpi_suspend_lowlevel - save kernel state SYNOPSIS int x86_acpi_suspend_lowlevel (void ); ARGUMENTS void no arguments DESCRIPTION Create an identity mapped page table and copy the wakeup routine to low memory. SEE ALSO Kernel file ./arch/x86/kernel/acpi/sleep.c acpi_get_wakeup_address(9), x86_acpi_e...
x86_clear_cpu_buffers(9)
NAME x86_clear_cpu_buffers - Buffer clearing support for different x86 CPU vulns SYNOPSIS void x86_clear_cpu_buffers (void ); ARGUMENTS void no arguments DESCRIPTION This uses the otherwise unused and obsolete VERW instruction in combination with microcode which triggers a CPU buffer flush when the instructio...
x86_idle_clear_cpu_buffers(9)
NAME x86_idle_clear_cpu_buffers - Buffer clearing support in idle for the MDS and TSA vulnerabilities. SYNOPSIS void x86_idle_clear_cpu_buffers (void ); ARGUMENTS void no arguments DESCRIPTION Clear CPU buffers if the corresponding static key is enabled SEE ALSO Kernel file ./arch/x86/include/asm/nospec-bran...
x86_init_dev_msi_info(9)
NAME x86_init_dev_msi_info - Domain info setup for MSI domains SYNOPSIS bool x86_init_dev_msi_info (struct device *dev , struct irq_domain *domain , struct irq_domain *real_parent , struct msi_domain_info *info ); ARGUMENTS dev The device for which the domain should be created domain The (root) d...
x86_match_cpu(9)
NAME x86_match_cpu - match current CPU against an array of x86_cpu_ids SYNOPSIS const struct x86_cpu_id * x86_match_cpu (const struct x86_cpu_id *match ); ARGUMENTS match Pointer to array of x86_cpu_ids. Last entry terminated with {}. DESCRIPTION Return the entry if the current CPU matches the entries in the p...
x86_match_vendor_cpu_type(9)
NAME x86_match_vendor_cpu_type - helper function to match the hardware defined cpu-type for a single entry in the x86_cpu_id table. Note, this function does not match the generic cpu-types TOPO_CPU_TYPE_EFFICIENCY and TOPO_CPU_TYPE_PERFORMANCE. SYNOPSIS bool x86_match_vendor_cpu_type (struct cpuinfo_x86 *c , ...
x86_msi_prepare(9)
NAME x86_msi_prepare - Setup of msi_alloc_info_t for allocations SYNOPSIS int x86_msi_prepare (struct irq_domain *domain , struct device *dev , int nvec , msi_alloc_info_t *alloc ); ARGUMENTS domain The domain for which this setup happens dev The device for which interrupts are allocated ...
x86_numa_init(9)
NAME x86_numa_init - Initialize NUMA SYNOPSIS void x86_numa_init (void ); ARGUMENTS void no arguments DESCRIPTION Try each configured NUMA initialization method until one succeeds. The last fallback is dummy single node config encompassing whole memory and never fails. SEE ALSO Kernel file ./arch/x86/mm/num...
x86_perf_get_lbr(9)
NAME x86_perf_get_lbr - get the LBR records information SYNOPSIS void x86_perf_get_lbr (struct x86_pmu_lbr *lbr ); ARGUMENTS lbr the caller's memory to store the LBR records information SEE ALSO Kernel file ./arch/x86/events/intel/lbr.c April 2026 ...
x86_perf_rdpmc_index(9)
NAME x86_perf_rdpmc_index - Return PMC counter used for event SYNOPSIS int x86_perf_rdpmc_index (struct perf_event *event ); ARGUMENTS event the perf_event to which the PMC counter was assigned DESCRIPTION The counter assigned to this performance event may change if interrupts are enabled. This counter sho...
x86_spec_ctrl_restore_host(9)
NAME x86_spec_ctrl_restore_host - Restore host speculation control registers SYNOPSIS void x86_spec_ctrl_restore_host (u64 guest_virt_spec_ctrl ); ARGUMENTS guest_virt_spec_ctrl The guest controlled bits of MSR_VIRT_SPEC_CTRL (may get translated to MSR_AMD64_LS_CFG bits) DESCRIPTION Avoids writing to the MSR if the ...
x86_spec_ctrl_set_guest(9)
NAME x86_spec_ctrl_set_guest - Set speculation control registers for the guest SYNOPSIS void x86_spec_ctrl_set_guest (u64 guest_virt_spec_ctrl ); ARGUMENTS guest_virt_spec_ctrl The guest controlled bits of MSR_VIRT_SPEC_CTRL (may get translated to MSR_AMD64_LS_CFG bits) DESCRIPTION Avoids writing to the MSR if the c...
x_table_lookup(9)
NAME x_table_lookup - lookup an x transition name via transition table SYNOPSIS struct aa_label * x_table_lookup (struct aa_profile *profile , u32 xindex , const char **name ); ARGUMENTS profile current profile (NOT NULL) xindex index into x transition table name returns: name tested t...
x_to_label(9)
NAME x_to_label - get target label for a given xindex SYNOPSIS struct aa_label * x_to_label (struct aa_profile *profile , const struct linux_binprm *bprm , const char *name , u32 xindex , const char **lookupname , const char **info ); ARGUMENTS profile current profile (NOT NULL) bprm binprm struct...
xa_alloc(9)
NAME xa_alloc - Find somewhere to store this entry in the XArray. SYNOPSIS int xa_alloc (struct xarray *xa , u32 *id , void *entry , struct xa_limit limit , gfp_t gfp ); ARGUMENTS xa XArray. id Pointer to ID. entry New entry. limit Range of ID to allocate. ...
xa_alloc_bh(9)
NAME xa_alloc_bh - Find somewhere to store this entry in the XArray. SYNOPSIS int xa_alloc_bh (struct xarray *xa , u32 *id , void *entry , struct xa_limit limit , gfp_t gfp ); ARGUMENTS xa XArray. id Pointer to ID. entry New entry. limit Range of ID to allocate. ...
xa_alloc_cyclic(9)
NAME xa_alloc_cyclic - Find somewhere to store this entry in the XArray. SYNOPSIS int xa_alloc_cyclic (struct xarray *xa , u32 *id , void *entry , struct xa_limit limit , u32 *next , gfp_t gfp ); ARGUMENTS xa XArray. id Pointer to ID. entry New entry. limit Range ...
xa_alloc_cyclic_bh(9)
NAME xa_alloc_cyclic_bh - Find somewhere to store this entry in the XArray. SYNOPSIS int xa_alloc_cyclic_bh (struct xarray *xa , u32 *id , void *entry , struct xa_limit limit , u32 *next , gfp_t gfp ); ARGUMENTS xa XArray. id Pointer to ID. entry New entry. limit ...
xa_alloc_cyclic_irq(9)
NAME xa_alloc_cyclic_irq - Find somewhere to store this entry in the XArray. SYNOPSIS int xa_alloc_cyclic_irq (struct xarray *xa , u32 *id , void *entry , struct xa_limit limit , u32 *next , gfp_t gfp ); ARGUMENTS xa XArray. id Pointer to ID. entry New entry. limit ...
xa_alloc_irq(9)
NAME xa_alloc_irq - Find somewhere to store this entry in the XArray. SYNOPSIS int xa_alloc_irq (struct xarray *xa , u32 *id , void *entry , struct xa_limit limit , gfp_t gfp ); ARGUMENTS xa XArray. id Pointer to ID. entry New entry. limit Range of ID to allocate....
xa_clear_mark(9)
NAME xa_clear_mark - Clear this mark on this entry. SYNOPSIS void xa_clear_mark (struct xarray *xa , unsigned long index , xa_mark_t mark ); ARGUMENTS xa XArray. index Index of entry. mark Mark number. DESCRIPTION Clearing a mark always succeeds. CONTEXT Process context. Takes...
xa_cmpxchg(9)
NAME xa_cmpxchg - Conditionally replace an entry in the XArray. SYNOPSIS void * xa_cmpxchg (struct xarray *xa , unsigned long index , void *old , void *entry , gfp_t gfp ); ARGUMENTS xa XArray. index Index into array. old Old value to test against. entry New value ...
xa_cmpxchg_bh(9)
NAME xa_cmpxchg_bh - Conditionally replace an entry in the XArray. SYNOPSIS void * xa_cmpxchg_bh (struct xarray *xa , unsigned long index , void *old , void *entry , gfp_t gfp ); ARGUMENTS xa XArray. index Index into array. old Old value to test against. entry New ...
xa_cmpxchg_irq(9)
NAME xa_cmpxchg_irq - Conditionally replace an entry in the XArray. SYNOPSIS void * xa_cmpxchg_irq (struct xarray *xa , unsigned long index , void *old , void *entry , gfp_t gfp ); ARGUMENTS xa XArray. index Index into array. old Old value to test against. entry Ne...
xa_delete_node(9)
NAME xa_delete_node - Private interface for workingset code. SYNOPSIS void xa_delete_node (struct xa_node *node , xa_update_node_t update ); ARGUMENTS node Node to be removed from the tree. update Function to call to update ancestor nodes. CONTEXT xa_lock must be held on entry and will not be rel...
xa_destroy(9)
NAME xa_destroy - Free all internal data structures. SYNOPSIS void xa_destroy (struct xarray *xa ); ARGUMENTS xa XArray. DESCRIPTION After calling this function, the XArray is empty and has freed all memory allocated for its internal data structures. You are responsible for freeing the objects referenced b...
xa_empty(9)
NAME xa_empty - Determine if an array has any present entries. SYNOPSIS bool xa_empty (const struct xarray *xa ); ARGUMENTS xa XArray. CONTEXT Any context. RETURN true if the array contains only NULL pointers. SEE ALSO Kernel file ./include/linux/xarray.h xa_mk_value(9), xa_to_value(9), xa_is_value(9), xa...
xa_erase(9)
NAME xa_erase - Erase this entry from the XArray. SYNOPSIS void * xa_erase (struct xarray *xa , unsigned long index ); ARGUMENTS xa XArray. index Index of entry. DESCRIPTION After this function returns, loading from index will return NULL. If the index is part of a multi-index entry, all indi...
xa_erase_bh(9)
NAME xa_erase_bh - Erase this entry from the XArray. SYNOPSIS void * xa_erase_bh (struct xarray *xa , unsigned long index ); ARGUMENTS xa XArray. index Index of entry. DESCRIPTION After this function returns, loading from index will return NULL. If the index is part of a multi-index entry, al...
xa_erase_irq(9)
NAME xa_erase_irq - Erase this entry from the XArray. SYNOPSIS void * xa_erase_irq (struct xarray *xa , unsigned long index ); ARGUMENTS xa XArray. index Index of entry. DESCRIPTION After this function returns, loading from index will return NULL. If the index is part of a multi-index entry, ...
xa_err(9)
NAME xa_err - Turn an XArray result into an errno. SYNOPSIS int xa_err (void *entry ); ARGUMENTS entry Result from calling an XArray function. DESCRIPTION If an XArray operation cannot complete an operation, it will return a special pointer value which encodes an errno. This function extracts the errno from ...
xa_extract(9)
NAME xa_extract - Copy selected entries from the XArray into a normal array. SYNOPSIS unsigned int xa_extract (struct xarray *xa , void **dst , unsigned long start , unsigned long max , unsigned int n , xa_mark_t filter ); ARGUMENTS xa The source XArray to copy from. dst The buffer to copy en...
xa_find(9)
NAME xa_find - Search the XArray for an entry. SYNOPSIS void * xa_find (struct xarray *xa , unsigned long *indexp , unsigned long max , xa_mark_t filter ); ARGUMENTS xa XArray. indexp Pointer to an index. max Maximum index to search to. filter Selection criterion. D...
xa_find_after(9)
NAME xa_find_after - Search the XArray for a present entry. SYNOPSIS void * xa_find_after (struct xarray *xa , unsigned long *indexp , unsigned long max , xa_mark_t filter ); ARGUMENTS xa XArray. indexp Pointer to an index. max Maximum index to search to. filter Sele...
xa_for_each(9)
NAME xa_for_each - Iterate over present entries in an XArray. SYNOPSIS xa_for_each (xa , index , entry ); ARGUMENTS xa XArray. index Index of entry. entry Entry retrieved from array. DESCRIPTION During the iteration, entry will have the value of the entry stored in xa at index...
xa_for_each_marked(9)
NAME xa_for_each_marked - Iterate over marked entries in an XArray. SYNOPSIS xa_for_each_marked (xa , index , entry , filter ); ARGUMENTS xa XArray. index Index of entry. entry Entry retrieved from array. filter Selection criterion. DESCRIPTION During the iteration...
xa_for_each_range(9)
NAME xa_for_each_range - Iterate over a portion of an XArray. SYNOPSIS xa_for_each_range (xa , index , entry , start , last ); ARGUMENTS xa XArray. index Index of entry. entry Entry retrieved from array. start First index to retrieve from array. last L...
xa_for_each_start(9)
NAME xa_for_each_start - Iterate over a portion of an XArray. SYNOPSIS xa_for_each_start (xa , index , entry , start ); ARGUMENTS xa XArray. index Index of entry. entry Entry retrieved from array. start First index to retrieve from array. DESCRIPTION During the it...
xa_get_mark(9)
NAME xa_get_mark - Inquire whether this mark is set on this entry. SYNOPSIS bool xa_get_mark (struct xarray *xa , unsigned long index , xa_mark_t mark ); ARGUMENTS xa XArray. index Index of entry. mark Mark number. DESCRIPTION This function uses the RCU read lock, so the result ...
xa_get_order(9)
NAME xa_get_order - Get the order of an entry. SYNOPSIS int xa_get_order (struct xarray *xa , unsigned long index ); ARGUMENTS xa XArray. index Index of the entry. RETURN A number between 0 and 63 indicating the order of the entry. SEE ALSO Kernel file ./lib/xarray.c xas_load(9), xas_nome...
xa_init(9)
NAME xa_init - Initialise an empty XArray. SYNOPSIS void xa_init (struct xarray *xa ); ARGUMENTS xa XArray. DESCRIPTION An empty XArray is full of NULL entries. CONTEXT Any context. SEE ALSO Kernel file ./include/linux/xarray.h xa_mk_value(9), xa_to_value(9), xa_is_value(9), xa_tag_pointer(9), xa_untag_po...
xa_init_flags(9)
NAME xa_init_flags - Initialise an empty XArray with flags. SYNOPSIS void xa_init_flags (struct xarray *xa , gfp_t flags ); ARGUMENTS xa XArray. flags XA_FLAG values. DESCRIPTION If you need to initialise an XArray with special flags (eg you need to take the lock from interrupt context), use t...
xa_insert(9)
NAME xa_insert - Store this entry in the XArray unless another entry is already present. SYNOPSIS int xa_insert (struct xarray *xa , unsigned long index , void *entry , gfp_t gfp ); ARGUMENTS xa XArray. index Index into array. entry New entry. gfp Memory allocation...
xa_insert_bh(9)
NAME xa_insert_bh - Store this entry in the XArray unless another entry is already present. SYNOPSIS int xa_insert_bh (struct xarray *xa , unsigned long index , void *entry , gfp_t gfp ); ARGUMENTS xa XArray. index Index into array. entry New entry. gfp Memory allo...