id stringlengths 4 63 | text stringlengths 153 8.81M |
|---|---|
uart_get_lsr_info(9) | NAME uart_get_lsr_info - get line status register info
SYNOPSIS int uart_get_lsr_info (struct tty_struct *tty , struct uart_state *state , unsigned int __user *value );
ARGUMENTS tty tty associated with the UART
state UART being queried
value returned modem value
SEE ALSO Kernel ... |
uart_get_rs485_mode(9) | NAME uart_get_rs485_mode - retrieve rs485 properties for given uart
SYNOPSIS int uart_get_rs485_mode (struct uart_port *port );
ARGUMENTS port uart device's target port
DESCRIPTION This function implements the device tree binding described in Documentation/devicetree/bindings/serial/rs485.txt.
SEE ALSO Kerne... |
uart_handle_cts_change(9) | NAME uart_handle_cts_change - handle a change of clear-to-send state
SYNOPSIS void uart_handle_cts_change (struct uart_port *uport , bool active );
ARGUMENTS uport uart_port structure for the open port
active new clear-to-send status
DESCRIPTION Caller must hold uport->lock.
SEE ALSO Kernel file... |
uart_handle_dcd_change(9) | NAME uart_handle_dcd_change - handle a change of carrier detect state
SYNOPSIS void uart_handle_dcd_change (struct uart_port *uport , bool active );
ARGUMENTS uport uart_port structure for the open port
active new carrier detect status
DESCRIPTION Caller must hold uport->lock.
SEE ALSO Kernel fi... |
uart_insert_char(9) | NAME uart_insert_char - push a char to the uart layer
SYNOPSIS void uart_insert_char (struct uart_port *port , unsigned int status , unsigned int overrun , u8 ch , u8 flag );
ARGUMENTS port corresponding port
status state of the serial port RX buffer (LSR for 8250)
overrun mask of over... |
uart_match_port(9) | NAME uart_match_port - are the two ports equivalent?
SYNOPSIS bool uart_match_port (const struct uart_port *port1 , const struct uart_port *port2 );
ARGUMENTS port1 first port
port2 second port
DESCRIPTION This utility function can be used to determine whether two uart_port structures describe th... |
uart_parse_earlycon(9) | NAME uart_parse_earlycon - Parse earlycon options
SYNOPSIS int uart_parse_earlycon (char *p , enum uart_iotype *iotype , resource_size_t *addr , char **options );
ARGUMENTS p ptr to 2nd field (ie., just beyond '<name>,')
iotype ptr for decoded iotype (out)
addr ptr for decoded ma... |
uart_parse_options(9) | NAME uart_parse_options - Parse serial port baud/parity/bits/flow control.
SYNOPSIS void uart_parse_options (const char *options , int *baud , int *parity , int *bits , int *flow );
ARGUMENTS options pointer to option string
baud pointer to an 'int' variable for the baud rate.
parity p... |
uart_port_lock(9) | NAME uart_port_lock - Lock the UART port
SYNOPSIS void uart_port_lock (struct uart_port *up );
ARGUMENTS up Pointer to UART port structure
SEE ALSO Kernel file ./include/linux/serial_core.h struct uart_ops(9), uart_port_set_cons(9), uart_port_lock_irq(9), uart_port_lock_irqsave(9), uart_port_trylock(9), uar... |
uart_port_lock_irq(9) | NAME uart_port_lock_irq - Lock the UART port and disable interrupts
SYNOPSIS void uart_port_lock_irq (struct uart_port *up );
ARGUMENTS up Pointer to UART port structure
SEE ALSO Kernel file ./include/linux/serial_core.h struct uart_ops(9), uart_port_set_cons(9), uart_port_lock(9), uart_port_lock_irqsav... |
uart_port_lock_irqsave(9) | NAME uart_port_lock_irqsave - Lock the UART port, save and disable interrupts
SYNOPSIS void uart_port_lock_irqsave (struct uart_port *up , unsigned long *flags );
ARGUMENTS up Pointer to UART port structure
flags Pointer to interrupt flags storage
SEE ALSO Kernel file ./include/linux/serial_... |
uart_port_set_cons(9) | NAME uart_port_set_cons - Safely set the @cons field for a uart
SYNOPSIS void uart_port_set_cons (struct uart_port *up , struct console *con );
ARGUMENTS up The uart port to set
con The new console to set to
DESCRIPTION This function must be used to set up->cons. It uses the port lock to syn... |
uart_port_trylock(9) | NAME uart_port_trylock - Try to lock the UART port
SYNOPSIS bool uart_port_trylock (struct uart_port *up );
ARGUMENTS up Pointer to UART port structure
RETURN True if lock was acquired, false otherwise
SEE ALSO Kernel file ./include/linux/serial_core.h struct uart_ops(9), uart_port_set_cons(9), uart_por... |
uart_port_trylock_irqsave(9) | NAME uart_port_trylock_irqsave - Try to lock the UART port, save and disable interrupts
SYNOPSIS bool uart_port_trylock_irqsave (struct uart_port *up , unsigned long *flags );
ARGUMENTS up Pointer to UART port structure
flags Pointer to interrupt flags storage
RETURN True if lock was acquired,... |
uart_port_tx(9) | NAME uart_port_tx - - transmit helper for uart_port
SYNOPSIS uart_port_tx (port , ch , tx_ready , put_char );
ARGUMENTS port uart port
ch variable to store a character to be written to the HW
tx_ready can HW accept more data function
put_char function to write a character... |
uart_port_tx_flags(9) | NAME uart_port_tx_flags - - transmit helper for uart_port with flags
SYNOPSIS uart_port_tx_flags (port , ch , flags , tx_ready , put_char );
ARGUMENTS port uart port
ch variable to store a character to be written to the HW
flags UART_TX_NOSTOP or similar
tx_ready can H... |
uart_port_tx_limited(9) | NAME uart_port_tx_limited - - transmit helper for uart_port with count limiting
SYNOPSIS uart_port_tx_limited (port , ch , count , tx_ready , put_char , tx_done );
ARGUMENTS port uart port
ch variable to store a character to be written to the HW
count a limit of characters to sen... |
uart_port_tx_limited_flags(9) | NAME uart_port_tx_limited_flags - - transmit helper for uart_port with count limiting with flags
SYNOPSIS uart_port_tx_limited_flags (port , ch , flags , count , tx_ready , put_char , tx_done );
ARGUMENTS port uart port
ch variable to store a character to be written to the HW
flags ... |
uart_port_unlock(9) | NAME uart_port_unlock - Unlock the UART port
SYNOPSIS void uart_port_unlock (struct uart_port *up );
ARGUMENTS up Pointer to UART port structure
SEE ALSO Kernel file ./include/linux/serial_core.h struct uart_ops(9), uart_port_set_cons(9), uart_port_lock(9), uart_port_lock_irq(9), uart_port_lock_irqsave(9)... |
uart_port_unlock_irq(9) | NAME uart_port_unlock_irq - Unlock the UART port and re-enable interrupts
SYNOPSIS void uart_port_unlock_irq (struct uart_port *up );
ARGUMENTS up Pointer to UART port structure
SEE ALSO Kernel file ./include/linux/serial_core.h struct uart_ops(9), uart_port_set_cons(9), uart_port_lock(9), uart_port_lock_... |
uart_port_unlock_irqrestore(9) | NAME uart_port_unlock_irqrestore - Unlock the UART port, restore interrupts
SYNOPSIS void uart_port_unlock_irqrestore (struct uart_port *up , unsigned long flags );
ARGUMENTS up Pointer to UART port structure
flags The saved interrupt flags for restore
SEE ALSO Kernel file ./include/linux/se... |
uart_register_driver(9) | NAME uart_register_driver - register a driver with the uart core layer
SYNOPSIS int uart_register_driver (struct uart_driver *drv );
ARGUMENTS drv low level driver structure
DESCRIPTION Register a uart driver with the core driver. We in turn register with the tty layer, and initialise the core drive... |
uart_set_options(9) | NAME uart_set_options - setup the serial console parameters
SYNOPSIS int uart_set_options (struct uart_port *port , struct console *co , int baud , int parity , int bits , int flow );
ARGUMENTS port pointer to the serial ports uart_port structure
co console pointer
baud baud rat... |
uart_try_toggle_sysrq(9) | NAME uart_try_toggle_sysrq - Enables SysRq from serial line
SYNOPSIS bool uart_try_toggle_sysrq (struct uart_port *port , u8 ch );
ARGUMENTS port uart_port structure where char(s) after BREAK met
ch new character in the sequence after received BREAK
DESCRIPTION Enables magic SysRq when the re... |
uart_unregister_driver(9) | NAME uart_unregister_driver - remove a driver from the uart core layer
SYNOPSIS void uart_unregister_driver (struct uart_driver *drv );
ARGUMENTS drv low level driver structure
DESCRIPTION Remove all references to a driver from the core driver. The low level driver must have removed all its ports via the u... |
uart_update_timeout(9) | NAME uart_update_timeout - update per-port frame timing information
SYNOPSIS void uart_update_timeout (struct uart_port *port , unsigned int cflag , unsigned int baud );
ARGUMENTS port uart_port structure describing the port
cflag termios cflag value
baud speed of the port
DESCRIP... |
uart_write_wakeup(9) | NAME uart_write_wakeup - schedule write processing
SYNOPSIS void uart_write_wakeup (struct uart_port *port );
ARGUMENTS port port to be processed
DESCRIPTION This routine is used by the interrupt handler to schedule processing in the software interrupt portion of the driver. A driver is expected to call th... |
uart_xmit_advance(9) | NAME uart_xmit_advance - Advance xmit buffer and account Tx'ed chars
SYNOPSIS void uart_xmit_advance (struct uart_port *up , unsigned int chars );
ARGUMENTS up uart_port structure describing the port
chars number of characters sent
DESCRIPTION This function advances the tail of circular xmit b... |
uaudio_dev_intf_cleanup(9) | NAME uaudio_dev_intf_cleanup - cleanup transfer resources
SYNOPSIS void uaudio_dev_intf_cleanup (struct usb_device *udev , struct intf_info *info );
ARGUMENTS udev usb device
info usb offloading interface
DESCRIPTION Cleans up the transfer ring related resources which are assigned per endpoint ... |
uaudio_endpoint_setup(9) | NAME uaudio_endpoint_setup - fetch and populate endpoint params
SYNOPSIS phys_addr_t uaudio_endpoint_setup (struct snd_usb_substream *subs , struct snd_usb_endpoint *endpoint , int card_num , struct mem_info_v01 *mem_info , struct usb_endpoint_descriptor_v01 *ep_desc );
ARGUMENTS subs usb substream
end... |
uaudio_event_ring_cleanup_free(9) | NAME uaudio_event_ring_cleanup_free - cleanup secondary event ring
SYNOPSIS void uaudio_event_ring_cleanup_free (struct uaudio_dev *dev );
ARGUMENTS dev usb offload device
DESCRIPTION Cleans up the secondary event ring that was requested. This will occur when the adsp is no longer transferring data on the U... |
uaudio_event_ring_setup(9) | NAME uaudio_event_ring_setup - fetch and populate event ring params
SYNOPSIS int uaudio_event_ring_setup (struct snd_usb_substream *subs , int card_num , struct mem_info_v01 *mem_info );
ARGUMENTS subs usb substream
card_num uadev index
mem_info QMI response info
DESCRIPTION Register sec... |
uaudio_iommu_map_pa(9) | NAME uaudio_iommu_map_pa - maps iommu memory for adsp
SYNOPSIS unsigned long uaudio_iommu_map_pa (enum mem_type mtype , bool dma_coherent , phys_addr_t pa , size_t size );
ARGUMENTS mtype ring type
dma_coherent
dma coherent
pa physical address for ring/buffer
... |
uaudio_iommu_unmap(9) | NAME uaudio_iommu_unmap - unmaps iommu memory for adsp
SYNOPSIS void uaudio_iommu_unmap (enum mem_type mtype , unsigned long iova , size_t iova_size , size_t mapped_iova_size );
ARGUMENTS mtype ring type
iova virtual address to unmap
iova_size region size
mapped_iova_size
... |
uaudio_populate_uac_desc(9) | NAME uaudio_populate_uac_desc - parse UAC parameters and populate QMI resp
SYNOPSIS int uaudio_populate_uac_desc (struct snd_usb_substream *subs , struct qmi_uaudio_stream_resp_msg_v01 *resp );
ARGUMENTS subs usb substream
resp QMI response buffer
DESCRIPTION Parses information specified within... |
uaudio_sideband_notifier(9) | NAME uaudio_sideband_notifier - xHCI sideband event handler
SYNOPSIS int uaudio_sideband_notifier (struct usb_interface *intf , struct xhci_sideband_event *evt );
ARGUMENTS intf USB interface handle
evt xHCI sideband event type
DESCRIPTION This callback is executed when the xHCI sideband e... |
uaudio_transfer_buffer_setup(9) | NAME uaudio_transfer_buffer_setup - fetch and populate xfer buffer params
SYNOPSIS int uaudio_transfer_buffer_setup (struct snd_usb_substream *subs , void **xfer_buf_cpu , u32 xfer_buf_len , struct mem_info_v01 *mem_info );
ARGUMENTS subs usb substream
xfer_buf_cpu
xfer buf to be all... |
ub_cancel(3) | NAME libunbound - Unbound DNS validating resolver 1.24.2 functions.
SYNOPSIS #include <unbound.h>
struct ub_ctx * ub_ctx_create(void);
void ub_ctx_delete(struct ub_ctx* ctx);
int ub_ctx_set_option(struct ub_ctx* ctx, char* opt, char* val);
int ub_ctx_get_option(struct ub_ctx* ctx, char*... |
ub_ctx(3) | NAME libunbound - Unbound DNS validating resolver 1.24.2 functions.
SYNOPSIS #include <unbound.h>
struct ub_ctx * ub_ctx_create(void);
void ub_ctx_delete(struct ub_ctx* ctx);
int ub_ctx_set_option(struct ub_ctx* ctx, char* opt, char* val);
int ub_ctx_get_option(struct ub_ctx* ctx, char*... |
ub_ctx_add_ta(3) | NAME libunbound - Unbound DNS validating resolver 1.24.2 functions.
SYNOPSIS #include <unbound.h>
struct ub_ctx * ub_ctx_create(void);
void ub_ctx_delete(struct ub_ctx* ctx);
int ub_ctx_set_option(struct ub_ctx* ctx, char* opt, char* val);
int ub_ctx_get_option(struct ub_ctx* ctx, char*... |
ub_ctx_add_ta_file(3) | NAME libunbound - Unbound DNS validating resolver 1.24.2 functions.
SYNOPSIS #include <unbound.h>
struct ub_ctx * ub_ctx_create(void);
void ub_ctx_delete(struct ub_ctx* ctx);
int ub_ctx_set_option(struct ub_ctx* ctx, char* opt, char* val);
int ub_ctx_get_option(struct ub_ctx* ctx, char*... |
ub_ctx_async(3) | NAME libunbound - Unbound DNS validating resolver 1.24.2 functions.
SYNOPSIS #include <unbound.h>
struct ub_ctx * ub_ctx_create(void);
void ub_ctx_delete(struct ub_ctx* ctx);
int ub_ctx_set_option(struct ub_ctx* ctx, char* opt, char* val);
int ub_ctx_get_option(struct ub_ctx* ctx, char*... |
ub_ctx_config(3) | NAME libunbound - Unbound DNS validating resolver 1.24.2 functions.
SYNOPSIS #include <unbound.h>
struct ub_ctx * ub_ctx_create(void);
void ub_ctx_delete(struct ub_ctx* ctx);
int ub_ctx_set_option(struct ub_ctx* ctx, char* opt, char* val);
int ub_ctx_get_option(struct ub_ctx* ctx, char*... |
ub_ctx_create(3) | NAME libunbound - Unbound DNS validating resolver 1.24.2 functions.
SYNOPSIS #include <unbound.h>
struct ub_ctx * ub_ctx_create(void);
void ub_ctx_delete(struct ub_ctx* ctx);
int ub_ctx_set_option(struct ub_ctx* ctx, char* opt, char* val);
int ub_ctx_get_option(struct ub_ctx* ctx, char*... |
ub_ctx_data_add(3) | NAME libunbound - Unbound DNS validating resolver 1.24.2 functions.
SYNOPSIS #include <unbound.h>
struct ub_ctx * ub_ctx_create(void);
void ub_ctx_delete(struct ub_ctx* ctx);
int ub_ctx_set_option(struct ub_ctx* ctx, char* opt, char* val);
int ub_ctx_get_option(struct ub_ctx* ctx, char*... |
ub_ctx_data_remove(3) | NAME libunbound - Unbound DNS validating resolver 1.24.2 functions.
SYNOPSIS #include <unbound.h>
struct ub_ctx * ub_ctx_create(void);
void ub_ctx_delete(struct ub_ctx* ctx);
int ub_ctx_set_option(struct ub_ctx* ctx, char* opt, char* val);
int ub_ctx_get_option(struct ub_ctx* ctx, char*... |
ub_ctx_debuglevel(3) | NAME libunbound - Unbound DNS validating resolver 1.24.2 functions.
SYNOPSIS #include <unbound.h>
struct ub_ctx * ub_ctx_create(void);
void ub_ctx_delete(struct ub_ctx* ctx);
int ub_ctx_set_option(struct ub_ctx* ctx, char* opt, char* val);
int ub_ctx_get_option(struct ub_ctx* ctx, char*... |
ub_ctx_debugout(3) | NAME libunbound - Unbound DNS validating resolver 1.24.2 functions.
SYNOPSIS #include <unbound.h>
struct ub_ctx * ub_ctx_create(void);
void ub_ctx_delete(struct ub_ctx* ctx);
int ub_ctx_set_option(struct ub_ctx* ctx, char* opt, char* val);
int ub_ctx_get_option(struct ub_ctx* ctx, char*... |
ub_ctx_delete(3) | NAME libunbound - Unbound DNS validating resolver 1.24.2 functions.
SYNOPSIS #include <unbound.h>
struct ub_ctx * ub_ctx_create(void);
void ub_ctx_delete(struct ub_ctx* ctx);
int ub_ctx_set_option(struct ub_ctx* ctx, char* opt, char* val);
int ub_ctx_get_option(struct ub_ctx* ctx, char*... |
ub_ctx_get_option(3) | NAME libunbound - Unbound DNS validating resolver 1.24.2 functions.
SYNOPSIS #include <unbound.h>
struct ub_ctx * ub_ctx_create(void);
void ub_ctx_delete(struct ub_ctx* ctx);
int ub_ctx_set_option(struct ub_ctx* ctx, char* opt, char* val);
int ub_ctx_get_option(struct ub_ctx* ctx, char*... |
ub_ctx_hosts(3) | NAME libunbound - Unbound DNS validating resolver 1.24.2 functions.
SYNOPSIS #include <unbound.h>
struct ub_ctx * ub_ctx_create(void);
void ub_ctx_delete(struct ub_ctx* ctx);
int ub_ctx_set_option(struct ub_ctx* ctx, char* opt, char* val);
int ub_ctx_get_option(struct ub_ctx* ctx, char*... |
ub_ctx_print_local_zones(3) | NAME libunbound - Unbound DNS validating resolver 1.24.2 functions.
SYNOPSIS #include <unbound.h>
struct ub_ctx * ub_ctx_create(void);
void ub_ctx_delete(struct ub_ctx* ctx);
int ub_ctx_set_option(struct ub_ctx* ctx, char* opt, char* val);
int ub_ctx_get_option(struct ub_ctx* ctx, char*... |
ub_ctx_resolvconf(3) | NAME libunbound - Unbound DNS validating resolver 1.24.2 functions.
SYNOPSIS #include <unbound.h>
struct ub_ctx * ub_ctx_create(void);
void ub_ctx_delete(struct ub_ctx* ctx);
int ub_ctx_set_option(struct ub_ctx* ctx, char* opt, char* val);
int ub_ctx_get_option(struct ub_ctx* ctx, char*... |
ub_ctx_set_fwd(3) | NAME libunbound - Unbound DNS validating resolver 1.24.2 functions.
SYNOPSIS #include <unbound.h>
struct ub_ctx * ub_ctx_create(void);
void ub_ctx_delete(struct ub_ctx* ctx);
int ub_ctx_set_option(struct ub_ctx* ctx, char* opt, char* val);
int ub_ctx_get_option(struct ub_ctx* ctx, char*... |
ub_ctx_set_option(3) | NAME libunbound - Unbound DNS validating resolver 1.24.2 functions.
SYNOPSIS #include <unbound.h>
struct ub_ctx * ub_ctx_create(void);
void ub_ctx_delete(struct ub_ctx* ctx);
int ub_ctx_set_option(struct ub_ctx* ctx, char* opt, char* val);
int ub_ctx_get_option(struct ub_ctx* ctx, char*... |
ub_ctx_trustedkeys(3) | NAME libunbound - Unbound DNS validating resolver 1.24.2 functions.
SYNOPSIS #include <unbound.h>
struct ub_ctx * ub_ctx_create(void);
void ub_ctx_delete(struct ub_ctx* ctx);
int ub_ctx_set_option(struct ub_ctx* ctx, char* opt, char* val);
int ub_ctx_get_option(struct ub_ctx* ctx, char*... |
ub_ctx_zone_add(3) | NAME libunbound - Unbound DNS validating resolver 1.24.2 functions.
SYNOPSIS #include <unbound.h>
struct ub_ctx * ub_ctx_create(void);
void ub_ctx_delete(struct ub_ctx* ctx);
int ub_ctx_set_option(struct ub_ctx* ctx, char* opt, char* val);
int ub_ctx_get_option(struct ub_ctx* ctx, char*... |
ub_ctx_zone_remove(3) | NAME libunbound - Unbound DNS validating resolver 1.24.2 functions.
SYNOPSIS #include <unbound.h>
struct ub_ctx * ub_ctx_create(void);
void ub_ctx_delete(struct ub_ctx* ctx);
int ub_ctx_set_option(struct ub_ctx* ctx, char* opt, char* val);
int ub_ctx_get_option(struct ub_ctx* ctx, char*... |
ub_fd(3) | NAME libunbound - Unbound DNS validating resolver 1.24.2 functions.
SYNOPSIS #include <unbound.h>
struct ub_ctx * ub_ctx_create(void);
void ub_ctx_delete(struct ub_ctx* ctx);
int ub_ctx_set_option(struct ub_ctx* ctx, char* opt, char* val);
int ub_ctx_get_option(struct ub_ctx* ctx, char*... |
ub_poll(3) | NAME libunbound - Unbound DNS validating resolver 1.24.2 functions.
SYNOPSIS #include <unbound.h>
struct ub_ctx * ub_ctx_create(void);
void ub_ctx_delete(struct ub_ctx* ctx);
int ub_ctx_set_option(struct ub_ctx* ctx, char* opt, char* val);
int ub_ctx_get_option(struct ub_ctx* ctx, char*... |
ub_process(3) | NAME libunbound - Unbound DNS validating resolver 1.24.2 functions.
SYNOPSIS #include <unbound.h>
struct ub_ctx * ub_ctx_create(void);
void ub_ctx_delete(struct ub_ctx* ctx);
int ub_ctx_set_option(struct ub_ctx* ctx, char* opt, char* val);
int ub_ctx_get_option(struct ub_ctx* ctx, char*... |
ub_resolve(3) | NAME libunbound - Unbound DNS validating resolver 1.24.2 functions.
SYNOPSIS #include <unbound.h>
struct ub_ctx * ub_ctx_create(void);
void ub_ctx_delete(struct ub_ctx* ctx);
int ub_ctx_set_option(struct ub_ctx* ctx, char* opt, char* val);
int ub_ctx_get_option(struct ub_ctx* ctx, char*... |
ub_resolve_async(3) | NAME libunbound - Unbound DNS validating resolver 1.24.2 functions.
SYNOPSIS #include <unbound.h>
struct ub_ctx * ub_ctx_create(void);
void ub_ctx_delete(struct ub_ctx* ctx);
int ub_ctx_set_option(struct ub_ctx* ctx, char* opt, char* val);
int ub_ctx_get_option(struct ub_ctx* ctx, char*... |
ub_resolve_free(3) | NAME libunbound - Unbound DNS validating resolver 1.24.2 functions.
SYNOPSIS #include <unbound.h>
struct ub_ctx * ub_ctx_create(void);
void ub_ctx_delete(struct ub_ctx* ctx);
int ub_ctx_set_option(struct ub_ctx* ctx, char* opt, char* val);
int ub_ctx_get_option(struct ub_ctx* ctx, char*... |
ub_result(3) | NAME libunbound - Unbound DNS validating resolver 1.24.2 functions.
SYNOPSIS #include <unbound.h>
struct ub_ctx * ub_ctx_create(void);
void ub_ctx_delete(struct ub_ctx* ctx);
int ub_ctx_set_option(struct ub_ctx* ctx, char* opt, char* val);
int ub_ctx_get_option(struct ub_ctx* ctx, char*... |
ub_strerror(3) | NAME libunbound - Unbound DNS validating resolver 1.24.2 functions.
SYNOPSIS #include <unbound.h>
struct ub_ctx * ub_ctx_create(void);
void ub_ctx_delete(struct ub_ctx* ctx);
int ub_ctx_set_option(struct ub_ctx* ctx, char* opt, char* val);
int ub_ctx_get_option(struct ub_ctx* ctx, char*... |
ub_wait(3) | NAME libunbound - Unbound DNS validating resolver 1.24.2 functions.
SYNOPSIS #include <unbound.h>
struct ub_ctx * ub_ctx_create(void);
void ub_ctx_delete(struct ub_ctx* ctx);
int ub_ctx_set_option(struct ub_ctx* ctx, char* opt, char* val);
int ub_ctx_get_option(struct ub_ctx* ctx, char*... |
ubi_add_av(9) | NAME ubi_add_av - add volume to the attaching information.
SYNOPSIS struct ubi_ainf_volume * ubi_add_av (struct ubi_attach_info *ai , int vol_id );
ARGUMENTS ai attaching information
vol_id the requested volume ID
DESCRIPTION This function returns a pointer to the new volume description or an E... |
ubi_add_to_av(9) | NAME ubi_add_to_av - add used physical eraseblock to the attaching information.
SYNOPSIS int ubi_add_to_av (struct ubi_device *ubi , struct ubi_attach_info *ai , int pnum , int ec , const struct ubi_vid_hdr *vid_hdr , int bitflips );
ARGUMENTS ubi UBI device description object
ai attaching in... |
ubi_add_volume(9) | NAME ubi_add_volume - add volume.
SYNOPSIS int ubi_add_volume (struct ubi_device *ubi , struct ubi_volume *vol );
ARGUMENTS ubi UBI device description object
vol volume description object
DESCRIPTION This function adds an existing volume and initializes all its data structures. Returns zero i... |
ubi_alloc_aeb(9) | NAME ubi_alloc_aeb - allocate an aeb element
SYNOPSIS struct ubi_ainf_peb * ubi_alloc_aeb (struct ubi_attach_info *ai , int pnum , int ec );
ARGUMENTS ai attaching information
pnum physical eraseblock number
ec erase counter of the physical eraseblock
DESCRIPTION Allocate an ... |
ubi_attach(9) | NAME ubi_attach - attach an MTD device.
SYNOPSIS int ubi_attach (struct ubi_device *ubi , int force_scan );
ARGUMENTS ubi UBI device descriptor
force_scan if set to non-zero attach by scanning
DESCRIPTION This function returns zero in case of success and a negative error code in case of failure.
SE... |
ubi_attach_fastmap(9) | NAME ubi_attach_fastmap - creates ubi_attach_info from a fastmap.
SYNOPSIS int ubi_attach_fastmap (struct ubi_device *ubi , struct ubi_attach_info *ai , struct ubi_fastmap_layout *fm );
ARGUMENTS ubi UBI device object
ai UBI attach info object
fm the fastmap to be attached
D... |
ubi_attach_mtd_dev(9) | NAME ubi_attach_mtd_dev - attach an MTD device.
SYNOPSIS int ubi_attach_mtd_dev (struct mtd_info *mtd , int ubi_num , int vid_hdr_offset , int max_beb_per1024 , bool disable_fm , bool need_resv_pool );
ARGUMENTS mtd MTD device description object
ubi_num number to assign to the new UBI device
... |
ubi_bitflip_check(9) | NAME ubi_bitflip_check - Check an eraseblock for bitflips and scrub it if needed.
SYNOPSIS int ubi_bitflip_check (struct ubi_device *ubi , int pnum , int force );
ARGUMENTS ubi UBI device description object
pnum the physical eraseblock to schedule
force don't read the block, assum... |
ubi_calc_data_len(9) | NAME ubi_calc_data_len - calculate how much real data is stored in a buffer.
SYNOPSIS int ubi_calc_data_len (const struct ubi_device *ubi , const void *buf , int length );
ARGUMENTS ubi UBI device description object
buf a buffer with the contents of the physical eraseblock
length ... |
ubi_calc_fm_size(9) | NAME ubi_calc_fm_size - calculates the fastmap size in bytes for an UBI device.
SYNOPSIS size_t ubi_calc_fm_size (struct ubi_device *ubi );
ARGUMENTS ubi UBI device description object
SEE ALSO Kernel file ./drivers/mtd/ubi/fastmap.c init_seen(9), free_seen(9), set_seen(9), self_check_seen(9), new_fm_v... |
ubi_calculate_reserved(9) | NAME ubi_calculate_reserved - calculate how many PEBs must be reserved for bad eraseblock handling.
SYNOPSIS void ubi_calculate_reserved (struct ubi_device *ubi );
ARGUMENTS ubi UBI device description object
SEE ALSO Kernel file ./drivers/mtd/ubi/misc.c ubi_calc_data_len(9), ubi_check_volume(9), ubi_update_r... |
ubi_change_vtbl_record(9) | NAME ubi_change_vtbl_record - change volume table record.
SYNOPSIS int ubi_change_vtbl_record (struct ubi_device *ubi , int idx , struct ubi_vtbl_record *vtbl_rec );
ARGUMENTS ubi UBI device description object
idx table index to change
vtbl_rec new volume table record
DESCRIPTION T... |
ubi_check_pattern(9) | NAME ubi_check_pattern - check if buffer contains only a certain byte pattern.
SYNOPSIS int ubi_check_pattern (const void *buf , uint8_t patt , int size );
ARGUMENTS buf buffer to check
patt the pattern to check
size buffer size in bytes
DESCRIPTION This function returns 1 in th... |
ubi_check_volume(9) | NAME ubi_check_volume - check the contents of a static volume.
SYNOPSIS int ubi_check_volume (struct ubi_device *ubi , int vol_id );
ARGUMENTS ubi UBI device description object
vol_id ID of the volume to check
DESCRIPTION This function checks if static volume vol_id is corrupted by fully readin... |
ubi_close_volume(9) | NAME ubi_close_volume - close UBI volume.
SYNOPSIS void ubi_close_volume (struct ubi_volume_desc *desc );
ARGUMENTS desc volume descriptor
SEE ALSO Kernel file ./drivers/mtd/ubi/kapi.c ubi_do_get_device_info(9), ubi_get_device_info(9), ubi_do_get_volume_info(9), ubi_get_volume_info(9), ubi_open_volume(9... |
ubi_compare_lebs(9) | NAME ubi_compare_lebs - find out which logical eraseblock is newer.
SYNOPSIS int ubi_compare_lebs (struct ubi_device *ubi , const struct ubi_ainf_peb *aeb , int pnum , const struct ubi_vid_hdr *vid_hdr );
ARGUMENTS ubi UBI device description object
aeb first logical eraseblock to compare
... |
ubi_create_volume(9) | NAME ubi_create_volume - create volume.
SYNOPSIS int ubi_create_volume (struct ubi_device *ubi , struct ubi_mkvol_req *req );
ARGUMENTS ubi UBI device description object
req volume creation request
DESCRIPTION This function creates volume described by req. If req->vol_id id UBI_VOL_NUM_AUTO,... |
ubi_dbg_is_bad_hdr(9) | NAME ubi_dbg_is_bad_hdr - if it is time to emulate a bad header
SYNOPSIS bool ubi_dbg_is_bad_hdr (const struct ubi_device *ubi , unsigned int caller );
ARGUMENTS ubi UBI device description object
caller -- undescribed --
DESCRIPTION Returns true if a bad header error should be emulated, otherwis... |
ubi_dbg_is_bad_hdr_ebadmsg(9) | NAME ubi_dbg_is_bad_hdr_ebadmsg - if it is time to emulate a bad header with ECC error.
SYNOPSIS bool ubi_dbg_is_bad_hdr_ebadmsg (const struct ubi_device *ubi , unsigned int caller );
ARGUMENTS ubi UBI device description object
caller -- undescribed --
DESCRIPTION Returns true if a bad header wi... |
ubi_dbg_is_bgt_disabled(9) | NAME ubi_dbg_is_bgt_disabled - if the background thread is disabled.
SYNOPSIS int ubi_dbg_is_bgt_disabled (const struct ubi_device *ubi );
ARGUMENTS ubi UBI device description object
DESCRIPTION Returns non-zero if the UBI background thread is disabled for testing purposes.
SEE ALSO Kernel file ./drivers... |
ubi_dbg_is_bitflip(9) | NAME ubi_dbg_is_bitflip - if it is time to emulate a bit-flip.
SYNOPSIS bool ubi_dbg_is_bitflip (const struct ubi_device *ubi );
ARGUMENTS ubi UBI device description object
DESCRIPTION Returns true if a bit-flip should be emulated, otherwise returns false.
SEE ALSO Kernel file ./drivers/mtd/ubi/debug.h u... |
ubi_dbg_is_eccerr(9) | NAME ubi_dbg_is_eccerr - if it is time to emulate ECC error.
SYNOPSIS bool ubi_dbg_is_eccerr (const struct ubi_device *ubi );
ARGUMENTS ubi UBI device description object
DESCRIPTION Returns true if a ECC error should be emulated, otherwise returns false.
SEE ALSO Kernel file ./drivers/mtd/ubi/debug.h ubi... |
ubi_dbg_is_erase_failure(9) | NAME ubi_dbg_is_erase_failure - if its time to emulate an erase failure.
SYNOPSIS bool ubi_dbg_is_erase_failure (const struct ubi_device *ubi );
ARGUMENTS ubi UBI device description object
DESCRIPTION Returns true if an erase failure should be emulated, otherwise returns false.
SEE ALSO Kernel file ./dr... |
ubi_dbg_is_ff(9) | NAME ubi_dbg_is_ff - if it is time to emulate that read region is only 0xFF.
SYNOPSIS bool ubi_dbg_is_ff (const struct ubi_device *ubi , unsigned int caller );
ARGUMENTS ubi UBI device description object
caller -- undescribed --
DESCRIPTION Returns true if read region should be emulated 0xFF, ot... |
ubi_dbg_is_ff_bitflips(9) | NAME ubi_dbg_is_ff_bitflips - if it is time to emulate that read region is only 0xFF with error reported by the MTD driver
SYNOPSIS bool ubi_dbg_is_ff_bitflips (const struct ubi_device *ubi , unsigned int caller );
ARGUMENTS ubi UBI device description object
caller -- undescribed --
DESCRIPTION ... |
ubi_dbg_is_power_cut(9) | NAME ubi_dbg_is_power_cut - if it is time to emulate power cut.
SYNOPSIS bool ubi_dbg_is_power_cut (struct ubi_device *ubi , unsigned int caller );
ARGUMENTS ubi UBI device description object
caller -- undescribed --
DESCRIPTION Returns true if power cut should be emulated, otherwise returns fal... |
ubi_dbg_is_read_failure(9) | NAME ubi_dbg_is_read_failure - if it is time to emulate a read failure.
SYNOPSIS bool ubi_dbg_is_read_failure (const struct ubi_device *ubi , unsigned int caller );
ARGUMENTS ubi UBI device description object
caller -- undescribed --
DESCRIPTION Returns true if a read failure should be emulated,... |
ubi_dbg_is_write_failure(9) | NAME ubi_dbg_is_write_failure - if it is time to emulate a write failure.
SYNOPSIS bool ubi_dbg_is_write_failure (const struct ubi_device *ubi );
ARGUMENTS ubi UBI device description object
DESCRIPTION Returns true if a write failure should be emulated, otherwise returns false.
SEE ALSO Kernel file ./dr... |
ubi_dbg_power_cut(9) | NAME ubi_dbg_power_cut - emulate a power cut if it is time to do so
SYNOPSIS int ubi_dbg_power_cut (struct ubi_device *ubi , int caller );
ARGUMENTS ubi UBI device description object
caller Flags set to indicate from where the function is being called
DESCRIPTION Returns non-zero if a power cut ... |
ubi_debugfs_exit(9) | NAME ubi_debugfs_exit - remove UBI debugfs directory.
SYNOPSIS void ubi_debugfs_exit (void );
ARGUMENTS void no arguments
SEE ALSO Kernel file ./drivers/mtd/ubi/debug.c ubi_dump_flash(9), ubi_dump_ec_hdr(9), ubi_dump_vid_hdr(9), ubi_dump_vol_info(9), ubi_dump_vtbl_record(9), ubi_dump_av(9), ubi_dump_aeb(9), u... |
ubi_debugfs_exit_dev(9) | NAME ubi_debugfs_exit_dev - free all debugfs files corresponding to device @ubi
SYNOPSIS void ubi_debugfs_exit_dev (struct ubi_device *ubi );
ARGUMENTS ubi UBI device description object
SEE ALSO Kernel file ./drivers/mtd/ubi/debug.c ubi_dump_flash(9), ubi_dump_ec_hdr(9), ubi_dump_vid_hdr(9), ubi_dump_vol_inf... |
ubi_debugfs_init(9) | NAME ubi_debugfs_init - create UBI debugfs directory.
SYNOPSIS int ubi_debugfs_init (void );
ARGUMENTS void no arguments
DESCRIPTION Create UBI debugfs directory. Returns zero in case of success and a negative error code in case of failure.
SEE ALSO Kernel file ./drivers/mtd/ubi/debug.c ubi_dump_flash(9), ub... |
ubi_debugfs_init_dev(9) | NAME ubi_debugfs_init_dev - initialize debugfs for an UBI device.
SYNOPSIS int ubi_debugfs_init_dev (struct ubi_device *ubi );
ARGUMENTS ubi UBI device description object
DESCRIPTION This function creates all debugfs files for UBI device ubi. Returns zero in case of success and a negative error code in case ... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.