id
stringlengths
4
63
text
stringlengths
153
8.81M
iopen_go_callback(9)
NAME iopen_go_callback - schedule the dcache entry for the inode to be deleted SYNOPSIS void iopen_go_callback (struct gfs2_glock *gl , bool remote ); ARGUMENTS gl the glock remote true if this came from a different cluster node DESCRIPTION gl_lockref.lock lock is held while calling this SEE A...
ioperm(2)
NAME ioperm - set port input/output permissions LIBRARY Standard C library (libc, -lc) SYNOPSIS #include <sys/io.h> int ioperm(unsigned long from, unsigned long num, int turn_on); DESCRIPTION ioperm() sets the port access permission bits for the calling thread for num bits starting from port address fr...
iopf_group_response(9)
NAME iopf_group_response - Respond a group of page faults SYNOPSIS void iopf_group_response (struct iopf_group *group , enum iommu_page_response_code status ); ARGUMENTS group the group of faults with the same group id status the response code SEE ALSO Kernel file ./drivers/iommu/io-pgfault.c iomm...
iopf_queue_add_device(9)
NAME iopf_queue_add_device - Add producer to the fault queue SYNOPSIS int iopf_queue_add_device (struct iopf_queue *queue , struct device *dev ); ARGUMENTS queue IOPF queue dev device to add RETURN 0 on success and <0 on error. SEE ALSO Kernel file ./drivers/iommu/io-pgfault.c iommu_report_dev...
iopf_queue_alloc(9)
NAME iopf_queue_alloc - Allocate and initialize a fault queue SYNOPSIS struct iopf_queue * iopf_queue_alloc (const char *name ); ARGUMENTS name a unique string identifying the queue (for workqueue) RETURN the queue on success and NULL on error. SEE ALSO Kernel file ./drivers/iommu/io-pgfault.c iommu_re...
iopf_queue_discard_partial(9)
NAME iopf_queue_discard_partial - Remove all pending partial fault SYNOPSIS int iopf_queue_discard_partial (struct iopf_queue *queue ); ARGUMENTS queue the queue whose partial faults need to be discarded DESCRIPTION When the hardware queue overflows, last page faults in a group may have been lost and the IOMMU...
iopf_queue_flush_dev(9)
NAME iopf_queue_flush_dev - Ensure that all queued faults have been processed SYNOPSIS int iopf_queue_flush_dev (struct device *dev ); ARGUMENTS dev the endpoint whose faults need to be flushed. DESCRIPTION The IOMMU driver calls this before releasing a PASID, to ensure that all pending faults for this PASID...
iopf_queue_free(9)
NAME iopf_queue_free - Free IOPF queue SYNOPSIS void iopf_queue_free (struct iopf_queue *queue ); ARGUMENTS queue queue to free DESCRIPTION Counterpart to iopf_queue_alloc. The driver must not be queuing faults or adding/removing devices on this queue anymore. SEE ALSO Kernel file ./drivers/iommu/io-pgfault....
iopf_queue_remove_device(9)
NAME iopf_queue_remove_device - Remove producer from fault queue SYNOPSIS void iopf_queue_remove_device (struct iopf_queue *queue , struct device *dev ); ARGUMENTS queue IOPF queue dev device to remove DESCRIPTION Removing a device from an iopf_queue. It's recommended to follow these steps wh...
iopgtable_clear_entry(9)
NAME iopgtable_clear_entry - Remove an iommu pte entry SYNOPSIS size_t iopgtable_clear_entry (struct omap_iommu *obj , u32 da ); ARGUMENTS obj target iommu da iommu device virtual address SEE ALSO Kernel file ./drivers/iommu/omap-iommu.c to_omap_domain(9), omap_iommu_save_ctx(9), o...
iopgtable_lookup_entry(9)
NAME iopgtable_lookup_entry - Lookup an iommu pte entry SYNOPSIS void iopgtable_lookup_entry (struct omap_iommu *obj , u32 da , u32 **ppgd , u32 **ppte ); ARGUMENTS obj target iommu da iommu device virtual address ppgd iommu pgd entry pointer to be returned ppte ...
iopl(2)
NAME iopl - change I/O privilege level LIBRARY Standard C library (libc, -lc) SYNOPSIS #include <sys/io.h> [[deprecated]] int iopl(int level); DESCRIPTION iopl() changes the I/O privilege level of the calling thread, as specified by the two least significant bits in level. The I/O privilege level for...
ioprio_get(2)
NAME ioprio_get, ioprio_set - get/set I/O scheduling class and priority LIBRARY Standard C library (libc, -lc) SYNOPSIS #include <linux/ioprio.h> /* Definition of IOPRIO_* constants */ #include <sys/syscall.h> /* Definition of SYS_* constants */ #include <unistd.h> int syscall(SYS_ioprio_get, int which...
ioprio_set(2)
NAME ioprio_get, ioprio_set - get/set I/O scheduling class and priority LIBRARY Standard C library (libc, -lc) SYNOPSIS #include <linux/ioprio.h> /* Definition of IOPRIO_* constants */ #include <sys/syscall.h> /* Definition of SYS_* constants */ #include <unistd.h> int syscall(SYS_ioprio_get, int which...
iopt_area_add_access(9)
NAME iopt_area_add_access - Record an in-knerel access for PFNs SYNOPSIS int iopt_area_add_access (struct iopt_area *area , unsigned long start_index , unsigned long last_index , struct page **out_pages , unsigned int flags , bool lock_area ); ARGUMENTS area The source of PFNs start_index First page in...
iopt_area_fill_domain(9)
NAME iopt_area_fill_domain - Map PFNs from the area into a domain SYNOPSIS int iopt_area_fill_domain (struct iopt_area *area , struct iommu_domain *domain ); ARGUMENTS area IOVA area to use domain Domain to load PFNs into DESCRIPTION Read the pfns from the area's underlying iopt_pages and map the...
iopt_area_fill_domains(9)
NAME iopt_area_fill_domains - Install PFNs into the area's domains SYNOPSIS int iopt_area_fill_domains (struct iopt_area *area , struct iopt_pages *pages ); ARGUMENTS area The area to act on pages The pages associated with the area (area->pages is NULL) DESCRIPTION Called during area creation...
iopt_area_remove_access(9)
NAME iopt_area_remove_access - Release an in-kernel access for PFNs SYNOPSIS void iopt_area_remove_access (struct iopt_area *area , unsigned long start_index , unsigned long last_index , bool unlock_area ); ARGUMENTS area The source of PFNs start_index First page index last_index Inclusive las...
iopt_area_split(9)
NAME iopt_area_split - Split an area into two parts at iova SYNOPSIS int iopt_area_split (struct iopt_area *area , unsigned long iova ); ARGUMENTS area The area to split iova Becomes the last of a new area DESCRIPTION This splits an area into two. It is part of the VFIO compatibility to allow p...
iopt_area_unfill_domain(9)
NAME iopt_area_unfill_domain - Unmap and unpin PFNs in a domain SYNOPSIS void iopt_area_unfill_domain (struct iopt_area *area , struct iopt_pages *pages , struct iommu_domain *domain ); ARGUMENTS area IOVA area to use pages page supplier for the area (area->pages is NULL) domain Doma...
iopt_area_unfill_domains(9)
NAME iopt_area_unfill_domains - unmap PFNs from the area's domains SYNOPSIS void iopt_area_unfill_domains (struct iopt_area *area , struct iopt_pages *pages ); ARGUMENTS area The area to act on pages The pages associated with the area (area->pages is NULL) DESCRIPTION Called during area destruct...
iopt_area_unmap_domain(9)
NAME iopt_area_unmap_domain - Unmap without unpinning PFNs in a domain SYNOPSIS void iopt_area_unmap_domain (struct iopt_area *area , struct iommu_domain *domain ); ARGUMENTS area The IOVA range to unmap domain The domain to unmap DESCRIPTION The caller must know that unpinning is not required, u...
iopt_fill_domain(9)
NAME iopt_fill_domain - Fill a domain with PFNs SYNOPSIS int iopt_fill_domain (struct io_pagetable *iopt , struct iommu_domain *domain ); ARGUMENTS iopt io_pagetable to act on domain domain to fill DESCRIPTION Fill the domain with PFNs from every area in the iopt. On failure the domain is left un...
iopt_map_file_pages(9)
NAME iopt_map_file_pages - Like iopt_map_user_pages, but map a file. SYNOPSIS int iopt_map_file_pages (struct iommufd_ctx *ictx , struct io_pagetable *iopt , unsigned long *iova , int fd , unsigned long start , unsigned long length , int iommu_prot , unsigned int flags ); ARGUMENTS ictx iommufd_ctx the iopt is...
iopt_map_user_pages(9)
NAME iopt_map_user_pages - Map a user VA to an iova in the io page table SYNOPSIS int iopt_map_user_pages (struct iommufd_ctx *ictx , struct io_pagetable *iopt , unsigned long *iova , void __user *uptr , unsigned long length , int iommu_prot , unsigned int flags ); ARGUMENTS ictx iommufd_ctx the iopt is part o...
iopt_pages_fill_from_xarray(9)
NAME iopt_pages_fill_from_xarray - Fast path for reading PFNs SYNOPSIS void iopt_pages_fill_from_xarray (struct iopt_pages *pages , unsigned long start_index , unsigned long last_index , struct page **out_pages ); ARGUMENTS pages The pages to act on start_index The first page index in the range ...
iopt_pages_fill_xarray(9)
NAME iopt_pages_fill_xarray - Read PFNs SYNOPSIS int iopt_pages_fill_xarray (struct iopt_pages *pages , unsigned long start_index , unsigned long last_index , struct page **out_pages ); ARGUMENTS pages The pages to act on start_index The first page index in the range last_index The last page in...
iopt_pages_rw_access(9)
NAME iopt_pages_rw_access - Copy to/from a linear slice of the pages SYNOPSIS int iopt_pages_rw_access (struct iopt_pages *pages , unsigned long start_byte , void *data , unsigned long length , unsigned int flags ); ARGUMENTS pages pages to act on start_byte First byte of pages to copy to/from ...
iopt_pages_unfill_xarray(9)
NAME iopt_pages_unfill_xarray - Update the xarry after removing an access SYNOPSIS void iopt_pages_unfill_xarray (struct iopt_pages *pages , unsigned long start_index , unsigned long last_index ); ARGUMENTS pages The pages to act on start_index Starting PFN index last_index Last PFN index DESC...
iopt_unfill_domain(9)
NAME iopt_unfill_domain - Unfill a domain with PFNs SYNOPSIS void iopt_unfill_domain (struct io_pagetable *iopt , struct iommu_domain *domain ); ARGUMENTS iopt io_pagetable to act on domain domain to unfill DESCRIPTION This is used when removing a domain from the iopt. Every area in the iopt will...
iopt_unmap_iova(9)
NAME iopt_unmap_iova - Remove a range of iova SYNOPSIS int iopt_unmap_iova (struct io_pagetable *iopt , unsigned long iova , unsigned long length , unsigned long *unmapped ); ARGUMENTS iopt io_pagetable to act on iova Starting iova to unmap length Number of bytes to unmap un...
ioremap(9)
NAME ioremap - map bus memory into CPU space SYNOPSIS void __iomem * ioremap (resource_size_t phys_addr , unsigned long size ); ARGUMENTS phys_addr bus address of the memory size size of the resource to map DESCRIPTION ioremap performs a platform specific sequence of operations to make bus memory CP...
ioremap_uc(9)
NAME ioremap_uc - map bus memory into CPU space as strongly uncachable SYNOPSIS void __iomem * ioremap_uc (resource_size_t phys_addr , unsigned long size ); ARGUMENTS phys_addr bus address of the memory size size of the resource to map DESCRIPTION ioremap_uc performs a platform specific sequence of ...
ioremap_wc(9)
NAME ioremap_wc - map memory into CPU space write combined SYNOPSIS void __iomem * ioremap_wc (resource_size_t phys_addr , unsigned long size ); ARGUMENTS phys_addr bus address of the memory size size of the resource to map DESCRIPTION This version of ioremap ensures that the memory is marked write ...
ioremap_wt(9)
NAME ioremap_wt - map memory into CPU space write through SYNOPSIS void __iomem * ioremap_wt (resource_size_t phys_addr , unsigned long size ); ARGUMENTS phys_addr bus address of the memory size size of the resource to map DESCRIPTION This version of ioremap ensures that the memory is marked write t...
iort_add_platform_device(9)
NAME iort_add_platform_device - Allocate a platform device for IORT node SYNOPSIS int iort_add_platform_device (struct acpi_iort_node *node , const struct iort_dev_config *ops ); ARGUMENTS node Pointer to device ACPI IORT node ops Pointer to IORT device config struct RETURN 0 on success, <0 fa...
iort_delete_fwnode(9)
NAME iort_delete_fwnode - Delete fwnode associated with an IORT node SYNOPSIS void iort_delete_fwnode (struct acpi_iort_node *node ); ARGUMENTS node IORT table node associated with fwnode to delete SEE ALSO Kernel file ./drivers/acpi/arm64/iort.c iort_set_fwnode(9), iort_get_fwnode(9), iort_get_iort_node...
iort_deregister_domain_token(9)
NAME iort_deregister_domain_token - Deregister domain token based on ITS ID SYNOPSIS void iort_deregister_domain_token (int trans_id ); ARGUMENTS trans_id ITS ID. RETURN none. SEE ALSO Kernel file ./drivers/acpi/arm64/iort.c iort_set_fwnode(9), iort_get_fwnode(9), iort_delete_fwnode(9), iort_get_iort...
iort_dev_find_its_id(9)
NAME iort_dev_find_its_id - Find the ITS identifier for a device SYNOPSIS int iort_dev_find_its_id (struct device *dev , u32 id , unsigned int idx , int *its_id ); ARGUMENTS dev The device. id Device's ID idx Index of the ITS identifier list. its_id ITS identifier...
iort_dma_get_ranges(9)
NAME iort_dma_get_ranges - Look up DMA addressing limit for the device SYNOPSIS int iort_dma_get_ranges (struct device *dev , u64 *limit ); ARGUMENTS dev device to lookup limit DMA limit result pointer RETURN 0 on success, an error otherwise. SEE ALSO Kernel file ./drivers/acpi/arm64/iort.c ...
iort_find_domain_token(9)
NAME iort_find_domain_token - Find domain token based on given ITS ID SYNOPSIS struct fwnode_handle * iort_find_domain_token (int trans_id ); ARGUMENTS trans_id ITS ID. RETURN domain token when find on the list, NULL otherwise SEE ALSO Kernel file ./drivers/acpi/arm64/iort.c iort_set_fwnode(9), iort_get_f...
iort_get_device_domain(9)
NAME iort_get_device_domain - Find MSI domain related to a device SYNOPSIS struct irq_domain * iort_get_device_domain (struct device *dev , u32 id , enum irq_domain_bus_token bus_token ); ARGUMENTS dev The device. id Requester ID for the device. bus_token irq domain bus token. RETU...
iort_get_fwnode(9)
NAME iort_get_fwnode - Retrieve fwnode associated with an IORT node SYNOPSIS struct fwnode_handle * iort_get_fwnode (struct acpi_iort_node *node ); ARGUMENTS node IORT table node to be looked-up RETURN fwnode_handle pointer on success, NULL on failure SEE ALSO Kernel file ./drivers/acpi/arm64/iort.c iort_se...
iort_get_iort_node(9)
NAME iort_get_iort_node - Retrieve iort_node associated with an fwnode SYNOPSIS struct acpi_iort_node * iort_get_iort_node (struct fwnode_handle *fwnode ); ARGUMENTS fwnode fwnode associated with device to be looked-up RETURN iort_node pointer on success, NULL on failure SEE ALSO Kernel file ./drivers/acpi/a...
iort_get_platform_device_domain(9)
NAME iort_get_platform_device_domain - Find MSI domain related to a platform device SYNOPSIS struct irq_domain * iort_get_platform_device_domain (struct device *dev ); ARGUMENTS dev the dev pointer associated with the platform device RETURN the MSI domain for this device, NULL otherwise SEE ALSO Kernel fil...
iort_get_rmr_sids(9)
NAME iort_get_rmr_sids - Retrieve IORT RMR node reserved regions with associated StreamIDs information. SYNOPSIS void iort_get_rmr_sids (struct fwnode_handle *iommu_fwnode , struct list_head *head ); ARGUMENTS iommu_fwnode fwnode associated with IOMMU head Resereved region list SEE ALSO Kernel file ...
iort_iommu_configure_id(9)
NAME iort_iommu_configure_id - Set-up IOMMU configuration for a device. SYNOPSIS int iort_iommu_configure_id (struct device *dev , const u32 *id_in ); ARGUMENTS dev device to configure id_in optional input id const value pointer RETURN 0 on success, <0 on failure SEE ALSO Kernel file ./drive...
iort_iommu_get_resv_regions(9)
NAME iort_iommu_get_resv_regions - Generic helper to retrieve reserved regions. SYNOPSIS void iort_iommu_get_resv_regions (struct device *dev , struct list_head *head ); ARGUMENTS dev Device from iommu_get_resv_regions head Reserved region list from iommu_get_resv_regions SEE ALSO Kernel file...
iort_msi_map_id(9)
NAME iort_msi_map_id - Map a MSI input ID for a device SYNOPSIS u32 iort_msi_map_id (struct device *dev , u32 input_id ); ARGUMENTS dev The device for which the mapping is to be done. input_id The device input ID. RETURN mapped MSI ID on success, input ID otherwise SEE ALSO Kernel file ./driver...
iort_msi_xlate(9)
NAME iort_msi_xlate - Map a MSI input ID for a device SYNOPSIS u32 iort_msi_xlate (struct device *dev , u32 input_id , struct fwnode_handle **fwnode ); ARGUMENTS dev The device for which the mapping is to be done. input_id The device input ID. fwnode Pointer to store the fwnode. RETUR...
iort_pmsi_get_msi_info(9)
NAME iort_pmsi_get_msi_info - Get the device id and translate frame PA for a device SYNOPSIS int iort_pmsi_get_msi_info (struct device *dev , u32 *dev_id , phys_addr_t *pa ); ARGUMENTS dev The device for which the mapping is to be done. dev_id The device ID found. pa optional poi...
iort_put_rmr_sids(9)
NAME iort_put_rmr_sids - Free memory allocated for RMR reserved regions. SYNOPSIS void iort_put_rmr_sids (struct fwnode_handle *iommu_fwnode , struct list_head *head ); ARGUMENTS iommu_fwnode fwnode associated with IOMMU head Resereved region list SEE ALSO Kernel file ./drivers/acpi/arm64/iort.c io...
iort_register_domain_token(9)
NAME iort_register_domain_token - register domain token along with related ITS ID and base address to the list from where we can get it back later on. SYNOPSIS int iort_register_domain_token (int trans_id , phys_addr_t base , struct fwnode_handle *fw_node ); ARGUMENTS trans_id ITS ID. base ITS base ...
iort_set_fwnode(9)
NAME iort_set_fwnode - Create iort_fwnode and use it to register iommu data in the iort_fwnode_list SYNOPSIS int iort_set_fwnode (struct acpi_iort_node *iort_node , struct fwnode_handle *fwnode ); ARGUMENTS iort_node IORT table node associated with the IOMMU fwnode fwnode associated with the IORT node ...
iosapic_load_irt(9)
NAME iosapic_load_irt - Fill in the interrupt routing table SYNOPSIS int iosapic_load_irt (unsigned long cell_num , struct irt_entry **irt ); ARGUMENTS cell_num The cell number of the CPU we're currently executing on irt The address to place the new IRT at return The number of entries found DESCRI...
iosf_mbi_assert_punit_acquired(9)
NAME iosf_mbi_assert_punit_acquired - Assert that the P-Unit has been acquired. SYNOPSIS void iosf_mbi_assert_punit_acquired (void ); ARGUMENTS void no arguments SEE ALSO Kernel file ./arch/x86/include/asm/iosf_mbi.h iosf_mbi_read(9), iosf_mbi_write(9), iosf_mbi_modify(9), iosf_mbi_punit_acquire(9),...
iosf_mbi_block_punit_i2c_access(9)
NAME iosf_mbi_block_punit_i2c_access - Block P-Unit accesses to the PMIC bus SYNOPSIS int iosf_mbi_block_punit_i2c_access (void ); ARGUMENTS void no arguments DESCRIPTION Call this function to block P-Unit access to the PMIC I2C bus, so that the kernel can safely access the PMIC over the shared I2C bus. Thi...
iosf_mbi_modify(9)
NAME iosf_mbi_modify - MailBox masked write command SYNOPSIS int iosf_mbi_modify (u8 port , u8 opcode , u32 offset , u32 mdr , u32 mask ); ARGUMENTS port port indicating subunit being accessed opcode port specific read or write opcode offset register address offset mdr ...
iosf_mbi_punit_acquire(9)
NAME iosf_mbi_punit_acquire - Acquire access to the P-Unit SYNOPSIS void iosf_mbi_punit_acquire (void ); ARGUMENTS void no arguments DESCRIPTION One some systems the P-Unit accesses the PMIC to change various voltages through the same bus as other kernel drivers use for e.g. battery monitoring. If a driver ...
iosf_mbi_punit_release(9)
NAME iosf_mbi_punit_release - Release access to the P-Unit SYNOPSIS void iosf_mbi_punit_release (void ); ARGUMENTS void no arguments SEE ALSO Kernel file ./arch/x86/include/asm/iosf_mbi.h iosf_mbi_read(9), iosf_mbi_write(9), iosf_mbi_modify(9), iosf_mbi_punit_acquire(9), iosf_mbi_block_punit_i2c_acces...
iosf_mbi_read(9)
NAME iosf_mbi_read - MailBox Interface read command SYNOPSIS int iosf_mbi_read (u8 port , u8 opcode , u32 offset , u32 *mdr ); ARGUMENTS port port indicating subunit being accessed opcode port specific read or write opcode offset register address offset mdr register da...
iosf_mbi_register_pmic_bus_access_notifier(9)
NAME iosf_mbi_register_pmic_bus_access_notifier - Register PMIC bus notifier SYNOPSIS int iosf_mbi_register_pmic_bus_access_notifier (struct notifier_block *nb ); ARGUMENTS nb notifier_block to register DESCRIPTION This function can be used by drivers which may need to acquire P-Unit managed resources fr...
iosf_mbi_unregister_pmic_bus_access_notifier_unlocked(9)
NAME iosf_mbi_unregister_pmic_bus_access_notifier_unlocked - Unregister PMIC bus notifier, unlocked SYNOPSIS int iosf_mbi_unregister_pmic_bus_access_notifier_unlocked (struct notifier_block *nb ); ARGUMENTS nb notifier_block to unregister DESCRIPTION Like iosf_mbi_unregister_pmic_bus_access_notifier, but fo...
iosf_mbi_write(9)
NAME iosf_mbi_write - MailBox unmasked write command SYNOPSIS int iosf_mbi_write (u8 port , u8 opcode , u32 offset , u32 mdr ); ARGUMENTS port port indicating subunit being accessed opcode port specific read or write opcode offset register address offset mdr register d...
iosubmit_cmds512(9)
NAME iosubmit_cmds512 - copy data to single MMIO location, in 512-bit units SYNOPSIS void iosubmit_cmds512 (void __iomem *dst , const void *src , size_t count ); ARGUMENTS dst destination, in MMIO space (must be 512-bit aligned) src source count number of 512 bits quantities to s...
iosys_map_clear(9)
NAME iosys_map_clear - Clears a iosys mapping structure SYNOPSIS void iosys_map_clear (struct iosys_map *map ); ARGUMENTS map The iosys_map structure DESCRIPTION Clears all fields to zero, including struct iosys_map.is_iomem, so mapping structures that were set to point to I/O memory are reset for system mem...
iosys_map_incr(9)
NAME iosys_map_incr - Increments the address stored in a iosys mapping SYNOPSIS void iosys_map_incr (struct iosys_map *map , size_t incr ); ARGUMENTS map The iosys_map structure incr The number of bytes to increment DESCRIPTION Increments the address stored in a iosys mapping. Depending on the...
iosys_map_is_equal(9)
NAME iosys_map_is_equal - Compares two iosys mapping structures for equality SYNOPSIS bool iosys_map_is_equal (const struct iosys_map *lhs , const struct iosys_map *rhs ); ARGUMENTS lhs The iosys_map structure rhs A iosys_map structure to compare with DESCRIPTION Two iosys mapping structures ...
iosys_map_is_null(9)
NAME iosys_map_is_null - Tests for a iosys mapping to be NULL SYNOPSIS bool iosys_map_is_null (const struct iosys_map *map ); ARGUMENTS map The iosys_map structure DESCRIPTION Depending on the state of struct iosys_map.is_iomem, tests if the mapping is NULL. RETURN True if the mapping is NULL, or false othe...
iosys_map_is_set(9)
NAME iosys_map_is_set - Tests if the iosys mapping has been set SYNOPSIS bool iosys_map_is_set (const struct iosys_map *map ); ARGUMENTS map The iosys_map structure DESCRIPTION Depending on the state of struct iosys_map.is_iomem, tests if the mapping has been set. RETURN True if the mapping is been set, or ...
iosys_map_memcpy_from(9)
NAME iosys_map_memcpy_from - Memcpy from iosys_map into system memory SYNOPSIS void iosys_map_memcpy_from (void *dst , const struct iosys_map *src , size_t src_offset , size_t len ); ARGUMENTS dst Destination in system memory src The iosys_map structure src_offset The offset from whic...
iosys_map_memcpy_to(9)
NAME iosys_map_memcpy_to - Memcpy into offset of iosys_map SYNOPSIS void iosys_map_memcpy_to (struct iosys_map *dst , size_t dst_offset , const void *src , size_t len ); ARGUMENTS dst The iosys_map structure dst_offset The offset from which to copy src The source buffer len ...
iosys_map_memset(9)
NAME iosys_map_memset - Memset iosys_map SYNOPSIS void iosys_map_memset (struct iosys_map *dst , size_t offset , int value , size_t len ); ARGUMENTS dst The iosys_map structure offset Offset from dst where to start setting value value The value to set len The number ...
iosys_map_rd(9)
NAME iosys_map_rd - Read a C-type value from the iosys_map SYNOPSIS iosys_map_rd (map__ , offset__ , type__ ); ARGUMENTS map__ The iosys_map structure offset__ The offset from which to read type__ Type of the value being read DESCRIPTION Read a C type value (u8, u16, u32 and u64) from i...
iosys_map_rd_field(9)
NAME iosys_map_rd_field - Read a member from a struct in the iosys_map SYNOPSIS iosys_map_rd_field (map__ , struct_offset__ , struct_type__ , field__ ); ARGUMENTS map__ The iosys_map structure struct_offset__ Offset from the beginning of the map, where the struct is located st...
iosys_map_set_vaddr(9)
NAME iosys_map_set_vaddr - Sets a iosys mapping structure to an address in system memory SYNOPSIS void iosys_map_set_vaddr (struct iosys_map *map , void *vaddr ); ARGUMENTS map The iosys_map structure vaddr A system-memory address DESCRIPTION Sets the address and clears the I/O-memory flag. SE...
iosys_map_set_vaddr_iomem(9)
NAME iosys_map_set_vaddr_iomem - Sets a iosys mapping structure to an address in I/O memory SYNOPSIS void iosys_map_set_vaddr_iomem (struct iosys_map *map , void __iomem *vaddr_iomem ); ARGUMENTS map The iosys_map structure vaddr_iomem An I/O-memory address DESCRIPTION Sets the address and the I/O-me...
iosys_map_wr(9)
NAME iosys_map_wr - Write a C-type value to the iosys_map SYNOPSIS iosys_map_wr (map__ , offset__ , type__ , val__ ); ARGUMENTS map__ The iosys_map structure offset__ The offset from the mapping to write to type__ Type of the value being written val__ Value to write DESCRI...
iosys_map_wr_field(9)
NAME iosys_map_wr_field - Write to a member of a struct in the iosys_map SYNOPSIS iosys_map_wr_field (map__ , struct_offset__ , struct_type__ , field__ , val__ ); ARGUMENTS map__ The iosys_map structure struct_offset__ Offset from the beginning of the map, where the struct is located ...
iounmap(9)
NAME iounmap - Free a IO remapping SYNOPSIS void iounmap (volatile void __iomem *addr ); ARGUMENTS addr virtual address from ioremap_* DESCRIPTION Caller must ensure there is only one unmapping for the same pointer. SEE ALSO Kernel file ./arch/x86/mm/ioremap.c ioremap(9), ioremap_uc(9), ioremap_wc(9), iorema...
iov_iter_discard(9)
NAME iov_iter_discard - Initialise an I/O iterator that discards data SYNOPSIS void iov_iter_discard (struct iov_iter *i , unsigned int direction , size_t count ); ARGUMENTS i The iterator to initialise. direction The direction of the transfer. count The size of the I/O buffer in byt...
iov_iter_extract_bvecs(9)
NAME iov_iter_extract_bvecs - Extract bvecs from an iterator SYNOPSIS ssize_t iov_iter_extract_bvecs (struct iov_iter *iter , struct bio_vec *bv , size_t max_size , unsigned short *nr_vecs , unsigned short max_vecs , iov_iter_extraction_t extraction_flags ); ARGUMENTS iter the iterator to extract from ...
iov_iter_extract_pages(9)
NAME iov_iter_extract_pages - Extract a list of contiguous pages from an iterator SYNOPSIS ssize_t iov_iter_extract_pages (struct iov_iter *i , struct page ***pages , size_t maxsize , unsigned int maxpages , iov_iter_extraction_t extraction_flags , size_t *offset0 ); ARGUMENTS i The iterator to extract from...
iov_iter_extract_will_pin(9)
NAME iov_iter_extract_will_pin - Indicate how pages from the iterator will be retained SYNOPSIS bool iov_iter_extract_will_pin (const struct iov_iter *iter ); ARGUMENTS iter The iterator DESCRIPTION Examine the iterator and indicate by returning true or false as to how, if at all, pages extracted from the ...
iov_iter_folio_queue(9)
NAME iov_iter_folio_queue - Initialise an I/O iterator to use the folios in a folio queue SYNOPSIS void iov_iter_folio_queue (struct iov_iter *i , unsigned int direction , const struct folio_queue *folioq , unsigned int first_slot , unsigned int offset , size_t count ); ARGUMENTS i The iterator to initialis...
iov_iter_restore(9)
NAME iov_iter_restore - Restore a &struct iov_iter to the same state as when iov_iter_save_state() was called. SYNOPSIS void iov_iter_restore (struct iov_iter *i , struct iov_iter_state *state ); ARGUMENTS i struct iov_iter to restore state state to restore from DESCRIPTION Used after iov_ite...
iov_iter_xarray(9)
NAME iov_iter_xarray - Initialise an I/O iterator to use the pages in an xarray SYNOPSIS void iov_iter_xarray (struct iov_iter *i , unsigned int direction , struct xarray *xarray , loff_t start , size_t count ); ARGUMENTS i The iterator to initialise. direction The direction of the transfer. ...
iova_bitmap_alloc(9)
NAME iova_bitmap_alloc - Allocates an IOVA bitmap object SYNOPSIS struct iova_bitmap * iova_bitmap_alloc (unsigned long iova , size_t length , unsigned long page_size , u64 __user *data ); ARGUMENTS iova Start address of the IOVA range length Length of the IOVA range page_size Page size ...
iova_bitmap_for_each(9)
NAME iova_bitmap_for_each - Iterates over the bitmap SYNOPSIS int iova_bitmap_for_each (struct iova_bitmap *bitmap , void *opaque , iova_bitmap_fn_t fn ); ARGUMENTS bitmap IOVA bitmap to iterate opaque Additional argument to pass to the callback fn Function that gets called for each...
iova_bitmap_free(9)
NAME iova_bitmap_free - Frees an IOVA bitmap object SYNOPSIS void iova_bitmap_free (struct iova_bitmap *bitmap ); ARGUMENTS bitmap IOVA bitmap to free DESCRIPTION It unpins and releases pages array memory and clears any leftover state. SEE ALSO Kernel file ./drivers/iommu/iommufd/iova_bitmap.c iova_bitmap_allo...
iova_bitmap_set(9)
NAME iova_bitmap_set - Records an IOVA range in bitmap SYNOPSIS void iova_bitmap_set (struct iova_bitmap *bitmap , unsigned long iova , size_t length ); ARGUMENTS bitmap IOVA bitmap iova IOVA to start length IOVA range length DESCRIPTION Set the bits corresponding to the range [iova ...
iovec(3type)
NAME iovec - Vector I/O data structure LIBRARY Standard C library (libc) SYNOPSIS #include <sys/uio.h> struct iovec { void *iov_base; /* Starting address */ size_t iov_len; /* Size of the memory pointed to by iov_base. */ }; DESCRIPTION Describes a region of memory, begin...
iowait_cancel_work(9)
NAME iowait_cancel_work - cancel all work in iowait SYNOPSIS void iowait_cancel_work (struct iowait *w ); ARGUMENTS w the iowait struct SEE ALSO Kernel file ./drivers/infiniband/hw/hfi1/iowait.c iowait_set_work_flag(9), iowait_priority_update_top(9) April 2026 ...
iowait_drain_wakeup(9)
NAME iowait_drain_wakeup - trigger iowait_drain() waiter SYNOPSIS void iowait_drain_wakeup (struct iowait *wait ); ARGUMENTS wait iowait structure DESCRIPTION This will trigger any waiters. SEE ALSO Kernel file ./drivers/infiniband/hw/hfi1/iowait.h iowait_schedule(9), iowait_tid_schedule(9), iowait_sdma_dra...
iowait_get_ib_work(9)
NAME iowait_get_ib_work - return iowait_work for ib SE SYNOPSIS struct iowait_work * iowait_get_ib_work (struct iowait *w ); ARGUMENTS w the iowait struct SEE ALSO Kernel file ./drivers/infiniband/hw/hfi1/iowait.h iowait_schedule(9), iowait_tid_schedule(9), iowait_sdma_drain(9), iowait_sdma_pending(9), io...
iowait_get_tid_work(9)
NAME iowait_get_tid_work - return iowait_work for tid SE SYNOPSIS struct iowait_work * iowait_get_tid_work (struct iowait *w ); ARGUMENTS w the iowait struct SEE ALSO Kernel file ./drivers/infiniband/hw/hfi1/iowait.h iowait_schedule(9), iowait_tid_schedule(9), iowait_sdma_drain(9), iowait_sdma_pending(9),...
iowait_get_txhead(9)
NAME iowait_get_txhead - get packet off of iowait list SYNOPSIS struct sdma_txreq * iowait_get_txhead (struct iowait_work *wait ); ARGUMENTS wait iowait_work structure SEE ALSO Kernel file ./drivers/infiniband/hw/hfi1/iowait.h iowait_schedule(9), iowait_tid_schedule(9), iowait_sdma_drain(9), iowait_sdma_pend...
iowait_ioww_to_iow(9)
NAME iowait_ioww_to_iow - return iowait given iowait_work SYNOPSIS struct iowait * iowait_ioww_to_iow (struct iowait_work *w ); ARGUMENTS w the iowait_work struct SEE ALSO Kernel file ./drivers/infiniband/hw/hfi1/iowait.h iowait_schedule(9), iowait_tid_schedule(9), iowait_sdma_drain(9), iowait_sdma_pendin...
iowait_packet_queued(9)
NAME iowait_packet_queued - determine if a packet is queued SYNOPSIS bool iowait_packet_queued (struct iowait_work *wait ); ARGUMENTS wait the iowait_work structure SEE ALSO Kernel file ./drivers/infiniband/hw/hfi1/iowait.h iowait_schedule(9), iowait_tid_schedule(9), iowait_sdma_drain(9), iowait_sdma_pending...
iowait_pio_dec(9)
NAME iowait_pio_dec - note pio complete SYNOPSIS int iowait_pio_dec (struct iowait *wait ); ARGUMENTS wait iowait structure SEE ALSO Kernel file ./drivers/infiniband/hw/hfi1/iowait.h iowait_schedule(9), iowait_tid_schedule(9), iowait_sdma_drain(9), iowait_sdma_pending(9), iowait_sdma_inc(9), iowait_sdma_add(...