id
stringlengths
4
63
text
stringlengths
153
8.81M
lookup_bdev(9)
NAME lookup_bdev - Look up a struct block_device by name. SYNOPSIS int lookup_bdev (const char *pathname , dev_t *dev ); ARGUMENTS pathname Name of the block device in the filesystem. dev Pointer to the block device's dev_t, if found. DESCRIPTION Lookup the block device's dev_t at pathname in the ...
lookup_constant(9)
NAME lookup_constant - Look up a constant by name in an ordered table SYNOPSIS int lookup_constant (const struct constant_table *tbl , const char *name , int not_found ); ARGUMENTS tbl The table of constants to search. name The name to look up. not_found The value to return if the nam...
lookup_dcookie(2)
NAME lookup_dcookie - return a directory entry's path LIBRARY Standard C library (libc, -lc) SYNOPSIS #include <sys/syscall.h> /* Definition of SYS_* constants */ #include <unistd.h> int syscall(size_t size; SYS_lookup_dcookie, uint64_t cookie, char buffer[size], siz...
lookup_dir_entry(9)
NAME lookup_dir_entry - look up a dir in the tracefs filesystem SYNOPSIS struct dentry * lookup_dir_entry (struct dentry *dentry , struct eventfs_inode *pei , struct eventfs_inode *ei ); ARGUMENTS dentry the directory to look up pei Pointer to the parent eventfs_inode if available ei ...
lookup_fast(9)
NAME lookup_fast - do fast lockless (but racy) lookup of a dentry SYNOPSIS struct dentry * lookup_fast (struct nameidata *nd ); ARGUMENTS nd current nameidata DESCRIPTION Do a fast, but racy lookup in the dcache for the given dentry, and revalidate it. Returns a valid dentry pointer or NULL if one wasn't fo...
lookup_file(9)
NAME lookup_file - look up a file in the tracefs filesystem SYNOPSIS struct dentry * lookup_file (struct eventfs_inode *parent_ei , struct dentry *dentry , umode_t mode , struct eventfs_attr *attr , void *data , const struct file_operations *fop ); ARGUMENTS parent_ei Pointer to the eventfs_inode that represents pa...
lookup_file_dentry(9)
NAME lookup_file_dentry - create a dentry for a file of an eventfs_inode SYNOPSIS struct dentry * lookup_file_dentry (struct dentry *dentry , struct eventfs_inode *ei , int idx , umode_t mode , void *data , const struct file_operations *fops ); ARGUMENTS dentry The parent dentry under which the new file's dentry...
lookup_lease_in_table(9)
NAME lookup_lease_in_table - find a matching lease info object SYNOPSIS struct oplock_info * lookup_lease_in_table (struct ksmbd_conn *conn , char *lease_key ); ARGUMENTS conn connection instance lease_key lease key to be searched for RETURN opinfo if found matching opinfo, otherwise NULL SEE ALSO ...
lookup_level0_dirty(9)
NAME lookup_level0_dirty - search for zero-level znode dirtying. SYNOPSIS int lookup_level0_dirty (struct ubifs_info *c , const union ubifs_key *key , struct ubifs_znode **zn , int *n ); ARGUMENTS c UBIFS file-system description object key key to lookup zn znode is returned ...
lookup_memtype(9)
NAME lookup_memtype - Looks up the memory type for a physical address SYNOPSIS enum page_cache_mode lookup_memtype (u64 paddr ); ARGUMENTS paddr physical address of which memory type needs to be looked up DESCRIPTION Only to be called when PAT is enabled Returns _PAGE_CACHE_MODE_WB, _PAGE_CACHE_MODE_WC, _PAGE_...
lookup_metapath(9)
NAME lookup_metapath - Walk the metadata tree to a specific point SYNOPSIS int lookup_metapath (struct gfs2_inode *ip , struct metapath *mp ); ARGUMENTS ip The inode mp The metapath DESCRIPTION Assumes that the inode's buffer has already been looked up and hooked onto mp->mp_bh[0] and tha...
lookup_mnt(9)
NAME lookup_mnt - Return the child mount mounted at given location SYNOPSIS struct vfsmount * lookup_mnt (const struct path *path ); ARGUMENTS path location in the namespace DESCRIPTION Acquires and returns a new reference to mount at given location or NULL if nothing is mounted there. SEE ALSO Kernel file ...
lookup_noperm(9)
NAME lookup_noperm - filesystem helper to lookup single pathname component SYNOPSIS struct dentry * lookup_noperm (struct qstr *name , struct dentry *base ); ARGUMENTS name qstr storing pathname component to lookup base base directory to lookup from DESCRIPTION Note that this routine is purely ...
lookup_noperm_unlocked(9)
NAME lookup_noperm_unlocked - filesystem helper to lookup single pathname component SYNOPSIS struct dentry * lookup_noperm_unlocked (struct qstr *name , struct dentry *base ); ARGUMENTS name pathname component to lookup base base directory to lookup from DESCRIPTION Note that this routine is pu...
lookup_one(9)
NAME lookup_one - lookup single pathname component SYNOPSIS struct dentry * lookup_one (struct mnt_idmap *idmap , struct qstr *name , struct dentry *base ); ARGUMENTS idmap idmap of the mount the lookup is performed from name qstr holding pathname component to lookup base base dire...
lookup_one_positive_killable(9)
NAME lookup_one_positive_killable - lookup single pathname component SYNOPSIS struct dentry * lookup_one_positive_killable (struct mnt_idmap *idmap , struct qstr *name , struct dentry *base ); ARGUMENTS idmap idmap of the mount the lookup is performed from name qstr olding pathname component to l...
lookup_one_positive_unlocked(9)
NAME lookup_one_positive_unlocked - lookup single pathname component SYNOPSIS struct dentry * lookup_one_positive_unlocked (struct mnt_idmap *idmap , struct qstr *name , struct dentry *base ); ARGUMENTS idmap idmap of the mount the lookup is performed from name qstr holding pathname component to ...
lookup_one_unlocked(9)
NAME lookup_one_unlocked - lookup single pathname component SYNOPSIS struct dentry * lookup_one_unlocked (struct mnt_idmap *idmap , struct qstr *name , struct dentry *base ); ARGUMENTS idmap idmap of the mount the lookup is performed from name qstr olding pathname component to lookup base...
lookup_prev_stack_frame(9)
NAME lookup_prev_stack_frame - Find the stack frame of the previous function. SYNOPSIS int lookup_prev_stack_frame (unsigned long fp , unsigned long pc , unsigned long leaf_return , unsigned long *pprev_fp , unsigned long *pprev_pc ); ARGUMENTS fp Frame (stack) pointer for current function pc ...
lookup_resource(9)
NAME lookup_resource - find an existing resource by a resource start address SYNOPSIS struct resource * lookup_resource (struct resource *root , resource_size_t start ); ARGUMENTS root root resource descriptor start resource start address DESCRIPTION Returns a pointer to the resource if found, N...
lookup_signaled_event_by_partial_id(9)
NAME lookup_signaled_event_by_partial_id - Lookup signaled event from partial ID SYNOPSIS struct kfd_event * lookup_signaled_event_by_partial_id (struct kfd_process *p , uint32_t id , uint32_t bits ); ARGUMENTS p Pointer to struct kfd_process id ID to look up bits Number of v...
lookup_swap_cgroup_id(9)
NAME lookup_swap_cgroup_id - lookup mem_cgroup id tied to swap entry SYNOPSIS unsigned short lookup_swap_cgroup_id (swp_entry_t ent ); ARGUMENTS ent swap entry to be looked up. DESCRIPTION Returns ID of mem_cgroup at success. 0 at failure. (0 is invalid ID) SEE ALSO Kernel file ./mm/swap_cgroup.c swap_cgrou...
lookup_znode(9)
NAME lookup_znode - find a particular indexing node from TNC. SYNOPSIS struct ubifs_znode * lookup_znode (struct ubifs_info *c , union ubifs_key *key , int level , int lnum , int offs ); ARGUMENTS c UBIFS file-system description object key index node key to lookup level index n...
loop(4)
NAME loop, loop-control - loop devices SYNOPSIS #include <linux/loop.h> DESCRIPTION The loop device is a block device that maps its data blocks not to a physical device such as a hard disk or optical disk drive, but to the blocks of a regular file in a filesystem or to another block device. This can be useful for e...
loop-control(4)
NAME loop, loop-control - loop devices SYNOPSIS #include <linux/loop.h> DESCRIPTION The loop device is a block device that maps its data blocks not to a physical device such as a hard disk or optical disk drive, but to the blocks of a regular file in a filesystem or to another block device. This can be useful for e...
loop_global_lock_killable(9)
NAME loop_global_lock_killable - take locks for safe loop_validate_file() test SYNOPSIS int loop_global_lock_killable (struct loop_device *lo , bool global ); ARGUMENTS lo struct loop_device global true if lo is about to bind another "struct loop_device", false otherwise DESCRIPTION Returns 0 o...
loop_global_unlock(9)
NAME loop_global_unlock - release locks taken by loop_global_lock_killable() SYNOPSIS void loop_global_unlock (struct loop_device *lo , bool global ); ARGUMENTS lo struct loop_device global true if lo was about to bind another "struct loop_device", false otherwise SEE ALSO Kernel file ./drivers...
loop_set_size(9)
NAME loop_set_size - sets device size and notifies userspace SYNOPSIS void loop_set_size (struct loop_device *lo , loff_t size ); ARGUMENTS lo struct loop_device to set the size for size new size of the loop device DESCRIPTION Callers must validate that the size passed into this function fits...
loop_set_status_from_info(9)
NAME loop_set_status_from_info - configure device from loop_info SYNOPSIS int loop_set_status_from_info (struct loop_device *lo , const struct loop_info64 *info ); ARGUMENTS lo struct loop_device to configure info struct loop_info64 to configure the device with DESCRIPTION Configures the loop...
losetup(8)
NAME losetup - set up and control loop devices SYNOPSIS Get info: losetup [loopdev] losetup -l [-a] losetup -j file [-o offset] Detach a loop device: losetup -d loopdev ... Detach all associated loop devices: losetup -D Set up a loop device: loset...
lower_16_bits(9)
NAME lower_16_bits - return bits 0-15 of a number SYNOPSIS lower_16_bits (n ); ARGUMENTS n the number we're accessing SEE ALSO Kernel file ./tools/testing/selftests/powerpc/primitives/linux/wordpart.h upper_32_bits(9), lower_32_bits(9), upper_16_bits(9), REPEAT_BYTE(9), REPEAT_BYTE_U32(9) April 2026 ...
lower_32_bits(9)
NAME lower_32_bits - return bits 0-31 of a number SYNOPSIS lower_32_bits (n ); ARGUMENTS n the number we're accessing SEE ALSO Kernel file ./tools/testing/selftests/powerpc/primitives/linux/wordpart.h upper_32_bits(9), upper_16_bits(9), lower_16_bits(9), REPEAT_BYTE(9), REPEAT_BYTE_U32(9) April 2026 ...
lower_48_bits(9)
NAME lower_48_bits - return bits 0-47 of a number SYNOPSIS u64 lower_48_bits (u64 n ); ARGUMENTS n the number we're accessing SEE ALSO Kernel file ./include/linux/t10-pi.h April 2026 lower_48_bits ...
lowest_dent_key(9)
NAME lowest_dent_key - get the lowest possible directory entry key. SYNOPSIS void lowest_dent_key (const struct ubifs_info *c , union ubifs_key *key , ino_t inum ); ARGUMENTS c UBIFS file-system description object key where to store the lowest key inum parent inode number SEE...
lowest_ino_key(9)
NAME lowest_ino_key - get the lowest possible inode key. SYNOPSIS void lowest_ino_key (const struct ubifs_info *c , union ubifs_key *key , ino_t inum ); ARGUMENTS c UBIFS file-system description object key key to initialize inum inode number SEE ALSO Kernel file ./fs/ubifs/...
lowest_xent_key(9)
NAME lowest_xent_key - get the lowest possible extended attribute entry key. SYNOPSIS void lowest_xent_key (const struct ubifs_info *c , union ubifs_key *key , ino_t inum ); ARGUMENTS c UBIFS file-system description object key where to store the lowest key inum host inode numb...
lowpan_fetch_skb(9)
NAME lowpan_fetch_skb - getting inline data from 6LoWPAN header SYNOPSIS bool lowpan_fetch_skb (struct sk_buff *skb , void *data , unsigned int len ); ARGUMENTS skb the buffer where the inline data should be pulled from. data destination buffer for the inline data. len amount of...
lowpan_header_compress(9)
NAME lowpan_header_compress - replace IPv6 header with 6LoWPAN header SYNOPSIS int lowpan_header_compress (struct sk_buff *skb , const struct net_device *dev , const void *daddr , const void *saddr ); ARGUMENTS skb the buffer which should be manipulate. dev the lowpan net device pointer. ...
lowpan_header_decompress(9)
NAME lowpan_header_decompress - replace 6LoWPAN header with IPv6 header SYNOPSIS int lowpan_header_decompress (struct sk_buff *skb , const struct net_device *dev , const void *daddr , const void *saddr ); ARGUMENTS skb the buffer which should be manipulate. dev the lowpan net device pointer. ...
lowpan_nhc_add(9)
NAME lowpan_nhc_add - register a next header compression to framework SYNOPSIS int lowpan_nhc_add (const struct lowpan_nhc *nhc ); ARGUMENTS nhc nhc which should be add. SEE ALSO Kernel file ./net/6lowpan/nhc.h LOWPAN_NHC(9), struct lowpan_nhc(9), lowpan_nhc_by_nexthdr(9), lowpan_nhc_check_compression...
lowpan_nhc_by_nexthdr(9)
NAME lowpan_nhc_by_nexthdr - return the 6lowpan nhc by ipv6 nexthdr. SYNOPSIS struct lowpan_nhc * lowpan_nhc_by_nexthdr (u8 nexthdr ); ARGUMENTS nexthdr ipv6 nexthdr value. SEE ALSO Kernel file ./net/6lowpan/nhc.h LOWPAN_NHC(9), struct lowpan_nhc(9), lowpan_nhc_check_compression(9), lowpan_nhc_do_compression(9),...
lowpan_nhc_check_compression(9)
NAME lowpan_nhc_check_compression - checks if we support compression format. If we support the nhc by nexthdr field, the function will return 0. If we don't support the nhc by nexthdr this function will return -ENOENT. SYNOPSIS int lowpan_nhc_check_compression (struct sk_buff *skb , const struct ipv6hdr *hdr , u8 **hc...
lowpan_nhc_del(9)
NAME lowpan_nhc_del - delete a next header compression from framework SYNOPSIS void lowpan_nhc_del (const struct lowpan_nhc *nhc ); ARGUMENTS nhc nhc which should be delete. SEE ALSO Kernel file ./net/6lowpan/nhc.h LOWPAN_NHC(9), struct lowpan_nhc(9), lowpan_nhc_by_nexthdr(9), lowpan_nhc_check_compres...
lowpan_nhc_do_compression(9)
NAME lowpan_nhc_do_compression - calling compress callback for nhc SYNOPSIS int lowpan_nhc_do_compression (struct sk_buff *skb , const struct ipv6hdr *hdr , u8 **hc_ptr ); ARGUMENTS skb skb of 6LoWPAN header to read nhc and replace header. hdr ipv6hdr to set the nexthdr value hc_ptr ...
lowpan_nhc_do_uncompression(9)
NAME lowpan_nhc_do_uncompression - calling uncompress callback for nhc SYNOPSIS int lowpan_nhc_do_uncompression (struct sk_buff *skb , const struct net_device *dev , struct ipv6hdr *hdr ); ARGUMENTS skb skb of 6LoWPAN header, skb->data should be pointed to nhc id value. dev netdevice for print...
lowpan_nhc_init(9)
NAME lowpan_nhc_init - adding all default nhcs SYNOPSIS void lowpan_nhc_init (void ); ARGUMENTS void no arguments SEE ALSO Kernel file ./net/6lowpan/nhc.h LOWPAN_NHC(9), struct lowpan_nhc(9), lowpan_nhc_by_nexthdr(9), lowpan_nhc_check_compression(9), lowpan_nhc_do_compression(9), lowpan_nhc_do_uncompr...
lp(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 lp — send files to a printer SYNOPSIS lp [-c] [-d dest] [...
lp(4)
NAME lp - line printer devices SYNOPSIS #include <linux/lp.h> CONFIGURATION lp[0–2] are character devices for the parallel line printers; they have major number 6 and minor number 0–2. The minor numbers correspond to the printer port base addresses 0x03bc, 0x0378, and 0x0278. Usually they have mode 220 and are own...
lp3944_dim_set_dutycycle(9)
NAME lp3944_dim_set_dutycycle - Set the duty cycle for DIM status SYNOPSIS int lp3944_dim_set_dutycycle (struct i2c_client *client , u8 dim , u8 duty_cycle ); ARGUMENTS client the i2c client dim either LP3944_DIM0 or LP3944_DIM1 duty_cycle percentage of a period during which a led is ON ...
lp3944_dim_set_period(9)
NAME lp3944_dim_set_period - Set the period for DIM status SYNOPSIS int lp3944_dim_set_period (struct i2c_client *client , u8 dim , u16 period ); ARGUMENTS client the i2c client dim either LP3944_DIM0 or LP3944_DIM1 period period of a blink, that is a on/off cycle, expressed in ms. ...
lp3944_led_set(9)
NAME lp3944_led_set - Set the led status SYNOPSIS int lp3944_led_set (struct lp3944_led_data *led , u8 status ); ARGUMENTS led a lp3944_led_data structure status one of LP3944_LED_STATUS_OFF LP3944_LED_STATUS_ON LP3944_LED_STATUS_DIM0 LP3944_LED_STATUS_DIM1 SEE ALSO Kernel file ./drivers/leds/le...
lpfc_abort_handler(9)
NAME lpfc_abort_handler - scsi_host_template eh_abort_handler entry point SYNOPSIS int lpfc_abort_handler (struct scsi_cmnd *cmnd ); ARGUMENTS cmnd Pointer to scsi_cmnd data structure. DESCRIPTION This routine aborts cmnd pending in base driver. Return code : 0x2003 - Error 0x2002 - Success SEE ALSO Kernel ...
lpfc_adisc_done(9)
NAME lpfc_adisc_done - Complete the adisc phase of discovery SYNOPSIS void lpfc_adisc_done (struct lpfc_vport *vport ); ARGUMENTS vport pointer to lpfc_vport hba data structure that finished all ADISCs. DESCRIPTION This function is called when the final ADISC is completed during discovery. This function ha...
lpfc_adjust_high_watermark(9)
NAME lpfc_adjust_high_watermark - Adjust high watermark SYNOPSIS void lpfc_adjust_high_watermark (struct lpfc_hba *phba , u32 hwqid ); ARGUMENTS phba pointer to lpfc hba data structure. hwqid belong to which HWQ. DESCRIPTION This routine sets high watermark as number of outstanding XRIs, but mak...
lpfc_adjust_pvt_pool_count(9)
NAME lpfc_adjust_pvt_pool_count - Adjust private pool count SYNOPSIS void lpfc_adjust_pvt_pool_count (struct lpfc_hba *phba , u32 hwqid ); ARGUMENTS phba pointer to lpfc hba data structure. hwqid belong to which HWQ. DESCRIPTION This routine moves some XRIs from private to public pool when priva...
lpfc_aer_cleanup_state(9)
NAME lpfc_aer_cleanup_state - Clean up aer state to the aer enabled device SYNOPSIS ssize_t lpfc_aer_cleanup_state (struct device *dev , struct device_attribute *attr , const char *buf , size_t count ); ARGUMENTS dev class device that is converted into a Scsi_host. attr device attribute, not us...
lpfc_aer_support_store(9)
NAME lpfc_aer_support_store - Set the adapter for aer support SYNOPSIS ssize_t lpfc_aer_support_store (struct device *dev , struct device_attribute *attr , const char *buf , size_t count ); ARGUMENTS dev class device that is converted into a Scsi_host. attr device attribute, not used. b...
lpfc_alloc_fast_evt(9)
NAME lpfc_alloc_fast_evt - Allocates data structure for posting event SYNOPSIS struct lpfc_fast_path_event * lpfc_alloc_fast_evt (struct lpfc_hba *phba ); ARGUMENTS phba Pointer to hba context object. DESCRIPTION This function is called from the functions which need to post events from interrupt context. Th...
lpfc_alloc_sysfs_attr(9)
NAME lpfc_alloc_sysfs_attr - Creates the ctlreg and mbox entries SYNOPSIS int lpfc_alloc_sysfs_attr (struct lpfc_vport *vport ); ARGUMENTS vport address of lpfc vport structure. DESCRIPTION Return codes: zero on success error return code from sysfs_create_bin_file SEE ALSO Kernel file ./drivers/scsi/lpfc/lp...
lpfc_api_table_setup(9)
NAME lpfc_api_table_setup - Set up per hba pci-device group func api jump table SYNOPSIS int lpfc_api_table_setup (struct lpfc_hba *phba , uint8_t dev_grp ); ARGUMENTS phba pointer to lpfc hba data structure. dev_grp The HBA PCI-Device group number. DESCRIPTION This routine is invoked to set up th...
lpfc_async_link_speed_to_read_top(9)
NAME lpfc_async_link_speed_to_read_top - Parse async evt link speed code to read topology. SYNOPSIS uint8_t lpfc_async_link_speed_to_read_top (struct lpfc_hba *phba , uint8_t speed_code ); ARGUMENTS phba pointer to lpfc hba data structure. speed_code asynchronous event link speed code. DESCRIPTION Th...
lpfc_bg_err_inject(9)
NAME lpfc_bg_err_inject - Determine if we should inject an error SYNOPSIS int lpfc_bg_err_inject (struct lpfc_hba *phba , struct scsi_cmnd *sc , uint32_t *reftag , uint16_t *apptag , uint32_t new_guard ); ARGUMENTS phba The Hba for which this call is being executed. sc The SCSI command to exam...
lpfc_bg_err_opcodes(9)
NAME lpfc_bg_err_opcodes - reDetermine the BlockGuard opcodes to be used with the specified SCSI command in order to force a guard tag error. SYNOPSIS int lpfc_bg_err_opcodes (struct lpfc_hba *phba , struct scsi_cmnd *sc , uint8_t *txop , uint8_t *rxop ); ARGUMENTS phba The Hba for which this call is being exe...
lpfc_bg_scsi_adjust_dl(9)
NAME lpfc_bg_scsi_adjust_dl - Adjust SCSI data length for BlockGuard SYNOPSIS int lpfc_bg_scsi_adjust_dl (struct lpfc_hba *phba , struct lpfc_io_buf *lpfc_cmd ); ARGUMENTS phba The Hba for which this call is being executed. lpfc_cmd The scsi buffer which is going to be adjusted. DESCRIPTION Adjust ...
lpfc_bg_scsi_prep_dma_buf(9)
NAME lpfc_bg_scsi_prep_dma_buf - Wrapper function for DMA mapping of scsi buffer using BlockGuard. SYNOPSIS int lpfc_bg_scsi_prep_dma_buf (struct lpfc_hba *phba , struct lpfc_io_buf *lpfc_cmd ); ARGUMENTS phba The Hba for which this call is being executed. lpfc_cmd The scsi buffer which is going to ...
lpfc_bg_scsi_prep_dma_buf_s3(9)
NAME lpfc_bg_scsi_prep_dma_buf_s3 - DMA mapping for scsi buffer to SLI3 IF spec SYNOPSIS int lpfc_bg_scsi_prep_dma_buf_s3 (struct lpfc_hba *phba , struct lpfc_io_buf *lpfc_cmd ); ARGUMENTS phba The Hba for which this call is being executed. lpfc_cmd The scsi buffer which is going to be prep'ed. DES...
lpfc_bg_scsi_prep_dma_buf_s4(9)
NAME lpfc_bg_scsi_prep_dma_buf_s4 - DMA mapping for scsi buffer to SLI4 IF spec SYNOPSIS int lpfc_bg_scsi_prep_dma_buf_s4 (struct lpfc_hba *phba , struct lpfc_io_buf *lpfc_cmd ); ARGUMENTS phba The Hba for which this call is being executed. lpfc_cmd The scsi buffer which is going to be mapped. DESC...
lpfc_bg_setup_bpl(9)
NAME lpfc_bg_setup_bpl - Setup BlockGuard BPL with no protection data SYNOPSIS int lpfc_bg_setup_bpl (struct lpfc_hba *phba , struct scsi_cmnd *sc , struct ulp_bde64 *bpl , int datasegcnt ); ARGUMENTS phba The Hba for which this call is being executed. sc pointer to scsi command we're working ...
lpfc_bg_setup_bpl_prot(9)
NAME lpfc_bg_setup_bpl_prot - Setup BlockGuard BPL with protection data SYNOPSIS int lpfc_bg_setup_bpl_prot (struct lpfc_hba *phba , struct scsi_cmnd *sc , struct ulp_bde64 *bpl , int datacnt , int protcnt ); ARGUMENTS phba The Hba for which this call is being executed. sc pointer to scsi comm...
lpfc_bg_setup_sgl(9)
NAME lpfc_bg_setup_sgl - Setup BlockGuard SGL with no protection data SYNOPSIS uint32_t lpfc_bg_setup_sgl (struct lpfc_hba *phba , struct scsi_cmnd *sc , struct sli4_sge *sgl , int datasegcnt , struct lpfc_io_buf *lpfc_cmd ); ARGUMENTS phba The Hba for which this call is being executed. sc poi...
lpfc_bg_setup_sgl_prot(9)
NAME lpfc_bg_setup_sgl_prot - Setup BlockGuard SGL with protection data SYNOPSIS uint32_t lpfc_bg_setup_sgl_prot (struct lpfc_hba *phba , struct scsi_cmnd *sc , struct sli4_sge *sgl , int datacnt , int protcnt , struct lpfc_io_buf *lpfc_cmd ); ARGUMENTS phba The Hba for which this call is being executed. ...
lpfc_block_fabric_iocbs(9)
NAME lpfc_block_fabric_iocbs - Block issuing fabric iocb command SYNOPSIS void lpfc_block_fabric_iocbs (struct lpfc_hba *phba ); ARGUMENTS phba pointer to lpfc hba data structure. DESCRIPTION This routine blocks the issuing fabric iocb for a specified amount of time (currently 100 ms). This is done by set th...
lpfc_block_mgmt_io(9)
NAME lpfc_block_mgmt_io - Mark a HBA's management interface as blocked SYNOPSIS void lpfc_block_mgmt_io (struct lpfc_hba *phba , int mbx_action ); ARGUMENTS phba pointer to lpfc hba data structure. mbx_action flag for mailbox no wait action. DESCRIPTION This routine marks a HBA's management interfa...
lpfc_block_requests(9)
NAME lpfc_block_requests - prevent further commands from being queued. SYNOPSIS void lpfc_block_requests (struct lpfc_hba *phba ); ARGUMENTS phba pointer to phba object DESCRIPTION For single vport, just call scsi_block_requests on physical port. For multiple vports, send scsi_block_requests for all the vpor...
lpfc_board_mode_show(9)
NAME lpfc_board_mode_show - Return the state of the board SYNOPSIS ssize_t lpfc_board_mode_show (struct device *dev , struct device_attribute *attr , char *buf ); ARGUMENTS dev class device that is converted into a Scsi_host. attr device attribute, not used. buf on return contai...
lpfc_board_mode_store(9)
NAME lpfc_board_mode_store - Puts the hba in online, offline, warm or error state SYNOPSIS ssize_t lpfc_board_mode_store (struct device *dev , struct device_attribute *attr , const char *buf , size_t count ); ARGUMENTS dev class device that is converted into a Scsi_host. attr device attribute, ...
lpfc_bsg_check_cmd_access(9)
NAME lpfc_bsg_check_cmd_access - test for a supported mailbox command SYNOPSIS int lpfc_bsg_check_cmd_access (struct lpfc_hba *phba , MAILBOX_t *mb , struct lpfc_vport *vport ); ARGUMENTS phba Pointer to HBA context object. mb Pointer to a mailbox object. vport Pointer to a vport...
lpfc_bsg_ct_unsol_abort(9)
NAME lpfc_bsg_ct_unsol_abort - handler ct abort to management plane SYNOPSIS int lpfc_bsg_ct_unsol_abort (struct lpfc_hba *phba , struct hbq_dmabuf *dmabuf ); ARGUMENTS phba Pointer to HBA context object. dmabuf pointer to a dmabuf that describes the FC sequence DESCRIPTION This function handle...
lpfc_bsg_diag_loopback_mode(9)
NAME lpfc_bsg_diag_loopback_mode - bsg vendor command for diag loopback mode SYNOPSIS int lpfc_bsg_diag_loopback_mode (struct bsg_job *job ); ARGUMENTS job LPFC_BSG_VENDOR_DIAG_MODE DESCRIPTION This function is responsible for responding to check and dispatch bsg diag command from the user to proper driver a...
lpfc_bsg_diag_loopback_run(9)
NAME lpfc_bsg_diag_loopback_run - run loopback on a port by issue ct cmd to itself SYNOPSIS int lpfc_bsg_diag_loopback_run (struct bsg_job *job ); ARGUMENTS job LPFC_BSG_VENDOR_DIAG_TEST fc_bsg_job DESCRIPTION This function receives a user data buffer to be transmitted and received on the same port, the li...
lpfc_bsg_diag_mode_enter(9)
NAME lpfc_bsg_diag_mode_enter - process preparing into device diag loopback mode SYNOPSIS int lpfc_bsg_diag_mode_enter (struct lpfc_hba *phba ); ARGUMENTS phba Pointer to HBA context object. DESCRIPTION This function is responsible for preparing driver for diag loopback on device. SEE ALSO Kernel file ./dr...
lpfc_bsg_diag_mode_exit(9)
NAME lpfc_bsg_diag_mode_exit - exit process from device diag loopback mode SYNOPSIS void lpfc_bsg_diag_mode_exit (struct lpfc_hba *phba ); ARGUMENTS phba Pointer to HBA context object. DESCRIPTION This function is responsible for driver exit processing of setting up diag loopback mode on device. SEE ALSO Ker...
lpfc_bsg_dma_page_alloc(9)
NAME lpfc_bsg_dma_page_alloc - allocate a bsg mbox page sized dma buffers SYNOPSIS struct lpfc_dmabuf * lpfc_bsg_dma_page_alloc (struct lpfc_hba *phba ); ARGUMENTS phba Pointer to HBA context object DESCRIPTION This function allocates BSG_MBOX_SIZE (4KB) page size dma buffer and returns the pointer to the buf...
lpfc_bsg_dma_page_free(9)
NAME lpfc_bsg_dma_page_free - free a bsg mbox page sized dma buffer SYNOPSIS void lpfc_bsg_dma_page_free (struct lpfc_hba *phba , struct lpfc_dmabuf *dmabuf ); ARGUMENTS phba Pointer to HBA context object. dmabuf Pointer to the bsg mbox page sized dma buffer descriptor. DESCRIPTION This routine j...
lpfc_bsg_dma_page_list_free(9)
NAME lpfc_bsg_dma_page_list_free - free a list of bsg mbox page sized dma buffers SYNOPSIS void lpfc_bsg_dma_page_list_free (struct lpfc_hba *phba , struct list_head *dmabuf_list ); ARGUMENTS phba Pointer to HBA context object. dmabuf_list Pointer to a list of bsg mbox page sized dma buffer descs. DES...
lpfc_bsg_event_free(9)
NAME lpfc_bsg_event_free - frees an allocated event structure SYNOPSIS void lpfc_bsg_event_free (struct kref *kref ); ARGUMENTS kref Pointer to a kref. DESCRIPTION Called from kref_put. Back cast the kref into an event structure address. Free any events to get, delete associated nodes, free any events to see...
lpfc_bsg_event_new(9)
NAME lpfc_bsg_event_new - allocate and initialize a event structure SYNOPSIS struct lpfc_bsg_event * lpfc_bsg_event_new (uint32_t ev_mask , int ev_reg_id , uint32_t ev_req_id ); ARGUMENTS ev_mask Mask of events. ev_reg_id Event reg id. ev_req_id Event request id. SEE ALSO Kernel file ./driv...
lpfc_bsg_event_ref(9)
NAME lpfc_bsg_event_ref - increments the kref for an event SYNOPSIS void lpfc_bsg_event_ref (struct lpfc_bsg_event *evt ); ARGUMENTS evt Pointer to an event structure. SEE ALSO Kernel file ./drivers/scsi/lpfc/lpfc_bsg.c lpfc_bsg_send_mgmt_cmd_cmp(9), lpfc_bsg_send_mgmt_cmd(9), lpfc_bsg_rport_e...
lpfc_bsg_event_unref(9)
NAME lpfc_bsg_event_unref - Uses kref_put to free an event structure SYNOPSIS void lpfc_bsg_event_unref (struct lpfc_bsg_event *evt ); ARGUMENTS evt Pointer to an event structure. SEE ALSO Kernel file ./drivers/scsi/lpfc/lpfc_bsg.c lpfc_bsg_send_mgmt_cmd_cmp(9), lpfc_bsg_send_mgmt_cmd(9), lpfc_bsg_rport_els...
lpfc_bsg_get_dfc_rev(9)
NAME lpfc_bsg_get_dfc_rev - process a GET_DFC_REV bsg vendor command SYNOPSIS int lpfc_bsg_get_dfc_rev (struct bsg_job *job ); ARGUMENTS job GET_DFC_REV fc_bsg_job SEE ALSO Kernel file ./drivers/scsi/lpfc/lpfc_bsg.c lpfc_bsg_send_mgmt_cmd_cmp(9), lpfc_bsg_send_mgmt_cmd(9), lpfc_bsg_rport_els_cmp(9), lpf...
lpfc_bsg_get_ras_config(9)
NAME lpfc_bsg_get_ras_config - Get RAS configuration settings SYNOPSIS int lpfc_bsg_get_ras_config (struct bsg_job *job ); ARGUMENTS job fc_bsg_job to handle DESCRIPTION Get RAS configuration values set. SEE ALSO Kernel file ./drivers/scsi/lpfc/lpfc_bsg.c lpfc_bsg_send_mgmt_cmd_cmp(9), lpfc_bsg_send_mgm...
lpfc_bsg_get_ras_fwlog(9)
NAME lpfc_bsg_get_ras_fwlog - Read FW log SYNOPSIS int lpfc_bsg_get_ras_fwlog (struct bsg_job *job ); ARGUMENTS job fc_bsg_job to handle DESCRIPTION Copy the FW log into the passed buffer. SEE ALSO Kernel file ./drivers/scsi/lpfc/lpfc_bsg.c lpfc_bsg_send_mgmt_cmd_cmp(9), lpfc_bsg_send_mgmt_cmd(9), lpfc...
lpfc_bsg_get_ras_lwpd(9)
NAME lpfc_bsg_get_ras_lwpd - Get log write position data SYNOPSIS int lpfc_bsg_get_ras_lwpd (struct bsg_job *job ); ARGUMENTS job fc_bsg_job to handle DESCRIPTION Get Offset/Wrap count of the log message written in host memory SEE ALSO Kernel file ./drivers/scsi/lpfc/lpfc_bsg.c lpfc_bsg_send_mgmt_cmd_cmp...
lpfc_bsg_handle_sli_cfg_ebuf(9)
NAME lpfc_bsg_handle_sli_cfg_ebuf - handle ext buffer with sli-cfg mailbox cmd SYNOPSIS int lpfc_bsg_handle_sli_cfg_ebuf (struct lpfc_hba *phba , struct bsg_job *job , struct lpfc_dmabuf *dmabuf ); ARGUMENTS phba Pointer to HBA context object. job Pointer to the job object. dmabuf ...
lpfc_bsg_handle_sli_cfg_ext(9)
NAME lpfc_bsg_handle_sli_cfg_ext - handle sli-cfg mailbox with external buffer SYNOPSIS int lpfc_bsg_handle_sli_cfg_ext (struct lpfc_hba *phba , struct bsg_job *job , struct lpfc_dmabuf *dmabuf ); ARGUMENTS phba Pointer to HBA context object. job Pointer to the job object. dmabuf P...
lpfc_bsg_handle_sli_cfg_mbox(9)
NAME lpfc_bsg_handle_sli_cfg_mbox - handle sli-cfg mailbox cmd with ext buffer SYNOPSIS int lpfc_bsg_handle_sli_cfg_mbox (struct lpfc_hba *phba , struct bsg_job *job , struct lpfc_dmabuf *dmabuf ); ARGUMENTS phba Pointer to HBA context object. job Pointer to the job object. dmabuf ...
lpfc_bsg_hba_get_event(9)
NAME lpfc_bsg_hba_get_event - process a GET_EVENT bsg vendor command SYNOPSIS int lpfc_bsg_hba_get_event (struct bsg_job *job ); ARGUMENTS job GET_EVENT fc_bsg_job SEE ALSO Kernel file ./drivers/scsi/lpfc/lpfc_bsg.c lpfc_bsg_send_mgmt_cmd_cmp(9), lpfc_bsg_send_mgmt_cmd(9), lpfc_bsg_rport_els_cmp(9), lpf...
lpfc_bsg_hba_set_event(9)
NAME lpfc_bsg_hba_set_event - process a SET_EVENT bsg vendor command SYNOPSIS int lpfc_bsg_hba_set_event (struct bsg_job *job ); ARGUMENTS job SET_EVENT fc_bsg_job SEE ALSO Kernel file ./drivers/scsi/lpfc/lpfc_bsg.c lpfc_bsg_send_mgmt_cmd_cmp(9), lpfc_bsg_send_mgmt_cmd(9), lpfc_bsg_rport_els_cmp(9), lpf...
lpfc_bsg_hst_vendor(9)
NAME lpfc_bsg_hst_vendor - process a vendor-specific fc_bsg_job SYNOPSIS int lpfc_bsg_hst_vendor (struct bsg_job *job ); ARGUMENTS job fc_bsg_job to handle SEE ALSO Kernel file ./drivers/scsi/lpfc/lpfc_bsg.c lpfc_bsg_send_mgmt_cmd_cmp(9), lpfc_bsg_send_mgmt_cmd(9), lpfc_bsg_rport_els_cmp(9), lpfc_bsg_rp...
lpfc_bsg_issue_mbox(9)
NAME lpfc_bsg_issue_mbox - issues a mailbox command on behalf of an app SYNOPSIS int lpfc_bsg_issue_mbox (struct lpfc_hba *phba , struct bsg_job *job , struct lpfc_vport *vport ); ARGUMENTS phba Pointer to HBA context object. job Pointer to the job object. vport Pointer to a vport...