id
stringlengths
4
63
text
stringlengths
153
8.81M
inv_icm42600_buffer_update_watermark(9)
NAME inv_icm42600_buffer_update_watermark - update watermark FIFO threshold SYNOPSIS int inv_icm42600_buffer_update_watermark (struct inv_icm42600_state *st ); ARGUMENTS st driver internal state DESCRIPTION Returns 0 on success, a negative error code otherwise. FIFO watermark threshold is computed based ...
inv_icm42600_irq_init(9)
NAME inv_icm42600_irq_init - initialize int pin and interrupt handler SYNOPSIS int inv_icm42600_irq_init (struct inv_icm42600_state *st , int irq , int irq_type , bool open_drain ); ARGUMENTS st driver internal state irq irq number irq_type irq trigger type open_drain true...
inv_icm42600_setup(9)
NAME inv_icm42600_setup - check and setup chip SYNOPSIS int inv_icm42600_setup (struct inv_icm42600_state *st , inv_icm42600_bus_setup bus_setup ); ARGUMENTS st driver internal state bus_setup callback for setting up bus specific registers DESCRIPTION Returns 0 on success, a negative error code ot...
inv_icm45600_buffer_update_watermark(9)
NAME inv_icm45600_buffer_update_watermark - update watermark FIFO threshold SYNOPSIS int inv_icm45600_buffer_update_watermark (struct inv_icm45600_state *st ); ARGUMENTS st driver internal state DESCRIPTION FIFO watermark threshold is computed based on the required watermark values set for gyro and accel ...
inv_icm45600_irq_init(9)
NAME inv_icm45600_irq_init - initialize int pin and interrupt handler SYNOPSIS int inv_icm45600_irq_init (struct inv_icm45600_state *st , int irq , int irq_type , bool open_drain ); ARGUMENTS st driver internal state irq irq number irq_type irq trigger type open_drain true...
inv_icm45600_setup(9)
NAME inv_icm45600_setup - check and setup chip SYNOPSIS int inv_icm45600_setup (struct inv_icm45600_state *st , const struct inv_icm45600_chip_info *chip_info , bool reset , inv_icm45600_bus_setup bus_setup ); ARGUMENTS st driver internal state chip_info detected chip description reset ...
inv_mpu6050_set_enable(9)
NAME inv_mpu6050_set_enable - enable chip functions. SYNOPSIS int inv_mpu6050_set_enable (struct iio_dev *indio_dev , bool enable ); ARGUMENTS indio_dev Device driver instance. enable enable/disable SEE ALSO Kernel file ./drivers/iio/imu/inv_mpu6050/inv_mpu_trigger.c inv_mpu_data_rdy_trigger_set_state...
inv_mpu6050_validate_trigger(9)
NAME inv_mpu6050_validate_trigger - validate_trigger callback for invensense MPU6050 device. SYNOPSIS int inv_mpu6050_validate_trigger (struct iio_dev *indio_dev , struct iio_trigger *trig ); ARGUMENTS indio_dev The IIO device trig The new trigger RETURN 0 if the 'trig' matches the trigger registere...
inv_mpu_aux_init(9)
NAME inv_mpu_aux_init - init i2c auxiliary bus SYNOPSIS int inv_mpu_aux_init (const struct inv_mpu6050_state *st ); ARGUMENTS st driver internal state DESCRIPTION Returns 0 on success, a negative error code otherwise. SEE ALSO Kernel file ./drivers/iio/imu/inv_mpu6050/inv_mpu_aux.c inv_mpu_aux_read(9), inv...
inv_mpu_aux_read(9)
NAME inv_mpu_aux_read - read register function for i2c auxiliary bus SYNOPSIS int inv_mpu_aux_read (const struct inv_mpu6050_state *st , uint8_t addr , uint8_t reg , uint8_t *val , size_t size ); ARGUMENTS st driver internal state. addr chip i2c Address reg chip register addres...
inv_mpu_aux_write(9)
NAME inv_mpu_aux_write - write register function for i2c auxiliary bus SYNOPSIS int inv_mpu_aux_write (const struct inv_mpu6050_state *st , uint8_t addr , uint8_t reg , uint8_t val ); ARGUMENTS st driver internal state. addr chip i2c Address reg chip register address va...
inv_mpu_data_rdy_trigger_set_state(9)
NAME inv_mpu_data_rdy_trigger_set_state - set data ready interrupt state SYNOPSIS int inv_mpu_data_rdy_trigger_set_state (struct iio_trigger *trig , bool state ); ARGUMENTS trig Trigger instance state Desired trigger state SEE ALSO Kernel file ./drivers/iio/imu/inv_mpu6050/inv_mpu_trigger.c inv_...
inv_mpu_magn_get_scale(9)
NAME inv_mpu_magn_get_scale - get magnetometer scale value SYNOPSIS int inv_mpu_magn_get_scale (const struct inv_mpu6050_state *st , const struct iio_chan_spec *chan , int *val , int *val2 ); ARGUMENTS st driver internal state chan -- undescribed -- val -- undescribed -- ...
inv_mpu_magn_probe(9)
NAME inv_mpu_magn_probe - probe and setup magnetometer chip SYNOPSIS int inv_mpu_magn_probe (struct inv_mpu6050_state *st ); ARGUMENTS st driver internal state DESCRIPTION Returns 0 on success, a negative error code otherwise It is probing the chip and setting up all needed i2c transfers. Noop if there is ...
inv_mpu_magn_read(9)
NAME inv_mpu_magn_read - read magnetometer data SYNOPSIS int inv_mpu_magn_read (struct inv_mpu6050_state *st , int axis , int *val ); ARGUMENTS st driver internal state axis IIO modifier axis value val store corresponding axis value DESCRIPTION Returns 0 on success, a negative...
inv_mpu_magn_set_orient(9)
NAME inv_mpu_magn_set_orient - fill magnetometer mounting matrix SYNOPSIS int inv_mpu_magn_set_orient (struct inv_mpu6050_state *st ); ARGUMENTS st driver internal state DESCRIPTION Returns 0 on success, a negative error code otherwise Fill magnetometer mounting matrix using the provided chip matrix. SEE A...
inv_mpu_magn_set_rate(9)
NAME inv_mpu_magn_set_rate - set magnetometer sampling rate SYNOPSIS int inv_mpu_magn_set_rate (const struct inv_mpu6050_state *st , int fifo_rate ); ARGUMENTS st driver internal state fifo_rate mpu set fifo rate DESCRIPTION Returns 0 on success, a negative error code otherwise Limit sampling fre...
inv_mpu_probe(9)
NAME inv_mpu_probe - probe function. SYNOPSIS int inv_mpu_probe (struct i2c_client *client ); ARGUMENTS client i2c client. DESCRIPTION Returns 0 on success, a negative error code otherwise. SEE ALSO Kernel file ./drivers/iio/imu/inv_mpu6050/inv_mpu_i2c.c April 2026 ...
inv_probe(9)
NAME inv_probe - top-to-bottom search for one usuable high memory area SYNOPSIS u_long inv_probe (struct resource_map *m , struct pcmcia_socket *s ); ARGUMENTS m resource_map to check s PCMCIA socket to validate SEE ALSO Kernel file ./drivers/pcmcia/rsrc_nonstatic.c do_validate_mem(9), do...
invalf(9)
NAME invalf - Store supplementary invalid argument error message SYNOPSIS invalf (fc , fmt , ... ); ARGUMENTS fc The context in which to log the error message fmt The format string ... variable arguments DESCRIPTION Store the supplementary error message for the process if the...
invalid_key_init(9)
NAME invalid_key_init - initialize invalid node key. SYNOPSIS void invalid_key_init (const struct ubifs_info *c , union ubifs_key *key ); ARGUMENTS c UBIFS file-system description object key key to initialize DESCRIPTION This is a helper function which marks a key object as invalid. SEE AL...
invalidate_disk(9)
NAME invalidate_disk - invalidate the disk SYNOPSIS void invalidate_disk (struct gendisk *disk ); ARGUMENTS disk the struct gendisk to invalidate DESCRIPTION A helper to invalidates the disk. It will clean the disk's associated buffer/page caches and reset its internal states so that the disk can be reused by...
invalidate_fastmap(9)
NAME invalidate_fastmap - destroys a fastmap. SYNOPSIS int invalidate_fastmap (struct ubi_device *ubi ); ARGUMENTS ubi UBI device object DESCRIPTION This function ensures that upon next UBI attach a full scan is issued. We need this if UBI is about to write a new fastmap but is unable to do so. In this ca...
invalidate_icache_range(9)
NAME invalidate_icache_range - Flush the icache by issuing icbi across an address range SYNOPSIS void invalidate_icache_range (unsigned long start , unsigned long stop ); ARGUMENTS start the start address stop the stop address (exclusive) SEE ALSO Kernel file ./arch/powerpc/mm/cacheflush.c flush...
invalidate_inode_pages2(9)
NAME invalidate_inode_pages2 - remove all pages from an address_space SYNOPSIS int invalidate_inode_pages2 (struct address_space *mapping ); ARGUMENTS mapping the address_space DESCRIPTION Any pages which are found to be mapped into pagetables are unmapped prior to invalidation. RETURN -EBUSY if any pages could...
invalidate_inode_pages2_range(9)
NAME invalidate_inode_pages2_range - remove range of pages from an address_space SYNOPSIS int invalidate_inode_pages2_range (struct address_space *mapping , pgoff_t start , pgoff_t end ); ARGUMENTS mapping the address_space start the page offset 'from' which to invalidate end the pag...
invalidate_mapping_pages(9)
NAME invalidate_mapping_pages - Invalidate all clean, unlocked cache of one inode SYNOPSIS unsigned long invalidate_mapping_pages (struct address_space *mapping , pgoff_t start , pgoff_t end ); ARGUMENTS mapping the address_space which holds the cache to invalidate start the offset 'from' which to i...
inw(2)
NAME outb, outw, outl, outsb, outsw, outsl, inb, inw, inl, insb, insw, insl, outb_p, outw_p, outl_p, inb_p, inw_p, inl_p - port I/O LIBRARY Standard C library (libc, -lc) SYNOPSIS #include <sys/io.h> unsigned char inb(unsigned short port); unsigned char inb_p(unsigned short port); unsigned short...
inw_p(2)
NAME outb, outw, outl, outsb, outsw, outsl, inb, inw, inl, insb, insw, insl, outb_p, outw_p, outl_p, inb_p, inw_p, inl_p - port I/O LIBRARY Standard C library (libc, -lc) SYNOPSIS #include <sys/io.h> unsigned char inb(unsigned short port); unsigned char inb_p(unsigned short port); unsigned short...
inwstr.3x(3)
NAME inwstr, innwstr, winwstr, winnwstr, mvinwstr, mvinnwstr, mvwinwstr, mvwinnwstr - get a wide-character string from a curses window SYNOPSIS #include <ncursesw/curses.h> int inwstr(wchar_t *wstr); int innwstr(wchar_t *wstr, int n); int winwstr(WINDOW *win, wchar_t *wstr); int winnwstr(W...
io_cancel(2)
NAME io_cancel - cancel an outstanding asynchronous I/O operation LIBRARY Standard C library (libc, -lc) Alternatively, Asynchronous I/O library (libaio, -laio); see VERSIONS. SYNOPSIS #include <linux/aio_abi.h> /* Definition of needed types */ #include <sys/syscall.h> /* Definition of SYS_* constants...
io_delay_show(9)
NAME io_delay_show - io missing delay SYNOPSIS ssize_t io_delay_show (struct device *cdev , struct device_attribute *attr , char *buf ); ARGUMENTS cdev pointer to embedded class device attr ? buf the buffer returned DESCRIPTION This is for firmware implemention for deboucing dev...
io_destroy(2)
NAME io_destroy - destroy an asynchronous I/O context LIBRARY Standard C library (libc, -lc) SYNOPSIS #include <linux/aio_abi.h> /* Definition of aio_context_t */ #include <sys/syscall.h> /* Definition of SYS_* constants */ #include <unistd.h> int syscall(SYS_io_destroy, aio_context_t ctx_id); ...
io_getevents(2)
NAME io_getevents - read asynchronous I/O events from the completion queue LIBRARY Standard C library (libc, -lc) Alternatively, Asynchronous I/O library (libaio, -laio); see VERSIONS. SYNOPSIS #include <linux/aio_abi.h> /* Definition of *io_* types */ #include <sys/syscall.h> /* Definition of SYS_* c...
io_init(9)
NAME io_init - initialize I/O sub-system for a given UBI device. SYNOPSIS int io_init (struct ubi_device *ubi , int max_beb_per1024 ); ARGUMENTS ubi UBI device description object max_beb_per1024 maximum expected number of bad PEB per 1024 PEBs DESCRIPTION If ubi->vid_hdr_offset or...
io_ns_show(9)
NAME io_ns_show - io wait ns - this is the number of ns spent waiting on all I/O to complete. This includes tape movement commands such as rewinding, seeking to end of file or tape, it also includes read and write. To deter‐ mine the time spent on tape movement subtract the read and write ns from this value. SYNOPSI...
io_setup(2)
NAME io_setup - create an asynchronous I/O context LIBRARY Standard C library (libc, -lc) Alternatively, Asynchronous I/O library (libaio, -laio); see VERSIONS. SYNOPSIS #include <linux/aio_abi.h> /* Defines needed types */ long io_setup(unsigned int nr_events, aio_context_t *ctx_idp); ...
io_subchannel_sch_event(9)
NAME io_subchannel_sch_event - process subchannel event SYNOPSIS int io_subchannel_sch_event (struct subchannel *sch , int process ); ARGUMENTS sch subchannel process non-zero if function is called in process context DESCRIPTION An unspecified event occurred for this subchannel. Adjust data acc...
io_submit(2)
NAME io_submit - submit asynchronous I/O blocks for processing LIBRARY Standard C library (libc, -lc) Alternatively, Asynchronous I/O library (libaio, -laio); see VERSIONS. SYNOPSIS #include <linux/aio_abi.h> /* Defines needed types */ int io_submit(aio_context_t ctx_id, long nr, struct iocb ...
ioat_check_space_lock(9)
NAME ioat_check_space_lock - verify space and grab ring producer lock SYNOPSIS int ioat_check_space_lock (struct ioatdma_chan *ioat_chan , int num_descs ); ARGUMENTS ioat_chan ioat,3 channel (ring) to operate on num_descs allocation length SEE ALSO Kernel file ./drivers/dma/ioat/dma.c ioat_dma_do_interru...
ioat_dma_do_interrupt(9)
NAME ioat_dma_do_interrupt - handler used for single vector interrupt mode SYNOPSIS irqreturn_t ioat_dma_do_interrupt (int irq , void *data ); ARGUMENTS irq interrupt id data interrupt data SEE ALSO Kernel file ./drivers/dma/ioat/dma.c ioat_dma_do_interrupt_msix(9), ioat_update_pending(9), ioa...
ioat_dma_do_interrupt_msix(9)
NAME ioat_dma_do_interrupt_msix - handler used for vector-per-channel interrupt mode SYNOPSIS irqreturn_t ioat_dma_do_interrupt_msix (int irq , void *data ); ARGUMENTS irq interrupt id data interrupt data SEE ALSO Kernel file ./drivers/dma/ioat/dma.c ioat_dma_do_interrupt(9), ioat_update_pendi...
ioat_dma_self_test(9)
NAME ioat_dma_self_test - Perform a IOAT transaction to verify the HW works. SYNOPSIS int ioat_dma_self_test (struct ioatdma_device *ioat_dma ); ARGUMENTS ioat_dma dma device to be tested SEE ALSO Kernel file ./drivers/dma/ioat/init.c ioat_dma_setup_interrupts(9), ioat_enumerate_channels(9), ioat_free_chan_resour...
ioat_dma_setup_interrupts(9)
NAME ioat_dma_setup_interrupts - setup interrupt handler SYNOPSIS int ioat_dma_setup_interrupts (struct ioatdma_device *ioat_dma ); ARGUMENTS ioat_dma ioat dma device SEE ALSO Kernel file ./drivers/dma/ioat/init.c ioat_dma_self_test(9), ioat_enumerate_channels(9), ioat_free_chan_resources(9) April 2026 ...
ioat_enumerate_channels(9)
NAME ioat_enumerate_channels - find and initialize the device's channels SYNOPSIS void ioat_enumerate_channels (struct ioatdma_device *ioat_dma ); ARGUMENTS ioat_dma the ioat dma device to be enumerated SEE ALSO Kernel file ./drivers/dma/ioat/init.c ioat_dma_self_test(9), ioat_dma_setup_interrupts(9), ioat_free_c...
ioat_free_chan_resources(9)
NAME ioat_free_chan_resources - release all the descriptors SYNOPSIS void ioat_free_chan_resources (struct dma_chan *c ); ARGUMENTS c the channel to be cleaned SEE ALSO Kernel file ./drivers/dma/ioat/init.c ioat_dma_self_test(9), ioat_dma_setup_interrupts(9), ioat_enumerate_channels(9) April 2026 ...
ioat_update_pending(9)
NAME ioat_update_pending - log pending descriptors SYNOPSIS void ioat_update_pending (struct ioatdma_chan *ioat_chan ); ARGUMENTS ioat_chan ioat+ channel DESCRIPTION Check if the number of unsubmitted descriptors has exceeded the watermark. Called with prep_lock held SEE ALSO Kernel file ./drivers/dma/ioat/dma.c...
ioc_clear_queue(9)
NAME ioc_clear_queue - break any ioc association with the specified queue SYNOPSIS void ioc_clear_queue (struct request_queue *q ); ARGUMENTS q request_queue being cleared DESCRIPTION Walk q->icq_list and exit all io_cq's. SEE ALSO Kernel file ./block/blk-ioc.c get_io_context(9), put_io_context(9), ioc_lo...
ioc_create_icq(9)
NAME ioc_create_icq - create and link io_cq SYNOPSIS struct io_cq * ioc_create_icq (struct request_queue *q ); ARGUMENTS q request_queue of interest DESCRIPTION Make sure io_cq linking ioc and q exists. If icq doesn't exist, they will be created using gfp_mask. The caller is responsible for ensuring i...
ioc_lookup_icq(9)
NAME ioc_lookup_icq - lookup io_cq from ioc in io issue path SYNOPSIS struct io_cq * ioc_lookup_icq (struct request_queue *q ); ARGUMENTS q the associated request_queue DESCRIPTION Look up io_cq associated with ioc - q pair from ioc. Must be called from io issue path, either return NULL if current issue i...
ioc_reset_count_show(9)
NAME ioc_reset_count_show - ioc reset count SYNOPSIS ssize_t ioc_reset_count_show (struct device *cdev , struct device_attribute *attr , char *buf ); ARGUMENTS cdev pointer to embedded class device attr ? buf the buffer returned DESCRIPTION This is firmware queue depth limit A s...
iocost.conf(5)
NAME iocost.conf - Configuration files for the iocost solution manager SYNOPSIS /etc/systemd/iocost.conf /etc/systemd/iocost.conf.d/*.conf DESCRIPTION This file configures the behavior of "iocost", a tool mostly used by systemd-udevd(8) rules to automatically apply I/O cost solutions to /sys/fs/cgroup/io.cost.*. ...
ioctl(2)
NAME ioctl - control device LIBRARY Standard C library (libc, -lc) SYNOPSIS #include <sys/ioctl.h> int ioctl(int fd, unsigned long op, ...); /* glibc, BSD */ int ioctl(int fd, int op, ...); /* musl, other UNIX */ DESCRIPTION The ioctl() system call manipulates the underlying device parame...
ioctl(3p)
PROLOG This manual page is part of the POSIX Programmer's Manual. The Linux implementation of this interface may differ (consult the corresponding Linux manual page for details of Linux behavior), or the interface may not be implemented on Linux. NAME ioctl — control a STREAMS device (STREAMS) SYNOPSIS #include <...
ioctl_console(2)
NAME ioctl_console - ioctls for console terminal and virtual consoles SYNOPSIS #include <sys/ioctl.h> int ioctl(int fd, unsigned long op, ...); DESCRIPTION The following Linux-specific ioctl(2) operations are supported for console terminals and virtual consoles. KDGETLED(2const) KDSETLED(2const...
ioctl_done(9)
NAME ioctl_done - callback from the low level driver SYNOPSIS void ioctl_done (uioc_t *kioc ); ARGUMENTS kioc completed ioctl packet SEE ALSO Kernel file ./drivers/scsi/megaraid/megaraid_mm.c mraid_mm_open(9), mraid_mm_ioctl(9), mraid_mm_get_adapter(9), handle_drvrcmd(9), mimd_to_kioc(9), mraid_mm_attach_buf(...
ioctl_eventpoll(2)
NAME ioctl_eventpoll, EPIOCSPARAMS, EPIOCGPARAMS - ioctl() operations for epoll file descriptors LIBRARY Standard C library (libc, -lc) SYNOPSIS #include <sys/epoll.h> /* Definition of EPIOC* constants */ #include <sys/ioctl.h> int ioctl(int fd, EPIOCSPARAMS, const struct epoll_params *argp); int ioct...
ioctl_fat(2)
NAME ioctl_fat - manipulating the FAT filesystem LIBRARY Standard C library (libc, -lc) SYNOPSIS #include <sys/ioctl.h> int ioctl(int fd, unsigned long op, ...); DESCRIPTION The ioctl(2) system call can be used to read and write metadata of FAT filesystems that are not accessible using other system calls. T...
ioctl_fs(2)
NAME ioctl_fs - filesystem operations LIBRARY Standard C library (libc, -lc) SYNOPSIS #include <linux/fs.h> /* Definition of op constants */ #include <sys/ioctl.h> int ioctl(int fd, unsigned long op, ...); DESCRIPTION The following op values are available. Share some of the data of one file with another...
ioctl_fsmap(2)
NAME ioctl_fsmap, FS_IOC_GETFSMAP - retrieve the physical layout of the filesystem LIBRARY Standard C library (libc, -lc) SYNOPSIS #include <linux/fsmap.h> /* Definition of FS_IOC_GETFSMAP, FM?_OF_*, and *FMR_OWN_* constants */ #include <sys/ioctl.h> int ioctl(int fd, FS_IOC_GETFSMAP, struct fsmap_head * arg...
ioctl_kd(2)
NAME ioctl_kd - ioctls for console terminal and virtual consoles SYNOPSIS #include <linux/kd.h> /* Definition of op constants */ #include <sys/ioctl.h> int ioctl(int fd, unsigned long op, void *argp); DESCRIPTION The following Linux-specific ioctl(2) operations are supported for console terminals and virtual...
ioctl_nsfs(2)
NAME ioctl_nsfs - ioctl() operations for Linux namespaces SYNOPSIS #include <linux/nsfs.h> /* Definition of NS_* constants */ #include <sys/ioctl.h> int ioctl(int fd, unsigned long op, ...); DESCRIPTION Discovering namespace relationships NS_GET_USERNS(2const) NS_GET_PARENT(2const) Discovering the namesp...
ioctl_pipe(2)
NAME ioctl_pipe - ioctl() operations for general notification mechanism SYNOPSIS #include <linux/watch_queue.h> /* Definition of IOC_WATCH_QUEUE_* */ #include <sys/ioctl.h> int ioctl(int pipefd, IOC_WATCH_QUEUE_SET_SIZE, int size); int ioctl(int pipefd, IOC_WATCH_QUEUE_SET_FILTER, stru...
ioctl_probe(9)
NAME ioctl_probe - - return host identification SYNOPSIS int ioctl_probe (struct Scsi_Host *host , void __user *buffer ); ARGUMENTS host host to identify buffer userspace buffer for identification RETURN * if successful, 1 and an identifying string at buffer, if buffer is non-NULL, filling to the...
ioctl_send_fib(9)
NAME ioctl_send_fib - send a FIB from userspace SYNOPSIS int ioctl_send_fib (struct aac_dev * dev , void __user *arg ); ARGUMENTS dev adapter is being processed arg arguments to the ioctl call DESCRIPTION This routine sends a fib to the adapter on behalf of a user level program. SEE ALSO Ker...
ioctl_tty(2)
NAME ioctl_tty - ioctls for terminals and serial lines LIBRARY Standard C library (libc, -lc) SYNOPSIS #include <asm/termbits.h> /* Definition of constants */ #include <sys/ioctl.h> int ioctl(int fd, int op, ...); DESCRIPTION The ioctl(2) call for terminals and serial ports accepts many possible operation a...
ioctl_userfaultfd(2)
NAME ioctl_userfaultfd - create a file descriptor for handling page faults in user space LIBRARY Standard C library (libc, -lc) SYNOPSIS #include <linux/userfaultfd.h> /* Definition of UFFD* constants */ #include <sys/ioctl.h> int ioctl(int fd, int op, ...); DESCRIPTION Various ioctl(2) operations can be pe...
ioctl_vt(2)
NAME ioctl_vt - ioctls for console terminal and virtual consoles SYNOPSIS #include <linux/vt.h> /* Definition of VT_* constants */ #include <sys/ioctl.h> int ioctl(int fd, unsigned long op, void *argp); DESCRIPTION The following Linux-specific ioctl(2) operations are supported for console terminals and virtu...
iomap_fill_dirty_folios(9)
NAME iomap_fill_dirty_folios - fill a folio batch with dirty folios SYNOPSIS unsigned int iomap_fill_dirty_folios (struct iomap_iter *iter , loff_t *start , loff_t end , unsigned int *iomap_flags ); ARGUMENTS iter Iteration structure start Start offset of range. Updated based on lookup progress. ...
iomap_get_folio(9)
NAME iomap_get_folio - get a folio reference for writing SYNOPSIS struct folio * iomap_get_folio (struct iomap_iter *iter , loff_t pos , size_t len ); ARGUMENTS iter iteration structure pos start offset of write len Suggested size of folio to create. DESCRIPTION Returns a locke...
iomap_iter(9)
NAME iomap_iter - iterate over a ranges in a file SYNOPSIS int iomap_iter (struct iomap_iter *iter , const struct iomap_ops *ops ); ARGUMENTS iter iteration structue ops iomap ops provided by the file system DESCRIPTION Iterate over filesystem-provided space mappings for the provided file ra...
iomap_iter_advance_full(9)
NAME iomap_iter_advance_full - advance by the full length of current map SYNOPSIS int iomap_iter_advance_full (struct iomap_iter *iter ); ARGUMENTS iter -- undescribed -- SEE ALSO Kernel file ./include/linux/iomap.h struct iomap_iter(9), iomap_length_trim(9), iomap_length(9), iomap_iter_srcmap(9) April 2026 ...
iomap_iter_srcmap(9)
NAME iomap_iter_srcmap - return the source map for the current iomap iteration SYNOPSIS const struct iomap * iomap_iter_srcmap (const struct iomap_iter *i ); ARGUMENTS i iteration structure DESCRIPTION Write operations on file systems with reflink support might require a source and a destination map. Thi...
iomap_length(9)
NAME iomap_length - length of the current iomap iteration SYNOPSIS u64 iomap_length (const struct iomap_iter *iter ); ARGUMENTS iter iteration structure DESCRIPTION Returns the length that the operation applies to for the current iteration. SEE ALSO Kernel file ./include/linux/iomap.h struct iomap_iter(9), i...
iomap_length_trim(9)
NAME iomap_length_trim - trimmed length of the current iomap iteration SYNOPSIS u64 iomap_length_trim (const struct iomap_iter *iter , loff_t pos , u64 len ); ARGUMENTS iter iteration structure pos File position to trim from. len Length of the mapping to trim to. DESCRIPTION Re...
iomap_read_inline_data(9)
NAME iomap_read_inline_data - copy inline data into the page cache SYNOPSIS int iomap_read_inline_data (const struct iomap_iter *iter , struct folio *folio ); ARGUMENTS iter iteration structure folio folio to copy to DESCRIPTION Copy the inline data in iter into folio and zero out the rest of t...
iomap_readahead(9)
NAME iomap_readahead - Attempt to read pages from a file. SYNOPSIS void iomap_readahead (const struct iomap_ops *ops , struct iomap_read_folio_ctx *ctx , void *private ); ARGUMENTS ops The operations vector for the filesystem. ctx The ctx used for issuing readahead. private The fil...
iommu_alloc_pages_node_sz(9)
NAME iommu_alloc_pages_node_sz - Allocate a zeroed page of a given size from specific NUMA node SYNOPSIS void * iommu_alloc_pages_node_sz (int nid , gfp_t gfp , size_t size ); ARGUMENTS nid memory NUMA node id gfp buddy allocator flags size Memory size to allocate, rounded up to...
iommu_alloc_pages_sz(9)
NAME iommu_alloc_pages_sz - Allocate a zeroed page of a given size from specific NUMA node SYNOPSIS void * iommu_alloc_pages_sz (gfp_t gfp , size_t size ); ARGUMENTS gfp buddy allocator flags size Memory size to allocate, this is rounded up to a power of 2 DESCRIPTION Returns the virtual addre...
iommu_attach_device(9)
NAME iommu_attach_device - Attach an IOMMU domain to a device SYNOPSIS int iommu_attach_device (struct iommu_domain *domain , struct device *dev ); ARGUMENTS domain IOMMU domain to attach dev Device that will be attached DESCRIPTION Returns 0 on success and error code on failure Note that EINVAL...
iommu_attach_group(9)
NAME iommu_attach_group - Attach an IOMMU domain to an IOMMU group SYNOPSIS int iommu_attach_group (struct iommu_domain *domain , struct iommu_group *group ); ARGUMENTS domain IOMMU domain to attach group IOMMU group that will be attached DESCRIPTION Returns 0 on success and error code on failure...
iommu_attach_group_handle(9)
NAME iommu_attach_group_handle - Attach an IOMMU domain to an IOMMU group SYNOPSIS int iommu_attach_group_handle (struct iommu_domain *domain , struct iommu_group *group , struct iommu_attach_handle *handle ); ARGUMENTS domain IOMMU domain to attach group IOMMU group that will be attached h...
iommu_attach_handle_get(9)
NAME iommu_attach_handle_get - Return the attach handle SYNOPSIS struct iommu_attach_handle * iommu_attach_handle_get (struct iommu_group *group , ioasid_t pasid , unsigned int type ); ARGUMENTS group the iommu group that domain was attached to pasid the pasid within the group type ...
iommu_copy_struct_from_full_user_array(9)
NAME iommu_copy_struct_from_full_user_array - Copy iommu driver specific user space data from an iommu_user_data_array SYNOPSIS int iommu_copy_struct_from_full_user_array (void *kdst , size_t kdst_entry_size , struct iommu_user_data_array *user_array , unsigned int data_type ); ARGUMENTS kdst Pointer to an iom...
iommu_copy_struct_from_user(9)
NAME iommu_copy_struct_from_user - Copy iommu driver specific user space data SYNOPSIS iommu_copy_struct_from_user (kdst , user_data , data_type , min_last ); ARGUMENTS kdst Pointer to an iommu driver specific user data that is defined in include/uapi/linux/iommufd.h user_data Pointer to a struct iom...
iommu_copy_struct_from_user_array(9)
NAME iommu_copy_struct_from_user_array - Copy iommu driver specific user space data from an iommu_user_data_array SYNOPSIS iommu_copy_struct_from_user_array (kdst , user_array , data_type , index , min_last ); ARGUMENTS kdst Pointer to an iommu driver specific user data that is defined in include/uapi/linux/io...
iommu_copy_struct_to_user(9)
NAME iommu_copy_struct_to_user - Report iommu driver specific user space data SYNOPSIS iommu_copy_struct_to_user (user_data , ksrc , data_type , min_last ); ARGUMENTS user_data Pointer to a struct iommu_user_data for user space data location ksrc Pointer to an iommu driver specific user data that is ...
iommu_debugfs_setup(9)
NAME iommu_debugfs_setup - create the top-level iommu directory in debugfs SYNOPSIS void iommu_debugfs_setup (void ); ARGUMENTS void no arguments DESCRIPTION Provide base enablement for using debugfs to expose internal data of an IOMMU driver. When called, this function creates the /sys/kernel/debug/iommu...
iommu_detach_group_handle(9)
NAME iommu_detach_group_handle - Detach an IOMMU domain from an IOMMU group SYNOPSIS void iommu_detach_group_handle (struct iommu_domain *domain , struct iommu_group *group ); ARGUMENTS domain IOMMU domain to attach group IOMMU group that will be attached DESCRIPTION Detach the specified IOMMU dom...
iommu_device_claim_dma_owner(9)
NAME iommu_device_claim_dma_owner - Set DMA ownership of a device SYNOPSIS int iommu_device_claim_dma_owner (struct device *dev , void *owner ); ARGUMENTS dev The device. owner Caller specified pointer. Used for exclusive ownership. DESCRIPTION Claim the DMA ownership of a device. Multiple devi...
iommu_device_register(9)
NAME iommu_device_register - Register an IOMMU hardware instance SYNOPSIS int iommu_device_register (struct iommu_device *iommu , const struct iommu_ops *ops , struct device *hwdev ); ARGUMENTS iommu IOMMU handle for the instance ops IOMMU ops to associate with the instance hwdev (...
iommu_device_release_dma_owner(9)
NAME iommu_device_release_dma_owner - Release DMA ownership of a device SYNOPSIS void iommu_device_release_dma_owner (struct device *dev ); ARGUMENTS dev The device. DESCRIPTION Release the DMA ownership claimed by iommu_device_claim_dma_owner. SEE ALSO Kernel file ./drivers/iommu/iommu.c iommu_device_re...
iommu_device_unuse_default_domain(9)
NAME iommu_device_unuse_default_domain - Device driver stops handling device DMA through the kernel DMA API. SYNOPSIS void iommu_device_unuse_default_domain (struct device *dev ); ARGUMENTS dev The device. DESCRIPTION The device driver doesn't want to do DMA through kernel DMA API anymore. It must be called...
iommu_device_use_default_domain(9)
NAME iommu_device_use_default_domain - Device driver wants to handle device DMA through the kernel DMA API. SYNOPSIS int iommu_device_use_default_domain (struct device *dev ); ARGUMENTS dev The device. DESCRIPTION The device driver about to bind dev wants to do DMA through the kernel DMA API. Return 0 if it ...
iommu_dma_get_resv_regions(9)
NAME iommu_dma_get_resv_regions - Reserved region driver helper SYNOPSIS void iommu_dma_get_resv_regions (struct device *dev , struct list_head *list ); ARGUMENTS dev Device from iommu_get_resv_regions list Reserved region list from iommu_get_resv_regions DESCRIPTION IOMMU drivers can use this...
iommu_dma_init_domain(9)
NAME iommu_dma_init_domain - Initialise a DMA mapping domain SYNOPSIS int iommu_dma_init_domain (struct iommu_domain *domain , struct device *dev ); ARGUMENTS domain IOMMU domain previously prepared by iommu_get_dma_cookie dev Device the domain is being initialised for DESCRIPTION If the geometr...
iommu_dma_init_options(9)
NAME iommu_dma_init_options - Initialize dma-iommu options SYNOPSIS void iommu_dma_init_options (struct iommu_dma_options *options , struct device *dev ); ARGUMENTS options The options to be initialized dev Device the options are set for DESCRIPTION This allows tuning dma-iommu specific to device...
iommu_dma_prepare_msi(9)
NAME iommu_dma_prepare_msi - Map the MSI page in the IOMMU domain SYNOPSIS int iommu_dma_prepare_msi (struct msi_desc *desc , phys_addr_t msi_addr ); ARGUMENTS desc MSI descriptor, will store the MSI page msi_addr MSI target address to be mapped DESCRIPTION The implementation of sw_msi should take ...
iommu_driver_get_domain_for_dev(9)
NAME iommu_driver_get_domain_for_dev - Return the driver-level domain pointer SYNOPSIS struct iommu_domain * iommu_driver_get_domain_for_dev (struct device *dev ); ARGUMENTS dev Device to query DESCRIPTION This function can be called by an iommu driver that wants to get the physical domain within an iommu ca...
iommu_fill_pdir(9)
NAME iommu_fill_pdir - Insert coalesced scatter/gather chunks into the I/O Pdir. SYNOPSIS unsigned int iommu_fill_pdir (struct ioc *ioc , struct scatterlist *startsg , int nents , unsigned long hint , void (*iommu_io_pdir_entry)(__le64 *, space_t, phys_addr_t, unsigned long) ); ARGUMENTS ioc The I/O Controlle...