Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

mpt_config(9) [centos man page]

MPT_CONFIG(9)						       Message-based devices						     MPT_CONFIG(9)

NAME
mpt_config - Generic function to issue config message SYNOPSIS
int mpt_config(MPT_ADAPTER * ioc, CONFIGPARMS * pCfg); ARGUMENTS
ioc Pointer to an adapter structure pCfg Pointer to a configuration structure. Struct contains action, page address, direction, physical address and pointer to a configuration page header Page header is updated. DESCRIPTION
Returns 0 for success -EPERM if not allowed due to ISR context -EAGAIN if no msg frames currently available -EFAULT for non-successful reply or no reply (timeout) COPYRIGHT
Kernel Hackers Manual 3.10 June 2014 MPT_CONFIG(9)

Check Out this Related Man Page

bp_mapin(9F)						   Kernel Functions for Drivers 					      bp_mapin(9F)

NAME
bp_mapin - allocate virtual address space SYNOPSIS
#include <sys/types.h> #include <sys/buf.h> void bp_mapin(struct buf *bp); INTERFACE LEVEL
Architecture independent level 1 (DDI/DKI). PARAMETERS
bp Pointer to the buffer header structure. DESCRIPTION
bp_mapin() is used to map virtual address space to a page list maintained by the buffer header during a paged- I/O request. bp_mapin() allocates system virtual address space, maps that space to the page list, and returns the starting address of the space in the bp->b_un.b_addr field of the buf(9S) structure. Virtual address space is then deallocated using the bp_mapout(9F) function. If a null page list is encountered, bp_mapin() returns without allocating space and no mapping is performed. CONTEXT
bp_mapin() can be called from user and kernel contexts. SEE ALSO
bp_mapout(9F), buf(9S) Writing Device Drivers SunOS 5.11 13 Sep 1992 bp_mapin(9F)
Man Page