id
stringlengths
4
63
text
stringlengths
153
8.81M
blkdev_issue_flush(9)
NAME blkdev_issue_flush - queue a flush SYNOPSIS int blkdev_issue_flush (struct block_device *bdev ); ARGUMENTS bdev blockdev to issue flush for DESCRIPTION Issue a flush for the block device in question. SEE ALSO Kernel file ./block/blk-flush.c blk_flush_complete_seq(9), blk_kick_flush(9) April 2026 ...
blkdev_issue_zeroout(9)
NAME blkdev_issue_zeroout - zero-fill a block range SYNOPSIS int blkdev_issue_zeroout (struct block_device *bdev , sector_t sector , sector_t nr_sects , gfp_t gfp_mask , unsigned flags ); ARGUMENTS bdev blockdev to write sector start sector nr_sects number of sectors to write gf...
blkdev_report_zones(9)
NAME blkdev_report_zones - Get zones information SYNOPSIS int blkdev_report_zones (struct block_device *bdev , sector_t sector , unsigned int nr_zones , report_zones_cb cb , void *data ); ARGUMENTS bdev Target block device sector Sector from which to report zones nr_zones Maximum number...
blkdev_report_zones_cached(9)
NAME blkdev_report_zones_cached - Get cached zones information SYNOPSIS int blkdev_report_zones_cached (struct block_device *bdev , sector_t sector , unsigned int nr_zones , report_zones_cb cb , void *data ); ARGUMENTS bdev Target block device sector Sector from which to report zones nr_zo...
blkdev_zone_mgmt(9)
NAME blkdev_zone_mgmt - Execute a zone management operation on a range of zones SYNOPSIS int blkdev_zone_mgmt (struct block_device *bdev , enum req_op op , sector_t sector , sector_t nr_sectors ); ARGUMENTS bdev Target block device op Operation to be performed on the zones sector ...
blkdiscard(8)
NAME blkdiscard - discard sectors on a device SYNOPSIS blkdiscard [options] [-o offset] [-l length] device DESCRIPTION blkdiscard is used to discard device sectors. This is useful for solid-state drives (SSDs) and thinly-provisioned storage. Unlike fstrim(8), this command is used directly on the block device. ...
blkg_alloc(9)
NAME blkg_alloc - allocate a blkg SYNOPSIS struct blkcg_gq * blkg_alloc (struct blkcg *blkcg , struct gendisk *disk , gfp_t gfp_mask ); ARGUMENTS blkcg block cgroup the new blkg is associated with disk gendisk the new blkg is associated with gfp_mask allocation mask to use DESCRIPTION...
blkg_conf_exit(9)
NAME blkg_conf_exit - clean up per-blkg config update SYNOPSIS void blkg_conf_exit (struct blkg_conf_ctx *ctx ); ARGUMENTS ctx blkg_conf_ctx initialized with blkg_conf_init DESCRIPTION Clean up after per-blkg config update. This function must be called on all blkg_conf_ctx's initialized with blkg_conf_init. ...
blkg_conf_init(9)
NAME blkg_conf_init - initialize a blkg_conf_ctx SYNOPSIS void blkg_conf_init (struct blkg_conf_ctx *ctx , char *input ); ARGUMENTS ctx blkg_conf_ctx to initialize input input string DESCRIPTION Initialize ctx which can be used to parse blkg config input string input. Once initialized, ctx can...
blkg_conf_open_bdev(9)
NAME blkg_conf_open_bdev - parse and open bdev for per-blkg config update SYNOPSIS int blkg_conf_open_bdev (struct blkg_conf_ctx *ctx ); ARGUMENTS ctx blkg_conf_ctx initialized with blkg_conf_init DESCRIPTION Parse the device node prefix part, MAJ:MIN, of per-blkg config update from ctx->input and get and ...
blkg_conf_prep(9)
NAME blkg_conf_prep - parse and prepare for per-blkg config update SYNOPSIS int blkg_conf_prep (struct blkcg *blkcg , const struct blkcg_policy *pol , struct blkg_conf_ctx *ctx ); ARGUMENTS blkcg target block cgroup pol target policy ctx blkg_conf_ctx initialized with blkg_conf_i...
blkg_for_each_descendant_post(9)
NAME blkg_for_each_descendant_post - post-order walk of a blkg's descendants SYNOPSIS blkg_for_each_descendant_post (d_blkg , pos_css , p_blkg ); ARGUMENTS d_blkg loop cursor pointing to the current descendant pos_css used for iteration p_blkg target blkg to walk descendants of DESCRIPT...
blkg_for_each_descendant_pre(9)
NAME blkg_for_each_descendant_pre - pre-order walk of a blkg's descendants SYNOPSIS blkg_for_each_descendant_pre (d_blkg , pos_css , p_blkg ); ARGUMENTS d_blkg loop cursor pointing to the current descendant pos_css used for iteration p_blkg target blkg to walk descendants of DESCRIPTION...
blkg_free(9)
NAME blkg_free - free a blkg SYNOPSIS void blkg_free (struct blkcg_gq *blkg ); ARGUMENTS blkg blkg to free DESCRIPTION Free blkg which may be partially allocated. SEE ALSO Kernel file ./block/blk-cgroup.c blkcg_css(9), bio_blkcg_css(9), blkcg_parent(9), blkg_alloc(9), blkg_lookup_create(9), blkcg...
blkg_get(9)
NAME blkg_get - get a blkg reference SYNOPSIS void blkg_get (struct blkcg_gq *blkg ); ARGUMENTS blkg blkg to get DESCRIPTION The caller should be holding an existing reference. SEE ALSO Kernel file ./block/blk-cgroup.h bio_issue_as_root_blkg(9), blkg_lookup(9), blkg_to_pd(9), pd_to_blkg(9), blkg_tryget(9), b...
blkg_lookup(9)
NAME blkg_lookup - lookup blkg for the specified blkcg - q pair SYNOPSIS struct blkcg_gq * blkg_lookup (struct blkcg *blkcg , struct request_queue *q ); ARGUMENTS blkcg blkcg of interest q request_queue of interest DESCRIPTION Lookup blkg for the blkcg - q pair. Must be called in a RCU criti...
blkg_lookup_create(9)
NAME blkg_lookup_create - lookup blkg, try to create one if not there SYNOPSIS struct blkcg_gq * blkg_lookup_create (struct blkcg *blkcg , struct gendisk *disk ); ARGUMENTS blkcg blkcg of interest disk gendisk of interest DESCRIPTION Lookup blkg for the blkcg - disk pair. If it doesn't exist,...
blkg_prfill_rwstat(9)
NAME blkg_prfill_rwstat - prfill callback for blkg_rwstat SYNOPSIS u64 blkg_prfill_rwstat (struct seq_file *sf , struct blkg_policy_data *pd , int off ); ARGUMENTS sf seq_file to print to pd policy private data of interest off offset to the blkg_rwstat in pd DESCRIPTION prfi...
blkg_prfill_stat(9)
NAME blkg_prfill_stat - prfill callback for bfq_stat SYNOPSIS u64 blkg_prfill_stat (struct seq_file *sf , struct blkg_policy_data *pd , int off ); ARGUMENTS sf seq_file to print to pd policy private data of interest off offset to the bfq_stat in pd DESCRIPTION prfill callbac...
blkg_put(9)
NAME blkg_put - put a blkg reference SYNOPSIS void blkg_put (struct blkcg_gq *blkg ); ARGUMENTS blkg blkg to put SEE ALSO Kernel file ./block/blk-cgroup.h bio_issue_as_root_blkg(9), blkg_lookup(9), blkg_to_pd(9), pd_to_blkg(9), blkg_get(9), blkg_tryget(9), blkg_for_each_descendant_pre(9), blkg_for_each_descen...
blkg_rwstat_add(9)
NAME blkg_rwstat_add - add a value to a blkg_rwstat SYNOPSIS void blkg_rwstat_add (struct blkg_rwstat *rwstat , blk_opf_t opf , uint64_t val ); ARGUMENTS rwstat target blkg_rwstat opf REQ_OP and flags val value to add DESCRIPTION Add val to rwstat. The counters are chosen accord...
blkg_rwstat_add_aux(9)
NAME blkg_rwstat_add_aux - add a blkg_rwstat into another's aux count SYNOPSIS void blkg_rwstat_add_aux (struct blkg_rwstat *to , struct blkg_rwstat *from ); ARGUMENTS to the destination blkg_rwstat from the source DESCRIPTION Add from's count including the aux one to to's aux count. SEE ALS...
blkg_rwstat_read(9)
NAME blkg_rwstat_read - read the current values of a blkg_rwstat SYNOPSIS void blkg_rwstat_read (struct blkg_rwstat *rwstat , struct blkg_rwstat_sample *result ); ARGUMENTS rwstat blkg_rwstat to read result where to put the current values DESCRIPTION Read the current snapshot of rwstat and return i...
blkg_rwstat_recursive_sum(9)
NAME blkg_rwstat_recursive_sum - collect hierarchical blkg_rwstat SYNOPSIS void blkg_rwstat_recursive_sum (struct blkcg_gq *blkg , struct blkcg_policy *pol , int off , struct blkg_rwstat_sample *sum ); ARGUMENTS blkg blkg of interest pol blkcg_policy which contains the blkg_rwstat off ...
blkg_rwstat_reset(9)
NAME blkg_rwstat_reset - reset a blkg_rwstat SYNOPSIS void blkg_rwstat_reset (struct blkg_rwstat *rwstat ); ARGUMENTS rwstat blkg_rwstat to reset SEE ALSO Kernel file ./block/blk-cgroup-rwstat.h blkg_rwstat_add(9), blkg_rwstat_read(9), blkg_rwstat_total(9), blkg_rwstat_add_aux(9) April 2026 ...
blkg_rwstat_total(9)
NAME blkg_rwstat_total - read the total count of a blkg_rwstat SYNOPSIS uint64_t blkg_rwstat_total (struct blkg_rwstat *rwstat ); ARGUMENTS rwstat blkg_rwstat to read DESCRIPTION Return the total count of rwstat regardless of the IO direction. This function can be called without synchronization and takes care ...
blkg_to_pd(9)
NAME blkg_to_pd - get policy private data SYNOPSIS struct blkg_policy_data * blkg_to_pd (struct blkcg_gq *blkg , struct blkcg_policy *pol ); ARGUMENTS blkg blkg of interest pol policy of interest DESCRIPTION Return pointer to private data associated with the blkg-pol pair. SEE ALSO Kernel fi...
blkg_tryget(9)
NAME blkg_tryget - try and get a blkg reference SYNOPSIS bool blkg_tryget (struct blkcg_gq *blkg ); ARGUMENTS blkg blkg to get DESCRIPTION This is for use when doing an RCU lookup of the blkg. We may be in the midst of freeing this blkg, so we can only use it if the refcnt is not zero. SEE ALSO Kernel file...
blkg_tryget_closest(9)
NAME blkg_tryget_closest - try and get a blkg ref on the closet blkg SYNOPSIS struct blkcg_gq * blkg_tryget_closest (struct bio *bio , struct cgroup_subsys_state *css ); ARGUMENTS bio target bio css target css DESCRIPTION As the failure mode here is to walk up the blkg tree, this ensure that ...
blkid(8)
NAME blkid - locate/print block device attributes SYNOPSIS blkid --label label | --uuid uuid blkid [--no-encoding --garbage-collect --list-one --cache-file file] [--output format] [--match-tag tag] [--match-token NAME=value] [device...] blkid --probe [--offset offset] [--output format] [--size size] [-...
blkiolatency_enable_work_fn(9)
NAME blkiolatency_enable_work_fn - Enable or disable iolatency on the device SYNOPSIS void blkiolatency_enable_work_fn (struct work_struct *work ); ARGUMENTS work enable_work of the blk_iolatency of interest DESCRIPTION iolatency needs to keep track of the number of in-flight IOs per cgroup. This is relativel...
blkpr(8)
NAME blkpr - run a persistent-reservations command on a device SYNOPSIS blkpr [options] device DESCRIPTION blkpr is used to run a persistent-reservations command on a device that supports the Persistent Reservations feature. The device argument is the pathname of the block device. OPTIONS -c, --command comma...
blksize_t(3type)
NAME blksize_t - file block sizes LIBRARY Standard C library (libc) SYNOPSIS #include <sys/types.h> typedef /* ... */ blksize_t; DESCRIPTION Used for file block sizes. It is a signed integer type. STANDARDS POSIX.1-2024. HISTORY POSIX.1-2001. NOTES The following header also provides this type: <sys/stat....
blkzone(8)
NAME blkzone - run zone command on a device SYNOPSIS blkzone command [options] device DESCRIPTION blkzone is used to run zone command on device that support the Zoned Block Commands (ZBC) or Zoned-device ATA Commands (ZAC). The zones to operate on can be specified using the offset, count and length options. T...
block_dirty_folio(9)
NAME block_dirty_folio - Mark a folio as dirty. SYNOPSIS bool block_dirty_folio (struct address_space *mapping , struct folio *folio ); ARGUMENTS mapping The address space containing this folio. folio The folio to mark dirty. DESCRIPTION Filesystems which use buffer_heads can use this function a...
block_invalidate_folio(9)
NAME block_invalidate_folio - Invalidate part or all of a buffer-backed folio. SYNOPSIS void block_invalidate_folio (struct folio *folio , size_t offset , size_t length ); ARGUMENTS folio The folio which is affected. offset start of the range to invalidate length length of the range to...
block_is_full(9)
NAME block_is_full - Check whether a journal block is full. SYNOPSIS bool block_is_full (struct slab_journal *journal ); ARGUMENTS journal The slab journal for the block. RETURN True if the tail block is full. SEE ALSO Kernel file ./drivers/md/dm-vdo/slab-depot.c get_lock(9), must_make_entries_to_flush(9), ...
block_range__create(9)
NAME block_range__create - SYNOPSIS struct block_range_iter block_range__create (u64 start , u64 end ); ARGUMENTS start branch target starting this basic block end branch ending this basic block DESCRIPTION Create all the required block ranges to precisely span the given range. SEE ALSO Kernel...
blockdev(8)
NAME blockdev - call block device ioctls from the command line SYNOPSIS blockdev [-q] [-v] command [command...] device [device...] blockdev --report [device...] blockdev -h|-V DESCRIPTION The utility blockdev allows one to call block device ioctls from the command line. OPTIONS -q Be quiet. -...
blocking_notifier_call_chain(9)
NAME blocking_notifier_call_chain - Call functions in a blocking notifier chain SYNOPSIS int blocking_notifier_call_chain (struct blocking_notifier_head *nh , unsigned long val , void *v ); ARGUMENTS nh Pointer to head of the blocking notifier chain val Value passed unmodified to notifier fun...
blocking_notifier_chain_register(9)
NAME blocking_notifier_chain_register - Add notifier to a blocking notifier chain SYNOPSIS int blocking_notifier_chain_register (struct blocking_notifier_head *nh , struct notifier_block *n ); ARGUMENTS nh Pointer to head of the blocking notifier chain n New entry in notifier chain DESCRIP...
blocking_notifier_chain_register_unique_prio(9)
NAME blocking_notifier_chain_register_unique_prio - Add notifier to a blocking notifier chain SYNOPSIS int blocking_notifier_chain_register_unique_prio (struct blocking_notifier_head *nh , struct notifier_block *n ); ARGUMENTS nh Pointer to head of the blocking notifier chain n New entry in...
blocking_notifier_chain_unregister(9)
NAME blocking_notifier_chain_unregister - Remove notifier from a blocking notifier chain SYNOPSIS int blocking_notifier_chain_unregister (struct blocking_notifier_head *nh , struct notifier_block *n ); ARGUMENTS nh Pointer to head of the blocking notifier chain n Entry to remove from notifi...
bltbit_wait_bitclear(9)
NAME bltbit_wait_bitclear - waits for change in register value SYNOPSIS u8 bltbit_wait_bitclear (struct fb_info *info , u8 bit , int timeout ); ARGUMENTS info frambuffer structure bit value currently in register timeout ... DESCRIPTION waits until value changes FROM bit SEE ALSO K...
bluetooth-meshd(8)
NAME bluetooth-meshd - Bluetooth Mesh daemon SYNOPSIS bluetooth-meshd [options ...] DESCRIPTION Daemon for managing Bluetooth Mesh connections on Linux. OPTIONS -h, --help Print bluetooth-meshd options and exit. -n, --nodetach Enable logging in foreground. Directs log output to the controlling ...
bluetoothctl(1)
NAME bluetoothctl - Bluetooth Control Command Line Tool SYNOPSIS bluetoothctl [-a capability] [-e] [-m] [-t seconds] [-v] [-h] DESCRIPTION bluetoothctl(1) interactive bluetooth control tool. The tool works with Bluetooth Classic (BR/EDR) and Bluetooth Low Energy (LE) controllers. The tool is menu driven but c...
bluetoothctl-admin(1)
NAME bluetoothctl-admin - Admin Policy Submenu SYNOPSIS bluetoothctl [--options] [admin.commands] ADMIN POLICY COMMANDS allow Allow service UUIDs and block rest of them. Usage > allow [clear/uuid1 uuid2 ...] Example > allow 0x1101 0x1102 0x1103 Example > allow clea...
bluetoothctl-advertise(1)
NAME bluetoothctl-advertise - Advertise Submenu SYNOPSIS bluetoothctl [--options] [advertise.commands] ADVERTISE OPTIONS COMMANDS uuids Set/Get advertise uuids. Usage > uuids [all/uuid1 uuid2 ...] Example > uuids 0x1234 Example > uuids 0x12345678 Example ...
bluetoothctl-assistant(1)
NAME bluetoothctl-assistant - Assistant Submenu SYNOPSIS bluetoothctl [--options] [assistant.commands] ASSISTANT COMMANDS list List available assistants. Usage > list show Show assistant information. Usage > show [assistant] push Send stream information to peer. This co...
bluetoothctl-endpoint(1)
NAME bluetoothctl-endpoint - Endpoint Submenu SYNOPSIS bluetoothctl [--options] [endpoint.commands] ENDPOINT COMMANDS list List available endpoints. Usage > list [local] show Endpoint information. Usage > show [endpoint] register Register Endpoint. Usage > register <UU...
bluetoothctl-gatt(1)
NAME bluetoothctl-gatt - Generic Attribute Submenu SYNOPSIS bluetoothctl [--options] [gatt.commands] GENERIC ATTRIBUTE COMMANDS list-attributes List attributes. Usage > list-attributes <attribute/UUID> select-attribute Select attribute. Usage > select-attribute <attribute/UUID> attrib...
bluetoothctl-hci(1)
NAME bluetoothctl-hci - HCI Submenu SYNOPSIS bluetoothctl [--options] [hci.commands] COMMANDS open Open HCI channel. Usage > open <index> <chan=raw,user> Example open user channel In order to open a user channel the controller needs to be power off first: > p...
bluetoothctl-mgmt(1)
NAME bluetoothctl-mgmt - Management Submenu SYNOPSIS bluetoothctl [--options] [mgmt.commands] MGMT COMMANDS select Select a different index Usage > select <index> revision Get the MGMT Revision Usage > revision commands List supported commands Usage > commands conf...
bluetoothctl-monitor(1)
NAME bluetoothctl-monitor - Monitor Submenu SYNOPSIS bluetoothctl [--options] [monitor.commands] MONITOR COMMANDS set-rssi-threshold Set RSSI threshold parameter Usage > set-rssi-threshold <low_threshold> <high_threshold> set-rssi-timeout Set RSSI timeout parameter Usage > set-rssi-timeou...
bluetoothctl-player(1)
NAME bluetoothctl-player - Media Player Submenu SYNOPSIS bluetoothctl [--options] [player.commands] MEDIA PLAYER COMMANDS list List available players. Usage > list show Show player information. Usage > show [player] select Select default player. Usage > select <player>...
bluetoothctl-scan(1)
NAME bluetoothctl-scan - Scan Submenu SYNOPSIS bluetoothctl [--options] [scan.commands] SCAN COMMANDS uuids Set/Get UUIDs filter. Usage > uuids [all/uuid1 uuid2 ...] rssi Set/Get RSSI filter, and clears pathloss. This sets the minimum rssi value for reporting device advertisements. ...
bluetoothctl-transport(1)
NAME bluetoothctl-transport - Media Transport Submenu SYNOPSIS bluetoothctl [--options] [transport.commands] MEDIA TRANSPORT COMMANDS list List available transports. Usage > list show Show transport information. Usage > show [transport] acquire Acquire transport. Usage ...
bluetoothd(8)
NAME bluetoothd - Bluetooth daemon SYNOPSIS bluetoothd [--version] | [--help] bluetoothd [--nodetach] [--compat] [--experimental] [--debug=<files>] [--plugin=<plugins>] [--noplugin=<plugins>] DESCRIPTION This manual page documents briefly the bluetoothd daemon, which manages all the Bluetooth devices. bluet...
bm_evict_inode(9)
NAME bm_evict_inode - cleanup data associated with @inode SYNOPSIS void bm_evict_inode (struct inode *inode ); ARGUMENTS inode inode to which the data is attached DESCRIPTION Cleanup the binary type handler data associated with inode if a binary type entry is removed or the filesystem is unmounted and the s...
bman_acquire(9)
NAME bman_acquire - Acquire buffer(s) from a buffer pool SYNOPSIS int bman_acquire (struct bman_pool *pool , struct bm_buffer *bufs , u8 num ); ARGUMENTS pool the buffer pool object to acquire from bufs array for storing the acquired buffers num the number of buffers desired (buf...
bman_free_pool(9)
NAME bman_free_pool - Deallocates a Buffer Pool object SYNOPSIS void bman_free_pool (struct bman_pool *pool ); ARGUMENTS pool the pool object to release SEE ALSO Kernel file ./include/soc/fsl/bman.h bman_new_pool(9), bman_get_bpid(9), bman_release(9), bman_acquire(9), bman_is_probed(9), bman_portals_probed(9)...
bman_get_bpid(9)
NAME bman_get_bpid - Returns a pool object's BPID. SYNOPSIS int bman_get_bpid (const struct bman_pool *pool ); ARGUMENTS pool the pool object DESCRIPTION The returned value is the index of the encapsulated buffer pool, in the range of [0, BM_POOL_MAX-1]. SEE ALSO Kernel file ./include/soc/fsl/bman.h bman_new...
bman_is_probed(9)
NAME bman_is_probed - Check if bman is probed SYNOPSIS int bman_is_probed (void ); ARGUMENTS void no arguments DESCRIPTION Returns 1 if the bman driver successfully probed, -1 if the bman driver failed to probe or 0 if the bman driver did not probed yet. SEE ALSO Kernel file ./include/soc/fsl/bman.h bman_new...
bman_new_pool(9)
NAME bman_new_pool - Allocates a Buffer Pool object SYNOPSIS struct bman_pool * bman_new_pool (void ); ARGUMENTS void no arguments DESCRIPTION Creates a pool object, and returns a reference to it or NULL on error. SEE ALSO Kernel file ./include/soc/fsl/bman.h bman_free_pool(9), bman_get_bpid(9), bman_release...
bman_portals_probed(9)
NAME bman_portals_probed - Check if all cpu bound bman portals are probed SYNOPSIS int bman_portals_probed (void ); ARGUMENTS void no arguments DESCRIPTION Returns 1 if all the required cpu bound bman portals successfully probed, -1 if probe errors appeared or 0 if the bman portals did not yet finished probin...
bman_release(9)
NAME bman_release - Release buffer(s) to the buffer pool SYNOPSIS int bman_release (struct bman_pool *pool , const struct bm_buffer *bufs , u8 num ); ARGUMENTS pool the buffer pool object to release to bufs an array of buffers to release num the number of buffers in bufs (1-8) D...
bmap(9)
NAME bmap - find a block number in a file SYNOPSIS int bmap (struct inode *inode , sector_t *block ); ARGUMENTS inode inode owning the block number being requested block pointer containing the block to find DESCRIPTION Replaces the value in “*block“ with the block number on the device holding c...
bmp580_nvm_operation(9)
NAME bmp580_nvm_operation - Helper function to commit NVM memory operations SYNOPSIS int bmp580_nvm_operation (struct bmp280_data *data , bool is_write ); ARGUMENTS data sensor data struct is_write flag to signal write operation SEE ALSO Kernel file ./drivers/iio/pressure/bmp280-core.c April 2026 ...
bng_re_map_rc(9)
NAME bng_re_map_rc - map return type based on opcode SYNOPSIS int bng_re_map_rc (u8 opcode ); ARGUMENTS opcode roce slow path opcode DESCRIPTION case #1 Firmware initiated error recovery is a safe state machine and driver can consider all the underlying rdma resources are free. In this state, it is safe to ret...
bng_re_rcfw_send_message(9)
NAME bng_re_rcfw_send_message - interface to send and complete rcfw command. SYNOPSIS int bng_re_rcfw_send_message (struct bng_re_rcfw *rcfw , struct bng_re_cmdqmsg *msg ); ARGUMENTS rcfw rcfw channel instance of rdev msg message to send DESCRIPTION This function does not account shadow queue ...
bnx2_io_error_detected(9)
NAME bnx2_io_error_detected - called when PCI error is detected SYNOPSIS pci_ers_result_t bnx2_io_error_detected (struct pci_dev *pdev , pci_channel_state_t state ); ARGUMENTS pdev Pointer to PCI device state The current pci connection state DESCRIPTION This function is called after a PCI bus er...
bnx2_io_resume(9)
NAME bnx2_io_resume - called when traffic can start flowing again. SYNOPSIS void bnx2_io_resume (struct pci_dev *pdev ); ARGUMENTS pdev Pointer to PCI device DESCRIPTION This callback is called when the error recovery driver tells us that its OK to resume normal operation. SEE ALSO Kernel file ./drivers/net/...
bnx2_io_slot_reset(9)
NAME bnx2_io_slot_reset - called after the pci bus has been reset. SYNOPSIS pci_ers_result_t bnx2_io_slot_reset (struct pci_dev *pdev ); ARGUMENTS pdev Pointer to PCI device DESCRIPTION Restart the card from scratch, as if from a cold-boot. SEE ALSO Kernel file ./drivers/net/ethernet/broadcom/bnx2.c bnx2_io_...
bnx2fc_alloc_conn_id(9)
NAME bnx2fc_alloc_conn_id - allocates FCOE Connection id SYNOPSIS u32 bnx2fc_alloc_conn_id (struct bnx2fc_hba *hba , struct bnx2fc_rport *tgt ); ARGUMENTS hba pointer to adapter structure tgt pointer to bnx2fc_rport structure SEE ALSO Kernel file ./drivers/scsi/bnx2fc/bnx2fc_tgt.c bnx2fc_tgt_...
bnx2fc_bind_adapter_devices(9)
NAME bnx2fc_bind_adapter_devices - binds bnx2fc adapter with the associated pci structure SYNOPSIS int bnx2fc_bind_adapter_devices (struct bnx2fc_hba *hba ); ARGUMENTS hba Adapter instance SEE ALSO Kernel file ./drivers/scsi/bnx2fc/bnx2fc_fcoe.c bnx2fc_xmit(9), bnx2fc_rcv(9), bnx2fc_percpu_io_threa...
bnx2fc_cpu_online(9)
NAME bnx2fc_cpu_online - Create a receive thread for an online CPU SYNOPSIS int bnx2fc_cpu_online (unsigned int cpu ); ARGUMENTS cpu cpu index for the online cpu SEE ALSO Kernel file ./drivers/scsi/bnx2fc/bnx2fc_fcoe.c bnx2fc_xmit(9), bnx2fc_rcv(9), bnx2fc_percpu_io_thread(9), bnx2fc_get_link_stat...
bnx2fc_create(9)
NAME bnx2fc_create - Create a bnx2fc interface SYNOPSIS int bnx2fc_create (struct net_device *netdev , enum fip_mode fip_mode ); ARGUMENTS netdev The net_device object the Ethernet interface to create on fip_mode The FIP mode for this creation DESCRIPTION Called from fcoe transport RETURN 0 for succ...
bnx2fc_ctlr_alloc(9)
NAME bnx2fc_ctlr_alloc - Allocate a bnx2fc interface from fcoe_sysfs SYNOPSIS int bnx2fc_ctlr_alloc (struct net_device *netdev ); ARGUMENTS netdev The net_device to be used by the allocated FCoE Controller DESCRIPTION This routine is called from fcoe_sysfs. It will start the fcoe_ctlr in a link_down state. T...
bnx2fc_ctlr_enabled(9)
NAME bnx2fc_ctlr_enabled - Enable or disable an FCoE Controller SYNOPSIS int bnx2fc_ctlr_enabled (struct fcoe_ctlr_device *cdev ); ARGUMENTS cdev The FCoE Controller that is being enabled or disabled DESCRIPTION fcoe_sysfs will ensure that the state of 'enabled' has changed, so no checking is necessary here...
bnx2fc_destroy(9)
NAME bnx2fc_destroy - Destroy a bnx2fc FCoE interface SYNOPSIS int bnx2fc_destroy (struct net_device *netdev ); ARGUMENTS netdev The net device that the FCoE interface is on DESCRIPTION Called from sysfs. RETURN 0 for success SEE ALSO Kernel file ./drivers/scsi/bnx2fc/bnx2fc_fcoe.c bnx2fc_xmit(9), bnx...
bnx2fc_eh_abort(9)
NAME bnx2fc_eh_abort - eh_abort_handler api to abort an outstanding SCSI command SYNOPSIS int bnx2fc_eh_abort (struct scsi_cmnd *sc_cmd ); ARGUMENTS sc_cmd SCSI_ML command pointer DESCRIPTION SCSI abort request handler SEE ALSO Kernel file ./drivers/scsi/bnx2fc/bnx2fc_io.c bnx2fc_eh_target_reset(9), bnx2fc_eh_...
bnx2fc_eh_device_reset(9)
NAME bnx2fc_eh_device_reset - Reset a single LUN SYNOPSIS int bnx2fc_eh_device_reset (struct scsi_cmnd *sc_cmd ); ARGUMENTS sc_cmd SCSI command DESCRIPTION Set from SCSI host template to send task mgmt command to the target and wait for the response SEE ALSO Kernel file ./drivers/scsi/bnx2fc/bnx2fc_io.c bnx2fc...
bnx2fc_eh_target_reset(9)
NAME bnx2fc_eh_target_reset - Reset a target SYNOPSIS int bnx2fc_eh_target_reset (struct scsi_cmnd *sc_cmd ); ARGUMENTS sc_cmd SCSI command DESCRIPTION Set from SCSI host template to send task mgmt command to the target and wait for the response SEE ALSO Kernel file ./drivers/scsi/bnx2fc/bnx2fc_io.c bnx2fc_eh_...
bnx2fc_fastpath_notification(9)
NAME bnx2fc_fastpath_notification - process global event queue (KCQ) SYNOPSIS void bnx2fc_fastpath_notification (struct bnx2fc_hba *hba , struct fcoe_kcqe *new_cqe_kcqe ); ARGUMENTS hba adapter structure pointer new_cqe_kcqe pointer to newly DMA'd KCQ entry DESCRIPTION Fast path ev...
bnx2fc_fcoe_reset(9)
NAME bnx2fc_fcoe_reset - Resets the fcoe SYNOPSIS int bnx2fc_fcoe_reset (struct Scsi_Host *shost ); ARGUMENTS shost shost the reset is from RETURN always 0 SEE ALSO Kernel file ./drivers/scsi/bnx2fc/bnx2fc_fcoe.c bnx2fc_xmit(9), bnx2fc_rcv(9), bnx2fc_percpu_io_thread(9), bnx2fc_get_link_state(9), ...
bnx2fc_find_hba_for_cnic(9)
NAME bnx2fc_find_hba_for_cnic - maps cnic instance to bnx2fc hba instance SYNOPSIS struct bnx2fc_hba * bnx2fc_find_hba_for_cnic (struct cnic_dev *cnic ); ARGUMENTS cnic Pointer to cnic device instance SEE ALSO Kernel file ./drivers/scsi/bnx2fc/bnx2fc_fcoe.c bnx2fc_xmit(9), bnx2fc_rcv(9), bnx2fc_perc...
bnx2fc_fip_recv(9)
NAME bnx2fc_fip_recv - handle a received FIP frame. SYNOPSIS int bnx2fc_fip_recv (struct sk_buff *skb , struct net_device *dev , struct packet_type *ptype , struct net_device *orig_dev ); ARGUMENTS skb the received skb dev associated net_device ptype the packet_type structure whi...
bnx2fc_fip_send(9)
NAME bnx2fc_fip_send - send an Ethernet-encapsulated FIP frame. SYNOPSIS void bnx2fc_fip_send (struct fcoe_ctlr *fip , struct sk_buff *skb ); ARGUMENTS fip FCoE controller. skb FIP Packet. SEE ALSO Kernel file ./drivers/scsi/bnx2fc/bnx2fc_fcoe.c bnx2fc_xmit(9), bnx2fc_rcv(9), bnx2fc...
bnx2fc_free_session_resc(9)
NAME bnx2fc_free_session_resc - free qp resources for the session SYNOPSIS void bnx2fc_free_session_resc (struct bnx2fc_hba *hba , struct bnx2fc_rport *tgt ); ARGUMENTS hba adapter structure pointer tgt bnx2fc_rport structure pointer DESCRIPTION Free QP resources - SQ/RQ/CQ/XFERQ memory and P...
bnx2fc_get_link_state(9)
NAME bnx2fc_get_link_state - get network link state SYNOPSIS void bnx2fc_get_link_state (struct bnx2fc_hba *hba ); ARGUMENTS hba adapter instance pointer DESCRIPTION updates adapter structure flag based on netdev state SEE ALSO Kernel file ./drivers/scsi/bnx2fc/bnx2fc_fcoe.c bnx2fc_xmit(9), bnx2fc_r...
bnx2fc_get_src_mac(9)
NAME bnx2fc_get_src_mac - return the ethernet source address for an lport SYNOPSIS u8 * bnx2fc_get_src_mac (struct fc_lport *lport ); ARGUMENTS lport libfc port SEE ALSO Kernel file ./drivers/scsi/bnx2fc/bnx2fc_fcoe.c bnx2fc_xmit(9), bnx2fc_rcv(9), bnx2fc_percpu_io_thread(9), bnx2fc_get_link_state(9...
bnx2fc_hba_create(9)
NAME bnx2fc_hba_create - create a new bnx2fc hba SYNOPSIS struct bnx2fc_hba * bnx2fc_hba_create (struct cnic_dev *cnic ); ARGUMENTS cnic pointer to cnic device DESCRIPTION Creates a new FCoE hba on the given device. SEE ALSO Kernel file ./drivers/scsi/bnx2fc/bnx2fc_fcoe.c bnx2fc_xmit(9), bnx2fc_rcv(9...
bnx2fc_if_create(9)
NAME bnx2fc_if_create - Create FCoE instance on a given interface SYNOPSIS struct fc_lport * bnx2fc_if_create (struct bnx2fc_interface *interface , struct device *parent , int npiv ); ARGUMENTS interface FCoE interface to create a local port on parent Device pointer to be the parent in sysfs for the SC...
bnx2fc_indicate_kcqe(9)
NAME bnx2fc_indicate_kcqe - process KCQE SYNOPSIS void bnx2fc_indicate_kcqe (void *context , struct kcqe *kcq[] , u32 num_cqe ); ARGUMENTS context adapter structure pointer kcq kcqe pointer num_cqe Number of completion queue elements DESCRIPTION Generic KCQ event handler SEE ALSO Ker...
bnx2fc_indicate_netevent(9)
NAME bnx2fc_indicate_netevent - Generic netdev event handler SYNOPSIS void bnx2fc_indicate_netevent (void *context , unsigned long event , u16 vlan_id ); ARGUMENTS context adapter structure pointer event event type vlan_id vlan id - associated vlan id with this event DESCRIPTION Handles...
bnx2fc_mod_init(9)
NAME bnx2fc_mod_init - module init entry point SYNOPSIS int bnx2fc_mod_init (void ); ARGUMENTS void no arguments DESCRIPTION Initialize driver wide global data structures, and register with cnic module SEE ALSO Kernel file ./drivers/scsi/bnx2fc/bnx2fc_fcoe.c bnx2fc_xmit(9), bnx2fc_rcv(9), bnx2fc_pe...
bnx2fc_percpu_io_thread(9)
NAME bnx2fc_percpu_io_thread - thread per cpu for ios SYNOPSIS int bnx2fc_percpu_io_thread (void *arg ); ARGUMENTS arg ptr to bnx2fc_percpu_info structure SEE ALSO Kernel file ./drivers/scsi/bnx2fc/bnx2fc_fcoe.c bnx2fc_xmit(9), bnx2fc_rcv(9), bnx2fc_get_link_state(9), bnx2fc_indicate_netevent(9)...
bnx2fc_process_enable_conn_cmpl(9)
NAME bnx2fc_process_enable_conn_cmpl - process FCoE session enable completion SYNOPSIS void bnx2fc_process_enable_conn_cmpl (struct bnx2fc_hba *hba , struct fcoe_kcqe *ofld_kcqe ); ARGUMENTS hba adapter structure pointer ofld_kcqe connection offload kcqe pointer DESCRIPTION handle session enable co...
bnx2fc_process_ofld_cmpl(9)
NAME bnx2fc_process_ofld_cmpl - process FCoE session offload completion SYNOPSIS void bnx2fc_process_ofld_cmpl (struct bnx2fc_hba *hba , struct fcoe_kcqe *ofld_kcqe ); ARGUMENTS hba adapter structure pointer ofld_kcqe connection offload kcqe pointer DESCRIPTION handle session offload completion, en...
bnx2fc_queuecommand(9)
NAME bnx2fc_queuecommand - Queuecommand function of the scsi template SYNOPSIS enum scsi_qc_status bnx2fc_queuecommand (struct Scsi_Host *host , struct scsi_cmnd *sc_cmd ); ARGUMENTS host The Scsi_Host the command was issued to sc_cmd struct scsi_cmnd to be executed DESCRIPTION This is the IO str...