id
stringlengths
4
63
text
stringlengths
153
8.81M
mount.lowntfs-3g(8)
NAME ntfs-3g - Third Generation Read/Write NTFS Driver SYNOPSIS ntfs-3g [-o option[,...]] volume mount_point mount -t ntfs-3g [-o option[,...]] volume mount_point lowntfs-3g [-o option[,...]] volume mount_point mount -t lowntfs-3g [-o option[,...]] volume mount_point DESCRIPTION ntfs-3g is an NTFS driver, which c...
mount.ntfs-3g(8)
NAME ntfs-3g - Third Generation Read/Write NTFS Driver SYNOPSIS ntfs-3g [-o option[,...]] volume mount_point mount -t ntfs-3g [-o option[,...]] volume mount_point lowntfs-3g [-o option[,...]] volume mount_point mount -t lowntfs-3g [-o option[,...]] volume mount_point DESCRIPTION ntfs-3g is an NTFS driver, which c...
mount_attr(2type)
NAME mount_attr - what mount properties to set and clear LIBRARY Linux kernel headers SYNOPSIS #include <sys/mount.h> struct mount_attr { u64 attr_set; /* Mount properties to set */ u64 attr_clr; /* Mount properties to clear */ u64 propagation; /* Mount propagation ty...
mount_namespaces(7)
NAME mount_namespaces - overview of Linux mount namespaces DESCRIPTION For an overview of namespaces, see namespaces(7). Mount namespaces provide isolation of the list of mounts seen by the processes in each namespace instance. Thus, the processes in each of the mount namespace instances will see distinct sin...
mount_setattr(2)
NAME mount_setattr - change properties of a mount or mount tree LIBRARY Standard C library (libc, -lc) SYNOPSIS #include <fcntl.h> /* Definition of AT_* constants */ #include <sys/mount.h> int mount_setattr(int dirfd, const char *path, unsigned int flags, struct mount_attr *attr...
mount_ubifs(9)
NAME mount_ubifs - mount UBIFS file-system. SYNOPSIS int mount_ubifs (struct ubifs_info *c ); ARGUMENTS c UBIFS file-system description object DESCRIPTION This function mounts UBIFS file system. Returns zero in case of success and a negative error code in case of failure. SEE ALSO Kernel file ./fs/ubifs...
mountpoint(1)
NAME mountpoint - see if a directory or file is a mountpoint SYNOPSIS mountpoint [-d|-q] directory|file mountpoint -x device DESCRIPTION mountpoint checks whether the given directory or file is mentioned in the /proc/self/mountinfo file. OPTIONS -d, --fs-devno Show the major/minor numbers of the device that ...
mouse(4)
NAME mouse - serial mouse interface CONFIGURATION Serial mice are connected to a serial RS232/V24 dialout line, see ttyS(4) for a description. DESCRIPTION Introduction The pinout of the usual 9 pin plug as used for serial mice is: ...
mouse_trafo.3x(3)
NAME has_mouse, getmouse, ungetmouse, mousemask, wenclose, mouse_trafo, wmouse_trafo, mouseinterval - get mouse events in curses SYNOPSIS #include <ncursesw/curses.h> typedef unsigned long mmask_t; typedef struct { short id; /* ID to distinguish multiple devices */ int x, ...
mouseinterval.3x(3)
NAME has_mouse, getmouse, ungetmouse, mousemask, wenclose, mouse_trafo, wmouse_trafo, mouseinterval - get mouse events in curses SYNOPSIS #include <ncursesw/curses.h> typedef unsigned long mmask_t; typedef struct { short id; /* ID to distinguish multiple devices */ int x, ...
mouseinterval_sp.3x(3)
NAME curs_sp_funcs - curses screen-pointer extension SYNOPSIS #include <ncursesw/curses.h> int alloc_pair_sp(SCREEN* sp, int fg, int bg); int assume_default_colors_sp(SCREEN* sp, int fg, int bg); int baudrate_sp(SCREEN* sp); int beep_sp(SCREEN* sp); bool can_change_color_sp(SCREEN* ...
mousemask.3x(3)
NAME has_mouse, getmouse, ungetmouse, mousemask, wenclose, mouse_trafo, wmouse_trafo, mouseinterval - get mouse events in curses SYNOPSIS #include <ncursesw/curses.h> typedef unsigned long mmask_t; typedef struct { short id; /* ID to distinguish multiple devices */ int x, ...
mousemask_sp.3x(3)
NAME curs_sp_funcs - curses screen-pointer extension SYNOPSIS #include <ncursesw/curses.h> int alloc_pair_sp(SCREEN* sp, int fg, int bg); int assume_default_colors_sp(SCREEN* sp, int fg, int bg); int baudrate_sp(SCREEN* sp); int beep_sp(SCREEN* sp); bool can_change_color_sp(SCREEN* ...
move.3x(3)
NAME move, wmove - move cursor in a curses window SYNOPSIS #include <ncursesw/curses.h> int move(int y, int x); int wmove(WINDOW *win, int y, int x); DESCRIPTION wmove relocates the cursor associated with the curses window win to line y and column x. The terminal's cursor does not move until refre...
move_addr_to_kernel(9)
NAME move_addr_to_kernel - copy a socket address into kernel space SYNOPSIS int move_addr_to_kernel (void __user *uaddr , int ulen , struct sockaddr_storage *kaddr ); ARGUMENTS uaddr Address in user space ulen Length in user space kaddr Address in kernel space DESCRIPTION The addre...
move_addr_to_user(9)
NAME move_addr_to_user - copy an address to user space SYNOPSIS int move_addr_to_user (struct sockaddr_storage *kaddr , int klen , void __user *uaddr , int __user *ulen ); ARGUMENTS kaddr kernel space address klen length of address in kernel uaddr user space address ulen ...
move_device_tree(9)
NAME move_device_tree - move tree to an unused area, if needed. SYNOPSIS void move_device_tree (void ); ARGUMENTS void no arguments DESCRIPTION The device tree may be allocated beyond our memory limit, or inside the crash kernel region for kdump, or within the page aligned range of initrd. If so, move it out...
move_empty_bucket(9)
NAME move_empty_bucket - Move an empty bucket closer to the start of the bucket array. SYNOPSIS struct bucket * move_empty_bucket (struct bucket *hole ); ARGUMENTS hole The empty bucket to fill with an entry that precedes it in one of its enclosing neighborhoods. DESCRIPTION This searches the neighborhoods th...
move_field.3x(3)
NAME form_field - make and break connections between fields and forms SYNOPSIS #include <form.h> int set_form_fields(FORM *form, FIELD **fields); FIELD **form_fields(const FORM *form); int field_count(const FORM *form); int move_field(FIELD *field, int frow, int fcol); DESCRIPTION The fun...
move_linked_works(9)
NAME move_linked_works - move linked works to a list SYNOPSIS void move_linked_works (struct work_struct *work , struct list_head *head , struct work_struct **nextp ); ARGUMENTS work start of series of works to be scheduled head target list to append work to nextp out parameter for...
move_mount(2)
NAME move_mount - move or attach mount object to filesystem LIBRARY Standard C library (libc, -lc) SYNOPSIS #include <fcntl.h> /* Definition of AT_* constants */ #include <sys/mount.h> int move_mount(int from_dirfd, const char *from_path, int to_dirfd, const char *to_path, ...
move_node(9)
NAME move_node - move a node. SYNOPSIS int move_node (struct ubifs_info *c , struct ubifs_scan_leb *sleb , struct ubifs_scan_node *snod , struct ubifs_wbuf *wbuf ); ARGUMENTS c UBIFS file-system description object sleb describes the LEB to move nodes from snod the mode to move ...
move_nodes(9)
NAME move_nodes - move nodes. SYNOPSIS int move_nodes (struct ubifs_info *c , struct ubifs_scan_leb *sleb ); ARGUMENTS c UBIFS file-system description object sleb describes the LEB to move nodes from DESCRIPTION This function moves valid nodes from data LEB described by sleb to the GC jour...
move_pages(2)
NAME move_pages - move individual pages of a process to another node LIBRARY NUMA (Non-Uniform Memory Access) policy library (libnuma, -lnuma) SYNOPSIS #include <numaif.h> long move_pages(int pid, unsigned long count, void *pages[count], const int nodes[count], int status[count], ...
move_pages(9)
NAME move_pages - move arbitrary anonymous pages of an existing vma SYNOPSIS ssize_t move_pages (struct userfaultfd_ctx *ctx , unsigned long dst_start , unsigned long src_start , unsigned long len , __u64 mode ); ARGUMENTS ctx pointer to the userfaultfd context dst_start start of the destination vir...
move_panel.3x(3)
NAME panel - panel stack extension for curses SYNOPSIS #include <panel.h> PANEL *new_panel(WINDOW *win); int bottom_panel(PANEL *pan); int top_panel(PANEL *pan); int show_panel(PANEL *pan); void update_panels(void); int hide_panel(PANEL *pan); WINDOW *panel_window(co...
move_remote_task_to_local_dsq(9)
NAME move_remote_task_to_local_dsq - Move a task from a foreign rq to a local DSQ SYNOPSIS void move_remote_task_to_local_dsq (struct task_struct *p , u64 enq_flags , struct rq *src_rq , struct rq *dst_rq ); ARGUMENTS p task to move enq_flags SCX_ENQ_* src_rq rq to move the task from,...
move_task_between_dsqs(9)
NAME move_task_between_dsqs - Move a task from one DSQ to another SYNOPSIS struct rq * move_task_between_dsqs (struct scx_sched *sch , struct task_struct *p , u64 enq_flags , struct scx_dispatch_q *src_dsq , struct scx_dispatch_q *dst_dsq ); ARGUMENTS sch scx_sched being operated on p target...
move_up_lpt_heap(9)
NAME move_up_lpt_heap - move a new heap entry up as far as possible. SYNOPSIS void move_up_lpt_heap (struct ubifs_info *c , struct ubifs_lpt_heap *heap , struct ubifs_lprops *lprops , int cat ); ARGUMENTS c UBIFS file-system description object heap LEB category heap lprops LEB pr...
movf_func(9)
NAME movf_func - Emulate a MOVF instruction SYNOPSIS int movf_func (struct pt_regs *regs , u32 ir ); ARGUMENTS regs Process register set ir Instruction DESCRIPTION Returns 0 since it always succeeds. SEE ALSO Kernel file ./arch/mips/kernel/mips-r2-to-r6-emul.c mipsr6_emul(9), movt_func(9),...
movn_func(9)
NAME movn_func - Emulate a MOVZ instruction SYNOPSIS int movn_func (struct pt_regs *regs , u32 ir ); ARGUMENTS regs Process register set ir Instruction DESCRIPTION Returns 0 since it always succeeds. SEE ALSO Kernel file ./arch/mips/kernel/mips-r2-to-r6-emul.c mipsr6_emul(9), movf_func(9),...
movt_func(9)
NAME movt_func - Emulate a MOVT instruction SYNOPSIS int movt_func (struct pt_regs *regs , u32 ir ); ARGUMENTS regs Process register set ir Instruction DESCRIPTION Returns 0 since it always succeeds. SEE ALSO Kernel file ./arch/mips/kernel/mips-r2-to-r6-emul.c mipsr6_emul(9), movf_func(9),...
movz_func(9)
NAME movz_func - Emulate a MOVZ instruction SYNOPSIS int movz_func (struct pt_regs *regs , u32 ir ); ARGUMENTS regs Process register set ir Instruction DESCRIPTION Returns 0 since it always succeeds. SEE ALSO Kernel file ./arch/mips/kernel/mips-r2-to-r6-emul.c mipsr6_emul(9), movf_func(9)...
mp_register_ioapic(9)
NAME mp_register_ioapic - Register an IOAPIC device SYNOPSIS int mp_register_ioapic (int id , u32 address , u32 gsi_base , struct ioapic_domain_cfg *cfg ); ARGUMENTS id hardware IOAPIC ID address physical address of IOAPIC register area gsi_base base of GSI associated with the IOAPIC ...
mpage_readahead(9)
NAME mpage_readahead - start reads against pages SYNOPSIS void mpage_readahead (struct readahead_control *rac , get_block_t get_block ); ARGUMENTS rac Describes which pages to read. get_block The filesystem's block mapper function. DESCRIPTION This function walks the pages and the blocks within ...
mpam_register_requestor(9)
NAME mpam_register_requestor - Register a requestor with the MPAM driver SYNOPSIS int mpam_register_requestor (u16 partid_max , u8 pmg_max ); ARGUMENTS partid_max The maximum PARTID value the requestor can generate. pmg_max The maximum PMG value the requestor can generate. DESCRIPTION Registers a reques...
mpartition(1)
Name mpartition - partition an MSDOS hard disk Note of warning This manpage has been automatically generated from mtools's texinfo documentation, and may not be entirely accurate or complete. See the end of this man page for details. Description The mpartition command is used to create MS-DOS file systems as partiti...
mpc512x_cs_config(9)
NAME mpc512x_cs_config - Setup chip select configuration SYNOPSIS int mpc512x_cs_config (unsigned int cs , u32 val ); ARGUMENTS cs chip select number val chip select configuration value DESCRIPTION Perform chip select configuration for devices on LocalPlus Bus. Intended to dynamically recon...
mpc5200_psc_ac97_gpio_reset(9)
NAME mpc5200_psc_ac97_gpio_reset - Use gpio pins to reset the ac97 bus SYNOPSIS int mpc5200_psc_ac97_gpio_reset (int psc_number ); ARGUMENTS psc_number -- undescribed -- SEE ALSO Kernel file ./arch/powerpc/platforms/52xx/mpc52xx_common.c mpc52xx_declare_of_platform_devices(9), mpc52xx_map_common_devices(9), mpc52xx...
mpc52xx_declare_of_platform_devices(9)
NAME mpc52xx_declare_of_platform_devices - register internal devices and children of the localplus bus to the of_platform bus. SYNOPSIS void mpc52xx_declare_of_platform_devices (void ); ARGUMENTS void no arguments SEE ALSO Kernel file ./arch/powerpc/platforms/52xx/mpc52xx_common.c mpc52xx_map_common_devices(9...
mpc52xx_fec_hw_init(9)
NAME mpc52xx_fec_hw_init - SYNOPSIS void mpc52xx_fec_hw_init (struct net_device *dev ); ARGUMENTS dev network device DESCRIPTION Setup various hardware setting, only needed once on start SEE ALSO Kernel file ./drivers/net/ethernet/freescale/fec_mpc52xx.c mpc52xx_fec_start(9), mpc52xx_fec_stop(9) April 2026...
mpc52xx_fec_start(9)
NAME mpc52xx_fec_start - SYNOPSIS void mpc52xx_fec_start (struct net_device *dev ); ARGUMENTS dev network device DESCRIPTION This function is called to start or restart the FEC during a link change. This happens on fifo errors or when switching between half and full duplex. SEE ALSO Kernel file ./drivers/n...
mpc52xx_fec_stop(9)
NAME mpc52xx_fec_stop - SYNOPSIS void mpc52xx_fec_stop (struct net_device *dev , bool may_sleep ); ARGUMENTS dev network device may_sleep -- undescribed -- DESCRIPTION stop all activity on fec and empty dma buffers SEE ALSO Kernel file ./drivers/net/ethernet/freescale/fec_mpc52xx.c mpc52xx_fec_hw_...
mpc52xx_get_irq(9)
NAME mpc52xx_get_irq - Get pending interrupt number hook function SYNOPSIS unsigned int mpc52xx_get_irq (void ); ARGUMENTS void no arguments DESCRIPTION Called by the interrupt handler to determine what IRQ handler needs to be executed. Status of pending interrupts is determined by reading the encoded sta...
mpc52xx_gpt_from_irq(9)
NAME mpc52xx_gpt_from_irq - Return the GPT device associated with an IRQ number SYNOPSIS struct mpc52xx_gpt_priv * mpc52xx_gpt_from_irq (int irq ); ARGUMENTS irq irq of timer. SEE ALSO Kernel file ./arch/powerpc/platforms/52xx/mpc52xx_gpt.c mpc52xx_gpt_start_timer(9), mpc52xx_gpt_stop_timer(9), mpc52xx_gpt_t...
mpc52xx_gpt_start_timer(9)
NAME mpc52xx_gpt_start_timer - Set and enable the GPT timer SYNOPSIS int mpc52xx_gpt_start_timer (struct mpc52xx_gpt_priv *gpt , u64 period , int continuous ); ARGUMENTS gpt Pointer to gpt private data structure period period of timer in ns; max. ~130s 33MHz IPB clock continuous set to ...
mpc52xx_gpt_stop_timer(9)
NAME mpc52xx_gpt_stop_timer - Stop a gpt SYNOPSIS int mpc52xx_gpt_stop_timer (struct mpc52xx_gpt_priv *gpt ); ARGUMENTS gpt Pointer to gpt private data structure DESCRIPTION Returns an error if attempting to stop a wdt SEE ALSO Kernel file ./arch/powerpc/platforms/52xx/mpc52xx_gpt.c mpc52xx_gpt_from_irq(9),...
mpc52xx_gpt_timer_period(9)
NAME mpc52xx_gpt_timer_period - Read the timer period SYNOPSIS u64 mpc52xx_gpt_timer_period (struct mpc52xx_gpt_priv *gpt ); ARGUMENTS gpt Pointer to gpt private data structure DESCRIPTION Returns the timer period in ns SEE ALSO Kernel file ./arch/powerpc/platforms/52xx/mpc52xx_gpt.c mpc52xx_gpt_from_irq(9)...
mpc52xx_init_irq(9)
NAME mpc52xx_init_irq - Initialize and register with the virq subsystem SYNOPSIS void mpc52xx_init_irq (void ); ARGUMENTS void no arguments DESCRIPTION Hook for setting up IRQs on an mpc5200 system. A pointer to this function is to be put into the machine definition structure. This function searches the d...
mpc52xx_irqhost_map(9)
NAME mpc52xx_irqhost_map - Hook to map from virq to an irq_chip structure SYNOPSIS int mpc52xx_irqhost_map (struct irq_domain *h , unsigned int virq , irq_hw_number_t irq ); ARGUMENTS h -- undescribed -- virq -- undescribed -- irq -- undescribed -- SEE ALSO Kernel file ./arch...
mpc52xx_irqhost_xlate(9)
NAME mpc52xx_irqhost_xlate - translate virq# from device tree interrupts property SYNOPSIS int mpc52xx_irqhost_xlate (struct irq_domain *h , struct device_node *ct , const u32 *intspec , unsigned int intsize , irq_hw_number_t *out_hwirq , unsigned int *out_flags ); ARGUMENTS h -- undescribed -- ct ...
mpc52xx_is_extirq(9)
NAME mpc52xx_is_extirq - Returns true if hwirq number is for an external IRQ SYNOPSIS int mpc52xx_is_extirq (int l1 , int l2 ); ARGUMENTS l1 -- undescribed -- l2 -- undescribed -- SEE ALSO Kernel file ./arch/powerpc/platforms/52xx/mpc52xx_pic.c mpc52xx_irqhost_xlate(9), mpc52xx_irqhost_map(...
mpc52xx_map_common_devices(9)
NAME mpc52xx_map_common_devices - iomap devices required by common code SYNOPSIS void mpc52xx_map_common_devices (void ); ARGUMENTS void no arguments SEE ALSO Kernel file ./arch/powerpc/platforms/52xx/mpc52xx_common.c mpc52xx_declare_of_platform_devices(9), mpc52xx_set_psc_clkdiv(9), mpc52xx_restart(9), mpc52...
mpc52xx_restart(9)
NAME mpc52xx_restart - ppc_md->restart hook for mpc5200 using the watchdog timer SYNOPSIS void __noreturn mpc52xx_restart (char *cmd ); ARGUMENTS cmd -- undescribed -- SEE ALSO Kernel file ./arch/powerpc/platforms/52xx/mpc52xx_common.c mpc52xx_declare_of_platform_devices(9), mpc52xx_map_common_devices(9), mp...
mpc52xx_set_psc_clkdiv(9)
NAME mpc52xx_set_psc_clkdiv - Set clock divider in the CDM for PSC ports SYNOPSIS int mpc52xx_set_psc_clkdiv (int psc_id , int clkdiv ); ARGUMENTS psc_id id of psc port; must be 1,2,3 or 6 clkdiv clock divider value to put into CDM PSC register. SEE ALSO Kernel file ./arch/powerpc/platforms/52xx/mp...
mpc52xx_spi_fsm_process(9)
NAME mpc52xx_spi_fsm_process - Finite State Machine iteration function SYNOPSIS void mpc52xx_spi_fsm_process (int irq , struct mpc52xx_spi *ms ); ARGUMENTS irq irq number that triggered the FSM or 0 for polling ms pointer to mpc52xx_spi driver data SEE ALSO Kernel file ./drivers/spi/spi-mpc5...
mpc52xx_spi_irq(9)
NAME mpc52xx_spi_irq - IRQ handler SYNOPSIS irqreturn_t mpc52xx_spi_irq (int irq , void *_ms ); ARGUMENTS irq -- undescribed -- _ms -- undescribed -- SEE ALSO Kernel file ./drivers/spi/spi-mpc52xx.c mpc52xx_spi_fsm_process(9), mpc52xx_spi_wq(9) April 2026 ...
mpc52xx_spi_wq(9)
NAME mpc52xx_spi_wq - Workqueue function for polling the state machine SYNOPSIS void mpc52xx_spi_wq (struct work_struct *work ); ARGUMENTS work -- undescribed -- SEE ALSO Kernel file ./drivers/spi/spi-mpc52xx.c mpc52xx_spi_fsm_process(9), mpc52xx_spi_irq(9) April 2026 ...
mpc5xxx_fwnode_get_bus_frequency(9)
NAME mpc5xxx_fwnode_get_bus_frequency - Find the bus frequency for a firmware node SYNOPSIS unsigned long mpc5xxx_fwnode_get_bus_frequency (struct fwnode_handle *fwnode ); ARGUMENTS fwnode firmware node DESCRIPTION Returns bus frequency (IPS on MPC512x, IPB on MPC52xx), or 0 if the bus frequency cannot be found...
mpi3mr_add_event_wait_for_device_refresh(9)
NAME mpi3mr_add_event_wait_for_device_refresh - Add Wait for Device Refresh Event SYNOPSIS void mpi3mr_add_event_wait_for_device_refresh (struct mpi3mr_ioc *mrioc ); ARGUMENTS mrioc Adapter instance reference DESCRIPTION Add driver specific event to make sure that the driver won't process the events until all ...
mpi3mr_add_expander_phy(9)
NAME mpi3mr_add_expander_phy - report expander phy to transport SYNOPSIS int mpi3mr_add_expander_phy (struct mpi3mr_ioc *mrioc , struct mpi3mr_sas_phy *mr_sas_phy , struct mpi3_sas_expander_page1 expander_pg1 , struct device *parent_dev ); ARGUMENTS mrioc Adapter instance reference mr_sas_phy Internal ...
mpi3mr_add_host_phy(9)
NAME mpi3mr_add_host_phy - report sas_host phy to SAS transport SYNOPSIS int mpi3mr_add_host_phy (struct mpi3mr_ioc *mrioc , struct mpi3mr_sas_phy *mr_sas_phy , struct mpi3_sas_phy_page0 phy_pg0 , struct device *parent_dev ); ARGUMENTS mrioc Adapter instance reference mr_sas_phy Internal Phy object ...
mpi3mr_add_phy_to_an_existing_port(9)
NAME mpi3mr_add_phy_to_an_existing_port - add phy to existing port SYNOPSIS void mpi3mr_add_phy_to_an_existing_port (struct mpi3mr_ioc *mrioc , struct mpi3mr_sas_node *mr_sas_node , struct mpi3mr_sas_phy *mr_sas_phy , u64 sas_address , struct mpi3mr_hba_port *hba_port ); ARGUMENTS mrioc Adapter instance referen...
mpi3mr_add_sas_phy(9)
NAME mpi3mr_add_sas_phy - Adding a single phy to a port SYNOPSIS void mpi3mr_add_sas_phy (struct mpi3mr_ioc *mrioc , struct mpi3mr_sas_port *mr_sas_port , struct mpi3mr_sas_phy *mr_sas_phy , u8 host_node ); ARGUMENTS mrioc Adapter instance reference mr_sas_port Internal Port object mr_sas_phy I...
mpi3mr_admin_request_post(9)
NAME mpi3mr_admin_request_post - Post request to admin queue SYNOPSIS int mpi3mr_admin_request_post (struct mpi3mr_ioc *mrioc , void *admin_req , u16 admin_req_sz , u8 ignore_reset ); ARGUMENTS mrioc Adapter reference admin_req MPI3 request admin_req_sz Request size ...
mpi3mr_alloc_chain_bufs(9)
NAME mpi3mr_alloc_chain_bufs - Allocate chain buffers SYNOPSIS int mpi3mr_alloc_chain_bufs (struct mpi3mr_ioc *mrioc ); ARGUMENTS mrioc Adapter instance reference DESCRIPTION Allocate chain buffers and set a bitmap to indicate free chain buffers. Chain buffers are used to pass the SGE information along with MP...
mpi3mr_alloc_diag_bufs(9)
NAME mpi3mr_alloc_diag_bufs - Allocate memory for diag buffers SYNOPSIS void mpi3mr_alloc_diag_bufs (struct mpi3mr_ioc *mrioc ); ARGUMENTS mrioc Adapter instance reference DESCRIPTION This functions checks whether the driver defined buffer sizes are greater than IOCFacts provided controller local buffer s...
mpi3mr_alloc_fwevt(9)
NAME mpi3mr_alloc_fwevt - Allocate firmware event SYNOPSIS struct mpi3mr_fwevt * mpi3mr_alloc_fwevt (int len ); ARGUMENTS len length of firmware event data to allocate DESCRIPTION Allocate firmware event with required length and initialize the reference counter. RETURN firmware event reference. SEE ALSO Ke...
mpi3mr_alloc_hba_port(9)
NAME mpi3mr_alloc_hba_port - alloc hba port object SYNOPSIS struct mpi3mr_hba_port * mpi3mr_alloc_hba_port (struct mpi3mr_ioc *mrioc , u16 port_id ); ARGUMENTS mrioc Adapter instance reference port_id Port number DESCRIPTION Alloc memory for hba port object. SEE ALSO Kernel file ./drivers/scsi...
mpi3mr_alloc_ioctl_dma_memory(9)
NAME mpi3mr_alloc_ioctl_dma_memory - Alloc memory for ioctl dma SYNOPSIS void mpi3mr_alloc_ioctl_dma_memory (struct mpi3mr_ioc *mrioc ); ARGUMENTS mrioc Adapter instance reference DESCRIPTION This function allocates dmaable memory required to handle the application issued MPI3 IOCTL requests. RETURN None SEE...
mpi3mr_alloc_op_reply_q_segments(9)
NAME mpi3mr_alloc_op_reply_q_segments - Alloc segmented reply pool SYNOPSIS int mpi3mr_alloc_op_reply_q_segments (struct mpi3mr_ioc *mrioc , u16 qidx ); ARGUMENTS mrioc Adapter instance reference qidx request queue index DESCRIPTION Allocate segmented memory pools for operational reply queue. R...
mpi3mr_alloc_op_req_q_segments(9)
NAME mpi3mr_alloc_op_req_q_segments - Alloc segmented req pool. SYNOPSIS int mpi3mr_alloc_op_req_q_segments (struct mpi3mr_ioc *mrioc , u16 qidx ); ARGUMENTS mrioc Adapter instance reference qidx request queue index DESCRIPTION Allocate segmented memory pools for operational request queue. RETU...
mpi3mr_alloc_reply_sense_bufs(9)
NAME mpi3mr_alloc_reply_sense_bufs - Send IOC Init SYNOPSIS int mpi3mr_alloc_reply_sense_bufs (struct mpi3mr_ioc *mrioc ); ARGUMENTS mrioc Adapter instance reference DESCRIPTION Allocate and initialize the reply free buffers, sense buffers, reply free queue and sense buffer queue. RETURN 0 on success, non-zer...
mpi3mr_alloc_tgtdev(9)
NAME mpi3mr_alloc_tgtdev - target device allocator SYNOPSIS struct mpi3mr_tgt_dev * mpi3mr_alloc_tgtdev (void ); ARGUMENTS void no arguments DESCRIPTION Allocate target device instance and initialize the reference count RETURN target device instance. SEE ALSO Kernel file ./drivers/scsi/mpi3mr/mpi3mr_os.c ...
mpi3mr_alloc_trace_buffer(9)
NAME mpi3mr_alloc_trace_buffer - Allocate segmented trace buffer SYNOPSIS int mpi3mr_alloc_trace_buffer (struct mpi3mr_ioc *mrioc , u32 trace_size ); ARGUMENTS mrioc Adapter instance reference trace_size Trace buffer size DESCRIPTION Allocate either segmented memory pools or contiguous buffer based on...
mpi3mr_allow_scmd_to_fw(9)
NAME mpi3mr_allow_scmd_to_fw - Command is allowed during shutdown SYNOPSIS bool mpi3mr_allow_scmd_to_fw (struct scsi_cmnd *scmd ); ARGUMENTS scmd SCSI Command reference DESCRIPTION Checks whether a cdb is allowed during shutdown or not. RETURN TRUE for allowed commands, FALSE otherwise. SEE ALSO Kernel fil...
mpi3mr_app_save_logdata_th(9)
NAME mpi3mr_app_save_logdata_th - Save Log Data events SYNOPSIS void mpi3mr_app_save_logdata_th (struct mpi3mr_ioc *mrioc , char *event_data , u16 event_data_size ); ARGUMENTS mrioc Adapter instance reference event_data event data associated with log data event event_data_size ...
mpi3mr_bios_param(9)
NAME mpi3mr_bios_param - BIOS param callback SYNOPSIS int mpi3mr_bios_param (struct scsi_device *sdev , struct gendisk *unused , sector_t capacity , int params[] ); ARGUMENTS sdev SCSI device reference unused gendisk reference capacity Capacity in logical sectors params Par...
mpi3mr_blk_mq_poll(9)
NAME mpi3mr_blk_mq_poll - Operational reply queue handler SYNOPSIS int mpi3mr_blk_mq_poll (struct Scsi_Host *shost , unsigned int queue_num ); ARGUMENTS shost SCSI Host reference queue_num Request queue number (w.r.t OS it is hardware context number) DESCRIPTION Checks the specific operational reply ...
mpi3mr_bring_ioc_ready(9)
NAME mpi3mr_bring_ioc_ready - Bring controller to ready state SYNOPSIS int mpi3mr_bring_ioc_ready (struct mpi3mr_ioc *mrioc ); ARGUMENTS mrioc Adapter instance reference DESCRIPTION Set Enable IOC bit in IOC configuration register and wait for the controller to become ready. RETURN 0 on success, appropriate e...
mpi3mr_bsg_adp_reset(9)
NAME mpi3mr_bsg_adp_reset - Issue controller reset SYNOPSIS long mpi3mr_bsg_adp_reset (struct mpi3mr_ioc *mrioc , struct bsg_job *job ); ARGUMENTS mrioc Adapter instance reference job BSG job reference DESCRIPTION This function identifies the user provided reset type and issues approporiate res...
mpi3mr_bsg_build_sgl(9)
NAME mpi3mr_bsg_build_sgl - SGL construction for MPI commands SYNOPSIS int mpi3mr_bsg_build_sgl (struct mpi3mr_ioc *mrioc , u8 *mpi_req , u32 sgl_offset , struct mpi3mr_buf_map *drv_bufs , u8 bufcnt , u8 is_rmc , u8 is_rmr , u8 num_datasges ); ARGUMENTS mrioc Adapter instance reference mpi_req MPI r...
mpi3mr_bsg_exit(9)
NAME mpi3mr_bsg_exit - de-registration from bsg layer SYNOPSIS void mpi3mr_bsg_exit (struct mpi3mr_ioc *mrioc ); ARGUMENTS mrioc Adapter instance reference DESCRIPTION This will be called during driver unload and all bsg resources allocated during load will be freed. RETURN Nothing SEE ALSO Kernel file ./dri...
mpi3mr_bsg_init(9)
NAME mpi3mr_bsg_init - registration with bsg layer SYNOPSIS void mpi3mr_bsg_init (struct mpi3mr_ioc *mrioc ); ARGUMENTS mrioc Adapter instance reference DESCRIPTION This will be called during driver load and it will register driver with bsg layer RETURN Nothing SEE ALSO Kernel file ./drivers/scsi/mpi3mr/mpi3...
mpi3mr_bsg_node_release(9)
NAME mpi3mr_bsg_node_release - release bsg device node SYNOPSIS void mpi3mr_bsg_node_release (struct device *dev ); ARGUMENTS dev bsg device node DESCRIPTION decrements bsg dev parent reference count RETURN Nothing SEE ALSO Kernel file ./drivers/scsi/mpi3mr/mpi3mr_app.c mpi3mr_alloc_trace_buffer(9), mpi3mr...
mpi3mr_bsg_pel_abort(9)
NAME mpi3mr_bsg_pel_abort - sends PEL abort request SYNOPSIS int mpi3mr_bsg_pel_abort (struct mpi3mr_ioc *mrioc ); ARGUMENTS mrioc Adapter instance reference DESCRIPTION This function sends PEL abort request to the firmware through admin request queue. RETURN 0 on success, -1 on failure SEE ALSO Kernel file ...
mpi3mr_bsg_pel_enable(9)
NAME mpi3mr_bsg_pel_enable - Handler for PEL enable driver SYNOPSIS long mpi3mr_bsg_pel_enable (struct mpi3mr_ioc *mrioc , struct bsg_job *job ); ARGUMENTS mrioc Adapter instance reference job BSG job pointer DESCRIPTION This function is the handler for PEL enable driver. Validates the applica...
mpi3mr_bsg_populate_adpinfo(9)
NAME mpi3mr_bsg_populate_adpinfo - Get adapter info command handler SYNOPSIS long mpi3mr_bsg_populate_adpinfo (struct mpi3mr_ioc *mrioc , struct bsg_job *job ); ARGUMENTS mrioc Adapter instance reference job BSG job reference DESCRIPTION This function provides adapter information for the given ...
mpi3mr_bsg_process_drv_cmds(9)
NAME mpi3mr_bsg_process_drv_cmds - Driver Command handler SYNOPSIS long mpi3mr_bsg_process_drv_cmds (struct bsg_job *job ); ARGUMENTS job BSG job reference DESCRIPTION This function is the top level handler for driver commands, this does basic validation of the buffer and identifies the opcode and switches t...
mpi3mr_bsg_process_mpt_cmds(9)
NAME mpi3mr_bsg_process_mpt_cmds - MPI Pass through BSG handler SYNOPSIS long mpi3mr_bsg_process_mpt_cmds (struct bsg_job *job ); ARGUMENTS job BSG job reference DESCRIPTION This function is the top level handler for MPI Pass through command, this does basic validation of the input data buffers, iden...
mpi3mr_bsg_query_hdb(9)
NAME mpi3mr_bsg_query_hdb - Handler for query HDB command SYNOPSIS long mpi3mr_bsg_query_hdb (struct mpi3mr_ioc *mrioc , struct bsg_job *job ); ARGUMENTS mrioc Adapter instance reference job BSG job pointer DESCRIPTION This function prepares and copies the host diagnostic buffer entries to the ...
mpi3mr_bsg_refresh_hdb_triggers(9)
NAME mpi3mr_bsg_refresh_hdb_triggers - Refresh HDB trigger data SYNOPSIS long mpi3mr_bsg_refresh_hdb_triggers (struct mpi3mr_ioc *mrioc , struct bsg_job *job ); ARGUMENTS mrioc Adapter instance reference job BSG Job pointer DESCRIPTION This function reads the controller trigger config page as d...
mpi3mr_bsg_repost_hdb(9)
NAME mpi3mr_bsg_repost_hdb - Re-post HDB SYNOPSIS long mpi3mr_bsg_repost_hdb (struct mpi3mr_ioc *mrioc , struct bsg_job *job ); ARGUMENTS mrioc Adapter instance reference job BSG job pointer DESCRIPTION This function retrieves the HDB descriptor corresponding to a given buffer type and if the H...
mpi3mr_bsg_request(9)
NAME mpi3mr_bsg_request - bsg request entry point SYNOPSIS int mpi3mr_bsg_request (struct bsg_job *job ); ARGUMENTS job BSG job reference DESCRIPTION This is driver's entry point for bsg requests RETURN 0 on success and proper error codes on failure SEE ALSO Kernel file ./drivers/scsi/mpi3mr/mpi3mr_app.c m...
mpi3mr_bsg_upload_hdb(9)
NAME mpi3mr_bsg_upload_hdb - Upload a specific HDB to user space SYNOPSIS long mpi3mr_bsg_upload_hdb (struct mpi3mr_ioc *mrioc , struct bsg_job *job ); ARGUMENTS mrioc Adapter instance reference job BSG Job pointer RETURN 0 on success and proper error codes on failure SEE ALSO Kernel file ./dr...
mpi3mr_bsg_verify_adapter(9)
NAME mpi3mr_bsg_verify_adapter - verify adapter number is valid SYNOPSIS struct mpi3mr_ioc * mpi3mr_bsg_verify_adapter (int ioc_number ); ARGUMENTS ioc_number Adapter number DESCRIPTION This function returns the adapter instance pointer of given adapter number. If adapter number does not match with the driver's ada...
mpi3mr_build_nvme_prp(9)
NAME mpi3mr_build_nvme_prp - PRP constructor for NVME encapsulated request SYNOPSIS int mpi3mr_build_nvme_prp (struct mpi3mr_ioc *mrioc , struct mpi3_nvme_encapsulated_request *nvme_encap_request , struct mpi3mr_buf_map *drv_bufs , u8 bufcnt ); ARGUMENTS mrioc Adapter instance reference nvme_encap_reque...
mpi3mr_build_nvme_sgl(9)
NAME mpi3mr_build_nvme_sgl - SGL constructor for NVME encapsulated request SYNOPSIS int mpi3mr_build_nvme_sgl (struct mpi3mr_ioc *mrioc , struct mpi3_nvme_encapsulated_request *nvme_encap_request , struct mpi3mr_buf_map *drv_bufs , u8 bufcnt ); ARGUMENTS mrioc Adapter instance reference nvme_encap_reque...
mpi3mr_build_sense_buffer(9)
NAME mpi3mr_build_sense_buffer - Map sense information SYNOPSIS void mpi3mr_build_sense_buffer (int desc , u8 *buf , u8 key , u8 asc , u8 ascq ); ARGUMENTS desc Sense type buf Sense buffer to populate key Sense key asc Additional sense code ascq Ad...
mpi3mr_build_sg_scmd(9)
NAME mpi3mr_build_sg_scmd - build scatter gather list for SCSI IO SYNOPSIS int mpi3mr_build_sg_scmd (struct mpi3mr_ioc *mrioc , struct scsi_cmnd *scmd , struct mpi3_scsi_io_request *scsiio_req ); ARGUMENTS mrioc Adapter instance reference scmd SCSI command reference scsiio_req MPI3 SCSI ...