id
stringlengths
4
63
text
stringlengths
153
8.81M
__get_duplex(9)
NAME __get_duplex - get a port's duplex SYNOPSIS u8 __get_duplex (struct port *port ); ARGUMENTS port the port we're looking at DESCRIPTION Return port's duplex in 802.3ad bitmask format. i.e.: 0x01 if in full duplex 0x00 otherwise SEE ALSO Kernel file ./drivers/net/bonding/bond_3ad.c __get_bond_by_por...
__get_first_agg(9)
NAME __get_first_agg - get the first aggregator in the bond SYNOPSIS struct aggregator * __get_first_agg (struct port *port ); ARGUMENTS port the port we're looking at DESCRIPTION Return the aggregator of the first slave in bond, or NULL if it can't be found. The caller must hold RCU or RTNL lock. SEE ALSO ...
__get_insn_slot(9)
NAME __get_insn_slot - Find a slot on an executable page for an instruction. SYNOPSIS kprobe_opcode_t * __get_insn_slot (struct kprobe_insn_cache *c ); ARGUMENTS c Pointer to kprobe instruction cache DESCRIPTION Locates available slot on existing executable pages, allocates an executable page if there's no...
__get_link_speed(9)
NAME __get_link_speed - get a port's speed SYNOPSIS u16 __get_link_speed (struct port *port ); ARGUMENTS port the port we're looking at DESCRIPTION Return port's speed in 802.3ad enum format. i.e. one of: 0, AD_LINK_SPEED_10MBPS, AD_LINK_SPEED_100MBPS, AD_LINK_SPEED_1000MBPS, AD_LINK_SPEED_...
__get_pfnblock_flags_mask(9)
NAME __get_pfnblock_flags_mask - Return the requested group of flags for a pageblock_nr_pages block of pages SYNOPSIS unsigned long __get_pfnblock_flags_mask (const struct page *page , unsigned long pfn , unsigned long mask ); ARGUMENTS page The page within the block of interest pfn The target ...
__get_unaligned_t(9)
NAME __get_unaligned_t - read an unaligned value from memory. SYNOPSIS __get_unaligned_t (type , ptr ); ARGUMENTS type the type to load from the pointer. ptr the pointer to load from. DESCRIPTION Use memcpy to affect an unaligned type sized load avoiding undefined behavior from approaches like...
__get_user(9)
NAME __get_user - Get a simple variable from user space, with less checking. SYNOPSIS __get_user (x , ptr ); ARGUMENTS x Variable to store result. ptr Source address, in user space. CONTEXT User context only. This function may sleep if pagefaults are enabled. DESCRIPTION This macro copies ...
__get_user_pages(9)
NAME __get_user_pages - pin user pages in memory SYNOPSIS long __get_user_pages (struct mm_struct *mm , unsigned long start , unsigned long nr_pages , unsigned int gup_flags , struct page **pages , int *locked ); ARGUMENTS mm mm_struct of target mm start starting user address nr_pages ...
__gfs2_ail_flush(9)
NAME __gfs2_ail_flush - remove all buffers for a given lock from the AIL SYNOPSIS void __gfs2_ail_flush (struct gfs2_glock *gl , bool fsync , unsigned int nr_revokes ); ARGUMENTS gl the glock fsync set when called from fsync (not all buffers will be clean) nr_revokes Number of buffers ...
__gfs2_free_blocks(9)
NAME __gfs2_free_blocks - free a contiguous run of block(s) SYNOPSIS void __gfs2_free_blocks (struct gfs2_inode *ip , struct gfs2_rgrpd *rgd , u64 bstart , u32 blen , int meta ); ARGUMENTS ip the inode these blocks are being freed from rgd the resource group the blocks are in bstart ...
__gfs2_holder_init(9)
NAME __gfs2_holder_init - initialize a struct gfs2_holder in the default way SYNOPSIS void __gfs2_holder_init (struct gfs2_glock *gl , unsigned int state , u16 flags , struct gfs2_holder *gh , unsigned long ip ); ARGUMENTS gl the glock state the state we're requesting flags the mo...
__gfs2_iomap_alloc(9)
NAME __gfs2_iomap_alloc - Build a metadata tree of the requested height SYNOPSIS int __gfs2_iomap_alloc (struct inode *inode , struct iomap *iomap , struct metapath *mp ); ARGUMENTS inode The GFS2 inode iomap The iomap structure mp The metapath, with proper height information calc...
__gfs2_iomap_get(9)
NAME __gfs2_iomap_get - Map blocks from an inode to disk blocks SYNOPSIS int __gfs2_iomap_get (struct inode *inode , loff_t pos , loff_t length , unsigned flags , struct iomap *iomap , struct metapath *mp ); ARGUMENTS inode The inode pos Starting position in bytes length Length to m...
__gfs2_jdata_write_folio(9)
NAME __gfs2_jdata_write_folio - The core of jdata writepage SYNOPSIS int __gfs2_jdata_write_folio (struct folio *folio , struct writeback_control *wbc ); ARGUMENTS folio The folio to write wbc The writeback control DESCRIPTION Implements the core of write back. If a transaction is required then...
__gfs2_log_reserve(9)
NAME __gfs2_log_reserve - Make a log reservation SYNOPSIS void __gfs2_log_reserve (struct gfs2_sbd *sdp , unsigned int blks , unsigned int taboo_blks ); ARGUMENTS sdp The GFS2 superblock blks The number of blocks to reserve taboo_blks The number of blocks to leave free DESCRIPTION tab...
__gfs2_log_try_reserve(9)
NAME __gfs2_log_try_reserve - Try to make a log reservation SYNOPSIS bool __gfs2_log_try_reserve (struct gfs2_sbd *sdp , unsigned int blks , unsigned int taboo_blks ); ARGUMENTS sdp The GFS2 superblock blks The number of blocks to reserve taboo_blks The number of blocks to leave free ...
__gfs2_lookup(9)
NAME __gfs2_lookup - Look up a filename in a directory and return its inode SYNOPSIS struct dentry * __gfs2_lookup (struct inode *dir , struct dentry *dentry , struct file *file ); ARGUMENTS dir The directory inode dentry The dentry of the new inode file File to be opened RETURN e...
__gfs2_xattr_get(9)
NAME __gfs2_xattr_get - Get a GFS2 extended attribute SYNOPSIS int __gfs2_xattr_get (struct inode *inode , const char *name , void *buffer , size_t size , int type ); ARGUMENTS inode The inode name The name of the extended attribute buffer The buffer to write the result into ...
__gfs2_xattr_set(9)
NAME __gfs2_xattr_set - Set (or remove) a GFS2 extended attribute SYNOPSIS int __gfs2_xattr_set (struct inode *inode , const char *name , const void *value , size_t size , int flags , int type ); ARGUMENTS inode The inode name The name of the extended attribute value The value of th...
__gsi_trans_commit(9)
NAME __gsi_trans_commit - Common GSI transaction commit code SYNOPSIS void __gsi_trans_commit (struct gsi_trans *trans , bool ring_db ); ARGUMENTS trans Transaction to commit ring_db Whether to tell the hardware about these queued transfers DESCRIPTION Formats channel ring TRE entries based on t...
__gsm_data_queue(9)
NAME __gsm_data_queue - queue a UI or UIH frame SYNOPSIS void __gsm_data_queue (struct gsm_dlci *dlci , struct gsm_msg *msg ); ARGUMENTS dlci DLCI sending the data msg message queued DESCRIPTION Add data to the transmit queue and try and get stuff moving out of the mux tty if not already doing...
__guarded_by(9)
NAME __guarded_by - struct member and globals attribute, declares variable only accessible within active context SYNOPSIS __guarded_by (... ); ARGUMENTS ... variable arguments DESCRIPTION Declares that the struct member or global variable is only accessible within the context entered by the given context l...
__host1x_client_init(9)
NAME __host1x_client_init - initialize a host1x client SYNOPSIS void __host1x_client_init (struct host1x_client *client , struct lock_class_key *key ); ARGUMENTS client host1x client key lock class key for the client-specific mutex SEE ALSO Kernel file ./drivers/gpu/host1x/bus.c host1x_subdev...
__host1x_client_register(9)
NAME __host1x_client_register - register a host1x client SYNOPSIS int __host1x_client_register (struct host1x_client *client ); ARGUMENTS client host1x client DESCRIPTION Registers a host1x client with each host1x controller instance. Note that each client will only match their parent host1x controller and w...
__hrtimer_get_remaining(9)
NAME __hrtimer_get_remaining - get remaining time for the timer SYNOPSIS ktime_t __hrtimer_get_remaining (const struct hrtimer *timer , bool adjust ); ARGUMENTS timer the timer to read adjust adjust relative timers when CONFIG_TIME_LOW_RES=y SEE ALSO Kernel file ./kernel/time/hrtimer.c hrtim...
__hvc_resize(9)
NAME __hvc_resize - Update terminal window size information. SYNOPSIS void __hvc_resize (struct hvc_struct *hp , struct winsize ws ); ARGUMENTS hp HVC console pointer ws Terminal window size structure DESCRIPTION Stores the specified window size information in the hvc structure of hp. The ...
__hw_addr_ref_sync_dev(9)
NAME __hw_addr_ref_sync_dev - Synchronize device's multicast address list taking into account references SYNOPSIS int __hw_addr_ref_sync_dev (struct netdev_hw_addr_list *list , struct net_device *dev , int (*sync)(struct net_device *, const unsigned char *, int) , int (*unsync)(struct net_device *, const unsigned char...
__hw_addr_ref_unsync_dev(9)
NAME __hw_addr_ref_unsync_dev - Remove synchronized addresses and references on it from device SYNOPSIS void __hw_addr_ref_unsync_dev (struct netdev_hw_addr_list *list , struct net_device *dev , int (*unsync)(struct net_device *, const unsigned char *, int) ); ARGUMENTS list address list to remove synchronized...
__hw_addr_sync_dev(9)
NAME __hw_addr_sync_dev - Synchronize device's multicast list SYNOPSIS int __hw_addr_sync_dev (struct netdev_hw_addr_list *list , struct net_device *dev , int (*sync)(struct net_device *, const unsigned char *) , int (*unsync)(struct net_device *, const unsigned char *) ); ARGUMENTS list address list to synchr...
__hw_addr_unsync_dev(9)
NAME __hw_addr_unsync_dev - Remove synchronized addresses from device SYNOPSIS void __hw_addr_unsync_dev (struct netdev_hw_addr_list *list , struct net_device *dev , int (*unsync)(struct net_device *, const unsigned char *) ); ARGUMENTS list address list to remove synchronized addresses from dev ...
__hw_protection_trigger(9)
NAME __hw_protection_trigger - Trigger an emergency system shutdown or reboot SYNOPSIS void __hw_protection_trigger (const char *reason , int ms_until_forced , enum hw_protection_action action ); ARGUMENTS reason Reason of emergency shutdown or reboot to be printed. ms_until_forced Tim...
__hwrm_req_init(9)
NAME __hwrm_req_init - Initialize an HWRM request. SYNOPSIS int __hwrm_req_init (struct bnxt *bp , void **req , u16 req_type , u32 req_len ); ARGUMENTS bp The driver context. req A pointer to the request pointer to initialize. req_type The request type. This will be converted to th...
__hwspin_lock_request(9)
NAME __hwspin_lock_request - tag an hwspinlock as used and power it up SYNOPSIS int __hwspin_lock_request (struct hwspinlock *hwlock ); ARGUMENTS hwlock the target hwspinlock DESCRIPTION This is an internal function that prepares an hwspinlock instance before it is given to the user. The function assumes that h...
__hwspin_lock_timeout(9)
NAME __hwspin_lock_timeout - lock an hwspinlock with timeout limit SYNOPSIS int __hwspin_lock_timeout (struct hwspinlock *hwlock , unsigned int to , int mode , unsigned long *flags ); ARGUMENTS hwlock the hwspinlock to be locked to timeout value in msecs mode mode which controls w...
__hwspin_trylock(9)
NAME __hwspin_trylock - attempt to lock a specific hwspinlock SYNOPSIS int __hwspin_trylock (struct hwspinlock *hwlock , int mode , unsigned long *flags ); ARGUMENTS hwlock an hwspinlock which we want to trylock mode controls whether local interrupts are disabled or not flags a point...
__hwspin_unlock(9)
NAME __hwspin_unlock - unlock a specific hwspinlock SYNOPSIS void __hwspin_unlock (struct hwspinlock *hwlock , int mode , unsigned long *flags ); ARGUMENTS hwlock a previously-acquired hwspinlock which we want to unlock mode controls whether local interrupts needs to be restored or not fla...
__i2c_add_numbered_adapter(9)
NAME __i2c_add_numbered_adapter - i2c_add_numbered_adapter where nr is never -1 SYNOPSIS int __i2c_add_numbered_adapter (struct i2c_adapter *adap ); ARGUMENTS adap the adapter to register (with adap->nr initialized) CONTEXT can sleep DESCRIPTION See i2c_add_numbered_adapter for details. SEE ALSO Kernel fil...
__i2c_transfer(9)
NAME __i2c_transfer - unlocked flavor of i2c_transfer SYNOPSIS int __i2c_transfer (struct i2c_adapter *adap , struct i2c_msg *msgs , int num ); ARGUMENTS adap Handle to I2C bus msgs One or more messages to execute before STOP is issued to terminate the operation; each message begins with a START...
__i40e_add_ethtool_stats(9)
NAME __i40e_add_ethtool_stats - copy stats into the ethtool supplied buffer SYNOPSIS void __i40e_add_ethtool_stats (u64 **data , void *pointer , const struct i40e_stats stats[] , const unsigned int size ); ARGUMENTS data ethtool stats buffer pointer location to copy stats from stats a...
__i40e_add_stat_strings(9)
NAME __i40e_add_stat_strings - copy stat strings into ethtool buffer SYNOPSIS void __i40e_add_stat_strings (u8 **p , const struct i40e_stats stats[] , const unsigned int size , ... ); ARGUMENTS p ethtool supplied buffer stats stat definitions array size size of the stats array ...
__i40e_chk_linearize(9)
NAME __i40e_chk_linearize - Check if there are more than 8 buffers per packet SYNOPSIS bool __i40e_chk_linearize (struct sk_buff *skb ); ARGUMENTS skb send buffer NOTE Our HW can't DMA more than 8 buffers to build a packet on the wire and so we need to figure out the cases where we need to linearize the s...
__i40e_del_filter(9)
NAME __i40e_del_filter - Remove a specific filter from the VSI SYNOPSIS void __i40e_del_filter (struct i40e_vsi *vsi , struct i40e_mac_filter *f ); ARGUMENTS vsi VSI to remove from f the filter to remove from the list DESCRIPTION This function requires you've found * the exact filter you wi...
__i40e_get_coalesce(9)
NAME __i40e_get_coalesce - get per-queue coalesce settings SYNOPSIS int __i40e_get_coalesce (struct net_device *netdev , struct ethtool_coalesce *ec , int queue ); ARGUMENTS netdev the netdev to check ec ethtool coalesce data structure queue which queue to pick DESCRIPTION Gets th...
__i40e_getnum_vf_vsi_vlan_filters(9)
NAME __i40e_getnum_vf_vsi_vlan_filters - SYNOPSIS int __i40e_getnum_vf_vsi_vlan_filters (struct i40e_vsi *vsi ); ARGUMENTS vsi pointer to the vsi DESCRIPTION called to get the number of VLANs offloaded on this VF SEE ALSO Kernel file ./drivers/net/ethernet/intel/i40e/i40e_virtchnl_pf.c i40e_vc_vf_broadcas...
__i40e_maybe_stop_tx(9)
NAME __i40e_maybe_stop_tx - 2nd level check for tx stop conditions SYNOPSIS int __i40e_maybe_stop_tx (struct i40e_ring *tx_ring , int size ); ARGUMENTS tx_ring the ring to be checked size the size buffer we want to assure is available DESCRIPTION Returns -EBUSY if a stop is needed, else 0 SEE ALS...
__i40e_pf_next_veb(9)
NAME __i40e_pf_next_veb - get next valid VEB SYNOPSIS struct i40e_veb * __i40e_pf_next_veb (struct i40e_pf *pf , int *idx ); ARGUMENTS pf pointer to the PF struct idx pointer to start position number DESCRIPTION Find and return next non-NULL VEB pointer in pf->veb array and updates idx posit...
__i40e_pf_next_vsi(9)
NAME __i40e_pf_next_vsi - get next valid VSI SYNOPSIS struct i40e_vsi * __i40e_pf_next_vsi (struct i40e_pf *pf , int *idx ); ARGUMENTS pf pointer to the PF struct idx pointer to start position number DESCRIPTION Find and return next non-NULL VSI pointer in pf->vsi array and updates idx posit...
__i40e_read_nvm_buffer(9)
NAME __i40e_read_nvm_buffer - Reads nvm buffer, caller must acquire lock SYNOPSIS int __i40e_read_nvm_buffer (struct i40e_hw *hw , u16 offset , u16 *words , u16 *data ); ARGUMENTS hw pointer to the HW structure offset offset of the Shadow RAM word to read (0x000000 - 0x001FFF). words ...
__i40e_read_nvm_word(9)
NAME __i40e_read_nvm_word - Reads nvm word, assumes caller does the locking SYNOPSIS int __i40e_read_nvm_word (struct i40e_hw *hw , u16 offset , u16 *data ); ARGUMENTS hw pointer to the HW structure offset offset of the Shadow RAM word to read (0x000000 - 0x001FFF) data word read ...
__i40e_reprogram_flex_pit(9)
NAME __i40e_reprogram_flex_pit - Re-program specific FLX_PIT table SYNOPSIS void __i40e_reprogram_flex_pit (struct i40e_pf *pf , struct list_head *flex_pit_list , int flex_pit_start ); ARGUMENTS pf Pointer to the PF structure flex_pit_list list of flexible src offsets in use ...
__i40e_set_coalesce(9)
NAME __i40e_set_coalesce - set coalesce settings for particular queue SYNOPSIS int __i40e_set_coalesce (struct net_device *netdev , struct ethtool_coalesce *ec , int queue ); ARGUMENTS netdev the netdev to change ec ethtool coalesce settings queue the queue to change DESCRIPTION S...
__i915_active_fence_init(9)
NAME __i915_active_fence_init - prepares the activity tracker for use SYNOPSIS void __i915_active_fence_init (struct i915_active_fence *active , void *fence , dma_fence_func_t fn ); ARGUMENTS active the active tracker fence initial fence to track, can be NULL fn a callback when the...
__i915_gem_object_create_lmem_with_ps(9)
NAME __i915_gem_object_create_lmem_with_ps - Create lmem object and force the minimum page size for the backing pages. SYNOPSIS struct drm_i915_gem_object * __i915_gem_object_create_lmem_with_ps (struct drm_i915_private *i915 , resource_size_t size , resource_size_t page_size , unsigned int flags ); ARGUMENTS i915 ...
__i915_gem_object_create_user(9)
NAME __i915_gem_object_create_user - Creates a new object using the same path as DRM_I915_GEM_CREATE_EXT SYNOPSIS struct drm_i915_gem_object * __i915_gem_object_create_user (struct drm_i915_private *i915 , u64 size , struct intel_memory_region **placements , unsigned int n_placements ); ARGUMENTS i915 i915 pri...
__i915_gem_object_fini(9)
NAME __i915_gem_object_fini - Clean up a GEM object initialization SYNOPSIS void __i915_gem_object_fini (struct drm_i915_gem_object *obj ); ARGUMENTS obj The gem object to cleanup DESCRIPTION This function cleans up gem object fields that are set up by drm_gem_private_object_init and i915_gem_object_init. I...
__i915_gem_object_get_dirty_page(9)
NAME __i915_gem_object_get_dirty_page - helper to find the target page with a page offset SYNOPSIS struct page * __i915_gem_object_get_dirty_page (struct drm_i915_gem_object *obj , pgoff_t n ); ARGUMENTS obj i915 GEM buffer object n page offset DESCRIPTION It works like i915_gem_object_get_...
__i915_gem_object_get_dma_address(9)
NAME __i915_gem_object_get_dma_address - helper to get bus addresses of targeted DMA mapped scatterlist from i915 GEM buffer object SYNOPSIS dma_addr_t __i915_gem_object_get_dma_address (struct drm_i915_gem_object *obj , pgoff_t n ); ARGUMENTS obj i915 GEM buffer object n page offset RETURN...
__i915_gem_object_get_dma_address_len(9)
NAME __i915_gem_object_get_dma_address_len - helper to get bus addresses of targeted DMA mapped scatterlist from i915 GEM buffer object and it's length SYNOPSIS dma_addr_t __i915_gem_object_get_dma_address_len (struct drm_i915_gem_object *obj , pgoff_t n , unsigned int *len ); ARGUMENTS obj i915 GEM buffer ob...
__i915_gem_object_get_page(9)
NAME __i915_gem_object_get_page - helper to find the target page with a page offset SYNOPSIS struct page * __i915_gem_object_get_page (struct drm_i915_gem_object *obj , pgoff_t n ); ARGUMENTS obj i915 GEM buffer object n page offset DESCRIPTION It uses drm_i915_gem_object's internal shme...
__i915_gem_object_get_sg(9)
NAME __i915_gem_object_get_sg - helper to find the target scatterlist pointer and the target page position using pgoff_t n input argument and drm_i915_gem_object. It uses an internal shmem scatterlist lookup function. SYNOPSIS struct scatterlist * __i915_gem_object_get_sg (struct drm_i915_gem_object *obj , pgoff_t n ,...
__i915_gem_object_get_sg_dma(9)
NAME __i915_gem_object_get_sg_dma - helper to find the target scatterlist pointer and the target page position using pgoff_t n input argument and drm_i915_gem_object. It uses an internal DMA mapped scatterlist lookup function SYNOPSIS struct scatterlist * __i915_gem_object_get_sg_dma (struct drm_i915_gem_object *obj ,...
__i915_gem_object_make_purgeable(9)
NAME __i915_gem_object_make_purgeable - Move the object to the tail of the purgeable list. Objects on this list might be swapped out. Used with DONTNEED objects. SYNOPSIS void __i915_gem_object_make_purgeable (struct drm_i915_gem_object *obj ); ARGUMENTS obj The GEM object. DESCRIPTION DO NOT USE. This is in...
__i915_gem_object_make_shrinkable(9)
NAME __i915_gem_object_make_shrinkable - Move the object to the tail of the shrinkable list. Objects on this list might be swapped out. Used with WILLNEED objects. SYNOPSIS void __i915_gem_object_make_shrinkable (struct drm_i915_gem_object *obj ); ARGUMENTS obj The GEM object. DESCRIPTION DO NOT USE. This is...
__i915_gem_object_migrate(9)
NAME __i915_gem_object_migrate - Migrate an object to the desired region id, with control of the extra flags SYNOPSIS int __i915_gem_object_migrate (struct drm_i915_gem_object *obj , struct i915_gem_ww_ctx *ww , enum intel_region_id id , unsigned int flags ); ARGUMENTS obj The object to migrate. ww ...
__i915_gem_object_page_iter_get_sg(9)
NAME __i915_gem_object_page_iter_get_sg - helper to find the target scatterlist pointer and the target page position using pgoff_t n input argument and i915_gem_object_page_iter SYNOPSIS struct scatterlist * __i915_gem_object_page_iter_get_sg (struct drm_i915_gem_object *obj , struct i915_gem_object_page_iter *iter , ...
__i915_gem_object_pages_fini(9)
NAME __i915_gem_object_pages_fini - Clean up pages use of a gem object SYNOPSIS void __i915_gem_object_pages_fini (struct drm_i915_gem_object *obj ); ARGUMENTS obj The gem object to clean up DESCRIPTION This function cleans up usage of the object mm.pages member. It is intended for backends that need to clea...
__i915_refct_sgt_init(9)
NAME __i915_refct_sgt_init - Initialize a refcounted sg-list with a custom operations structure SYNOPSIS void __i915_refct_sgt_init (struct i915_refct_sgt *rsgt , size_t size , const struct i915_refct_sgt_ops *ops ); ARGUMENTS rsgt The struct i915_refct_sgt to initialize. size Size in bytes of t...
__i915_vma_resource_init(9)
NAME __i915_vma_resource_init - Initialize a vma resource. SYNOPSIS void __i915_vma_resource_init (struct i915_vma_resource *vma_res ); ARGUMENTS vma_res The vma resource to initialize DESCRIPTION Initializes the private members of a vma resource. SEE ALSO Kernel file ./drivers/gpu/drm/i915/i915_vma_resourc...
__iavf_add_ethtool_stats(9)
NAME __iavf_add_ethtool_stats - copy stats into the ethtool supplied buffer SYNOPSIS void __iavf_add_ethtool_stats (u64 **data , void *pointer , const struct iavf_stats stats[] , const unsigned int size ); ARGUMENTS data ethtool stats buffer pointer location to copy stats from stats a...
__iavf_add_stat_strings(9)
NAME __iavf_add_stat_strings - copy stat strings into ethtool buffer SYNOPSIS void __iavf_add_stat_strings (u8 **p , const struct iavf_stats stats[] , const unsigned int size , ... ); ARGUMENTS p ethtool supplied buffer stats stat definitions array size size of the stats array ...
__iavf_chk_linearize(9)
NAME __iavf_chk_linearize - Check if there are more than 8 buffers per packet SYNOPSIS bool __iavf_chk_linearize (struct sk_buff *skb ); ARGUMENTS skb send buffer NOTE Our HW can't DMA more than 8 buffers to build a packet on the wire and so we need to figure out the cases where we need to linearize the s...
__iavf_get_coalesce(9)
NAME __iavf_get_coalesce - get per-queue coalesce settings SYNOPSIS int __iavf_get_coalesce (struct net_device *netdev , struct ethtool_coalesce *ec , int queue ); ARGUMENTS netdev the netdev to check ec ethtool coalesce data structure queue which queue to pick DESCRIPTION Gets th...
__iavf_maybe_stop_tx(9)
NAME __iavf_maybe_stop_tx - 2nd level check for tx stop conditions SYNOPSIS int __iavf_maybe_stop_tx (struct iavf_ring *tx_ring , int size ); ARGUMENTS tx_ring the ring to be checked size the size buffer we want to assure is available DESCRIPTION Returns -EBUSY if a stop is needed, else 0 SEE ALS...
__iavf_set_coalesce(9)
NAME __iavf_set_coalesce - set coalesce settings for particular queue SYNOPSIS int __iavf_set_coalesce (struct net_device *netdev , struct ethtool_coalesce *ec , int queue ); ARGUMENTS netdev the netdev to change ec ethtool coalesce settings queue the queue to change DESCRIPTION S...
__iavf_setup_tc(9)
NAME __iavf_setup_tc - configure multiple traffic classes SYNOPSIS int __iavf_setup_tc (struct net_device *netdev , void *type_data ); ARGUMENTS netdev network interface device structure type_data tc offload data DESCRIPTION This function processes the config information provided by the user to config...
__ib_alloc_cq(9)
NAME __ib_alloc_cq - allocate a completion queue SYNOPSIS struct ib_cq * __ib_alloc_cq (struct ib_device *dev , void *private , int nr_cqe , int comp_vector , enum ib_poll_context poll_ctx , const char *caller ); ARGUMENTS dev device to allocate the CQ for private driver private data, accessible f...
__ib_alloc_cq_any(9)
NAME __ib_alloc_cq_any - allocate a completion queue SYNOPSIS struct ib_cq * __ib_alloc_cq_any (struct ib_device *dev , void *private , int nr_cqe , enum ib_poll_context poll_ctx , const char *caller ); ARGUMENTS dev device to allocate the CQ for private driver private data, accessible from cq->cq...
__ib_alloc_pd(9)
NAME __ib_alloc_pd - Allocates an unused protection domain. SYNOPSIS struct ib_pd * __ib_alloc_pd (struct ib_device *device , unsigned int flags , const char *caller ); ARGUMENTS device The device on which to allocate the protection domain. flags protection domain flags caller caller's...
__ibmvfc_get_event(9)
NAME __ibmvfc_get_event - Gets the next free event in pool SYNOPSIS struct ibmvfc_event * __ibmvfc_get_event (struct ibmvfc_queue *queue , int reserved ); ARGUMENTS queue ibmvfc queue struct reserved event is for a reserved management command DESCRIPTION Returns a free event from the pool. SEE ALSO...
__ibmvfc_get_target(9)
NAME __ibmvfc_get_target - Find the specified scsi_target (no locking) SYNOPSIS struct ibmvfc_target * __ibmvfc_get_target (struct scsi_target *starget ); ARGUMENTS starget scsi target struct DESCRIPTION Return value: ibmvfc_target struct / NULL if not found SEE ALSO Kernel file ./drivers/scsi/ibmvscsi/ibmvfc...
__ibmvfc_reset_host(9)
NAME __ibmvfc_reset_host - Reset the connection to the server (no locking) SYNOPSIS void __ibmvfc_reset_host (struct ibmvfc_host *vhost ); ARGUMENTS vhost struct ibmvfc host to reset SEE ALSO Kernel file ./drivers/scsi/ibmvscsi/ibmvfc.c ibmvfc_trc_start(9), ibmvfc_trc_end(9), ibmvfc_get_err_index(9), ibm...
__ibmvfc_tgt_get_implicit_logout_evt(9)
NAME __ibmvfc_tgt_get_implicit_logout_evt - Allocate and init an event for implicit logout SYNOPSIS struct ibmvfc_event * __ibmvfc_tgt_get_implicit_logout_evt (struct ibmvfc_target *tgt , void (*done) (struct ibmvfc_event *) ); ARGUMENTS tgt ibmvfc target struct done Routine to call when the ev...
__ibmvfc_work_to_do(9)
NAME __ibmvfc_work_to_do - Is there task level work to do? (no locking) SYNOPSIS int __ibmvfc_work_to_do (struct ibmvfc_host *vhost ); ARGUMENTS vhost ibmvfc host struct RETURN 1 if work to do / 0 if not SEE ALSO Kernel file ./drivers/scsi/ibmvscsi/ibmvfc.c ibmvfc_trc_start(9), ibmvfc_trc_end(9), ibmvfc_...
__ice_alloc_rx_bufs_zc(9)
NAME __ice_alloc_rx_bufs_zc - allocate a number of Rx buffers SYNOPSIS bool __ice_alloc_rx_bufs_zc (struct ice_rx_ring *rx_ring , struct xsk_buff_pool *xsk_pool , u16 count ); ARGUMENTS rx_ring Rx ring xsk_pool XSK buffer pool to pick buffers to be filled by HW count The number of buffers...
__ice_aq_get_set_rss_key(9)
NAME __ice_aq_get_set_rss_key - SYNOPSIS int __ice_aq_get_set_rss_key (struct ice_hw *hw , u16 vsi_id , struct ice_aqc_get_set_rss_keys *key , bool set ); ARGUMENTS hw pointer to the HW struct vsi_id VSI FW index key pointer to key info struct set set true to set ...
__ice_aq_get_set_rss_lut(9)
NAME __ice_aq_get_set_rss_lut - SYNOPSIS int __ice_aq_get_set_rss_lut (struct ice_hw *hw , struct ice_aq_get_set_rss_lut_params *params , bool set ); ARGUMENTS hw pointer to the hardware structure params RSS LUT parameters set set true to set the table, false to get the table DE...
__ice_chk_linearize(9)
NAME __ice_chk_linearize - Check if there are more than 8 buffers per packet SYNOPSIS bool __ice_chk_linearize (struct sk_buff *skb ); ARGUMENTS skb send buffer NOTE This HW can't DMA more than 8 buffers to build a packet on the wire and so we need to figure out the cases where we need to linearize the skb....
__ice_clean_ctrlq(9)
NAME __ice_clean_ctrlq - helper function to clean controlq rings SYNOPSIS int __ice_clean_ctrlq (struct ice_pf *pf , enum ice_ctl_q q_type ); ARGUMENTS pf ptr to struct ice_pf q_type specific Control queue type SEE ALSO Kernel file ./drivers/net/ethernet/intel/ice/ice_main.c ice_hw_to_dev...
__ice_get_coalesce(9)
NAME __ice_get_coalesce - get ITR/INTRL values for the device SYNOPSIS int __ice_get_coalesce (struct net_device *netdev , struct ethtool_coalesce *ec , int q_num ); ARGUMENTS netdev pointer to the netdev associated with this query ec ethtool structure to fill with driver's coalesce settings ...
__ice_maybe_stop_tx(9)
NAME __ice_maybe_stop_tx - 2nd level check for Tx stop conditions SYNOPSIS int __ice_maybe_stop_tx (struct ice_tx_ring *tx_ring , unsigned int size ); ARGUMENTS tx_ring the ring to be checked size the size buffer we want to assure is available DESCRIPTION Returns -EBUSY if a stop is needed, else 0...
__ice_set_coalesce(9)
NAME __ice_set_coalesce - set ITR/INTRL values for the device SYNOPSIS int __ice_set_coalesce (struct net_device *netdev , struct ethtool_coalesce *ec , int q_num ); ARGUMENTS netdev pointer to the netdev associated with this query ec ethtool structure to fill with driver's coalesce settings ...
__ice_set_vf_mac(9)
NAME __ice_set_vf_mac - program VF MAC address SYNOPSIS int __ice_set_vf_mac (struct ice_pf *pf , u16 vf_id , const u8 *mac ); ARGUMENTS pf PF to be configure vf_id VF identifier mac MAC address DESCRIPTION program VF MAC address RETURN zero on success or an error code on fail...
__ice_vsi_get_qs(9)
NAME __ice_vsi_get_qs - helper function for assigning queues from PF to VSI SYNOPSIS int __ice_vsi_get_qs (struct ice_qs_cfg *qs_cfg ); ARGUMENTS qs_cfg gathered variables needed for pf->vsi queues assignment DESCRIPTION This function first tries to find contiguous space. If it is not successful, it tries with ...
__ice_vsi_get_qs_contig(9)
NAME __ice_vsi_get_qs_contig - Assign a contiguous chunk of queues to VSI SYNOPSIS int __ice_vsi_get_qs_contig (struct ice_qs_cfg *qs_cfg ); ARGUMENTS qs_cfg gathered variables needed for PF->VSI queues assignment DESCRIPTION Return 0 on success and -ENOMEM in case of no left space in PF queue bitmap SEE ALSO ...
__ice_vsi_get_qs_sc(9)
NAME __ice_vsi_get_qs_sc - Assign a scattered queues from PF to VSI SYNOPSIS int __ice_vsi_get_qs_sc (struct ice_qs_cfg *qs_cfg ); ARGUMENTS qs_cfg gathered variables needed for pf->vsi queues assignment DESCRIPTION Return 0 on success and -ENOMEM in case of no left space in PF queue bitmap SEE ALSO Kernel fil...
__ice_vsi_set_inner_port_vlan(9)
NAME __ice_vsi_set_inner_port_vlan - set port VLAN VSI context settings to enable a port VLAN SYNOPSIS int __ice_vsi_set_inner_port_vlan (struct ice_vsi *vsi , u16 pvid_info ); ARGUMENTS vsi the VSI to update pvid_info VLAN ID and QoS used to set the PVID VSI context field SEE ALSO Kernel file ./...
__ice_vsi_set_outer_port_vlan(9)
NAME __ice_vsi_set_outer_port_vlan - set the outer port VLAN and related settings SYNOPSIS int __ice_vsi_set_outer_port_vlan (struct ice_vsi *vsi , u16 vlan_info , u16 tpid ); ARGUMENTS vsi VSI to configure vlan_info packed u16 that contains the VLAN prio and ID tpid TPID of the port ...
__ice_write_itr(9)
NAME __ice_write_itr - write throttle rate to register SYNOPSIS void __ice_write_itr (struct ice_q_vector *q_vector , struct ice_ring_container *rc , u16 itr ); ARGUMENTS q_vector pointer to interrupt data structure rc pointer to ring container itr throttle rate in microseconds to ...
__ice_xmit_xdp_ring(9)
NAME __ice_xmit_xdp_ring - submit frame to XDP ring for transmission SYNOPSIS int __ice_xmit_xdp_ring (struct xdp_buff *xdp , struct ice_tx_ring *xdp_ring , bool frame ); ARGUMENTS xdp XDP buffer to be placed onto Tx descriptors xdp_ring XDP ring for transmission frame whether this co...
__idpf_add_mac_filter(9)
NAME __idpf_add_mac_filter - Add mac filter helper function SYNOPSIS int __idpf_add_mac_filter (struct idpf_vport_config *vport_config , const u8 *macaddr ); ARGUMENTS vport_config Vport config structure macaddr Address to add DESCRIPTION Takes mac_filter_list_lock spinlock to add new filter to list. SE...