id
stringlengths
4
63
text
stringlengths
153
8.81M
memstick_alloc_host(9)
NAME memstick_alloc_host - allocate a memstick_host structure SYNOPSIS struct memstick_host * memstick_alloc_host (unsigned int extra , struct device *dev ); ARGUMENTS extra size of the user private data to allocate dev parent device of the host RETURN NULL on failure or the allocated memstick_...
memstick_debug_get_tpc_name(9)
NAME memstick_debug_get_tpc_name - debug helper that returns string for a TPC number SYNOPSIS __maybe_unused const char * memstick_debug_get_tpc_name (int tpc ); ARGUMENTS tpc -- undescribed -- SEE ALSO Kernel file ./drivers/memstick/host/r592.c April 2026 ...
memstick_detect_change(9)
NAME memstick_detect_change - schedule media detection on memstick host SYNOPSIS void memstick_detect_change (struct memstick_host *host ); ARGUMENTS host host to use SEE ALSO Kernel file ./drivers/memstick/core/memstick.c memstick_next_req(9), memstick_new_req(9), memstick_init_req_sg(9), memstick_init_req(...
memstick_free_host(9)
NAME memstick_free_host - free memstick host SYNOPSIS void memstick_free_host (struct memstick_host *host ); ARGUMENTS host host to use SEE ALSO Kernel file ./drivers/memstick/core/memstick.c memstick_detect_change(9), memstick_next_req(9), memstick_new_req(9), memstick_init_req_sg(9), memstick_init_req(9...
memstick_init_req(9)
NAME memstick_init_req - set request fields needed for short data transfer SYNOPSIS void memstick_init_req (struct memstick_request *mrq , unsigned char tpc , const void *buf , size_t length ); ARGUMENTS mrq request to use tpc memstick Transport Protocol Command buf TPC argumen...
memstick_init_req_sg(9)
NAME memstick_init_req_sg - set request fields needed for bulk data transfer SYNOPSIS void memstick_init_req_sg (struct memstick_request *mrq , unsigned char tpc , const struct scatterlist *sg ); ARGUMENTS mrq request to use tpc memstick Transport Protocol Command sg TPC argum...
memstick_new_req(9)
NAME memstick_new_req - notify the host that some requests are pending SYNOPSIS void memstick_new_req (struct memstick_host *host ); ARGUMENTS host host to use SEE ALSO Kernel file ./drivers/memstick/core/memstick.c memstick_detect_change(9), memstick_next_req(9), memstick_init_req_sg(9), memstick_init_req...
memstick_next_req(9)
NAME memstick_next_req - called by host driver to obtain next request to process SYNOPSIS int memstick_next_req (struct memstick_host *host , struct memstick_request **mrq ); ARGUMENTS host host to use mrq pointer to stick the request to DESCRIPTION Host calls this function from idle state (*m...
memstick_remove_host(9)
NAME memstick_remove_host - stop request processing on memstick host SYNOPSIS void memstick_remove_host (struct memstick_host *host ); ARGUMENTS host host to use SEE ALSO Kernel file ./drivers/memstick/core/memstick.c memstick_detect_change(9), memstick_next_req(9), memstick_new_req(9), memstick_init_req_...
memstick_resume_host(9)
NAME memstick_resume_host - notify bus driver of host resumption SYNOPSIS void memstick_resume_host (struct memstick_host *host ); ARGUMENTS host host to use SEE ALSO Kernel file ./drivers/memstick/core/memstick.c memstick_detect_change(9), memstick_next_req(9), memstick_new_req(9), memstick_init_req_sg(9...
memstick_set_rw_addr(9)
NAME memstick_set_rw_addr - issue SET_RW_REG_ADDR request and wait for it to complete SYNOPSIS int memstick_set_rw_addr (struct memstick_dev *card ); ARGUMENTS card media device to use RETURN error setting for the current request SEE ALSO Kernel file ./drivers/memstick/core/memstick.c memstick_detect_chan...
memstick_suspend_host(9)
NAME memstick_suspend_host - notify bus driver of host suspension SYNOPSIS void memstick_suspend_host (struct memstick_host *host ); ARGUMENTS host host to use SEE ALSO Kernel file ./drivers/memstick/core/memstick.c memstick_detect_change(9), memstick_next_req(9), memstick_new_req(9), memstick_init_req_sg...
memtostr(9)
NAME memtostr - Copy a possibly non-NUL-term string to a NUL-term string SYNOPSIS memtostr (dest , src ); ARGUMENTS dest Pointer to destination NUL-terminates string src Pointer to character array (likely marked as __nonstring) DESCRIPTION This is a replacement for strncpy uses where the sourc...
memtostr_pad(9)
NAME memtostr_pad - Copy a possibly non-NUL-term string to a NUL-term string with NUL padding in the destination SYNOPSIS memtostr_pad (dest , src ); ARGUMENTS dest Pointer to destination NUL-terminates string src Pointer to character array (likely marked as __nonstring) DESCRIPTION This is a ...
memtype_free_io(9)
NAME memtype_free_io - Release a memory type mapping for a region of memory SYNOPSIS void memtype_free_io (resource_size_t start , resource_size_t end ); ARGUMENTS start start (physical address) of the region end end (physical address) of the region SEE ALSO Kernel file ./arch/x86/mm/pat/memtyp...
memtype_reserve_io(9)
NAME memtype_reserve_io - Request a memory type mapping for a region of memory SYNOPSIS int memtype_reserve_io (resource_size_t start , resource_size_t end , enum page_cache_mode *type ); ARGUMENTS start start (physical address) of the region end end (physical address) of the region type...
memusage(1)
NAME memusage - profile memory usage of a program SYNOPSIS memusage [option ...] program [programoption ...] DESCRIPTION memusage is a bash(1) script which profiles memory usage of the program, program. It preloads the libmemusage.so library into the caller's environment (via the LD_PRELOAD environment variable; ...
memusagestat(1)
NAME memusagestat - generate graphic from memory profiling data SYNOPSIS memusagestat [option ...] datafile [outfile] DESCRIPTION memusagestat creates a PNG file containing a graphical representation of the memory profiling data in the file datafile; that file is generated via the -d (or --data) option of memusage(1)...
memweight(9)
NAME memweight - count the total number of bits set in memory area SYNOPSIS size_t memweight (const void *ptr , size_t bytes ); ARGUMENTS ptr pointer to the start of the area bytes the size of the area SEE ALSO Kernel file ./lib/memweight.c April 2026 ...
memzero_bvec(9)
NAME memzero_bvec - zero all data in a bvec SYNOPSIS void memzero_bvec (struct bio_vec *bvec ); ARGUMENTS bvec bvec to zero DESCRIPTION Must be called on single-page bvecs only. SEE ALSO Kernel file ./include/linux/bvec.h struct bio_vec(9), bvec_set_page(9), bvec_set_folio(9), bvec_set_virt(9), bvec_kmap_loc...
memzero_explicit(9)
NAME memzero_explicit - Fill a region of memory (e.g. sensitive keying data) with 0s. SYNOPSIS void memzero_explicit (void *s , size_t count ); ARGUMENTS s Pointer to the start of the area. count The size of the area. NOTE usually using memset is just fine (!), but in cases where clearing o...
men_z135_enable_ms(9)
NAME men_z135_enable_ms - Enable Modem Status SYNOPSIS void men_z135_enable_ms (struct uart_port *port ); ARGUMENTS port the port DESCRIPTION Enable Modem Status IRQ. SEE ALSO Kernel file ./drivers/tty/serial/men_z135_uart.c men_z135_reg_set(9), men_z135_reg_clr(9), men_z135_handle_modem_status(9), ge...
men_z135_exit(9)
NAME men_z135_exit - Driver Exit Routine SYNOPSIS void men_z135_exit (void ); ARGUMENTS void no arguments DESCRIPTION men_z135_exit is called just before the driver is removed from memory. SEE ALSO Kernel file ./drivers/tty/serial/men_z135_uart.c men_z135_reg_set(9), men_z135_reg_clr(9), men_z135_handl...
men_z135_get_mctrl(9)
NAME men_z135_get_mctrl - Get modem control lines SYNOPSIS unsigned int men_z135_get_mctrl (struct uart_port *port ); ARGUMENTS port The UART port DESCRIPTION Retruns the current state of modem control inputs. SEE ALSO Kernel file ./drivers/tty/serial/men_z135_uart.c men_z135_reg_set(9), men_z135_reg_cl...
men_z135_handle_modem_status(9)
NAME men_z135_handle_modem_status - Handle change of modem status SYNOPSIS void men_z135_handle_modem_status (struct men_z135_port *uart ); ARGUMENTS uart The UART port DESCRIPTION Handle change of modem status register. This is done by reading the "delta" versions of DCD (Data Carrier Detect) and CTS (Clear ...
men_z135_handle_rx(9)
NAME men_z135_handle_rx - RX tasklet routine SYNOPSIS void men_z135_handle_rx (struct men_z135_port *uart ); ARGUMENTS uart Pointer to struct men_z135_port DESCRIPTION Copy from RX FIFO and acknowledge number of bytes copied. SEE ALSO Kernel file ./drivers/tty/serial/men_z135_uart.c men_z135_reg_set(9), ...
men_z135_handle_tx(9)
NAME men_z135_handle_tx - TX tasklet routine SYNOPSIS void men_z135_handle_tx (struct men_z135_port *uart ); ARGUMENTS uart Pointer to struct men_z135_port SEE ALSO Kernel file ./drivers/tty/serial/men_z135_uart.c men_z135_reg_set(9), men_z135_reg_clr(9), men_z135_handle_modem_status(9), get_rx_fifo_con...
men_z135_init(9)
NAME men_z135_init - Driver Registration Routine SYNOPSIS int men_z135_init (void ); ARGUMENTS void no arguments DESCRIPTION men_z135_init is the first routine called when the driver is loaded. All it does is register with the legacy MEN Chameleon subsystem. SEE ALSO Kernel file ./drivers/tty/serial/men_z...
men_z135_intr(9)
NAME men_z135_intr - Handle legacy IRQs SYNOPSIS irqreturn_t men_z135_intr (int irq , void *data ); ARGUMENTS irq The IRQ number data Pointer to UART port DESCRIPTION Check IIR register to find the cause of the interrupt and handle it. It is possible that multiple interrupts reason bits are ...
men_z135_probe(9)
NAME men_z135_probe - Probe a z135 instance SYNOPSIS int men_z135_probe (struct mcb_device *mdev , const struct mcb_device_id *id ); ARGUMENTS mdev The MCB device id The MCB device ID DESCRIPTION men_z135_probe does the basic setup of hardware resources and registers the new uart port to the ...
men_z135_reg_clr(9)
NAME men_z135_reg_clr - Unset value in register SYNOPSIS void men_z135_reg_clr (struct men_z135_port *uart , u32 addr , u32 val ); ARGUMENTS uart The UART port addr Register address val value to clear SEE ALSO Kernel file ./drivers/tty/serial/men_z135_uart.c men_z135_reg_set(...
men_z135_reg_set(9)
NAME men_z135_reg_set - Set value in register SYNOPSIS void men_z135_reg_set (struct men_z135_port *uart , u32 addr , u32 val ); ARGUMENTS uart The UART port addr Register address val value to set SEE ALSO Kernel file ./drivers/tty/serial/men_z135_uart.c men_z135_reg_clr(9), ...
men_z135_remove(9)
NAME men_z135_remove - Remove a z135 instance from the system SYNOPSIS void men_z135_remove (struct mcb_device *mdev ); ARGUMENTS mdev The MCB device SEE ALSO Kernel file ./drivers/tty/serial/men_z135_uart.c men_z135_reg_set(9), men_z135_reg_clr(9), men_z135_handle_modem_status(9), get_rx_fifo_content(...
men_z135_request_irq(9)
NAME men_z135_request_irq - Request IRQ for 16z135 core SYNOPSIS int men_z135_request_irq (struct men_z135_port *uart ); ARGUMENTS uart z135 private uart port structure DESCRIPTION Request an IRQ for 16z135 to use. First try using MSI, if it fails fall back to using legacy interrupts. SEE ALSO Kernel file ...
men_z135_set_mctrl(9)
NAME men_z135_set_mctrl - Set modem control lines SYNOPSIS void men_z135_set_mctrl (struct uart_port *port , unsigned int mctrl ); ARGUMENTS port The UART port mctrl The modem control lines DESCRIPTION This function sets the modem control lines for a port described by port to the state described...
men_z135_start_tx(9)
NAME men_z135_start_tx - Start transmitting characters SYNOPSIS void men_z135_start_tx (struct uart_port *port ); ARGUMENTS port The UART port DESCRIPTION Start transmitting character. This actually doesn't transmit anything, but fires off the TX tasklet. SEE ALSO Kernel file ./drivers/tty/serial/men_z135...
men_z135_stop_rx(9)
NAME men_z135_stop_rx - Stop receiving characters SYNOPSIS void men_z135_stop_rx (struct uart_port *port ); ARGUMENTS port The UART port DESCRIPTION Stop receiving characters; the port is in the process of being closed. SEE ALSO Kernel file ./drivers/tty/serial/men_z135_uart.c men_z135_reg_set(9), men_z...
men_z135_stop_tx(9)
NAME men_z135_stop_tx - Stop transmitting characters SYNOPSIS void men_z135_stop_tx (struct uart_port *port ); ARGUMENTS port The UART port DESCRIPTION Stop transmitting characters. This might be due to CTS line becomming inactive or the tty layer indicating we want to stop transmission due to an XOFF charact...
men_z135_tx_empty(9)
NAME men_z135_tx_empty - Handle tx_empty call SYNOPSIS unsigned int men_z135_tx_empty (struct uart_port *port ); ARGUMENTS port The UART port DESCRIPTION This function tests whether the TX FIFO and shifter for the port described by port is empty. SEE ALSO Kernel file ./drivers/tty/serial/men_z135_uart.c ...
menu.3x(3)
NAME menu - curses extension for programming menus SYNOPSIS #include <menu.h> DESCRIPTION The menu library provides terminal-independent facilities for composing menu systems on character-cell terminals. The library includes: item routines, which create and modify menu items; and menu routines, which group items int...
menu_attributes.3x(3)
NAME menu_back, menu_fore, menu_grey, menu_pad, set_menu_back, set_menu_fore, set_menu_grey, set_menu_pad - color and attribute control for menus SYNOPSIS #include <menu.h> int set_menu_fore(MENU *menu, chtype attr); chtype menu_fore(const MENU *menu); int set_menu_back(MENU *menu, chtype attr);...
menu_back.3x(3)
NAME menu_back, menu_fore, menu_grey, menu_pad, set_menu_back, set_menu_fore, set_menu_grey, set_menu_pad - color and attribute control for menus SYNOPSIS #include <menu.h> int set_menu_fore(MENU *menu, chtype attr); chtype menu_fore(const MENU *menu); int set_menu_back(MENU *menu, chtype attr);...
menu_cursor.3x(3)
NAME pos_menu_cursor - position a menu's cursor SYNOPSIS #include <menu.h> int pos_menu_cursor(const MENU *menu); DESCRIPTION The function pos_menu_cursor restores the cursor to the current position associated with the menu's selected item. This is useful after curses routines have been called to do screen-p...
menu_driver.3x(3)
NAME menu_driver - command-processing loop of the menu system SYNOPSIS #include <menu.h> int menu_driver(MENU *menu, int c); DESCRIPTION Once a menu has been posted (displayed), you should funnel input events to it through menu_driver. This routine has three major input cases: • The input is a form...
menu_dump(9)
NAME menu_dump - dump all menu entries in a tree-like format SYNOPSIS void menu_dump (void ); ARGUMENTS void no arguments SEE ALSO Kernel file ./scripts/kconfig/menu.c menu_next(9), menu_get_parent_menu(9), menu_get_menu_or_parent_menu(9) April 2026 ...
menu_enable_device(9)
NAME menu_enable_device - scans a CPU's states and does setup SYNOPSIS int menu_enable_device (struct cpuidle_driver *drv , struct cpuidle_device *dev ); ARGUMENTS drv cpuidle driver dev the CPU SEE ALSO Kernel file ./drivers/cpuidle/governors/menu.c menu_select(9), menu_reflect(9), menu_upda...
menu_fore.3x(3)
NAME menu_back, menu_fore, menu_grey, menu_pad, set_menu_back, set_menu_fore, set_menu_grey, set_menu_pad - color and attribute control for menus SYNOPSIS #include <menu.h> int set_menu_fore(MENU *menu, chtype attr); chtype menu_fore(const MENU *menu); int set_menu_back(MENU *menu, chtype attr);...
menu_format.3x(3)
NAME set_menu_format, menu_format - set and get menu sizes SYNOPSIS #include <menu.h> int set_menu_format(MENU *menu, int rows, int cols); void menu_format(const MENU *menu, int *rows, int *cols); DESCRIPTION The function set_menu_format sets the maximum display size of the given menu. If this size i...
menu_get_menu_or_parent_menu(9)
NAME menu_get_menu_or_parent_menu - return the parent menu or the menu itself SYNOPSIS struct menu * menu_get_menu_or_parent_menu (struct menu *menu ); ARGUMENTS menu pointer to the menu RETURN the parent menu. If the given argument is already a menu, return itself. SEE ALSO Kernel file ./scripts/kconfig/men...
menu_get_parent_menu(9)
NAME menu_get_parent_menu - return the parent menu or NULL SYNOPSIS struct menu * menu_get_parent_menu (struct menu *menu ); ARGUMENTS menu pointer to the menu RETURN the parent menu, or NULL if there is no parent. SEE ALSO Kernel file ./scripts/kconfig/menu.c menu_next(9), menu_get_menu_or_parent_menu(9), m...
menu_grey.3x(3)
NAME menu_back, menu_fore, menu_grey, menu_pad, set_menu_back, set_menu_fore, set_menu_grey, set_menu_pad - color and attribute control for menus SYNOPSIS #include <menu.h> int set_menu_fore(MENU *menu, chtype attr); chtype menu_fore(const MENU *menu); int set_menu_back(MENU *menu, chtype attr);...
menu_hook.3x(3)
NAME menu_hook - set hooks for automatic invocation by applications SYNOPSIS #include <menu.h> int set_item_init(MENU *menu, Menu_Hook func); Menu_Hook item_init(const MENU *menu); int set_item_term(MENU *menu, Menu_Hook func); Menu_Hook item_term(const MENU *menu); int set_menu_i...
menu_init.3x(3)
NAME menu_hook - set hooks for automatic invocation by applications SYNOPSIS #include <menu.h> int set_item_init(MENU *menu, Menu_Hook func); Menu_Hook item_init(const MENU *menu); int set_item_term(MENU *menu, Menu_Hook func); Menu_Hook item_term(const MENU *menu); int set_menu_i...
menu_items.3x(3)
NAME set_menu_items, menu_items, item_count - make and break connections between items and menus SYNOPSIS #include <menu.h> int set_menu_items(MENU *menu, ITEM **items); ITEM **menu_items(const MENU *menu); int item_count(const MENU *menu); DESCRIPTION The function set_menu_items changes the ite...
menu_mark.3x(3)
NAME set_menu_mark, menu_mark - get and set the menu mark string SYNOPSIS #include <menu.h> int set_menu_mark(MENU *menu, const char *mark); const char *menu_mark(const MENU *menu); DESCRIPTION In order to make menu selections visible on older terminals without highlighting or color capability, the men...
menu_new.3x(3)
NAME new_menu, free_menu - create and destroy menus SYNOPSIS #include <menu.h> MENU *new_menu(ITEM **items); int free_menu(MENU *menu); DESCRIPTION The function new_menu creates a new menu connected to a specified item pointer array (which must be NULL-terminated). The function free_menu discon...
menu_next(9)
NAME menu_next - return the next menu entry with depth-first traversal SYNOPSIS struct menu * menu_next (struct menu *menu , struct menu *root ); ARGUMENTS menu pointer to the current menu root root of the sub-tree to traverse. If NULL is given, the traveral continues until it reaches the end of...
menu_opts.3x(3)
NAME set_menu_opts, menu_opts_on, menu_opts_off, menu_opts - set and get menu options SYNOPSIS #include <menu.h> int set_menu_opts(MENU *menu, Menu_Options opts); Menu_Options menu_opts(const MENU *menu); int menu_opts_on(MENU *menu, Menu_Options opts); int menu_opts_off(MENU *menu, Menu_...
menu_opts_off.3x(3)
NAME set_menu_opts, menu_opts_on, menu_opts_off, menu_opts - set and get menu options SYNOPSIS #include <menu.h> int set_menu_opts(MENU *menu, Menu_Options opts); Menu_Options menu_opts(const MENU *menu); int menu_opts_on(MENU *menu, Menu_Options opts); int menu_opts_off(MENU *menu, Menu_...
menu_opts_on.3x(3)
NAME set_menu_opts, menu_opts_on, menu_opts_off, menu_opts - set and get menu options SYNOPSIS #include <menu.h> int set_menu_opts(MENU *menu, Menu_Options opts); Menu_Options menu_opts(const MENU *menu); int menu_opts_on(MENU *menu, Menu_Options opts); int menu_opts_off(MENU *menu, Menu_...
menu_pad.3x(3)
NAME menu_back, menu_fore, menu_grey, menu_pad, set_menu_back, set_menu_fore, set_menu_grey, set_menu_pad - color and attribute control for menus SYNOPSIS #include <menu.h> int set_menu_fore(MENU *menu, chtype attr); chtype menu_fore(const MENU *menu); int set_menu_back(MENU *menu, chtype attr);...
menu_pattern.3x(3)
NAME set_menu_pattern, menu_pattern - set and get a menu's pattern buffer SYNOPSIS #include <menu.h> int set_menu_pattern(MENU *menu, const char *pattern); char *menu_pattern(const MENU *menu); DESCRIPTION Every menu has an associated pattern match buffer. As input events that are printable characters...
menu_post.3x(3)
NAME post_menu, unpost_menu - write or erase menus from associated subwindows SYNOPSIS #include <menu.h> int post_menu(MENU *menu); int unpost_menu(MENU *menu); DESCRIPTION The function post_menu displays a menu to its associated subwindow. To trigger physical display of the subwindow, use refresh(3...
menu_reflect(9)
NAME menu_reflect - records that data structures need update SYNOPSIS void menu_reflect (struct cpuidle_device *dev , int index ); ARGUMENTS dev the CPU index the index of actual entered state NOTE it's important to be fast here because this operation will add to the overall exit latency. SEE ...
menu_request_by_name.3x(3)
NAME menu_request_by_name, menu_request_name - handle printable menu request names SYNOPSIS #include <menu.h> const char *menu_request_name(int request); int menu_request_by_name(const char *name); DESCRIPTION The function menu_request_name returns the printable name of a menu request code. The functio...
menu_request_name.3x(3)
NAME menu_request_by_name, menu_request_name - handle printable menu request names SYNOPSIS #include <menu.h> const char *menu_request_name(int request); int menu_request_by_name(const char *name); DESCRIPTION The function menu_request_name returns the printable name of a menu request code. The functio...
menu_requestname.3x(3)
NAME menu_request_by_name, menu_request_name - handle printable menu request names SYNOPSIS #include <menu.h> const char *menu_request_name(int request); int menu_request_by_name(const char *name); DESCRIPTION The function menu_request_name returns the printable name of a menu request code. The functio...
menu_select(9)
NAME menu_select - selects the next idle state to enter SYNOPSIS int menu_select (struct cpuidle_driver *drv , struct cpuidle_device *dev , bool *stop_tick ); ARGUMENTS drv cpuidle driver containing state data dev the CPU stop_tick indication on whether or not to stop the tick SEE A...
menu_spacing.3x(3)
NAME set_menu_spacing, menu_spacing - set and get spacing between menu items. SYNOPSIS #include <menu.h> int set_menu_spacing(MENU *menu, int spc_description, int spc_rows, int spc_columns); int menu_spacing(const MENU *...
menu_sub.3x(3)
NAME menu_win - make and break menu window and subwindow associations SYNOPSIS #include <menu.h> int set_menu_win(MENU *menu, WINDOW *win); WINDOW *menu_win(const MENU *menu); int set_menu_sub(MENU *menu, WINDOW *sub); WINDOW *menu_sub(const MENU *menu); int scale_menu(const MENU ...
menu_term.3x(3)
NAME menu_hook - set hooks for automatic invocation by applications SYNOPSIS #include <menu.h> int set_item_init(MENU *menu, Menu_Hook func); Menu_Hook item_init(const MENU *menu); int set_item_term(MENU *menu, Menu_Hook func); Menu_Hook item_term(const MENU *menu); int set_menu_i...
menu_update(9)
NAME menu_update - attempts to guess what happened after entry SYNOPSIS void menu_update (struct cpuidle_driver *drv , struct cpuidle_device *dev ); ARGUMENTS drv cpuidle driver containing state data dev the CPU SEE ALSO Kernel file ./drivers/cpuidle/governors/menu.c menu_select(9), menu_refl...
menu_userptr.3x(3)
NAME set_menu_userptr, menu_userptr - associate application data with a menu item SYNOPSIS #include <menu.h> int set_menu_userptr(MENU *menu, void *userptr); void *menu_userptr(const MENU *menu); DESCRIPTION Every menu and every menu item has a field that can be used to hold application-specific data (...
menu_win.3x(3)
NAME menu_win - make and break menu window and subwindow associations SYNOPSIS #include <menu.h> int set_menu_win(MENU *menu, WINDOW *win); WINDOW *menu_win(const MENU *menu); int set_menu_sub(MENU *menu, WINDOW *sub); WINDOW *menu_sub(const MENU *menu); int scale_menu(const MENU ...
merge_queues(9)
NAME merge_queues - merge single semop queues into global queue SYNOPSIS void merge_queues (struct sem_array *sma ); ARGUMENTS sma semaphore array DESCRIPTION This function merges all per-semaphore queues into the global queue. It is necessary to achieve FIFO ordering for the pending single-sop operations w...
merge_system_ram_resource(9)
NAME merge_system_ram_resource - mark the System RAM resource mergeable and try to merge it with adjacent, mergeable resources SYNOPSIS void merge_system_ram_resource (struct resource *res ); ARGUMENTS res resource descriptor DESCRIPTION This interface is intended for memory hotplug, whereby lots of cont...
merge_va_blocks_locked(9)
NAME merge_va_blocks_locked - merge a virtual block if possible. SYNOPSIS void merge_va_blocks_locked (struct hl_device *hdev , struct list_head *va_list , struct hl_vm_va_block *va_block ); ARGUMENTS hdev pointer to the habanalabs device structure. va_list pointer to the virtual addresses block li...
mergecap(1)
NAME mergecap - Merges two or more capture files into one SYNOPSIS mergecap [ -a ] [ -F <file format> ] [ -I <IDB merge mode> ] [ -s <snaplen> ] [ -V ] -w <outfile>|- <infile> [<infile> ...] mergecap -h|--help mergecap -v|--version DESCRIPTION Mergecap is a program that combines multiple saved capture...
mesg(1)
NAME mesg - display (or do not display) messages from other users SYNOPSIS mesg [option] [n|y] DESCRIPTION The mesg utility is invoked by a user to control write access others have to the terminal device associated with standard error output. If write access is allowed, then programs such as talk(1) and write(1) may ...
mesg(1p)
PROLOG This manual page is part of the POSIX Programmer's Manual. The Linux implementation of this interface may differ (consult the corresponding Linux manual page for details of Linux behavior), or the interface may not be implemented on Linux. NAME mesg — permit or deny messages SYNOPSIS mesg [y|n] DESCR...
mesh_accept_plinks_update(9)
NAME mesh_accept_plinks_update - update accepting_plink in local mesh beacons SYNOPSIS u64 mesh_accept_plinks_update (struct ieee80211_sub_if_data *sdata ); ARGUMENTS sdata mesh interface in which mesh beacons are going to be updated RETURN beacon changed flag if the beacon content changed. SEE ALSO Kernel fi...
mesh_gate_del(9)
NAME mesh_gate_del - remove a mesh gate from the list of known gates SYNOPSIS void mesh_gate_del (struct mesh_table *tbl , struct mesh_path *mpath ); ARGUMENTS tbl table which holds our list of known gates mpath gate mpath SEE ALSO Kernel file ./net/mac80211/mesh_pathtbl.c mesh_path_assign_n...
mesh_gate_num(9)
NAME mesh_gate_num - number of gates known to this interface SYNOPSIS int mesh_gate_num (struct ieee80211_sub_if_data *sdata ); ARGUMENTS sdata subif data RETURN The number of gates SEE ALSO Kernel file ./net/mac80211/mesh_pathtbl.c mesh_path_assign_nexthop(9), mesh_path_move_to_queue(9), mesh_path_looku...
mesh_id_show(9)
NAME mesh_id_show - Get function for sysfs attribute mesh_id SYNOPSIS ssize_t mesh_id_show (struct device *dev , struct device_attribute *attr , char *buf ); ARGUMENTS dev the struct device attr device attributes buf buffer where data will be returned SEE ALSO Kernel file ./d...
mesh_id_store(9)
NAME mesh_id_store - Set function for sysfs attribute mesh_id SYNOPSIS ssize_t mesh_id_store (struct device *dev , struct device_attribute *attr , const char *buf , size_t count ); ARGUMENTS dev the struct device attr device attributes buf buffer that contains new attribute valu...
mesh_matches_local(9)
NAME mesh_matches_local - check if the config of a mesh point matches ours SYNOPSIS bool mesh_matches_local (struct ieee80211_sub_if_data *sdata , struct ieee802_11_elems *ie ); ARGUMENTS sdata local mesh subif ie information elements of a management frame from the mesh peer DESCRIPTION This f...
mesh_nexthop_lookup(9)
NAME mesh_nexthop_lookup - put the appropriate next hop on a mesh frame. Calling this function is considered "using" the associated mpath, so preempt a path refresh if this mpath expires soon. SYNOPSIS int mesh_nexthop_lookup (struct ieee80211_sub_if_data *sdata , struct sk_buff *skb ); ARGUMENTS sdata network ...
mesh_nexthop_lookup_nolearn(9)
NAME mesh_nexthop_lookup_nolearn - try to set next hop without path discovery SYNOPSIS int mesh_nexthop_lookup_nolearn (struct ieee80211_sub_if_data *sdata , struct sk_buff *skb ); ARGUMENTS sdata network subif the frame will be sent through skb 802.11 frame to be sent DESCRIPTION Check if the ...
mesh_nexthop_resolve(9)
NAME mesh_nexthop_resolve - lookup next hop; conditionally start path discovery SYNOPSIS int mesh_nexthop_resolve (struct ieee80211_sub_if_data *sdata , struct sk_buff *skb ); ARGUMENTS sdata network subif the frame will be sent through skb 802.11 frame to be sent DESCRIPTION Lookup next hop fo...
mesh_path_add(9)
NAME mesh_path_add - allocate and add a new path to the mesh path table SYNOPSIS struct mesh_path * mesh_path_add (struct ieee80211_sub_if_data *sdata , const u8 *dst ); ARGUMENTS sdata local subif dst destination address of the path (ETH_ALEN length) RETURN 0 on success DESCRIPTION State: the...
mesh_path_add_gate(9)
NAME mesh_path_add_gate - add the given mpath to a mesh gate to our path table SYNOPSIS int mesh_path_add_gate (struct mesh_path *mpath ); ARGUMENTS mpath gate path to add to table RETURN 0 on success, -EEXIST SEE ALSO Kernel file ./net/mac80211/mesh_pathtbl.c mesh_path_assign_nexthop(9), mesh_path_move...
mesh_path_assign_nexthop(9)
NAME mesh_path_assign_nexthop - update mesh path next hop SYNOPSIS void mesh_path_assign_nexthop (struct mesh_path *mpath , struct sta_info *sta ); ARGUMENTS mpath mesh path to update sta next hop to assign DESCRIPTION Locking: mpath->state_lock must be held when calling this function SEE ALSO...
mesh_path_del(9)
NAME mesh_path_del - delete a mesh path from the table SYNOPSIS int mesh_path_del (struct ieee80211_sub_if_data *sdata , const u8 *addr ); ARGUMENTS sdata local subif addr dst address (ETH_ALEN length) RETURN 0 if successful SEE ALSO Kernel file ./net/mac80211/mesh_pathtbl.c mesh_path_assign...
mesh_path_discard_frame(9)
NAME mesh_path_discard_frame - discard a frame whose path could not be resolved SYNOPSIS void mesh_path_discard_frame (struct ieee80211_sub_if_data *sdata , struct sk_buff *skb ); ARGUMENTS sdata network subif the frame was to be sent through skb frame to discard DESCRIPTION Locking: the functi...
mesh_path_error_tx(9)
NAME mesh_path_error_tx - Sends a PERR mesh management frame SYNOPSIS int mesh_path_error_tx (struct ieee80211_sub_if_data *sdata , u8 ttl , const u8 *target , u32 target_sn , u16 target_rcode , const u8 *ra ); ARGUMENTS sdata local mesh subif ttl allowed remaining hops target broke...
mesh_path_fix_nexthop(9)
NAME mesh_path_fix_nexthop - force a specific next hop for a mesh path SYNOPSIS void mesh_path_fix_nexthop (struct mesh_path *mpath , struct sta_info *next_hop ); ARGUMENTS mpath the mesh path to modify next_hop the next hop to force DESCRIPTION Locking: this function must be called holding mpath->s...
mesh_path_flush_by_iface(9)
NAME mesh_path_flush_by_iface - Deletes all mesh paths associated with a given iface SYNOPSIS void mesh_path_flush_by_iface (struct ieee80211_sub_if_data *sdata ); ARGUMENTS sdata interface data to match DESCRIPTION This function deletes both mesh paths as well as mesh portal paths. SEE ALSO Kernel file ./n...
mesh_path_flush_by_nexthop(9)
NAME mesh_path_flush_by_nexthop - Deletes mesh paths if their next hop matches SYNOPSIS void mesh_path_flush_by_nexthop (struct sta_info *sta ); ARGUMENTS sta mesh peer to match DESCRIPTION RCU notes: this function is called when a mesh plink transitions from PLINK_ESTAB to any other state, since PLINK_ES...
mesh_path_flush_pending(9)
NAME mesh_path_flush_pending - free the pending queue of a mesh path SYNOPSIS void mesh_path_flush_pending (struct mesh_path *mpath ); ARGUMENTS mpath mesh path whose queue has to be freed DESCRIPTION Locking: the function must me called within a rcu_read_lock region SEE ALSO Kernel file ./net/mac80211/mesh...
mesh_path_lookup(9)
NAME mesh_path_lookup - look up a path in the mesh path table SYNOPSIS struct mesh_path * mesh_path_lookup (struct ieee80211_sub_if_data *sdata , const u8 *dst ); ARGUMENTS sdata local subif dst hardware address (ETH_ALEN length) of destination RETURN pointer to the mesh path structure, or NULL...