id stringlengths 4 63 | text stringlengths 153 8.81M |
|---|---|
iio_simple_dummy_write_event_config(9) | NAME iio_simple_dummy_write_event_config - set whether event is enabled
SYNOPSIS int iio_simple_dummy_write_event_config (struct iio_dev *indio_dev , const struct iio_chan_spec *chan , enum iio_event_type type , enum iio_event_direction dir , bool state );
ARGUMENTS indio_dev the device instance data
chan ... |
iio_simple_dummy_write_event_value(9) | NAME iio_simple_dummy_write_event_value - set value associate with event
SYNOPSIS int iio_simple_dummy_write_event_value (struct iio_dev *indio_dev , const struct iio_chan_spec *chan , enum iio_event_type type , enum iio_event_direction dir , enum iio_event_info info , int val , int val2 );
ARGUMENTS indio_dev devi... |
iio_str_to_fixpoint(9) | NAME iio_str_to_fixpoint - Parse a fixed-point number from a string
SYNOPSIS int iio_str_to_fixpoint (const char *str , int fract_mult , int *integer , int *fract );
ARGUMENTS str The string to parse
fract_mult Multiplier for the first decimal place, should be a power of 10
integer The in... |
iio_str_to_nano(9) | NAME iio_str_to_nano - Parse a fixed-point string to get an IIO_VAL_INT_PLUS_NANO value
SYNOPSIS int iio_str_to_nano (const char *str , s64 *nano );
ARGUMENTS str The string to parse
nano The number as an integer
DESCRIPTION Returns 0 on success, or a negative error code if the string cound no... |
iio_test_relative_error_ppm(9) | NAME iio_test_relative_error_ppm - Compute relative error (in parts-per-million) between two fixed-point strings
SYNOPSIS int iio_test_relative_error_ppm (const char *real_str , const char *exp_str );
ARGUMENTS real_str The real value as a string
exp_str The expected value as a string
DESCRIPTION Retu... |
iio_trigger_get_drvdata(9) | NAME iio_trigger_get_drvdata - Get trigger driver data
SYNOPSIS void * iio_trigger_get_drvdata (struct iio_trigger *trig );
ARGUMENTS trig IIO trigger structure
DESCRIPTION Returns the data previously set with iio_trigger_set_drvdata
SEE ALSO Kernel file ./include/linux/iio/trigger.h struct iio_trigger_o... |
iio_trigger_poll(9) | NAME iio_trigger_poll - Call the IRQ trigger handler of the consumers
SYNOPSIS void iio_trigger_poll (struct iio_trigger *trig );
ARGUMENTS trig trigger which occurred
DESCRIPTION This function should only be called from a hard IRQ context.
SEE ALSO Kernel file ./drivers/iio/industrialio-trigger.c name_sh... |
iio_trigger_poll_nested(9) | NAME iio_trigger_poll_nested - Call the threaded trigger handler of the consumers
SYNOPSIS void iio_trigger_poll_nested (struct iio_trigger *trig );
ARGUMENTS trig trigger which occurred
DESCRIPTION This function should only be called from a kernel thread context.
SEE ALSO Kernel file ./drivers/iio/industr... |
iio_trigger_register(9) | NAME iio_trigger_register - register a trigger with the IIO core
SYNOPSIS int iio_trigger_register (struct iio_trigger *trig_info );
ARGUMENTS trig_info trigger to be registered
SEE ALSO Kernel file ./include/linux/iio/trigger.h struct iio_trigger_ops(9), struct iio_trigger(9), iio_trigger_set_drvdata(9), iio_tri... |
iio_trigger_set_drvdata(9) | NAME iio_trigger_set_drvdata - Set trigger driver data
SYNOPSIS void iio_trigger_set_drvdata (struct iio_trigger *trig , void *data );
ARGUMENTS trig IIO trigger structure
data Driver specific data
DESCRIPTION Allows to attach an arbitrary pointer to an IIO trigger, which can later be retrieved... |
iio_trigger_set_immutable(9) | NAME iio_trigger_set_immutable - set an immutable trigger on destination
SYNOPSIS int iio_trigger_set_immutable (struct iio_dev *indio_dev , struct iio_trigger *trig );
ARGUMENTS indio_dev IIO device structure containing the device
trig trigger to assign to device
SEE ALSO Kernel file ./include/linu... |
iio_trigger_unregister(9) | NAME iio_trigger_unregister - unregister a trigger from the core
SYNOPSIS void iio_trigger_unregister (struct iio_trigger *trig_info );
ARGUMENTS trig_info trigger to be unregistered
SEE ALSO Kernel file ./include/linux/iio/trigger.h struct iio_trigger_ops(9), struct iio_trigger(9), iio_trigger_set_drvdata(9), ... |
iio_trigger_using_own(9) | NAME iio_trigger_using_own - tells us if we use our own HW trigger ourselves
SYNOPSIS bool iio_trigger_using_own (struct iio_dev *indio_dev );
ARGUMENTS indio_dev device to check
SEE ALSO Kernel file ./include/linux/iio/trigger.h struct iio_trigger_ops(9), struct iio_trigger(9), iio_trigger_set_drvdata(9), iio_t... |
iio_trigger_validate_own_device(9) | NAME iio_trigger_validate_own_device - Check if a trigger and IIO device belong to the same device
SYNOPSIS int iio_trigger_validate_own_device (struct iio_trigger *trig , struct iio_dev *indio_dev );
ARGUMENTS trig The IIO trigger to check
indio_dev the IIO device to check
DESCRIPTION This function... |
iio_triggered_buffer_cleanup(9) | NAME iio_triggered_buffer_cleanup - Free resources allocated by iio_triggered_buffer_setup_ext()
SYNOPSIS void iio_triggered_buffer_cleanup (struct iio_dev *indio_dev );
ARGUMENTS indio_dev IIO device structure
SEE ALSO Kernel file ./drivers/iio/buffer/industrialio-triggered-buffer.c iio_triggered_buffer_setup_ext... |
iio_triggered_buffer_setup_ext(9) | NAME iio_triggered_buffer_setup_ext - Setup triggered buffer and pollfunc
SYNOPSIS int iio_triggered_buffer_setup_ext (struct iio_dev *indio_dev , irqreturn_t (*h)(int irq, void *p) , irqreturn_t (*thread)(int irq, void *p) , enum iio_buffer_direction direction , const struct iio_buffer_setup_ops *setup_ops , c... |
iio_triggered_event_cleanup(9) | NAME iio_triggered_event_cleanup - Free resources allocated by iio_triggered_event_setup()
SYNOPSIS void iio_triggered_event_cleanup (struct iio_dev *indio_dev );
ARGUMENTS indio_dev IIO device structure
SEE ALSO Kernel file ./drivers/iio/industrialio-triggered-event.c iio_triggered_event_setup(9)
April 2026 ... |
iio_triggered_event_setup(9) | NAME iio_triggered_event_setup - Setup pollfunc_event for triggered event
SYNOPSIS int iio_triggered_event_setup (struct iio_dev *indio_dev , irqreturn_t (*h)(int irq, void *p) , irqreturn_t (*thread)(int irq, void *p) );
ARGUMENTS indio_dev IIO device structure
h Function which will be used as po... |
iio_update_buffers(9) | NAME iio_update_buffers - add or remove buffer from active list
SYNOPSIS int iio_update_buffers (struct iio_dev *indio_dev , struct iio_buffer *insert_buffer , struct iio_buffer *remove_buffer );
ARGUMENTS indio_dev device to add buffer to
insert_buffer
buffer to insert
remove_buf... |
iio_validate_own_trigger(9) | NAME iio_validate_own_trigger - Check if a trigger and IIO device belong to the same device
SYNOPSIS int iio_validate_own_trigger (struct iio_dev *idev , struct iio_trigger *trig );
ARGUMENTS idev the IIO device to check
trig the IIO trigger to check
DESCRIPTION This function can be used as the... |
iio_validate_scan_mask_onehot(9) | NAME iio_validate_scan_mask_onehot - Validates that exactly one channel is selected
SYNOPSIS bool iio_validate_scan_mask_onehot (struct iio_dev *indio_dev , const unsigned long *mask );
ARGUMENTS indio_dev the iio device
mask scan mask to be checked
DESCRIPTION Return true if exactly one bit is set ... |
iio_write_channel_attribute(9) | NAME iio_write_channel_attribute - Write values to the device attribute.
SYNOPSIS int iio_write_channel_attribute (struct iio_channel *chan , int val , int val2 , enum iio_chan_info_enum attribute );
ARGUMENTS chan The channel being queried.
val Value being written.
val2 Value be... |
iio_write_channel_ext_info(9) | NAME iio_write_channel_ext_info - write ext_info attribute from a given channel
SYNOPSIS ssize_t iio_write_channel_ext_info (struct iio_channel *chan , const char *attr , const char *buf , size_t len );
ARGUMENTS chan The channel being queried.
attr The ext_info attribute to read.
buf ... |
iio_write_channel_raw(9) | NAME iio_write_channel_raw - write to a given channel
SYNOPSIS int iio_write_channel_raw (struct iio_channel *chan , int val );
ARGUMENTS chan The channel being queried.
val Value being written.
DESCRIPTION Note that for raw writes to iio channels, if the value provided is in standard units, t... |
iioutils_break_up_name(9) | NAME iioutils_break_up_name - extract generic name from full channel name
SYNOPSIS int iioutils_break_up_name (const char *full_name , char **generic_name );
ARGUMENTS full_name the full channel name
generic_name
the output generic channel name
DESCRIPTION Returns 0 on success, or a nega... |
iioutils_get_param_float(9) | NAME iioutils_get_param_float - read a float value from a channel parameter
SYNOPSIS int iioutils_get_param_float (float *output , const char *param_name , const char *device_dir , const char *name , const char *generic_name );
ARGUMENTS output output the float value
param_name the parameter name to rea... |
iioutils_get_type(9) | NAME iioutils_get_type - find and process _type attribute data
SYNOPSIS int iioutils_get_type (unsigned int *is_signed , unsigned int *bytes , unsigned int *bits_used , unsigned int *shift , uint64_t *mask , unsigned int *be , const char *device_dir , int buffer_idx , const char *name , const char *generic_name );
AR... |
ikm_destroy_trace_instance(9) | NAME ikm_destroy_trace_instance - destroy a previously created instance
SYNOPSIS void ikm_destroy_trace_instance (struct trace_instance *inst );
ARGUMENTS inst -- undescribed --
SEE ALSO Kernel file ./tools/verification/rv/src/in_kernel.c ikm_list_monitors(9), ikm_run_monitor(9)
April 2026 ... |
ikm_list_monitors(9) | NAME ikm_list_monitors - list all available monitors
SYNOPSIS int ikm_list_monitors (char *container );
ARGUMENTS container -- undescribed --
DESCRIPTION Returns 0 on success, -1 otherwise.
SEE ALSO Kernel file ./tools/verification/rv/src/in_kernel.c ikm_destroy_trace_instance(9), ikm_run_monitor(9)
April 2026 ... |
ikm_run_monitor(9) | NAME ikm_run_monitor - apply configs and run the monitor
SYNOPSIS int ikm_run_monitor (char *monitor_name , int argc , char **argv );
ARGUMENTS monitor_name -- undescribed --
argc -- undescribed --
argv -- undescribed --
DESCRIPTION Returns 1 if a monitor was found an executed, 0 if no ... |
il3945_get_antenna_flags(9) | NAME il3945_get_antenna_flags - Get antenna flags for RXON command
SYNOPSIS __le32 il3945_get_antenna_flags (const struct il_priv *il );
ARGUMENTS il eeprom and antenna fields are used to determine antenna flags
DESCRIPTION il->eeprom39 is used to determine if antenna AUX/MAIN are reversed il3945_mod_pa... |
il3945_hw_find_station(9) | NAME il3945_hw_find_station - Find station id for a given BSSID
SYNOPSIS u8 il3945_hw_find_station (struct il_priv *il , const u8 *bssid );
ARGUMENTS il -- undescribed --
bssid MAC address of station ID to find
NOTE This should not be hardware specific but the code has not yet been merged into... |
il3945_rate_scale_init(9) | NAME il3945_rate_scale_init - Initialize the rate scale table based on assoc info
SYNOPSIS void il3945_rate_scale_init (struct ieee80211_hw *hw , s32 sta_id );
ARGUMENTS hw -- undescribed --
sta_id -- undescribed --
DESCRIPTION The specific throughput table used is based on the type of network ... |
il4965_tx_queue_set_status(9) | NAME il4965_tx_queue_set_status - (optionally) start Tx/Cmd queue
SYNOPSIS void il4965_tx_queue_set_status (struct il_priv *il , struct il_tx_queue *txq , int tx_fifo_id , int scd_retry );
ARGUMENTS il -- undescribed --
txq -- undescribed --
tx_fifo_id Tx DMA/FIFO channel (range 0-7)... |
il_beacon_time_mask_high(9) | NAME il_beacon_time_mask_high - mask of higher 32 bit of beacon time @il -- pointer to il_priv data structure @tsf_bits -- number of bits need to shift for masking)
SYNOPSIS u32 il_beacon_time_mask_high (struct il_priv *il , u16 tsf_bits );
ARGUMENTS il -- undescribed --
tsf_bits -- undescribed --... |
il_beacon_time_mask_low(9) | NAME il_beacon_time_mask_low - mask of lower 32 bit of beacon time @il -- pointer to il_priv data structure @tsf_bits -- number of bits need to shift for masking)
SYNOPSIS u32 il_beacon_time_mask_low (struct il_priv *il , u16 tsf_bits );
ARGUMENTS il -- undescribed --
tsf_bits -- undescribed --
S... |
il_clear_driver_stations(9) | NAME il_clear_driver_stations - clear knowledge of all stations from driver
SYNOPSIS void il_clear_driver_stations (struct il_priv *il );
ARGUMENTS il iwl il struct
DESCRIPTION This is called during il_down to make sure that in the case we're coming there from a hardware restart mac80211 will be able to rec... |
il_queue_dec_wrap(9) | NAME il_queue_dec_wrap - decrement queue idx, wrap back to end @idx -- current idx @n_bd -- total number of entries in queue (must be power of 2)
SYNOPSIS int il_queue_dec_wrap (int idx , int n_bd );
ARGUMENTS idx -- undescribed --
n_bd -- undescribed --
SEE ALSO Kernel file ./drivers/net/wi... |
il_queue_inc_wrap(9) | NAME il_queue_inc_wrap - increment queue idx, wrap back to beginning @idx -- current idx @n_bd -- total number of entries in queue (must be power of 2)
SYNOPSIS int il_queue_inc_wrap (int idx , int n_bd );
ARGUMENTS idx -- undescribed --
n_bd -- undescribed --
SEE ALSO Kernel file ./drivers/... |
il_sta_id_or_broadcast(9) | NAME il_sta_id_or_broadcast - return sta_id or broadcast sta
SYNOPSIS int il_sta_id_or_broadcast (struct il_priv *il , struct ieee80211_sta *sta );
ARGUMENTS il iwl il
sta mac80211 station
DESCRIPTION In certain circumstances mac80211 passes a station pointer that may be NULL, for example du... |
ili922x_display_init(9) | NAME ili922x_display_init - initialize the display by setting the configuration registers
SYNOPSIS void ili922x_display_init (struct spi_device *spi );
ARGUMENTS spi spi device
SEE ALSO Kernel file ./drivers/video/backlight/ili922x.c ili922x_read_status(9), ili922x_read(9), ili922x_write(9), ili922x_reg_dump... |
ili922x_poweroff(9) | NAME ili922x_poweroff - turn the display off
SYNOPSIS int ili922x_poweroff (struct spi_device *spi );
ARGUMENTS spi spi device
SEE ALSO Kernel file ./drivers/video/backlight/ili922x.c ili922x_read_status(9), ili922x_read(9), ili922x_write(9), ili922x_reg_dump(9), set_write_to_gram_reg(9), ili922x_poweron(9),... |
ili922x_poweron(9) | NAME ili922x_poweron - turn the display on
SYNOPSIS int ili922x_poweron (struct spi_device *spi );
ARGUMENTS spi spi device
DESCRIPTION The sequence to turn on the display is taken from the datasheet and/or the example code provided by the manufacturer.
SEE ALSO Kernel file ./drivers/video/backlight/ili922x... |
ili922x_read(9) | NAME ili922x_read - read register from display
SYNOPSIS int ili922x_read (struct spi_device *spi , u8 reg , u16 *rx );
ARGUMENTS spi spi device
reg offset of the register to be read
rx output value
SEE ALSO Kernel file ./drivers/video/backlight/ili922x.c ili922x_read_status(9... |
ili922x_read_status(9) | NAME ili922x_read_status - read status register from display
SYNOPSIS int ili922x_read_status (struct spi_device *spi , u16 *rs );
ARGUMENTS spi spi device
rs output value
SEE ALSO Kernel file ./drivers/video/backlight/ili922x.c ili922x_read(9), ili922x_write(9), ili922x_reg_dump(9), set_wri... |
ili922x_reg_dump(9) | NAME ili922x_reg_dump - dump all registers
SYNOPSIS void ili922x_reg_dump (struct spi_device *spi );
ARGUMENTS spi pointer to an SPI device
SEE ALSO Kernel file ./drivers/video/backlight/ili922x.c ili922x_read_status(9), ili922x_read(9), ili922x_write(9), set_write_to_gram_reg(9), ili922x_poweron(9), ili922x... |
ili922x_write(9) | NAME ili922x_write - write a controller register
SYNOPSIS int ili922x_write (struct spi_device *spi , u8 reg , u16 value );
ARGUMENTS spi struct spi_device *
reg offset of the register to be written
value value to be written
SEE ALSO Kernel file ./drivers/video/backlight/ili922x... |
ilk_update_display_irq(9) | NAME ilk_update_display_irq - update DEIMR
SYNOPSIS void ilk_update_display_irq (struct intel_display *display , u32 interrupt_mask , u32 enabled_irq_mask );
ARGUMENTS display display device
interrupt_mask
mask of interrupt bits to update
enabled_irq_mask
mask... |
ilog2(9) | NAME ilog2 - log of base 2 of 32-bit or a 64-bit unsigned value @n - parameter
SYNOPSIS ilog2 (n );
ARGUMENTS n -- undescribed --
DESCRIPTION constant-capable log of base 2 calculation - this can be used to initialise global variables from constant data, hence the massive ternary operator construction sel... |
ilogb(3) | NAME ilogb, ilogbf, ilogbl - get integer exponent of a floating-point value
LIBRARY Math library (libm, -lm)
SYNOPSIS #include <math.h>
int ilogb(double x);
int ilogbf(float x);
int ilogbl(long double x);
Feature Test Macro Requirements for glibc (see feature_test_macros(7)):
ilogb()... |
ilogb(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 ilogb, ilogbf, ilogbl — return an unbiased exponent
SYNOPSIS #... |
ilogbf(3) | NAME ilogb, ilogbf, ilogbl - get integer exponent of a floating-point value
LIBRARY Math library (libm, -lm)
SYNOPSIS #include <math.h>
int ilogb(double x);
int ilogbf(float x);
int ilogbl(long double x);
Feature Test Macro Requirements for glibc (see feature_test_macros(7)):
ilogb()... |
ilogbl(3) | NAME ilogb, ilogbf, ilogbl - get integer exponent of a floating-point value
LIBRARY Math library (libm, -lm)
SYNOPSIS #include <math.h>
int ilogb(double x);
int ilogbf(float x);
int ilogbl(long double x);
Feature Test Macro Requirements for glibc (see feature_test_macros(7)):
ilogb()... |
ilookup(9) | NAME ilookup - search for an inode in the inode cache
SYNOPSIS struct inode * ilookup (struct super_block *sb , unsigned long ino );
ARGUMENTS sb super block of file system to search
ino inode number to search for
DESCRIPTION Search for the inode ino in the inode cache, and if the inode is i... |
ilookup5(9) | NAME ilookup5 - search for an inode in the inode cache
SYNOPSIS struct inode * ilookup5 (struct super_block *sb , unsigned long hashval , int (*test)(struct inode *, void *) , void *data );
ARGUMENTS sb super block of file system to search
hashval hash value (usually inode number) to search for
... |
ilookup5_nowait(9) | NAME ilookup5_nowait - search for an inode in the inode cache
SYNOPSIS struct inode * ilookup5_nowait (struct super_block *sb , unsigned long hashval , int (*test)(struct inode *, void *) , void *data , bool *isnew );
ARGUMENTS sb super block of file system to search
hashval hash value (usually i... |
ilsel_disable(9) | NAME ilsel_disable - Disable an ILSEL set
SYNOPSIS void ilsel_disable (unsigned int irq );
ARGUMENTS irq Bit position for ILSEL set value (retval from enable routines)
DESCRIPTION Disable a previously enabled ILSEL set.
SEE ALSO Kernel file ./arch/sh/boards/mach-x3proto/ilsel.c ilsel_enable(9), ilsel_enable... |
ilsel_enable(9) | NAME ilsel_enable - Enable an ILSEL set.
SYNOPSIS int ilsel_enable (ilsel_source_t set );
ARGUMENTS set ILSEL source (see ilsel_source_t enum in include/asm-sh/ilsel.h).
DESCRIPTION Enables a given non-aliased ILSEL source (<= ILSEL_KEY) at the highest available interrupt level. Callers should take care to ... |
ilsel_enable_fixed(9) | NAME ilsel_enable_fixed - Enable an ILSEL set at a fixed interrupt level
SYNOPSIS int ilsel_enable_fixed (ilsel_source_t set , unsigned int level );
ARGUMENTS set ILSEL source (see ilsel_source_t enum in include/asm-sh/ilsel.h).
level Interrupt level (1 - 15)
DESCRIPTION Enables a given ILSEL s... |
ima_alloc_pages(9) | NAME ima_alloc_pages - Allocate contiguous pages.
SYNOPSIS void * ima_alloc_pages (loff_t max_size , size_t *allocated_size , int last_warn );
ARGUMENTS max_size Maximum amount of memory to allocate.
allocated_size
Returned size of actual allocation.
last_warn Should the min_si... |
ima_bprm_check(9) | NAME ima_bprm_check - based on policy, collect/store measurement.
SYNOPSIS int ima_bprm_check (struct linux_binprm *bprm );
ARGUMENTS bprm contains the linux_binprm structure
DESCRIPTION The OS protects against an executable file, already open for write, from being executed in deny_write_access and an executa... |
ima_bprm_creds_for_exec(9) | NAME ima_bprm_creds_for_exec - collect/store/appraise measurement.
SYNOPSIS int ima_bprm_creds_for_exec (struct linux_binprm *bprm );
ARGUMENTS bprm contains the linux_binprm structure
DESCRIPTION Based on the IMA policy and the execveat(2) AT_EXECVE_CHECK flag, measure and appraise the integrity of a file ... |
ima_collect_modsig(9) | NAME ima_collect_modsig - Calculate the file hash without the appended signature.
SYNOPSIS void ima_collect_modsig (struct modsig *modsig , const void *buf , loff_t size );
ARGUMENTS modsig parsed module signature
buf data to verify the signature on
size data size
DESCRIPTION Sinc... |
ima_creds_check(9) | NAME ima_creds_check - based on policy, collect/store measurement.
SYNOPSIS int ima_creds_check (struct linux_binprm *bprm , const struct file *file );
ARGUMENTS bprm contains the linux_binprm structure
file contains the file descriptor of the binary being executed
DESCRIPTION The OS protects a... |
ima_delete_rules(9) | NAME ima_delete_rules - called to cleanup invalid in-flight policy.
SYNOPSIS void ima_delete_rules (void );
ARGUMENTS void no arguments
DESCRIPTION We don't need locking as we operate on the temp list, which is different from the active one. There is also only one user of ima_delete_rules at a time.
SEE ALS... |
ima_file_check(9) | NAME ima_file_check - based on policy, collect/store measurement.
SYNOPSIS int ima_file_check (struct file *file , int mask );
ARGUMENTS file pointer to the file to be measured
mask contains MAY_READ, MAY_WRITE, MAY_EXEC or MAY_APPEND
DESCRIPTION Measure files based on the ima_must_measure poli... |
ima_file_free(9) | NAME ima_file_free - called on __fput()
SYNOPSIS void ima_file_free (struct file *file );
ARGUMENTS file pointer to file structure being freed
DESCRIPTION Flag files that changed, based on i_version
SEE ALSO Kernel file ./security/integrity/ima/ima_main.c ima_file_mmap(9), ima_file_mprotect(9), ima_bpr... |
ima_file_hash(9) | NAME ima_file_hash - return a measurement of the file
SYNOPSIS int ima_file_hash (struct file *file , char *buf , size_t buf_size );
ARGUMENTS file pointer to the file
buf buffer in which to store the hash
buf_size length of the buffer
DESCRIPTION On success, return the hash algor... |
ima_file_mmap(9) | NAME ima_file_mmap - based on policy, collect/store measurement.
SYNOPSIS int ima_file_mmap (struct file *file , unsigned long reqprot , unsigned long prot , unsigned long flags );
ARGUMENTS file pointer to the file to be measured (May be NULL)
reqprot protection requested by the application
... |
ima_file_mprotect(9) | NAME ima_file_mprotect - based on policy, limit mprotect change
SYNOPSIS int ima_file_mprotect (struct vm_area_struct *vma , unsigned long reqprot , unsigned long prot );
ARGUMENTS vma vm_area_struct protection is set to
reqprot protection requested by the application
prot protectio... |
ima_free_kexec_buffer(9) | NAME ima_free_kexec_buffer - free memory used by the IMA buffer
SYNOPSIS int ima_free_kexec_buffer (void );
ARGUMENTS void no arguments
SEE ALSO Kernel file ./drivers/of/kexec.c fdt_find_and_del_mem_rsv(9), get_addr_size_cells(9), do_get_kexec_buffer(9), ima_get_kexec_buffer(9), remove_ima_buffer(9), setup_im... |
ima_free_pages(9) | NAME ima_free_pages - Free pages allocated by ima_alloc_pages().
SYNOPSIS void ima_free_pages (void *ptr , size_t size );
ARGUMENTS ptr Pointer to allocated pages.
size Size of allocated buffer.
SEE ALSO Kernel file ./security/integrity/ima/ima_crypto.c ima_alloc_pages(9)
April 2026 ... |
ima_get_action(9) | NAME ima_get_action - appraise & measure decision based on policy.
SYNOPSIS int ima_get_action (struct mnt_idmap *idmap , struct inode *inode , const struct cred *cred , struct lsm_prop *prop , int mask , enum ima_hooks func , int *pcr , struct ima_template_desc **template_desc , const char *func_data , unsigned... |
ima_get_kexec_buffer(9) | NAME ima_get_kexec_buffer - get IMA buffer from the previous kernel
SYNOPSIS int ima_get_kexec_buffer (void **addr , size_t *size );
ARGUMENTS addr On successful return, set to point to the buffer contents.
size On successful return, set to the buffer size.
RETURN 0 on success, negative errno o... |
ima_iint_find(9) | NAME ima_iint_find - Return the iint associated with an inode
SYNOPSIS struct ima_iint_cache * ima_iint_find (struct inode *inode );
ARGUMENTS inode Pointer to the inode
DESCRIPTION Return the IMA integrity information (iint) associated with an inode, if the inode was processed by IMA.
RETURN Found iint or NU... |
ima_init_policy(9) | NAME ima_init_policy - initialize the default measure rules.
SYNOPSIS void ima_init_policy (void );
ARGUMENTS void no arguments
DESCRIPTION ima_rules points to either the ima_default_rules or the new ima_policy_rules.
SEE ALSO Kernel file ./security/integrity/ima/ima_policy.c ima_match_rule_data(9), ima_matc... |
ima_inode_free_rcu(9) | NAME ima_inode_free_rcu - Called to free an inode via a RCU callback
SYNOPSIS void ima_inode_free_rcu (void *inode_security );
ARGUMENTS inode_security The inode->i_security pointer
DESCRIPTION Free the IMA data associated with an inode.
SEE ALSO Kernel file ./security/integrity/ima/ima_iint.c ima_iint_find(9), ima... |
ima_inode_get(9) | NAME ima_inode_get - Find or allocate an iint associated with an inode
SYNOPSIS struct ima_iint_cache * ima_inode_get (struct inode *inode );
ARGUMENTS inode Pointer to the inode
DESCRIPTION Find an iint associated with an inode, and allocate a new one if not found. Caller must lock i_mutex.
RETURN An iint o... |
ima_inode_hash(9) | NAME ima_inode_hash - return the stored measurement if the inode has been hashed and is in the iint cache.
SYNOPSIS int ima_inode_hash (struct inode *inode , char *buf , size_t buf_size );
ARGUMENTS inode pointer to the inode
buf buffer in which to store the hash
buf_size length of th... |
ima_inode_post_setattr(9) | NAME ima_inode_post_setattr - reflect file metadata changes
SYNOPSIS void ima_inode_post_setattr (struct mnt_idmap *idmap , struct dentry *dentry , int ia_valid );
ARGUMENTS idmap idmap of the mount the inode was found from
dentry pointer to the affected dentry
ia_valid for the UID and G... |
ima_kernel_module_request(9) | NAME ima_kernel_module_request - Prevent crypto-pkcs1(rsa,*) requests
SYNOPSIS int ima_kernel_module_request (char *kmod_name );
ARGUMENTS kmod_name kernel module name
DESCRIPTION Avoid a verification loop where verifying the signature of the modprobe binary requires executing modprobe itself. Since the modprob... |
ima_kexec_cmdline(9) | NAME ima_kexec_cmdline - measure kexec cmdline boot args
SYNOPSIS void ima_kexec_cmdline (int kernel_fd , const void *buf , int size );
ARGUMENTS kernel_fd file descriptor of the kexec kernel being loaded
buf pointer to buffer
size size of buffer
DESCRIPTION Buffers can only be measu... |
ima_load_data(9) | NAME ima_load_data - appraise decision based on policy
SYNOPSIS int ima_load_data (enum kernel_load_data_id id , bool contents );
ARGUMENTS id kernel load data caller identifier
contents whether the full contents will be available in a later call to ima_post_load_data.
DESCRIPTION Callers of th... |
ima_match_policy(9) | NAME ima_match_policy - decision based on LSM and other conditions
SYNOPSIS int ima_match_policy (struct mnt_idmap *idmap , struct inode *inode , const struct cred *cred , struct lsm_prop *prop , enum ima_hooks func , int mask , int flags , int *pcr , struct ima_template_desc **template_desc , const char *func_data... |
ima_match_rule_data(9) | NAME ima_match_rule_data - determine whether func_data matches the policy rule
SYNOPSIS bool ima_match_rule_data (struct ima_rule_entry *rule , const char *func_data , const struct cred *cred );
ARGUMENTS rule a pointer to a rule
func_data data to match against the measure rule data
cred ... |
ima_match_rules(9) | NAME ima_match_rules - determine whether an inode matches the policy rule.
SYNOPSIS bool ima_match_rules (struct ima_rule_entry *rule , struct mnt_idmap *idmap , struct inode *inode , const struct cred *cred , struct lsm_prop *prop , enum ima_hooks func , int mask , const char *func_data );
ARGUMENTS rule a po... |
ima_measure_critical_data(9) | NAME ima_measure_critical_data - measure kernel integrity critical data
SYNOPSIS int ima_measure_critical_data (const char *event_label , const char *event_name , const void *buf , size_t buf_len , bool hash , u8 *digest , size_t digest_len );
ARGUMENTS event_label unique event label for grouping and limiting critica... |
ima_parse_add_rule(9) | NAME ima_parse_add_rule - add a rule to ima_policy_rules
SYNOPSIS ssize_t ima_parse_add_rule (char *rule );
ARGUMENTS rule ima measurement policy rule
DESCRIPTION Avoid locking by allowing just one writer at a time in ima_write_policy Returns the length of the rule parsed, an error code on failure
SEE ALSO K... |
ima_parse_buf(9) | NAME ima_parse_buf - Parses lengths and data from an input buffer
SYNOPSIS int ima_parse_buf (void *bufstartp , void *bufendp , void **bufcurp , int maxfields , struct ima_field_data *fields , int *curfields , unsigned long *len_mask , int enforce_mask , char *bufname );
ARGUMENTS bufstartp Buffer start address.
... |
ima_post_create_tmpfile(9) | NAME ima_post_create_tmpfile - mark newly created tmpfile as new
SYNOPSIS void ima_post_create_tmpfile (struct mnt_idmap *idmap , struct inode *inode );
ARGUMENTS idmap idmap of the mount the inode was found from
inode inode of the newly created tmpfile
DESCRIPTION No measuring, appraising or aud... |
ima_post_key_create_or_update(9) | NAME ima_post_key_create_or_update - measure asymmetric keys
SYNOPSIS void ima_post_key_create_or_update (struct key *keyring , struct key *key , const void *payload , size_t payload_len , unsigned long flags , bool create );
ARGUMENTS keyring keyring to which the key is linked to
key created or u... |
ima_post_load_data(9) | NAME ima_post_load_data - appraise decision based on policy
SYNOPSIS int ima_post_load_data (char *buf , loff_t size , enum kernel_load_data_id load_id , char *description );
ARGUMENTS buf pointer to in memory file contents
size size of in memory file contents
load_id kernel load da... |
ima_post_path_mknod(9) | NAME ima_post_path_mknod - mark as a new inode
SYNOPSIS void ima_post_path_mknod (struct mnt_idmap *idmap , struct dentry *dentry );
ARGUMENTS idmap idmap of the mount the inode was found from
dentry newly created dentry
DESCRIPTION Mark files created via the mknodat syscall as new, so that the fi... |
ima_post_read_file(9) | NAME ima_post_read_file - in memory collect/appraise/audit measurement
SYNOPSIS int ima_post_read_file (struct file *file , char *buf , loff_t size , enum kernel_read_file_id read_id );
ARGUMENTS file pointer to the file to be measured/appraised/audit
buf pointer to in memory file contents
... |
ima_read_file(9) | NAME ima_read_file - pre-measure/appraise hook decision based on policy
SYNOPSIS int ima_read_file (struct file *file , enum kernel_read_file_id read_id , bool contents );
ARGUMENTS file pointer to the file to be measured/appraised/audit
read_id caller identifier
contents whether a subse... |
ima_template_has_modsig(9) | NAME ima_template_has_modsig - Check whether template has modsig-related fields.
SYNOPSIS bool ima_template_has_modsig (const struct ima_template_desc *ima_template );
ARGUMENTS ima_template IMA template to check.
DESCRIPTION Tells whether the given template has fields referencing a file's appended signature.
SEE A... |
ima_update_policy(9) | NAME ima_update_policy - update default_rules with new measure rules
SYNOPSIS void ima_update_policy (void );
ARGUMENTS void no arguments
DESCRIPTION Called on file .release to update the default rules with a complete new policy. What we do here is to splice ima_policy_rules and ima_temp_rules so they make a... |
ima_update_policy_flags(9) | NAME ima_update_policy_flags - Update global IMA variables
SYNOPSIS void ima_update_policy_flags (void );
ARGUMENTS void no arguments
DESCRIPTION Update ima_policy_flag and ima_setxattr_allowed_hash_algorithms based on the currently loaded policy. With ima_policy_flag, the decision to short circuit out of a... |
imaxabs(3) | NAME abs, labs, llabs, imaxabs, uabs, ulabs, ullabs, umaxabs - compute the absolute value of an integer
LIBRARY Standard C library (libc, -lc)
SYNOPSIS #include <stdlib.h>
int abs(int j);
long labs(long j);
long long llabs(long long j);
unsigned int uabs(int j);
unsigned long ulab... |
imaxabs(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 imaxabs — return absolute value
SYNOPSIS #include <inttypes.h>... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.