id stringlengths 4 63 | text stringlengths 153 8.81M |
|---|---|
iommu_free_pages(9) | NAME iommu_free_pages - free pages
SYNOPSIS void iommu_free_pages (void *virt );
ARGUMENTS virt virtual address of the page to be freed.
DESCRIPTION The page must have have been allocated by iommu_alloc_pages_node_sz
SEE ALSO Kernel file ./drivers/iommu/iommu-pages.c iommu_alloc_pages_node_sz(9), ... |
iommu_get_dma_cookie(9) | NAME iommu_get_dma_cookie - Acquire DMA-API resources for a domain
SYNOPSIS int iommu_get_dma_cookie (struct iommu_domain *domain );
ARGUMENTS domain IOMMU domain to prepare for DMA-API usage
SEE ALSO Kernel file ./drivers/iommu/dma-iommu.c iommu_get_msi_cookie(9), iommu_put_dma_cookie(9), iommu_put_msi_cooki... |
iommu_get_domain_for_dev(9) | NAME iommu_get_domain_for_dev - Return the DMA API domain pointer
SYNOPSIS struct iommu_domain * iommu_get_domain_for_dev (struct device *dev );
ARGUMENTS dev Device to query
DESCRIPTION This function can be called within a driver bound to dev. The returned pointer is valid for the lifetime of the bound driv... |
iommu_get_msi_cookie(9) | NAME iommu_get_msi_cookie - Acquire just MSI remapping resources
SYNOPSIS int iommu_get_msi_cookie (struct iommu_domain *domain , dma_addr_t base );
ARGUMENTS domain IOMMU domain to prepare
base Start address of IOVA region for MSI mappings
DESCRIPTION Users who manage their own IOVA allocatio... |
iommu_get_resv_regions(9) | NAME iommu_get_resv_regions - get reserved regions
SYNOPSIS void iommu_get_resv_regions (struct device *dev , struct list_head *list );
ARGUMENTS dev device for which to get reserved regions
list reserved region list for device
DESCRIPTION This returns a list of reserved IOVA regions specific ... |
iommu_group_add_device(9) | NAME iommu_group_add_device - add a device to an iommu group
SYNOPSIS int iommu_group_add_device (struct iommu_group *group , struct device *dev );
ARGUMENTS group the group into which to add the device (reference should be held)
dev the device
DESCRIPTION This function is called by an iommu dr... |
iommu_group_alloc(9) | NAME iommu_group_alloc - Allocate a new group
SYNOPSIS struct iommu_group * iommu_group_alloc (void );
ARGUMENTS void no arguments
DESCRIPTION This function is called by an iommu driver to allocate a new iommu group. The iommu group represents the minimum granularity of the iommu. Upon successful return,... |
iommu_group_claim_dma_owner(9) | NAME iommu_group_claim_dma_owner - Set DMA ownership of a group
SYNOPSIS int iommu_group_claim_dma_owner (struct iommu_group *group , void *owner );
ARGUMENTS group The group.
owner Caller specified pointer. Used for exclusive ownership.
DESCRIPTION This is to support backward compatibility for v... |
iommu_group_dma_owner_claimed(9) | NAME iommu_group_dma_owner_claimed - Query group dma ownership status
SYNOPSIS bool iommu_group_dma_owner_claimed (struct iommu_group *group );
ARGUMENTS group The group.
DESCRIPTION This provides status query on a given group. It is racy and only for non-binding status reporting.
SEE ALSO Kernel file ./dri... |
iommu_group_for_each_dev(9) | NAME iommu_group_for_each_dev - iterate over each device in the group
SYNOPSIS int iommu_group_for_each_dev (struct iommu_group *group , void *data , int (*fn)(struct device *, void *) );
ARGUMENTS group the group
data caller opaque data to be passed to callback function
fn calle... |
iommu_group_get(9) | NAME iommu_group_get - Return the group for a device and increment reference
SYNOPSIS struct iommu_group * iommu_group_get (struct device *dev );
ARGUMENTS dev get the group that this device belongs to
DESCRIPTION This function is called by iommu drivers and users to get the group for the specified device. ... |
iommu_group_get_iommudata(9) | NAME iommu_group_get_iommudata - retrieve iommu_data registered for a group
SYNOPSIS void * iommu_group_get_iommudata (struct iommu_group *group );
ARGUMENTS group the group
DESCRIPTION iommu drivers can store data in the group for use when doing iommu operations. This function provides a way to retrieve it. ... |
iommu_group_has_isolated_msi(9) | NAME iommu_group_has_isolated_msi - Compute msi_device_has_isolated_msi() for a group
SYNOPSIS bool iommu_group_has_isolated_msi (struct iommu_group *group );
ARGUMENTS group Group to query
DESCRIPTION IOMMU groups should not have differing values of msi_device_has_isolated_msi for devices in a group. Howeve... |
iommu_group_id(9) | NAME iommu_group_id - Return ID for a group
SYNOPSIS int iommu_group_id (struct iommu_group *group );
ARGUMENTS group the group to ID
DESCRIPTION Return the unique ID for the group matching the sysfs group number.
SEE ALSO Kernel file ./drivers/iommu/iommu.c iommu_device_register(9), iommu_insert_resv_reg... |
iommu_group_mutex_assert(9) | NAME iommu_group_mutex_assert - Check device group mutex lock
SYNOPSIS void iommu_group_mutex_assert (struct device *dev );
ARGUMENTS dev the device that has group param set
DESCRIPTION This function is called by an iommu driver to check whether it holds group mutex lock for the given device or not. Note th... |
iommu_group_put(9) | NAME iommu_group_put - Decrement group reference
SYNOPSIS void iommu_group_put (struct iommu_group *group );
ARGUMENTS group the group to use
DESCRIPTION This function is called by iommu drivers and users to release the iommu group. Once the reference count is zero, the group is released.
SEE ALSO Kernel fi... |
iommu_group_ref_get(9) | NAME iommu_group_ref_get - Increment reference on a group
SYNOPSIS struct iommu_group * iommu_group_ref_get (struct iommu_group *group );
ARGUMENTS group the group to use, must not be NULL
DESCRIPTION This function is called by iommu drivers to take additional references on an existing group. Returns the give... |
iommu_group_release_dma_owner(9) | NAME iommu_group_release_dma_owner - Release DMA ownership of a group
SYNOPSIS void iommu_group_release_dma_owner (struct iommu_group *group );
ARGUMENTS group The group
DESCRIPTION Release the DMA ownership claimed by iommu_group_claim_dma_owner.
SEE ALSO Kernel file ./drivers/iommu/iommu.c iommu_device_r... |
iommu_group_remove_device(9) | NAME iommu_group_remove_device - remove a device from it's current group
SYNOPSIS void iommu_group_remove_device (struct device *dev );
ARGUMENTS dev device to be removed
DESCRIPTION This function is called by an iommu driver to remove the device from it's current group. This decrements the iommu group refe... |
iommu_group_set_iommudata(9) | NAME iommu_group_set_iommudata - set iommu_data for a group
SYNOPSIS void iommu_group_set_iommudata (struct iommu_group *group , void *iommu_data , void (*release)(void *iommu_data) );
ARGUMENTS group the group
iommu_data new data
release release function for iommu_data
DESCRIPTION iommu d... |
iommu_group_set_name(9) | NAME iommu_group_set_name - set name for a group
SYNOPSIS int iommu_group_set_name (struct iommu_group *group , const char *name );
ARGUMENTS group the group
name name
DESCRIPTION Allow iommu driver to set a name for a group. When set it will appear in a name attribute file under the group in s... |
iommu_insert_resv_region(9) | NAME iommu_insert_resv_region - Insert a new region in the list of reserved regions.
SYNOPSIS int iommu_insert_resv_region (struct iommu_resv_region *new , struct list_head *regions );
ARGUMENTS new new region to insert
regions list of regions
DESCRIPTION Elements are sorted by start address and ... |
iommu_iotlb_gather_add_page(9) | NAME iommu_iotlb_gather_add_page - Gather for page-based TLB invalidation
SYNOPSIS void iommu_iotlb_gather_add_page (struct iommu_domain *domain , struct iommu_iotlb_gather *gather , unsigned long iova , size_t size );
ARGUMENTS domain IOMMU domain to be invalidated
gather TLB gather data
io... |
iommu_iotlb_gather_add_range(9) | NAME iommu_iotlb_gather_add_range - Gather for address-based TLB invalidation
SYNOPSIS void iommu_iotlb_gather_add_range (struct iommu_iotlb_gather *gather , unsigned long iova , size_t size );
ARGUMENTS gather TLB gather data
iova start of page to invalidate
size size of page to in... |
iommu_iotlb_gather_is_disjoint(9) | NAME iommu_iotlb_gather_is_disjoint - Checks whether a new range is disjoint
SYNOPSIS bool iommu_iotlb_gather_is_disjoint (struct iommu_iotlb_gather *gather , unsigned long iova , size_t size );
ARGUMENTS gather TLB gather data
iova start of page to invalidate
size size of page to i... |
iommu_map_sgtable(9) | NAME iommu_map_sgtable - Map the given buffer to the IOMMU domain
SYNOPSIS ssize_t iommu_map_sgtable (struct iommu_domain *domain , unsigned long iova , struct sg_table *sgt , int prot );
ARGUMENTS domain The IOMMU domain to perform the mapping
iova The start address to map the buffer
sgt ... |
iommu_pages_free_incoherent(9) | NAME iommu_pages_free_incoherent - Free an incoherent page
SYNOPSIS void iommu_pages_free_incoherent (void *virt , struct device *dma_dev );
ARGUMENTS virt virtual address of the page to be freed.
dma_dev The iommu device
DESCRIPTION If the page is incoherent it made coherent again then freed.
SE... |
iommu_pages_list_add(9) | NAME iommu_pages_list_add - add the page to a iommu_pages_list
SYNOPSIS void iommu_pages_list_add (struct iommu_pages_list *list , void *virt );
ARGUMENTS list List to add the page to
virt Address returned from iommu_alloc_pages_node_sz
SEE ALSO Kernel file ./drivers/iommu/iommu-pages.h struct ... |
iommu_pages_list_empty(9) | NAME iommu_pages_list_empty - True if the list is empty
SYNOPSIS bool iommu_pages_list_empty (struct iommu_pages_list *list );
ARGUMENTS list List to check
SEE ALSO Kernel file ./drivers/iommu/iommu-pages.h struct ioptdesc(9), iommu_pages_list_add(9), iommu_pages_list_splice(9), iommu_alloc_pages_sz(9)
April... |
iommu_pages_list_splice(9) | NAME iommu_pages_list_splice - Put all the pages in list from into list to
SYNOPSIS void iommu_pages_list_splice (struct iommu_pages_list *from , struct iommu_pages_list *to );
ARGUMENTS from Source list of pages
to Destination list of pages
DESCRIPTION from must be re-initialized after calli... |
iommu_pages_start_incoherent(9) | NAME iommu_pages_start_incoherent - Setup the page for cache incoherent operation
SYNOPSIS int iommu_pages_start_incoherent (void *virt , struct device *dma_dev );
ARGUMENTS virt The page to setup
dma_dev The iommu device
DESCRIPTION For incoherent memory this will use the DMA API to manage th... |
iommu_pages_start_incoherent_list(9) | NAME iommu_pages_start_incoherent_list - Make a list of pages incoherent
SYNOPSIS int iommu_pages_start_incoherent_list (struct iommu_pages_list *list , struct device *dma_dev );
ARGUMENTS list The list of pages to setup
dma_dev The iommu device
DESCRIPTION Perform iommu_pages_start_incoherent acr... |
iommu_pages_stop_incoherent_list(9) | NAME iommu_pages_stop_incoherent_list - Undo incoherence across a list
SYNOPSIS void iommu_pages_stop_incoherent_list (struct iommu_pages_list *list , struct device *dma_dev );
ARGUMENTS list The list of pages to release
dma_dev The iommu device
DESCRIPTION Revert iommu_pages_start_incoherent acro... |
iommu_paging_domain_alloc_flags(9) | NAME iommu_paging_domain_alloc_flags - Allocate a paging domain
SYNOPSIS struct iommu_domain * iommu_paging_domain_alloc_flags (struct device *dev , unsigned int flags );
ARGUMENTS dev device for which the domain is allocated
flags Bitmap of iommufd_hwpt_alloc_flags
DESCRIPTION Allocate a pagin... |
iommu_put_dma_cookie(9) | NAME iommu_put_dma_cookie - Release a domain's DMA mapping resources
SYNOPSIS void iommu_put_dma_cookie (struct iommu_domain *domain );
ARGUMENTS domain IOMMU domain previously prepared by iommu_get_dma_cookie
SEE ALSO Kernel file ./drivers/iommu/dma-iommu.c iommu_get_dma_cookie(9), iommu_get_msi_cookie(9), i... |
iommu_put_msi_cookie(9) | NAME iommu_put_msi_cookie - Release a domain's MSI mapping resources
SYNOPSIS void iommu_put_msi_cookie (struct iommu_domain *domain );
ARGUMENTS domain IOMMU domain previously prepared by iommu_get_msi_cookie
SEE ALSO Kernel file ./drivers/iommu/dma-iommu.c iommu_get_dma_cookie(9), iommu_get_msi_cookie(9), i... |
iommu_put_pages_list(9) | NAME iommu_put_pages_list - free a list of pages.
SYNOPSIS void iommu_put_pages_list (struct iommu_pages_list *list );
ARGUMENTS list The list of pages to be freed
DESCRIPTION Frees a list of pages allocated by iommu_alloc_pages_node_sz. On return the passed list is invalid, the caller must use IOMMU_PAGES_LI... |
iommu_put_resv_regions(9) | NAME iommu_put_resv_regions - release reserved regions
SYNOPSIS void iommu_put_resv_regions (struct device *dev , struct list_head *list );
ARGUMENTS dev device for which to free reserved regions
list reserved region list for device
DESCRIPTION This releases a reserved region list acquired by ... |
iommu_replace_device_pasid(9) | NAME iommu_replace_device_pasid - Replace the domain that a specific pasid of the device is attached to
SYNOPSIS int iommu_replace_device_pasid (struct iommu_domain *domain , struct device *dev , ioasid_t pasid , struct iommu_attach_handle *handle );
ARGUMENTS domain the new iommu domain
dev the ... |
iommu_replace_group_handle(9) | NAME iommu_replace_group_handle - replace the domain that a group is attached to
SYNOPSIS int iommu_replace_group_handle (struct iommu_group *group , struct iommu_domain *new_domain , struct iommu_attach_handle *handle );
ARGUMENTS group IOMMU group that will be attached to the new domain
new_domain ne... |
iommu_report_device_fault(9) | NAME iommu_report_device_fault - Report fault event to device driver
SYNOPSIS int iommu_report_device_fault (struct device *dev , struct iopf_fault *evt );
ARGUMENTS dev the device
evt fault event data
DESCRIPTION Called by IOMMU drivers when a fault is detected, typically in a threaded ... |
iommu_set_fault_handler(9) | NAME iommu_set_fault_handler - set a fault handler for an iommu domain
SYNOPSIS void iommu_set_fault_handler (struct iommu_domain *domain , iommu_fault_handler_t handler , void *token );
ARGUMENTS domain iommu domain
handler fault handler
token user data, will be passed back to the faul... |
iommu_setup_default_domain(9) | NAME iommu_setup_default_domain - Set the default_domain for the group
SYNOPSIS int iommu_setup_default_domain (struct iommu_group *group , int target_type );
ARGUMENTS group Group to change
target_type Domain type to set as the default_domain
DESCRIPTION Allocate a default domain and set it as the cur... |
iommu_sva_bind_device(9) | NAME iommu_sva_bind_device - Bind a process address space to a device
SYNOPSIS struct iommu_sva * iommu_sva_bind_device (struct device *dev , struct mm_struct *mm );
ARGUMENTS dev the device
mm the mm to bind, caller must hold a reference to mm_users
DESCRIPTION Create a bond between dev... |
iommu_sva_unbind_device(9) | NAME iommu_sva_unbind_device - Remove a bond created with iommu_sva_bind_device
SYNOPSIS void iommu_sva_unbind_device (struct iommu_sva *handle );
ARGUMENTS handle the handle returned by iommu_sva_bind_device
DESCRIPTION Put reference to a bond between device and address space. The device should not be issuing ... |
iommu_unmap(9) | NAME iommu_unmap - Remove mappings from a range of IOVA
SYNOPSIS size_t iommu_unmap (struct iommu_domain *domain , unsigned long iova , size_t size );
ARGUMENTS domain Domain to manipulate
iova IO virtual address to start
size Length of the range starting from iova
DESCRIPTION iomm... |
iommu_unmap_fast(9) | NAME iommu_unmap_fast - Remove mappings from a range of IOVA without IOTLB sync
SYNOPSIS size_t iommu_unmap_fast (struct iommu_domain *domain , unsigned long iova , size_t size , struct iommu_iotlb_gather *iotlb_gather );
ARGUMENTS domain Domain to manipulate
iova IO virtual address to start
... |
iommufd_access_create(9) | NAME iommufd_access_create - Create an iommufd_access
SYNOPSIS struct iommufd_access * iommufd_access_create (struct iommufd_ctx *ictx , const struct iommufd_access_ops *ops , void *data , u32 *id );
ARGUMENTS ictx iommufd file descriptor
ops Driver's ops to associate with the access
da... |
iommufd_access_destroy(9) | NAME iommufd_access_destroy - Destroy an iommufd_access
SYNOPSIS void iommufd_access_destroy (struct iommufd_access *access );
ARGUMENTS access The access to destroy
DESCRIPTION The caller must stop using the access before destroying it.
SEE ALSO Kernel file ./drivers/iommu/iommufd/device.c iommufd_device_b... |
iommufd_access_notify_unmap(9) | NAME iommufd_access_notify_unmap - Notify users of an iopt to stop using it
SYNOPSIS void iommufd_access_notify_unmap (struct io_pagetable *iopt , unsigned long iova , unsigned long length );
ARGUMENTS iopt iopt to work on
iova Starting iova in the iopt
length Number of bytes
DESCR... |
iommufd_access_pin_pages(9) | NAME iommufd_access_pin_pages - Return a list of pages under the iova
SYNOPSIS int iommufd_access_pin_pages (struct iommufd_access *access , unsigned long iova , unsigned long length , struct page **out_pages , unsigned int flags );
ARGUMENTS access IOAS access to act on
iova Starting IOVA
... |
iommufd_access_rw(9) | NAME iommufd_access_rw - Read or write data under the iova
SYNOPSIS int iommufd_access_rw (struct iommufd_access *access , unsigned long iova , void *data , size_t length , unsigned int flags );
ARGUMENTS access IOAS access to act on
iova Starting IOVA
data Kernel buffer to copy to/... |
iommufd_access_unpin_pages(9) | NAME iommufd_access_unpin_pages - Undo iommufd_access_pin_pages
SYNOPSIS void iommufd_access_unpin_pages (struct iommufd_access *access , unsigned long iova , unsigned long length );
ARGUMENTS access IOAS access to act on
iova Starting IOVA
length Number of bytes to access
DESCRIPTIO... |
iommufd_ctx_from_fd(9) | NAME iommufd_ctx_from_fd - Acquires a reference to the iommufd context
SYNOPSIS struct iommufd_ctx * iommufd_ctx_from_fd (int fd );
ARGUMENTS fd File descriptor to obtain the reference from
DESCRIPTION Returns a pointer to the iommufd_ctx, otherwise ERR_PTR. On success the caller is responsible to call iomm... |
iommufd_ctx_from_file(9) | NAME iommufd_ctx_from_file - Acquires a reference to the iommufd context
SYNOPSIS struct iommufd_ctx * iommufd_ctx_from_file (struct file *file );
ARGUMENTS file File to obtain the reference from
DESCRIPTION Returns a pointer to the iommufd_ctx, otherwise ERR_PTR. The struct file remains owned by the caller a... |
iommufd_ctx_get(9) | NAME iommufd_ctx_get - Get a context reference
SYNOPSIS void iommufd_ctx_get (struct iommufd_ctx *ictx );
ARGUMENTS ictx Context to get
DESCRIPTION The caller must already hold a valid reference to ictx.
SEE ALSO Kernel file ./drivers/iommu/iommufd/main.c iommufd_ctx_from_file(9), iommufd_ctx_from_fd(9), iom... |
iommufd_ctx_has_group(9) | NAME iommufd_ctx_has_group - True if any device within the group is bound to the ictx
SYNOPSIS bool iommufd_ctx_has_group (struct iommufd_ctx *ictx , struct iommu_group *group );
ARGUMENTS ictx iommufd file descriptor
group Pointer to a physical iommu_group struct
DESCRIPTION True if any device ... |
iommufd_ctx_put(9) | NAME iommufd_ctx_put - Put back a reference
SYNOPSIS void iommufd_ctx_put (struct iommufd_ctx *ictx );
ARGUMENTS ictx Context to put back
SEE ALSO Kernel file ./drivers/iommu/iommufd/main.c iommufd_ctx_get(9), iommufd_ctx_from_file(9), iommufd_ctx_from_fd(9)
April 2026 ... |
iommufd_device_attach(9) | NAME iommufd_device_attach - Connect a device/pasid to an iommu_domain
SYNOPSIS int iommufd_device_attach (struct iommufd_device *idev , ioasid_t pasid , u32 *pt_id );
ARGUMENTS idev device to attach
pasid pasid to attach
pt_id Input a IOMMUFD_OBJ_IOAS, or IOMMUFD_OBJ_HWPT_PAGING Ou... |
iommufd_device_bind(9) | NAME iommufd_device_bind - Bind a physical device to an iommu fd
SYNOPSIS struct iommufd_device * iommufd_device_bind (struct iommufd_ctx *ictx , struct device *dev , u32 *id );
ARGUMENTS ictx iommufd file descriptor
dev Pointer to a physical device struct
id Output ID number t... |
iommufd_device_detach(9) | NAME iommufd_device_detach - Disconnect a device/device to an iommu_domain
SYNOPSIS void iommufd_device_detach (struct iommufd_device *idev , ioasid_t pasid );
ARGUMENTS idev device to detach
pasid pasid to detach
DESCRIPTION Undo iommufd_device_attach. This disconnects the idev from the previou... |
iommufd_device_replace(9) | NAME iommufd_device_replace - Change the device/pasid's iommu_domain
SYNOPSIS int iommufd_device_replace (struct iommufd_device *idev , ioasid_t pasid , u32 *pt_id );
ARGUMENTS idev device to change
pasid pasid to change
pt_id Input a IOMMUFD_OBJ_IOAS, or IOMMUFD_OBJ_HWPT_PAGING Out... |
iommufd_device_unbind(9) | NAME iommufd_device_unbind - Undo iommufd_device_bind()
SYNOPSIS void iommufd_device_unbind (struct iommufd_device *idev );
ARGUMENTS idev Device returned by iommufd_device_bind
DESCRIPTION Release the device from iommufd control. The DMA ownership will return back to unowned with DMA controlled by the DMA AP... |
iommufd_hwpt_nested_alloc(9) | NAME iommufd_hwpt_nested_alloc - Get a NESTED iommu_domain for a device
SYNOPSIS struct iommufd_hwpt_nested * iommufd_hwpt_nested_alloc (struct iommufd_ctx *ictx , struct iommufd_hwpt_paging *parent , struct iommufd_device *idev , u32 flags , const struct iommu_user_data *user_data );
ARGUMENTS ictx iommufd co... |
iommufd_hwpt_paging_alloc(9) | NAME iommufd_hwpt_paging_alloc - Get a PAGING iommu_domain for a device
SYNOPSIS struct iommufd_hwpt_paging * iommufd_hwpt_paging_alloc (struct iommufd_ctx *ictx , struct iommufd_ioas *ioas , struct iommufd_device *idev , ioasid_t pasid , u32 flags , bool immediate_attach , const struct iommu_user_data ... |
iommufd_vfio_compat_ioas_create(9) | NAME iommufd_vfio_compat_ioas_create - Ensure the compat IOAS is created
SYNOPSIS int iommufd_vfio_compat_ioas_create (struct iommufd_ctx *ictx );
ARGUMENTS ictx Context to operate on
DESCRIPTION The compatibility IOAS is the IOAS that the vfio compatibility ioctls operate on since they do not have an IOAS ID... |
iommufd_vfio_compat_ioas_get_id(9) | NAME iommufd_vfio_compat_ioas_get_id - Ensure a compat IOAS exists
SYNOPSIS int iommufd_vfio_compat_ioas_get_id (struct iommufd_ctx *ictx , u32 *out_ioas_id );
ARGUMENTS ictx Context to operate on
out_ioas_id The IOAS ID of the compatibility IOAS
DESCRIPTION Return the ID of the current compatibility ... |
iommufd_vfio_compat_set_no_iommu(9) | NAME iommufd_vfio_compat_set_no_iommu - Called when a no-iommu device is attached
SYNOPSIS int iommufd_vfio_compat_set_no_iommu (struct iommufd_ctx *ictx );
ARGUMENTS ictx Context to operate on
DESCRIPTION This allows selecting the VFIO_NOIOMMU_IOMMU and blocks normal types.
SEE ALSO Kernel file ./drivers/io... |
iommufd_viommu_alloc_hwpt_nested(9) | NAME iommufd_viommu_alloc_hwpt_nested - Get a hwpt_nested for a vIOMMU
SYNOPSIS struct iommufd_hwpt_nested * iommufd_viommu_alloc_hwpt_nested (struct iommufd_viommu *viommu , u32 flags , const struct iommu_user_data *user_data );
ARGUMENTS viommu vIOMMU ojbect to associate the hwpt_nested/domain with
fla... |
ionic_adminq_post_wait(9) | NAME ionic_adminq_post_wait - Post an admin command and wait for response
SYNOPSIS int ionic_adminq_post_wait (struct ionic_lif *lif , struct ionic_admin_ctx *ctx );
ARGUMENTS lif Logical interface
ctx API admin command context
DESCRIPTION Post the command to an admin queue in the ethernet d... |
ionic_bitid_to_qid(9) | NAME ionic_bitid_to_qid - Transform a resource bit index into a queue id
SYNOPSIS u32 ionic_bitid_to_qid (u32 bitid , u8 qgrp_shift , u8 half_qid_shift );
ARGUMENTS bitid Bit index
qgrp_shift Log2 number of queues per queue group
half_qid_shift
Log2 of half the total number o... |
ionic_color_wrap(9) | NAME ionic_color_wrap - Flip the color if prod is wrapped
SYNOPSIS bool ionic_color_wrap (u16 prod , bool color );
ARGUMENTS prod Queue index just after advancing
color Queue color just prior to advancing the index
RETURN color after advancing the index
SEE ALSO Kernel file ./drivers/infini... |
ionic_error_to_errno(9) | NAME ionic_error_to_errno - Transform ionic_if errors to os errno
SYNOPSIS int ionic_error_to_errno (enum ionic_status_code code );
ARGUMENTS code Ionic error number
RETURN Negative OS error number or zero
SEE ALSO Kernel file ./drivers/net/ethernet/pensando/ionic/ionic_api.h struct ionic_aux_dev(9), str... |
ionic_get_cmb(9) | NAME ionic_get_cmb - Reserve cmb pages
SYNOPSIS int ionic_get_cmb (struct ionic_lif *lif , u32 *pgid , phys_addr_t *pgaddr , int order , u8 stride_log2 , bool *expdb );
ARGUMENTS lif Logical interface
pgid First page index
pgaddr First page bus addr (contiguous)
order ... |
ionic_intr_alloc(9) | NAME ionic_intr_alloc - Reserve a device interrupt
SYNOPSIS int ionic_intr_alloc (struct ionic_lif *lif , struct ionic_intr_info *intr );
ARGUMENTS lif Logical interface
intr Reserved ionic interrupt structure
DESCRIPTION Reserve an interrupt index and get irq number for that index.
RETURN ze... |
ionic_intr_free(9) | NAME ionic_intr_free - Release a device interrupt index
SYNOPSIS void ionic_intr_free (struct ionic_lif *lif , int intr );
ARGUMENTS lif Logical interface
intr Interrupt index
DESCRIPTION Mark the interrupt index unused so that it can be reserved again.
SEE ALSO Kernel file ./drivers/net/ethe... |
ionic_put_cmb(9) | NAME ionic_put_cmb - Release cmb pages
SYNOPSIS void ionic_put_cmb (struct ionic_lif *lif , u32 pgid , int order );
ARGUMENTS lif Logical interface
pgid First page index
order Log base two number of pages (PAGE_SIZE)
SEE ALSO Kernel file ./drivers/net/ethernet/pensando/ionic/ioni... |
ionic_qid_to_bitid(9) | NAME ionic_qid_to_bitid - Transform a queue id into a resource bit index
SYNOPSIS u32 ionic_qid_to_bitid (u32 qid , u8 qgrp_shift , u8 half_qid_shift );
ARGUMENTS qid queue index
qgrp_shift Log2 number of queues per queue group
half_qid_shift
Log2 of half the total number o... |
ionic_queue_at(9) | NAME ionic_queue_at - Get the element at the given index
SYNOPSIS void * ionic_queue_at (struct ionic_queue *q , u16 idx );
ARGUMENTS q Queue structure
idx Index in the queue
DESCRIPTION The index must be within the bounds of the queue. It is not checked here.
RETURN pointer to element at... |
ionic_queue_at_cons(9) | NAME ionic_queue_at_cons - Get the element at the consumer index
SYNOPSIS void * ionic_queue_at_cons (struct ionic_queue *q );
ARGUMENTS q Queue structure
RETURN pointer to element at consumer index
SEE ALSO Kernel file ./drivers/infiniband/hw/ionic/ionic_queue.h struct ionic_queue(9), ionic_q... |
ionic_queue_at_prod(9) | NAME ionic_queue_at_prod - Get the element at the producer index
SYNOPSIS void * ionic_queue_at_prod (struct ionic_queue *q );
ARGUMENTS q Queue structure
RETURN pointer to element at producer index
SEE ALSO Kernel file ./drivers/infiniband/hw/ionic/ionic_queue.h struct ionic_queue(9), ionic_q... |
ionic_queue_consume(9) | NAME ionic_queue_consume - Increase the consumer index
SYNOPSIS void ionic_queue_consume (struct ionic_queue *q );
ARGUMENTS q Queue structure
DESCRIPTION Caller must ensure that the queue is not empty. It is not checked here. This is only valid for to-device queues.
SEE ALSO Kernel file ./drivers... |
ionic_queue_consume_entries(9) | NAME ionic_queue_consume_entries - Increase the consumer index by entries
SYNOPSIS void ionic_queue_consume_entries (struct ionic_queue *q , u16 entries );
ARGUMENTS q Queue structure
entries Number of entries to increment
DESCRIPTION Caller must ensure that the queue is not empty. It is not c... |
ionic_queue_dbell_init(9) | NAME ionic_queue_dbell_init - Initialize doorbell bits for queue id
SYNOPSIS void ionic_queue_dbell_init (struct ionic_queue *q , u32 qid );
ARGUMENTS q Queue structure
qid Queue identifying number
SEE ALSO Kernel file ./drivers/infiniband/hw/ionic/ionic_queue.h struct ionic_queue(9... |
ionic_queue_dbell_val(9) | NAME ionic_queue_dbell_val - Get current doorbell update value
SYNOPSIS u64 ionic_queue_dbell_val (struct ionic_queue *q );
ARGUMENTS q Queue structure
RETURN current doorbell update value
SEE ALSO Kernel file ./drivers/infiniband/hw/ionic/ionic_queue.h struct ionic_queue(9), ionic_queue_init(... |
ionic_queue_destroy(9) | NAME ionic_queue_destroy - Destroy user space queue
SYNOPSIS void ionic_queue_destroy (struct ionic_queue *q , struct device *dma_dev );
ARGUMENTS q Queue structure
dma_dev DMA device for mapping
RETURN status code
SEE ALSO Kernel file ./drivers/infiniband/hw/ionic/ionic_queue.h struct ... |
ionic_queue_empty(9) | NAME ionic_queue_empty - Test if queue is empty
SYNOPSIS bool ionic_queue_empty (struct ionic_queue *q );
ARGUMENTS q Queue structure
DESCRIPTION This is only valid for to-device queues.
RETURN is empty
SEE ALSO Kernel file ./drivers/infiniband/hw/ionic/ionic_queue.h struct ionic_queue(9), ionic_queue_in... |
ionic_queue_full(9) | NAME ionic_queue_full - Test if queue is full
SYNOPSIS bool ionic_queue_full (struct ionic_queue *q );
ARGUMENTS q Queue structure
DESCRIPTION This is only valid for to-device queues.
RETURN is full
SEE ALSO Kernel file ./drivers/infiniband/hw/ionic/ionic_queue.h struct ionic_queue(9), ionic_... |
ionic_queue_init(9) | NAME ionic_queue_init - Initialize user space queue
SYNOPSIS int ionic_queue_init (struct ionic_queue *q , struct device *dma_dev , int depth , size_t stride );
ARGUMENTS q Uninitialized queue structure
dma_dev DMA device for mapping
depth Depth of the queue
stride Siz... |
ionic_queue_length(9) | NAME ionic_queue_length - Get the current length of the queue
SYNOPSIS u16 ionic_queue_length (struct ionic_queue *q );
ARGUMENTS q Queue structure
DESCRIPTION This is only valid for to-device queues.
RETURN length
SEE ALSO Kernel file ./drivers/infiniband/hw/ionic/ionic_queue.h struct ionic_queue(9), i... |
ionic_queue_length_remaining(9) | NAME ionic_queue_length_remaining - Get the remaining length of the queue
SYNOPSIS u16 ionic_queue_length_remaining (struct ionic_queue *q );
ARGUMENTS q Queue structure
DESCRIPTION This is only valid for to-device queues.
RETURN length remaining
SEE ALSO Kernel file ./drivers/infiniband/hw/ionic/ioni... |
ionic_queue_next(9) | NAME ionic_queue_next - Compute the next index
SYNOPSIS u16 ionic_queue_next (struct ionic_queue *q , u16 idx );
ARGUMENTS q Queue structure
idx Index
RETURN next index after idx
SEE ALSO Kernel file ./drivers/infiniband/hw/ionic/ionic_queue.h struct ionic_queue(9), ionic_queue... |
ionic_queue_produce(9) | NAME ionic_queue_produce - Increase the producer index
SYNOPSIS void ionic_queue_produce (struct ionic_queue *q );
ARGUMENTS q Queue structure
DESCRIPTION Caller must ensure that the queue is not full. It is not checked here.
SEE ALSO Kernel file ./drivers/infiniband/hw/ionic/ionic_queue.h struct... |
ionic_request_rdma_reset(9) | NAME ionic_request_rdma_reset - request reset or disable the device or lif
SYNOPSIS void ionic_request_rdma_reset (struct ionic_lif *lif );
ARGUMENTS lif Logical interface
DESCRIPTION The reset is triggered asynchronously. It will wait until reset request completes or times out.
SEE ALSO Kernel file ./dri... |
ionic_resid_destroy(9) | NAME ionic_resid_destroy - Destroy a resid allocator
SYNOPSIS void ionic_resid_destroy (struct ionic_resid_bits *resid );
ARGUMENTS resid Resid allocator
SEE ALSO Kernel file ./drivers/infiniband/hw/ionic/ionic_res.h struct ionic_resid_bits(9), ionic_resid_init(9), ionic_resid_get_shared(9), ionic_resid_get(9)... |
ionic_resid_get(9) | NAME ionic_resid_get - Allocate an available resource id
SYNOPSIS int ionic_resid_get (struct ionic_resid_bits *resid );
ARGUMENTS resid Resid allocator
RETURN Resource id, or negative error number
SEE ALSO Kernel file ./drivers/infiniband/hw/ionic/ionic_res.h struct ionic_resid_bits(9), ionic_resid_init(9), ... |
ionic_resid_get_shared(9) | NAME ionic_resid_get_shared - Allocate an available shared resource id
SYNOPSIS int ionic_resid_get_shared (struct ionic_resid_bits *resid , unsigned int min , unsigned int size );
ARGUMENTS resid Resid allocator
min Smallest valid resource id
size One after largest valid resource... |
ionic_resid_init(9) | NAME ionic_resid_init - Initialize a resid allocator
SYNOPSIS void ionic_resid_init (struct ionic_resid_bits *resid , unsigned int size );
ARGUMENTS resid Uninitialized resid allocator
size Capacity of the allocator
RETURN Zero on success, or negative error number
SEE ALSO Kernel file ./drivers... |
ionic_resid_put(9) | NAME ionic_resid_put - Free a resource id
SYNOPSIS void ionic_resid_put (struct ionic_resid_bits *resid , int id );
ARGUMENTS resid Resid allocator
id Resource id
SEE ALSO Kernel file ./drivers/infiniband/hw/ionic/ionic_res.h struct ionic_resid_bits(9), ionic_resid_init(9), ionic_resid_destroy... |
ionice(1) | NAME ionice - set or get process I/O scheduling class and priority
SYNOPSIS ionice [-c class] [-n level] [-t] -p PID
ionice [-c class] [-n level] [-t] -P PGID
ionice [-c class] [-n level] [-t] -u UID
ionice [-c class] [-n level] [-t] command [argument] ...
DESCRIPTION This program sets or gets... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.