id
stringlengths
4
63
text
stringlengths
153
8.81M
ecryptfs_process_response(9)
NAME ecryptfs_process_response - SYNOPSIS int ecryptfs_process_response (struct ecryptfs_daemon *daemon , struct ecryptfs_message *msg , u32 seq ); ARGUMENTS daemon eCryptfs daemon object msg The ecryptfs message received; the caller should sanity check msg->data_len and free the memory s...
ecryptfs_read_folio(9)
NAME ecryptfs_read_folio - SYNOPSIS int ecryptfs_read_folio (struct file *file , struct folio *folio ); ARGUMENTS file An eCryptfs file folio Folio from eCryptfs inode mapping into which to stick the read data DESCRIPTION Read in a folio, decrypting if necessary. Returns zero on success; non-ze...
ecryptfs_read_headers_virt(9)
NAME ecryptfs_read_headers_virt - SYNOPSIS int ecryptfs_read_headers_virt (char *page_virt , struct ecryptfs_crypt_stat *crypt_stat , struct dentry *ecryptfs_dentry , int validate_header_size ); ARGUMENTS page_virt The virtual address into which to read the headers crypt_stat The cryptographic context ...
ecryptfs_read_lower(9)
NAME ecryptfs_read_lower - SYNOPSIS int ecryptfs_read_lower (char *data , loff_t offset , size_t size , struct inode *ecryptfs_inode ); ARGUMENTS data The read data is stored here by this function offset Byte offset in the lower file from which to read the data size Number of bytes ...
ecryptfs_read_lower_page_segment(9)
NAME ecryptfs_read_lower_page_segment - SYNOPSIS int ecryptfs_read_lower_page_segment (struct folio *folio_for_ecryptfs , pgoff_t page_index , size_t offset_in_page , size_t size , struct inode *ecryptfs_inode ); ARGUMENTS folio_for_ecryptfs The folio into which data for eCryptfs will be written page_index P...
ecryptfs_read_xattr_region(9)
NAME ecryptfs_read_xattr_region - SYNOPSIS int ecryptfs_read_xattr_region (char *page_virt , struct inode *ecryptfs_inode ); ARGUMENTS page_virt The virtual address into which to read the xattr data ecryptfs_inode The eCryptfs inode DESCRIPTION Attempts to read the crypto metadata from t...
ecryptfs_readdir(9)
NAME ecryptfs_readdir - SYNOPSIS int ecryptfs_readdir (struct file *file , struct dir_context *ctx ); ARGUMENTS file The eCryptfs directory file ctx The actor to feed the entries to SEE ALSO Kernel file ./fs/ecryptfs/file.c ecryptfs_open(9), ecryptfs_dir_open(9) April 2026 ...
ecryptfs_send_message(9)
NAME ecryptfs_send_message - SYNOPSIS int ecryptfs_send_message (char *data , int data_len , struct ecryptfs_msg_ctx **msg_ctx ); ARGUMENTS data The data to send data_len The length of data msg_ctx The message context allocated for the send DESCRIPTION Grabs ecryptfs_daemon_hash_mux. R...
ecryptfs_send_message_locked(9)
NAME ecryptfs_send_message_locked - SYNOPSIS int ecryptfs_send_message_locked (char *data , int data_len , u8 msg_type , struct ecryptfs_msg_ctx **msg_ctx ); ARGUMENTS data The data to send data_len The length of data msg_type Type of message msg_ctx The message context alloca...
ecryptfs_send_miscdev(9)
NAME ecryptfs_send_miscdev - SYNOPSIS int ecryptfs_send_miscdev (char *data , size_t data_size , struct ecryptfs_msg_ctx *msg_ctx , u8 msg_type , u16 msg_flags , struct ecryptfs_daemon *daemon ); ARGUMENTS data Data to send to daemon; may be NULL data_size Amount of data to send to daemon msg...
ecryptfs_set_default_crypt_stat_vals(9)
NAME ecryptfs_set_default_crypt_stat_vals - SYNOPSIS void ecryptfs_set_default_crypt_stat_vals (struct ecryptfs_crypt_stat *crypt_stat , struct ecryptfs_mount_crypt_stat *mount_crypt_stat ); ARGUMENTS crypt_stat The inode's cryptographic context mount_crypt_stat The mount point's cryptogra...
ecryptfs_setattr(9)
NAME ecryptfs_setattr - SYNOPSIS int ecryptfs_setattr (struct mnt_idmap *idmap , struct dentry *dentry , struct iattr *ia ); ARGUMENTS idmap idmap of the target mount dentry dentry handle to the inode to modify ia Structure with flags of what to change and values DESCRIPTION Updat...
ecryptfs_spawn_daemon(9)
NAME ecryptfs_spawn_daemon - Create and initialize a new daemon struct SYNOPSIS int ecryptfs_spawn_daemon (struct ecryptfs_daemon **daemon , struct file *file ); ARGUMENTS daemon Pointer to set to newly allocated daemon struct file File used when opening /dev/ecryptfs DESCRIPTION Must be called c...
ecryptfs_statfs(9)
NAME ecryptfs_statfs - SYNOPSIS int ecryptfs_statfs (struct dentry *dentry , struct kstatfs *buf ); ARGUMENTS dentry The ecryptfs dentry buf The struct kstatfs to fill in with stats DESCRIPTION Get the filesystem statistics. Currently, we let this pass right through to the lower filesystem and t...
ecryptfs_tfm_exists(9)
NAME ecryptfs_tfm_exists - Search for existing tfm for cipher_name. SYNOPSIS int ecryptfs_tfm_exists (char *cipher_name , struct ecryptfs_key_tfm **key_tfm ); ARGUMENTS cipher_name the name of the cipher to search for key_tfm set to corresponding tfm if found DESCRIPTION Searches for cached key_tfm match...
ecryptfs_threadfn(9)
NAME ecryptfs_threadfn - SYNOPSIS int ecryptfs_threadfn (void *ignored ); ARGUMENTS ignored ignored DESCRIPTION The eCryptfs kernel thread that has the responsibility of getting the lower file with RW permissions. Returns zero on success; non-zero otherwise SEE ALSO Kernel file ./fs/ecryptfs/kthread.c ecryptfs...
ecryptfs_truncate(9)
NAME ecryptfs_truncate - SYNOPSIS int ecryptfs_truncate (struct dentry *dentry , loff_t new_length ); ARGUMENTS dentry The ecryptfs layer dentry new_length The length to expand the file to DESCRIPTION Simple function that handles the truncation of an eCryptfs inode and its corresponding lower inode. R...
ecryptfs_validate_marker(9)
NAME ecryptfs_validate_marker - check for the ecryptfs marker SYNOPSIS int ecryptfs_validate_marker (char *data ); ARGUMENTS data The data block in which to check DESCRIPTION Returns zero if marker found; -EINVAL if not found SEE ALSO Kernel file ./fs/ecryptfs/crypto.c ecryptfs_from_hex(9), ecryptfs_deri...
ecryptfs_verify_auth_tok_from_key(9)
NAME ecryptfs_verify_auth_tok_from_key - SYNOPSIS int ecryptfs_verify_auth_tok_from_key (struct key *auth_tok_key , struct ecryptfs_auth_tok **auth_tok ); ARGUMENTS auth_tok_key key containing the authentication token auth_tok authentication token DESCRIPTION Returns zero on valid auth tok; -EINVAL if the...
ecryptfs_verify_version(9)
NAME ecryptfs_verify_version - SYNOPSIS int ecryptfs_verify_version (u16 version ); ARGUMENTS version The version number to confirm DESCRIPTION Returns zero on good version; non-zero otherwise SEE ALSO Kernel file ./fs/ecryptfs/keystore.c ecryptfs_parse_packet_length(9), ecryptfs_write_packet_length(9), e...
ecryptfs_wait_for_response(9)
NAME ecryptfs_wait_for_response - SYNOPSIS int ecryptfs_wait_for_response (struct ecryptfs_msg_ctx *msg_ctx , struct ecryptfs_message **msg ); ARGUMENTS msg_ctx The context that was assigned when sending a message msg The incoming message from userspace; not set if rc != 0 DESCRIPTION Sleeps unt...
ecryptfs_write(9)
NAME ecryptfs_write - SYNOPSIS int ecryptfs_write (struct inode *ecryptfs_inode , char *data , loff_t offset , size_t size ); ARGUMENTS ecryptfs_inode The eCryptfs file into which to write data Virtual address where data to write is located offset Offset in the eCryptfs file at which to be...
ecryptfs_write_begin(9)
NAME ecryptfs_write_begin - SYNOPSIS int ecryptfs_write_begin (const struct kiocb *iocb , struct address_space *mapping , loff_t pos , unsigned len , struct folio **foliop , void **fsdata ); ARGUMENTS iocb I/O control block for the eCryptfs file mapping The eCryptfs object pos The f...
ecryptfs_write_end(9)
NAME ecryptfs_write_end - SYNOPSIS int ecryptfs_write_end (const struct kiocb *iocb , struct address_space *mapping , loff_t pos , unsigned len , unsigned copied , struct folio *folio , void *fsdata ); ARGUMENTS iocb I/O control block for the eCryptfs file mapping The eCryptfs object pos ...
ecryptfs_write_headers_virt(9)
NAME ecryptfs_write_headers_virt - SYNOPSIS int ecryptfs_write_headers_virt (char *page_virt , size_t max , size_t *size , struct ecryptfs_crypt_stat *crypt_stat , struct dentry *ecryptfs_dentry ); ARGUMENTS page_virt The virtual address to write the headers to max The size of memory allocated at pa...
ecryptfs_write_lower(9)
NAME ecryptfs_write_lower - SYNOPSIS int ecryptfs_write_lower (struct inode *ecryptfs_inode , char *data , loff_t offset , size_t size ); ARGUMENTS ecryptfs_inode The eCryptfs inode data Data to write offset Byte offset in the lower file to which to write the data size Numbe...
ecryptfs_write_lower_page_segment(9)
NAME ecryptfs_write_lower_page_segment - SYNOPSIS int ecryptfs_write_lower_page_segment (struct inode *ecryptfs_inode , struct folio *folio_for_lower , size_t offset_in_page , size_t size ); ARGUMENTS ecryptfs_inode The eCryptfs inode folio_for_lower The folio containing the data to be writ...
ecryptfs_write_metadata(9)
NAME ecryptfs_write_metadata - SYNOPSIS int ecryptfs_write_metadata (struct dentry *ecryptfs_dentry , struct inode *ecryptfs_inode ); ARGUMENTS ecryptfs_dentry The eCryptfs dentry, which should be negative ecryptfs_inode The newly created eCryptfs inode DESCRIPTION Write the file headers o...
ecryptfs_write_packet_length(9)
NAME ecryptfs_write_packet_length - SYNOPSIS int ecryptfs_write_packet_length (char *dest , size_t size , size_t *packet_size_length ); ARGUMENTS dest The byte array target into which to write the length. Must have at least ECRYPTFS_MAX_PKT_LEN_SIZE bytes allocated. size The length to write. ...
ecvt(3)
NAME ecvt, fcvt - convert a floating-point number to a string LIBRARY Standard C library (libc, -lc) SYNOPSIS #include <stdlib.h> [[deprecated]] char *ecvt(double number, int ndigits, int *restrict decpt, int *restrict sign); [[deprecated]] char *fcvt(double number, int...
ecvt_r(3)
NAME ecvt_r, fcvt_r, qecvt_r, qfcvt_r - convert a floating-point number to a string LIBRARY Standard C library (libc, -lc) SYNOPSIS #include <stdlib.h> [[deprecated]] int ecvt_r(double number, int ndigits, int *restrict decpt, int *restrict sign, ...
ed(1p)
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 ed — edit text SYNOPSIS ed [-p string] [-s] [file] DESCR...
edac_dev_register(9)
NAME edac_dev_register - register device for RAS features with EDAC SYNOPSIS int edac_dev_register (struct device *parent , char *name , void *private , int num_features , const struct edac_dev_feature *ras_features ); ARGUMENTS parent parent device. name name for the folder in the /sys/bus/edac/d...
edac_device_add_device(9)
NAME edac_device_add_device - Insert the 'edac_dev' structure into the edac_device global list and create sysfs entries associated with edac_device structure. SYNOPSIS int edac_device_add_device (struct edac_device_ctl_info *edac_dev ); ARGUMENTS edac_dev pointer to edac_device structure to be added to the list R...
edac_device_alloc_index(9)
NAME edac_device_alloc_index - Allocate a unique device index number SYNOPSIS int edac_device_alloc_index (void ); ARGUMENTS void no arguments RETURN allocated index number SEE ALSO Kernel file ./drivers/edac/edac_device.h edac_device_add_device(9), edac_device_del_device(9), edac_device_handle_ce_count(9), ...
edac_device_del_device(9)
NAME edac_device_del_device - Remove sysfs entries for specified edac_device structure and then remove edac_device structure from global list SYNOPSIS struct edac_device_ctl_info * edac_device_del_device (struct device *dev ); ARGUMENTS dev Pointer to struct device representing the edac device structure to re...
edac_device_handle_ce(9)
NAME edac_device_handle_ce - Log a single correctable error SYNOPSIS void edac_device_handle_ce (struct edac_device_ctl_info *edac_dev , int inst_nr , int block_nr , const char *msg ); ARGUMENTS edac_dev pointer to struct edac_device_ctl_info inst_nr number of the instance where the CE error happened ...
edac_device_handle_ce_count(9)
NAME edac_device_handle_ce_count - Log correctable errors. SYNOPSIS void edac_device_handle_ce_count (struct edac_device_ctl_info *edac_dev , unsigned int count , int inst_nr , int block_nr , const char *msg ); ARGUMENTS edac_dev pointer to struct edac_device_ctl_info count Number of errors to log. ...
edac_device_handle_ue(9)
NAME edac_device_handle_ue - Log a single uncorrectable error SYNOPSIS void edac_device_handle_ue (struct edac_device_ctl_info *edac_dev , int inst_nr , int block_nr , const char *msg ); ARGUMENTS edac_dev pointer to struct edac_device_ctl_info inst_nr number of the instance where the UE error happened...
edac_device_handle_ue_count(9)
NAME edac_device_handle_ue_count - Log uncorrectable errors. SYNOPSIS void edac_device_handle_ue_count (struct edac_device_ctl_info *edac_dev , unsigned int count , int inst_nr , int block_nr , const char *msg ); ARGUMENTS edac_dev pointer to struct edac_device_ctl_info count Number of errors to log....
edac_ecs_get_desc(9)
NAME edac_ecs_get_desc - get EDAC ECS descriptors SYNOPSIS int edac_ecs_get_desc (struct device *ecs_dev , const struct attribute_group **attr_groups , u16 num_media_frus ); ARGUMENTS ecs_dev client device, supports ECS feature attr_groups pointer to attribute group container num_media_frus ...
edac_get_dimm(9)
NAME edac_get_dimm - Get DIMM info from a memory controller given by [layer0,layer1,layer2] position SYNOPSIS struct dimm_info * edac_get_dimm (struct mem_ctl_info *mci , int layer0 , int layer1 , int layer2 ); ARGUMENTS mci MC descriptor struct mem_ctl_info layer0 layer0 position layer1 ...
edac_get_owner(9)
NAME edac_get_owner - Return the owner's mod_name of EDAC MC SYNOPSIS const char * edac_get_owner (void ); ARGUMENTS void no arguments RETURN Pointer to mod_name string when EDAC MC is owned. NULL otherwise. SEE ALSO Kernel file ./drivers/edac/edac_mc.h edac_mc_alloc(9), edac_mc_free(9), edac_has_mcs(9),...
edac_has_mcs(9)
NAME edac_has_mcs - Check if any MCs have been allocated. SYNOPSIS bool edac_has_mcs (void ); ARGUMENTS void no arguments RETURN True if MC instances have been registered successfully. False otherwise. SEE ALSO Kernel file ./drivers/edac/edac_mc.h edac_mc_alloc(9), edac_get_owner(9), edac_mc_free(9), edac...
edac_mc_alloc(9)
NAME edac_mc_alloc - Allocate and partially fill a struct &mem_ctl_info. SYNOPSIS struct mem_ctl_info * edac_mc_alloc (unsigned int mc_num , unsigned int n_layers , struct edac_mc_layer *layers , unsigned int sz_pvt ); ARGUMENTS mc_num Memory controller number n_layers Number of MC hierarchy layers ...
edac_mc_del_mc(9)
NAME edac_mc_del_mc - Remove sysfs entries for mci structure associated with @dev and remove mci structure from global list. SYNOPSIS struct mem_ctl_info * edac_mc_del_mc (struct device *dev ); ARGUMENTS dev Pointer to struct device representing mci structure to remove. RETURN pointer to removed mci structur...
edac_mc_find(9)
NAME edac_mc_find - Search for a mem_ctl_info structure whose index is @idx. SYNOPSIS struct mem_ctl_info * edac_mc_find (int idx ); ARGUMENTS idx index to be seek DESCRIPTION If found, return a pointer to the structure. Else return NULL. SEE ALSO Kernel file ./drivers/edac/edac_mc.h edac_mc_alloc(9), ed...
edac_mc_find_csrow_by_page(9)
NAME edac_mc_find_csrow_by_page - Ancillary routine to identify what csrow contains a memory page. SYNOPSIS int edac_mc_find_csrow_by_page (struct mem_ctl_info *mci , unsigned long page ); ARGUMENTS mci pointer to a struct mem_ctl_info structure page memory page to find RETURN on success, retu...
edac_mc_free(9)
NAME edac_mc_free - Frees a previously allocated @mci structure SYNOPSIS void edac_mc_free (struct mem_ctl_info *mci ); ARGUMENTS mci pointer to a struct mem_ctl_info structure SEE ALSO Kernel file ./drivers/edac/edac_mc.h edac_mc_alloc(9), edac_get_owner(9), edac_has_mcs(9), edac_mc_find(9), find_mci_by_d...
edac_mc_handle_error(9)
NAME edac_mc_handle_error - Reports a memory event to userspace. SYNOPSIS void edac_mc_handle_error (const enum hw_event_mc_err_type type , struct mem_ctl_info *mci , const u16 error_count , const unsigned long page_frame_number , const unsigned long offset_in_page , const unsigned long syn‐ drome , const int top_l...
edac_mem_repair_get_desc(9)
NAME edac_mem_repair_get_desc - get EDAC memory repair descriptors SYNOPSIS int edac_mem_repair_get_desc (struct device *dev , const struct attribute_group **attr_groups , u8 instance ); ARGUMENTS dev client device with memory repair feature attr_groups pointer to attribute group container ins...
edac_pci_add_device(9)
NAME edac_pci_add_device - Insert the 'edac_dev' structure into the edac_pci global list and create sysfs entries associated with edac_pci structure. SYNOPSIS int edac_pci_add_device (struct edac_pci_ctl_info *pci , int edac_idx ); ARGUMENTS pci pointer to the edac_device structure to be added to the list ...
edac_pci_alloc_ctl_info(9)
NAME edac_pci_alloc_ctl_info - The alloc() function for the 'edac_pci' control info structure. SYNOPSIS struct edac_pci_ctl_info * edac_pci_alloc_ctl_info (unsigned int sz_pvt , const char *edac_pci_name ); ARGUMENTS sz_pvt size of the private info at struct edac_pci_ctl_info edac_pci_name ...
edac_pci_alloc_index(9)
NAME edac_pci_alloc_index - Allocate a unique PCI index number SYNOPSIS int edac_pci_alloc_index (void ); ARGUMENTS void no arguments RETURN allocated index number SEE ALSO Kernel file ./drivers/edac/edac_pci.h edac_pci_alloc_ctl_info(9), edac_pci_free_ctl_info(9), edac_pci_add_device(9), edac_pci_del_devi...
edac_pci_create_generic_ctl(9)
NAME edac_pci_create_generic_ctl - SYNOPSIS struct edac_pci_ctl_info * edac_pci_create_generic_ctl (struct device *dev , const char *mod_name ); ARGUMENTS dev pointer to struct device; mod_name name of the PCI device DESCRIPTION A generic constructor for a PCI parity polling device Some ...
edac_pci_create_sysfs(9)
NAME edac_pci_create_sysfs - SYNOPSIS int edac_pci_create_sysfs (struct edac_pci_ctl_info *pci ); ARGUMENTS pci pointer to struct edac_pci_ctl_info DESCRIPTION Create the controls/attributes for the specified EDAC PCI device SEE ALSO Kernel file ./drivers/edac/edac_pci.h edac_pci_alloc_ctl_info(9), ed...
edac_pci_del_device(9)
NAME edac_pci_del_device - SYNOPSIS struct edac_pci_ctl_info * edac_pci_del_device (struct device *dev ); ARGUMENTS dev Pointer to 'struct device' representing edac_pci structure to remove DESCRIPTION Remove sysfs entries for specified edac_pci structure and then remove edac_pci structure from global list R...
edac_pci_free_ctl_info(9)
NAME edac_pci_free_ctl_info - Last action on the pci control structure. SYNOPSIS void edac_pci_free_ctl_info (struct edac_pci_ctl_info *pci ); ARGUMENTS pci pointer to struct edac_pci_ctl_info DESCRIPTION Calls the remove sysfs information, which will unregister this control struct's kobj. When that kobj's r...
edac_pci_main_kobj_setup(9)
NAME edac_pci_main_kobj_setup - Setup the sysfs for EDAC PCI attributes. SYNOPSIS int edac_pci_main_kobj_setup (void ); ARGUMENTS void no arguments SEE ALSO Kernel file ./drivers/edac/edac_pci_sysfs.c April 2026 edac_p...
edac_pci_release_generic_ctl(9)
NAME edac_pci_release_generic_ctl - SYNOPSIS void edac_pci_release_generic_ctl (struct edac_pci_ctl_info *pci ); ARGUMENTS pci pointer to struct edac_pci_ctl_info DESCRIPTION The release function of a generic EDAC PCI polling device SEE ALSO Kernel file ./drivers/edac/edac_pci.h edac_pci_alloc_ctl_info(...
edac_pci_remove_sysfs(9)
NAME edac_pci_remove_sysfs - SYNOPSIS void edac_pci_remove_sysfs (struct edac_pci_ctl_info *pci ); ARGUMENTS pci pointer to struct edac_pci_ctl_info DESCRIPTION remove the controls and attributes for this EDAC PCI device SEE ALSO Kernel file ./drivers/edac/edac_pci.h edac_pci_alloc_ctl_info(9), edac_p...
edac_raw_mc_handle_error(9)
NAME edac_raw_mc_handle_error - Reports a memory event to userspace without doing anything to discover the error location. SYNOPSIS void edac_raw_mc_handle_error (struct edac_raw_error_desc *e ); ARGUMENTS e error description DESCRIPTION This raw function is used internally by edac_mc_handle_error. It shou...
edac_scrub_get_desc(9)
NAME edac_scrub_get_desc - get EDAC scrub descriptors SYNOPSIS int edac_scrub_get_desc (struct device *scrub_dev , const struct attribute_group **attr_groups , u8 instance ); ARGUMENTS scrub_dev client device, with scrub support attr_groups pointer to attribute group container instance device's s...
edata(3)
NAME etext, edata, end - end of program segments SYNOPSIS extern etext; extern edata; extern end; DESCRIPTION The addresses of these symbols indicate the end of various program segments: etext This is the first address past the end of the text segment (the program code). edata This is the first addr...
edd_dev_is_type(9)
NAME edd_dev_is_type - is this EDD device a 'type' device? SYNOPSIS int edd_dev_is_type (struct edd_device *edev , const char *type ); ARGUMENTS edev target edd_device type a host bus or interface identifier string per the EDD spec DESCRIPTION Returns 1 (TRUE) if it is a 'type' device, 0 otherw...
edd_get_pci_dev(9)
NAME edd_get_pci_dev - finds pci_dev that matches edev SYNOPSIS struct pci_dev * edd_get_pci_dev (struct edd_device *edev ); ARGUMENTS edev edd_device DESCRIPTION Returns pci_dev if found, or NULL SEE ALSO Kernel file ./drivers/firmware/edd.c edd_show_raw_data(9), edd_release(9), edd_dev_is_type(9), edd_init...
edd_init(9)
NAME edd_init - creates sysfs tree of EDD data SYNOPSIS int edd_init (void ); ARGUMENTS void no arguments SEE ALSO Kernel file ./drivers/firmware/edd.c edd_show_raw_data(9), edd_release(9), edd_dev_is_type(9), edd_get_pci_dev(9) April 2026 ...
edd_release(9)
NAME edd_release - free edd structure SYNOPSIS void edd_release (struct kobject * kobj ); ARGUMENTS kobj kobject of edd structure DESCRIPTION This is called when the refcount of the edd structure reaches 0. This should happen right after we unregister, but just in case, we use the release callback anyway. SE...
edd_show_raw_data(9)
NAME edd_show_raw_data - copies raw data to buffer for userspace to parse SYNOPSIS ssize_t edd_show_raw_data (struct edd_device *edev , char *buf ); ARGUMENTS edev target edd_device buf output buffer RETURN number of bytes written, or -EINVAL on failure SEE ALSO Kernel file ./drivers/firmware...
edgepaint(1)
NAME edgepaint - edge coloring to disambiguate crossing edges SYNOPSIS [ options ] [ -o outfile ] [ files ] DESCRIPTION edgepaint takes as input a graph in DOT format with node position information (the pos attribute) and colors the edges in a manner making it easier to tell them apart. OPTIONS The following options...
edid_get_quirks(9)
NAME edid_get_quirks - return quirk flags for a given EDID SYNOPSIS u32 edid_get_quirks (const struct drm_edid *drm_edid ); ARGUMENTS drm_edid EDID to process DESCRIPTION This tells subsequent routines what fixes they need to apply. RETURN A u32 represents the quirks to apply. SEE ALSO Kernel file ./drivers/...
editcap(1)
NAME editcap - Edit and/or translate the format of capture files SYNOPSIS editcap [ -a <frame:comment> ] [ -A <start time> ] [ -B <stop time> ] [ -c <packets per file> ] [ -C [offset:]<choplen> ] [ -E <error probability> ] [ -F <file format> ] [ -i <seconds per file> ] [ -o <change offset> ] [ -L ] [ -r ] [ -R <frame:...
edma_alloc_slot(9)
NAME edma_alloc_slot - allocate DMA parameter RAM SYNOPSIS int edma_alloc_slot (struct edma_cc *ecc , int slot ); ARGUMENTS ecc pointer to edma_cc struct slot specific slot to allocate; negative for "any unused slot" DESCRIPTION This allocates a parameter RAM slot, initializing it to hold a ...
edma_get_position(9)
NAME edma_get_position - returns the current transfer point SYNOPSIS dma_addr_t edma_get_position (struct edma_cc *ecc , unsigned slot , bool dst ); ARGUMENTS ecc pointer to edma_cc struct slot parameter RAM slot being examined dst true selects the dest position, false the sourc...
edma_link(9)
NAME edma_link - link one parameter RAM slot to another SYNOPSIS void edma_link (struct edma_cc *ecc , unsigned from , unsigned to ); ARGUMENTS ecc pointer to edma_cc struct from parameter RAM slot originating the link to parameter RAM slot which is the link target DESCRIPTION...
edtx2dtx(1)
NAME edtx2dtx - Convert .edtx into .dtx SYNOPSIS edtx2dtx filename.edtx > filename.dtx DESCRIPTION This utility wraps code chunks by a (commented and properly indented) \begin{macrocode} and \end{macrocode} pair. A code chunk is any sequence of lines not introduced by a single (possibly indented) comment charact...
eeh_addr_cache_get_dev(9)
NAME eeh_addr_cache_get_dev - Get device, given only address SYNOPSIS struct eeh_dev * eeh_addr_cache_get_dev (unsigned long addr ); ARGUMENTS addr mmio (PIO) phys address or i/o port number DESCRIPTION Given an mmio phys address, or a port number, find a pci device that implements this address. I/O port ...
eeh_addr_cache_init(9)
NAME eeh_addr_cache_init - Initialize a cache of I/O addresses SYNOPSIS void eeh_addr_cache_init (void ); ARGUMENTS void no arguments DESCRIPTION Initialize a cache of pci i/o addresses. This cache will be used to find the pci device that corresponds to a given address. SEE ALSO Kernel file ./arch/powerpc/k...
eeh_addr_cache_insert_dev(9)
NAME eeh_addr_cache_insert_dev - Add a device to the address cache SYNOPSIS void eeh_addr_cache_insert_dev (struct pci_dev *dev ); ARGUMENTS dev PCI device whose I/O addresses we are interested in. DESCRIPTION In order to support the fast lookup of devices based on addresses, we maintain a cache of devices t...
eeh_addr_cache_rmv_dev(9)
NAME eeh_addr_cache_rmv_dev - remove pci device from addr cache SYNOPSIS void eeh_addr_cache_rmv_dev (struct pci_dev *dev ); ARGUMENTS dev device to remove DESCRIPTION Remove a device from the addr-cache tree. This is potentially expensive, since it will walk the tree multiple times (once per resource). Bu...
eeh_check_failure(9)
NAME eeh_check_failure - Check if all 1's data is due to EEH slot freeze SYNOPSIS int eeh_check_failure (const volatile void __iomem *token ); ARGUMENTS token I/O address DESCRIPTION Check for an EEH failure at the given I/O address. Call this routine if the result of a read was all 0xff's and you want to find...
eeh_dev_check_failure(9)
NAME eeh_dev_check_failure - Check if all 1's data is due to EEH slot freeze SYNOPSIS int eeh_dev_check_failure (struct eeh_dev *edev ); ARGUMENTS edev eeh device DESCRIPTION Check for an EEH failure for the given device node. Call this routine if the result of a read was all 0xff's and you want to find o...
eeh_dev_open(9)
NAME eeh_dev_open - Increase count of pass through devices for PE SYNOPSIS int eeh_dev_open (struct pci_dev *pdev ); ARGUMENTS pdev PCI device DESCRIPTION Increase count of passed through devices for the indicated PE. In the result, the EEH errors detected on the PE won't be reported. The PE owner will be res...
eeh_dev_release(9)
NAME eeh_dev_release - Decrease count of pass through devices for PE SYNOPSIS void eeh_dev_release (struct pci_dev *pdev ); ARGUMENTS pdev PCI device DESCRIPTION Decrease count of pass through devices for the indicated PE. If there is no passed through device in PE, the EEH errors detected on the PE will be r...
eeh_disable_irq(9)
NAME eeh_disable_irq - Disable interrupt for the recovering device SYNOPSIS void eeh_disable_irq (struct eeh_dev *edev ); ARGUMENTS edev -- undescribed -- DESCRIPTION This routine must be called when reporting temporary or permanent error to the particular PCI device to disable interrupt of that device. If ...
eeh_enable_irq(9)
NAME eeh_enable_irq - Enable interrupt for the recovering device SYNOPSIS void eeh_enable_irq (struct eeh_dev *edev ); ARGUMENTS edev -- undescribed -- DESCRIPTION This routine must be called to enable interrupt while failed device could be resumed. SEE ALSO Kernel file ./arch/powerpc/kernel/eeh_driver.c ...
eeh_event_handler(9)
NAME eeh_event_handler - Dispatch EEH events. @dummy - unused SYNOPSIS int eeh_event_handler (void * dummy ); ARGUMENTS dummy -- undescribed -- DESCRIPTION The detection of a frozen slot can occur inside an interrupt, where it can be hard to do anything about it. The goal of this routine is to pull these det...
eeh_event_init(9)
NAME eeh_event_init - Start kernel thread to handle EEH events SYNOPSIS int eeh_event_init (void ); ARGUMENTS void no arguments DESCRIPTION This routine is called to start the kernel thread for processing EEH event. SEE ALSO Kernel file ./arch/powerpc/kernel/eeh_event.c eeh_event_handler(9), eeh_remove_event...
eeh_handle_normal_event(9)
NAME eeh_handle_normal_event - Handle EEH events on a specific PE SYNOPSIS void eeh_handle_normal_event (struct eeh_pe *pe ); ARGUMENTS pe EEH PE - which should not be used after we return, as it may have been invalidated. DESCRIPTION Attempts to recover the given PE. If recovery fails or the PE has failed...
eeh_handle_special_event(9)
NAME eeh_handle_special_event - Handle EEH events without a specific failing PE SYNOPSIS void eeh_handle_special_event (void ); ARGUMENTS void no arguments DESCRIPTION Called when an EEH event is detected but can't be narrowed down to a specific PE. Iterates through possible failures and handles them as nece...
eeh_init(9)
NAME eeh_init - System wide EEH initialization SYNOPSIS int eeh_init (struct eeh_ops *ops ); ARGUMENTS ops struct to trace EEH operation callback functions DESCRIPTION It's the platform's job to call this from an arch_initcall. SEE ALSO Kernel file ./arch/powerpc/kernel/eeh.c eeh_slot_error_detail(9), eeh_t...
eeh_iommu_group_to_pe(9)
NAME eeh_iommu_group_to_pe - Convert IOMMU group to EEH PE SYNOPSIS struct eeh_pe * eeh_iommu_group_to_pe (struct iommu_group *group ); ARGUMENTS group IOMMU group DESCRIPTION The routine is called to convert IOMMU group to EEH PE. SEE ALSO Kernel file ./arch/powerpc/kernel/eeh.c eeh_slot_error_detail(9), eeh...
eeh_pci_enable(9)
NAME eeh_pci_enable - Enable MMIO or DMA transfers for this slot SYNOPSIS int eeh_pci_enable (struct eeh_pe *pe , int function ); ARGUMENTS pe EEH PE function EEH option DESCRIPTION This routine should be called to reenable frozen MMIO or DMA so that it would work correctly again. It's useful whi...
eeh_pcid_get(9)
NAME eeh_pcid_get - Get the PCI device driver SYNOPSIS struct pci_driver * eeh_pcid_get (struct pci_dev *pdev ); ARGUMENTS pdev PCI device DESCRIPTION The function is used to retrieve the PCI device driver for the indicated PCI device. Besides, we will increase the reference of the PCI device driver to p...
eeh_pcid_put(9)
NAME eeh_pcid_put - Dereference on the PCI device driver SYNOPSIS void eeh_pcid_put (struct pci_dev *pdev ); ARGUMENTS pdev PCI device DESCRIPTION The function is called to do dereference on the PCI device driver of the indicated PCI device. SEE ALSO Kernel file ./arch/powerpc/kernel/eeh_driver.c eeh_pcid...
eeh_pe_alloc(9)
NAME eeh_pe_alloc - Allocate PE SYNOPSIS struct eeh_pe * eeh_pe_alloc (struct pci_controller *phb , int type ); ARGUMENTS phb PCI controller type PE type DESCRIPTION Allocate PE instance dynamically. SEE ALSO Kernel file ./arch/powerpc/kernel/eeh_pe.c eeh_set_pe_aux_size(9), eeh_phb_pe_cre...
eeh_pe_bus_get(9)
NAME eeh_pe_bus_get - Retrieve PCI bus associated with the given EEH PE, locking if needed SYNOPSIS struct pci_bus * eeh_pe_bus_get (struct eeh_pe *pe ); ARGUMENTS pe Pointer to the EEH PE DESCRIPTION This function is a wrapper around _eeh_pe_bus_get, which retrieves the PCI bus associated with the pro...
eeh_pe_bus_get_nolock(9)
NAME eeh_pe_bus_get_nolock - Retrieve PCI bus associated with the given EEH PE without locking SYNOPSIS struct pci_bus * eeh_pe_bus_get_nolock (struct eeh_pe *pe ); ARGUMENTS pe Pointer to the EEH PE DESCRIPTION This function is a variant of _eeh_pe_bus_get that retrieves the PCI bus associated with the ...
eeh_pe_configure(9)
NAME eeh_pe_configure - Configure PCI bridges after PE reset SYNOPSIS int eeh_pe_configure (struct eeh_pe *pe ); ARGUMENTS pe EEH PE DESCRIPTION The routine is called to restore the PCI config space for those PCI devices, especially PCI bridges affected by PE reset issued previously. SEE ALSO Kernel file ....
eeh_pe_dev_traverse(9)
NAME eeh_pe_dev_traverse - Traverse the devices from the PE SYNOPSIS void eeh_pe_dev_traverse (struct eeh_pe *root , eeh_edev_traverse_func fn , void *flag ); ARGUMENTS root EEH PE fn function callback flag extra parameter to callback DESCRIPTION The function is used to travers...