id
stringlengths
4
63
text
stringlengths
153
8.81M
early_init_dt_check_for_elfcorehdr(9)
NAME early_init_dt_check_for_elfcorehdr - Decode elfcorehdr location from flat tree SYNOPSIS void early_init_dt_check_for_elfcorehdr (unsigned long node ); ARGUMENTS node reference to node containing elfcorehdr location ('chosen') SEE ALSO Kernel file ./drivers/of/fdt.c unflatten_dt_nodes(9), __unflatten_d...
early_init_dt_check_for_initrd(9)
NAME early_init_dt_check_for_initrd - Decode initrd location from flat tree SYNOPSIS void early_init_dt_check_for_initrd (unsigned long node ); ARGUMENTS node reference to node containing initrd location ('chosen') SEE ALSO Kernel file ./drivers/of/fdt.c unflatten_dt_nodes(9), __unflatten_device_tree(9), o...
early_init_dt_check_for_usable_mem_range(9)
NAME early_init_dt_check_for_usable_mem_range - Decode usable memory range location from flat tree SYNOPSIS void early_init_dt_check_for_usable_mem_range (void ); ARGUMENTS void no arguments SEE ALSO Kernel file ./drivers/of/fdt.c unflatten_dt_nodes(9), __unflatten_device_tree(9), of_fdt_unflatten_tree(9),...
early_init_dt_check_kho(9)
NAME early_init_dt_check_kho - Decode info required for kexec handover from DT SYNOPSIS void early_init_dt_check_kho (void ); ARGUMENTS void no arguments SEE ALSO Kernel file ./drivers/of/fdt.c unflatten_dt_nodes(9), __unflatten_device_tree(9), of_fdt_unflatten_tree(9), early_init_fdt_scan_reserved_mem(9),...
early_init_fdt_reserve_self(9)
NAME early_init_fdt_reserve_self - reserve the memory used by the FDT blob SYNOPSIS void early_init_fdt_reserve_self (void ); ARGUMENTS void no arguments SEE ALSO Kernel file ./drivers/of/fdt.c unflatten_dt_nodes(9), __unflatten_device_tree(9), of_fdt_unflatten_tree(9), early_init_fdt_scan_reserved_mem(...
early_init_fdt_scan_reserved_mem(9)
NAME early_init_fdt_scan_reserved_mem - create reserved memory regions SYNOPSIS void early_init_fdt_scan_reserved_mem (void ); ARGUMENTS void no arguments DESCRIPTION This function grabs memory from early allocator for device exclusive use defined in device tree structures. It should be called by arch specifi...
early_led_init(9)
NAME early_led_init - SYNOPSIS int early_led_init (void ); ARGUMENTS void no arguments DESCRIPTION early_led_init is called early in the bootup-process and asks the PDC for an usable chassis LCD or LED. If the PDC doesn't return any info, then a LED might be detected by the LASI or ASP drivers later. Kit...
early_platform_cleanup(9)
NAME early_platform_cleanup - clean up early platform code SYNOPSIS void early_platform_cleanup (void ); ARGUMENTS void no arguments SEE ALSO Kernel file ./arch/sh/drivers/platform_early.c sh_early_platform_driver_register(9), sh_early_platform_add_devices(9), sh_early_platform_driver_register_all(9), s...
early_root_info_init(9)
NAME early_root_info_init - SYNOPSIS int early_root_info_init (void ); ARGUMENTS void no arguments DESCRIPTION called before pcibios_scan_root and pci_scan_bus fills the mp_bus_to_cpumask array based according to the LDT Bus Number Registers found in the northbridge. SEE ALSO Kernel file ./arch/x86/pci/amd_b...
early_security_init(9)
NAME early_security_init - Initialize the early LSMs SYNOPSIS int early_security_init (void ); ARGUMENTS void no arguments SEE ALSO Kernel file ./security/lsm_init.c lsm_choose_security(9), lsm_choose_lsm(9), lsm_debug_enable(9), lsm_enabled_set(9), lsm_is_enabled(9), lsm_order_exists(9), lsm_order_append...
easside-ng(8)
NAME easside-ng - an auto-magic tool which allows you to communicate via an WEP-encrypted AP without knowing the key SYNOPSIS easside-ng <options> DESCRIPTION easside-ng is an auto-magic tool which allows you to communicate via an WEP-encrypted access point (AP) without knowing the WEP key. It first identifies a ne...
ebb(1)
NAME extractbb, ebb - extract bounding box information from graphics files SYNOPSIS extractbb [-v|-q] [-O] [-m|-x] file... DESCRIPTION For each JPEG, PNG, or PDF file given on the command line, extractbb extracts the bounding box information and writes it into a file with extension .xbb, together with some header inf...
ebitmap_netlbl_export(9)
NAME ebitmap_netlbl_export - Export an ebitmap into a NetLabel category bitmap SYNOPSIS int ebitmap_netlbl_export (struct ebitmap *ebmap , struct netlbl_lsm_catmap **catmap ); ARGUMENTS ebmap the ebitmap to export catmap the NetLabel category bitmap DESCRIPTION Export a SELinux extensibile bitmap ...
ebitmap_netlbl_import(9)
NAME ebitmap_netlbl_import - Import a NetLabel category bitmap into an ebitmap SYNOPSIS int ebitmap_netlbl_import (struct ebitmap *ebmap , struct netlbl_lsm_catmap *catmap ); ARGUMENTS ebmap the ebitmap to import catmap the NetLabel category bitmap DESCRIPTION Import a NetLabel category bitmap int...
ec.1ssl(1)
NAME asn1parse, ca, ciphers, cmp, cms, crl, crl2pkcs7, dgst, dhparam, dsa, dsaparam, ec, ecparam, enc, engine, errstr, gendsa, genpkey, genrsa, info, kdf, mac, nseq, ocsp, passwd, pkcs12, pkcs7, pkcs8, pkey, pkeyparam, pkeyutl, prime, rand, rehash, req, rsa, rsautl, s_client, s_server, s_time, sess_id, smime, speed, sp...
ec_i2c_construct_message(9)
NAME ec_i2c_construct_message - construct a message to go to the EC SYNOPSIS int ec_i2c_construct_message (u8 *buf , const struct i2c_msg i2c_msgs[] , int num , u16 bus_num ); ARGUMENTS buf The buffer to fill. We assume that the buffer is big enough. i2c_msgs The i2c messages to read. num ...
ec_i2c_count_message(9)
NAME ec_i2c_count_message - Count bytes needed for ec_i2c_construct_message SYNOPSIS int ec_i2c_count_message (const struct i2c_msg i2c_msgs[] , int num ); ARGUMENTS i2c_msgs The i2c messages to read num The number of i2c messages. DESCRIPTION Returns the number of bytes the messages will take up....
ec_i2c_count_response(9)
NAME ec_i2c_count_response - Count bytes needed for ec_i2c_parse_response SYNOPSIS int ec_i2c_count_response (struct i2c_msg i2c_msgs[] , int num ); ARGUMENTS i2c_msgs The i2c messages to fill up. num The number of i2c messages expected. DESCRIPTION Returns the number of response bytes expeced. S...
ec_i2c_parse_response(9)
NAME ec_i2c_parse_response - Parse a response from the EC SYNOPSIS int ec_i2c_parse_response (const u8 *buf , struct i2c_msg i2c_msgs[] , int *num ); ARGUMENTS buf The buffer to parse. i2c_msgs The i2c messages to fill up. num The number of i2c messages; will be modified to include ...
ec_install_handlers(9)
NAME ec_install_handlers - Install service callbacks and register query methods. SYNOPSIS int ec_install_handlers (struct acpi_ec *ec , struct acpi_device *device , bool call_reg ); ARGUMENTS ec Target EC. device ACPI device object corresponding to ec. call_reg If _REG should be calle...
ecb_crypt(3)
NAME des_crypt, ecb_crypt, cbc_crypt, des_setparity, DES_FAILED - fast DES encryption LIBRARY Standard C library (libc, -lc) SYNOPSIS #include <rpc/des_crypt.h> [[deprecated]] int ecb_crypt(unsigned int datalen; char *key, char data[datalen], ...
ecc_digits_from_bytes(9)
NAME ecc_digits_from_bytes - Create ndigits-sized digits array from byte array SYNOPSIS void ecc_digits_from_bytes (const u8 *in , unsigned int nbytes , u64 *out , unsigned int ndigits ); ARGUMENTS in Input byte array nbytes Size of input byte array out Output digits array nbytes -- und...
ecc_free_point(9)
NAME ecc_free_point - Free ECC point. SYNOPSIS void ecc_free_point (struct ecc_point *p ); ARGUMENTS p The point to free. SEE ALSO Kernel file ./include/crypto/internal/ecc.h ecc_swap_digits(9), ecc_digits_from_bytes(9), ecc_is_key_valid(9), ecc_gen_privkey(9), ecc_make_pub_key(9), crypto_ecdh_sha...
ecc_gen_privkey(9)
NAME ecc_gen_privkey - Generates an ECC private key. The private key is a random integer in the range 0 < random < n, where n is a prime that is the order of the cyclic subgroup generated by the distinguished point G. SYNOPSIS int ecc_gen_privkey (unsigned int curve_id , unsigned int ndigits , u64 *private_key ); ARG...
ecc_get_curve(9)
NAME ecc_get_curve - get elliptic curve; SYNOPSIS const struct ecc_curve * ecc_get_curve (unsigned int curve_id ); ARGUMENTS curve_id Curves IDs: defined in 'include/crypto/ecdh.h'; DESCRIPTION Returns curve if get curve succssful, NULL otherwise SEE ALSO Kernel file ./include/crypto/ecc_curve.h struct ecc_point...
ecc_get_curve25519(9)
NAME ecc_get_curve25519 - get curve25519 curve; SYNOPSIS const struct ecc_curve * ecc_get_curve25519 (void ); ARGUMENTS void no arguments DESCRIPTION Returns curve25519 SEE ALSO Kernel file ./include/crypto/ecc_curve.h struct ecc_point(9), struct ecc_curve(9), ecc_get_curve(9) April 2026 ...
ecc_is_key_valid(9)
NAME ecc_is_key_valid - Validate a given ECDH private key SYNOPSIS int ecc_is_key_valid (unsigned int curve_id , unsigned int ndigits , const u64 *private_key , unsigned int private_key_len ); ARGUMENTS curve_id id representing the curve to use ndigits curve's number of digits private_key priva...
ecc_is_pubkey_valid_full(9)
NAME ecc_is_pubkey_valid_full - Full public key validation SYNOPSIS int ecc_is_pubkey_valid_full (const struct ecc_curve *curve , struct ecc_point *pk ); ARGUMENTS curve elliptic curve domain parameters pk public key as a point DESCRIPTION Valdiate public key according to SP800-56A section 5.6...
ecc_is_pubkey_valid_partial(9)
NAME ecc_is_pubkey_valid_partial - Partial public key validation SYNOPSIS int ecc_is_pubkey_valid_partial (const struct ecc_curve *curve , struct ecc_point *pk ); ARGUMENTS curve elliptic curve domain parameters pk public key as a point DESCRIPTION Valdiate public key according to SP800-56A se...
ecc_make_pub_key(9)
NAME ecc_make_pub_key - Compute an ECC public key SYNOPSIS int ecc_make_pub_key (const unsigned int curve_id , unsigned int ndigits , const u64 *private_key , u64 *public_key ); ARGUMENTS curve_id id representing the curve to use ndigits curve's number of digits private_key pregenerated private...
ecc_point_is_zero(9)
NAME ecc_point_is_zero - Check if point is zero. SYNOPSIS bool ecc_point_is_zero (const struct ecc_point *point ); ARGUMENTS point -- undescribed -- RETURN true if point is the point at infinity, false otherwise. SEE ALSO Kernel file ./include/crypto/internal/ecc.h ecc_swap_digits(9), ecc_digits_from_byte...
ecc_point_mult_shamir(9)
NAME ecc_point_mult_shamir - Add two points multiplied by scalars SYNOPSIS void ecc_point_mult_shamir (const struct ecc_point *result , const u64 *x , const struct ecc_point *p , const u64 *y , const struct ecc_point *q , const struct ecc_curve *curve ); ARGUMENTS result resulting point x scala...
ecc_swap_digits(9)
NAME ecc_swap_digits - Copy ndigits from big endian array to native array SYNOPSIS void ecc_swap_digits (const void *in , u64 *out , unsigned int ndigits ); ARGUMENTS in Input array out Output array ndigits Number of digits to copy SEE ALSO Kernel file ./include/crypto/intern...
echo(1)
NAME echo - display a line of text SYNOPSIS echo [SHORT-OPTION]... [STRING]... echo LONG-OPTION DESCRIPTION Echo the STRING(s) to standard output. -n do not output the trailing newline -e enable interpretation of backslash escapes -E disable interpretation of backslash escapes (def...
echo(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 echo — write arguments to standard output SYNOPSIS echo [...
echo.3x(3)
NAME cbreak, echo, halfdelay, intrflush, is_cbreak, is_echo, is_nl, is_raw, keypad, meta, nl, nocbreak, nodelay, noecho, nonl, noqiflush, noraw, notimeout, qiflush, raw, timeout, wtimeout, typeahead - get and set curses terminal input op‐ tions SYNOPSIS #include <ncursesw/curses.h> int cbreak(void); ...
echo_char(9)
NAME echo_char - echo a character SYNOPSIS void echo_char (u8 c , const struct tty_struct *tty ); ARGUMENTS c unicode byte to echo tty terminal device DESCRIPTION Echo user input back onto the screen. This must be called only when L_ECHO(tty) is true. Called from the tty_driver.receive_buf...
echo_char_raw(9)
NAME echo_char_raw - echo a character raw SYNOPSIS void echo_char_raw (u8 c , struct n_tty_data *ldata ); ARGUMENTS c unicode byte to echo ldata line disc data DESCRIPTION Echo user input back onto the screen. This must be called only when L_ECHO(tty) is true. Called from the tty_driver.recei...
echo_erase_tab(9)
NAME echo_erase_tab - add operation to erase a tab SYNOPSIS void echo_erase_tab (unsigned int num_chars , int after_tab , struct n_tty_data *ldata ); ARGUMENTS num_chars number of character columns already used after_tab true if num_chars starts after a previous tab ldata n_tty data DESCRIP...
echo_move_back_col(9)
NAME echo_move_back_col - add operation to move back a column SYNOPSIS void echo_move_back_col (struct n_tty_data *ldata ); ARGUMENTS ldata n_tty data DESCRIPTION Add an operation to the echo buffer to move back one column. SEE ALSO Kernel file ./drivers/tty/n_tty.c n_tty_kick_worker(9), n_tty_write_wakeup(...
echo_set_canon_col(9)
NAME echo_set_canon_col - add operation to set the canon column SYNOPSIS void echo_set_canon_col (struct n_tty_data *ldata ); ARGUMENTS ldata n_tty data DESCRIPTION Add an operation to the echo buffer to set the canon column to the current column. SEE ALSO Kernel file ./drivers/tty/n_tty.c n_tty_kick_worker...
echo_sp.3x(3)
NAME curs_sp_funcs - curses screen-pointer extension SYNOPSIS #include <ncursesw/curses.h> int alloc_pair_sp(SCREEN* sp, int fg, int bg); int assume_default_colors_sp(SCREEN* sp, int fg, int bg); int baudrate_sp(SCREEN* sp); int beep_sp(SCREEN* sp); bool can_change_color_sp(SCREEN* ...
echo_wchar.3x(3)
NAME add_wch, wadd_wch, mvadd_wch, mvwadd_wch, echo_wchar, wecho_wchar - add a curses complex character to a window and advance the cursor SYNOPSIS #include <ncursesw/curses.h> int add_wch(const cchar_t *wch); int wadd_wch(WINDOW *win, const cchar_t *wch); int mvadd_wch(int y, int x, const cchar_...
echochar.3x(3)
NAME addch, waddch, mvaddch, mvwaddch, echochar, wechochar - add a curses character to a window and advance the cursor SYNOPSIS #include <ncursesw/curses.h> int addch(const chtype ch); int waddch(WINDOW *win, const chtype ch); int mvaddch(int y, int x, const chtype ch); int mvwaddch(WINDOW...
ecl_ish_cl_read(9)
NAME ecl_ish_cl_read - Read data from eclite FW SYNOPSIS int ecl_ish_cl_read (struct ishtp_opregion_dev *opr_dev ); ARGUMENTS opr_dev pointer to opregion device DESCRIPTION This function issues a read request to eclite FW and waits until it receives a response. When response is received the read data is copied t...
ecl_ish_cl_write(9)
NAME ecl_ish_cl_write - This function writes data to eclite FW. SYNOPSIS int ecl_ish_cl_write (struct ishtp_opregion_dev *opr_dev ); ARGUMENTS opr_dev pointer to opregion device DESCRIPTION This function writes data to eclite FW. SEE ALSO Kernel file ./drivers/platform/x86/intel/ishtp_eclite.c ecl_ish_cl_read(9...
ecparam.1ssl(1)
NAME asn1parse, ca, ciphers, cmp, cms, crl, crl2pkcs7, dgst, dhparam, dsa, dsaparam, ec, ecparam, enc, engine, errstr, gendsa, genpkey, genrsa, info, kdf, mac, nseq, ocsp, passwd, pkcs12, pkcs7, pkcs8, pkey, pkeyparam, pkeyutl, prime, rand, rehash, req, rsa, rsautl, s_client, s_server, s_time, sess_id, smime, speed, sp...
ecpg(1)
NAME ecpg - embedded SQL C preprocessor SYNOPSIS ecpg [option...] file... DESCRIPTION ecpg is the embedded SQL preprocessor for C programs. It converts C programs with embedded SQL statements to normal C code by replacing the SQL invocations with special function calls. The output files can then be processed ...
ecryptfs_acquire_free_msg_ctx(9)
NAME ecryptfs_acquire_free_msg_ctx - SYNOPSIS int ecryptfs_acquire_free_msg_ctx (struct ecryptfs_msg_ctx **msg_ctx ); ARGUMENTS msg_ctx The context that was acquired from the free list DESCRIPTION Acquires a context element from the free list and locks the mutex on the context. Sets the msg_ctx task to curr...
ecryptfs_alloc_inode(9)
NAME ecryptfs_alloc_inode - allocate an ecryptfs inode SYNOPSIS struct inode * ecryptfs_alloc_inode (struct super_block *sb ); ARGUMENTS sb Pointer to the ecryptfs super block DESCRIPTION Called to bring an inode into existence. Only handle allocation, setting up structures should be done in ecryptfs_re...
ecryptfs_cipher_code_to_string(9)
NAME ecryptfs_cipher_code_to_string - SYNOPSIS int ecryptfs_cipher_code_to_string (char *str , size_t size , u8 cipher_code ); ARGUMENTS str Destination to write out the cipher name size Destination buffer size cipher_code The code to convert to cipher name string DESCRIPTION Returns z...
ecryptfs_code_for_cipher_string(9)
NAME ecryptfs_code_for_cipher_string - SYNOPSIS u8 ecryptfs_code_for_cipher_string (char *cipher_name , size_t key_bytes ); ARGUMENTS cipher_name The string alias for the cipher key_bytes Length of key in bytes; used for AES code selection DESCRIPTION Returns zero on no match, or the cipher code on match ...
ecryptfs_copy_mount_wide_flags_to_inode_flags(9)
NAME ecryptfs_copy_mount_wide_flags_to_inode_flags - SYNOPSIS void ecryptfs_copy_mount_wide_flags_to_inode_flags (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...
ecryptfs_copy_up_encrypted_with_header(9)
NAME ecryptfs_copy_up_encrypted_with_header - SYNOPSIS int ecryptfs_copy_up_encrypted_with_header (struct folio *folio , struct ecryptfs_crypt_stat *crypt_stat ); ARGUMENTS folio Sort of a “virtual” representation of the encrypted lower file. The actual lower file does not have the metadata in the header. This ...
ecryptfs_d_release(9)
NAME ecryptfs_d_release - SYNOPSIS void ecryptfs_d_release (struct dentry *dentry ); ARGUMENTS dentry The ecryptfs dentry DESCRIPTION Called when a dentry is really deallocated. SEE ALSO Kernel file ./fs/ecryptfs/dentry.c ecryptfs_d_revalidate(9) April 2026 ...
ecryptfs_d_revalidate(9)
NAME ecryptfs_d_revalidate - revalidate an ecryptfs dentry SYNOPSIS int ecryptfs_d_revalidate (struct inode *dir , const struct qstr *name , struct dentry *dentry , unsigned int flags ); ARGUMENTS dir inode of expected parent name expected name dentry dentry to revalidate f...
ecryptfs_decode_and_decrypt_filename(9)
NAME ecryptfs_decode_and_decrypt_filename - converts the encoded cipher text name to decoded plaintext SYNOPSIS int ecryptfs_decode_and_decrypt_filename (char **plaintext_name , size_t *plaintext_name_size , struct super_block *sb , const char *name , size_t name_size ); ARGUMENTS plaintext_name The plaintext name ...
ecryptfs_decode_from_filename(9)
NAME ecryptfs_decode_from_filename - SYNOPSIS void ecryptfs_decode_from_filename (unsigned char *dst , size_t *dst_size , const unsigned char *src , size_t src_size ); ARGUMENTS dst If NULL, this function only sets dst_size and returns. If non-NULL, this function decodes the encoded octets in src into the mem...
ecryptfs_decrypt_page(9)
NAME ecryptfs_decrypt_page - SYNOPSIS int ecryptfs_decrypt_page (struct folio *folio ); ARGUMENTS folio Folio mapped from the eCryptfs inode for the file; data read and decrypted from the lower file will be written into this page DESCRIPTION Decrypt an eCryptfs page. This is done on a per-extent basis. Note ...
ecryptfs_derive_iv(9)
NAME ecryptfs_derive_iv - SYNOPSIS void ecryptfs_derive_iv (char *iv , struct ecryptfs_crypt_stat *crypt_stat , loff_t offset ); ARGUMENTS iv destination for the derived iv vale crypt_stat Pointer to crypt_stat struct for the current inode offset Offset of the extent whose IV we are to ...
ecryptfs_destroy_crypt_stat(9)
NAME ecryptfs_destroy_crypt_stat - SYNOPSIS void ecryptfs_destroy_crypt_stat (struct ecryptfs_crypt_stat *crypt_stat ); ARGUMENTS crypt_stat Pointer to the crypt_stat struct to initialize. DESCRIPTION Releases all memory associated with a crypt_stat struct. SEE ALSO Kernel file ./fs/ecryptfs/crypto.c ecryptfs_...
ecryptfs_destroy_crypto(9)
NAME ecryptfs_destroy_crypto - free all cached key_tfms on key_tfm_list SYNOPSIS int ecryptfs_destroy_crypto (void ); ARGUMENTS void no arguments DESCRIPTION Called only at module unload time SEE ALSO Kernel file ./fs/ecryptfs/crypto.c ecryptfs_from_hex(9), ecryptfs_derive_iv(9), ecryptfs_init_crypt_sta...
ecryptfs_destroy_ecryptfs_miscdev(9)
NAME ecryptfs_destroy_ecryptfs_miscdev - SYNOPSIS void ecryptfs_destroy_ecryptfs_miscdev (void ); ARGUMENTS void no arguments DESCRIPTION All of the daemons must be exorcised prior to calling this function. SEE ALSO Kernel file ./fs/ecryptfs/miscdev.c ecryptfs_miscdev_poll(9), ecryptfs_miscdev_open(9), ...
ecryptfs_destroy_inode(9)
NAME ecryptfs_destroy_inode - SYNOPSIS void ecryptfs_destroy_inode (struct inode *inode ); ARGUMENTS inode The ecryptfs inode DESCRIPTION This is used during the final destruction of the inode. All allocation of memory related to the inode, including allocated memory in the crypt_stat struct, will be rel...
ecryptfs_dir_open(9)
NAME ecryptfs_dir_open - SYNOPSIS int ecryptfs_dir_open (struct inode *inode , struct file *file ); ARGUMENTS inode inode specifying file to open file Structure to return filled in DESCRIPTION Opens the file specified by inode. Returns zero on success; non-zero otherwise SEE ALSO Kernel file ....
ecryptfs_do_create(9)
NAME ecryptfs_do_create - SYNOPSIS struct inode * ecryptfs_do_create (struct inode *directory_inode , struct dentry *ecryptfs_dentry , umode_t mode ); ARGUMENTS directory_inode inode of the new file's dentry's parent in ecryptfs ecryptfs_dentry New file's dentry in ecryptfs mode ...
ecryptfs_dump_hex(9)
NAME ecryptfs_dump_hex - debug hex printer SYNOPSIS void ecryptfs_dump_hex (char *data , int bytes ); ARGUMENTS data string of bytes to be printed bytes number of bytes to print DESCRIPTION Dump hexadecimal representation of char array SEE ALSO Kernel file ./fs/ecryptfs/debug.c April 2026 ...
ecryptfs_encode_for_filename(9)
NAME ecryptfs_encode_for_filename - SYNOPSIS void ecryptfs_encode_for_filename (unsigned char *dst , size_t *dst_size , unsigned char *src , size_t src_size ); ARGUMENTS dst Destination location for encoded filename dst_size Size of the encoded filename in bytes src Source location ...
ecryptfs_encrypt_and_encode_filename(9)
NAME ecryptfs_encrypt_and_encode_filename - converts a plaintext file name to cipher text SYNOPSIS int ecryptfs_encrypt_and_encode_filename (char **encoded_name , size_t *encoded_name_size , struct ecryptfs_mount_crypt_stat *mount_crypt_stat , const char *name , size_t name_size ); ARGUMENTS encoded_name The encrypte...
ecryptfs_encrypt_page(9)
NAME ecryptfs_encrypt_page - SYNOPSIS int ecryptfs_encrypt_page (struct folio *folio ); ARGUMENTS folio Folio mapped from the eCryptfs inode for the file; contains decrypted content that needs to be encrypted (to a temporary page; not in place) and written out to the lower file DESCRIPTION Encrypt an eCryptf...
ecryptfs_evict_inode(9)
NAME ecryptfs_evict_inode - SYNOPSIS void ecryptfs_evict_inode (struct inode *inode ); ARGUMENTS inode The ecryptfs inode DESCRIPTION Called by iput when the inode reference count reached zero and the inode is not hashed anywhere. Used to clear anything that needs to be, before the inode is completely dest...
ecryptfs_find_auth_tok_for_sig(9)
NAME ecryptfs_find_auth_tok_for_sig - SYNOPSIS int ecryptfs_find_auth_tok_for_sig (struct key **auth_tok_key , struct ecryptfs_auth_tok **auth_tok , struct ecryptfs_mount_crypt_stat *mount_crypt_stat , char *sig ); ARGUMENTS auth_tok_key key containing the authentication token auth_tok Set to the matching ...
ecryptfs_find_daemon_by_euid(9)
NAME ecryptfs_find_daemon_by_euid - SYNOPSIS int ecryptfs_find_daemon_by_euid (struct ecryptfs_daemon **daemon ); ARGUMENTS daemon If return value is zero, points to the desired daemon pointer DESCRIPTION Must be called with ecryptfs_daemon_hash_mux held. Search the hash list for the current effective user id....
ecryptfs_from_hex(9)
NAME ecryptfs_from_hex - SYNOPSIS void ecryptfs_from_hex (char *dst , char *src , int dst_size ); ARGUMENTS dst Buffer to take the bytes from src hex; must be at least of size (src_size / 2) src Buffer to be converted from a hex string representation to raw value dst_size size of ds...
ecryptfs_generate_key_packet_set(9)
NAME ecryptfs_generate_key_packet_set - SYNOPSIS int ecryptfs_generate_key_packet_set (char *dest_base , struct ecryptfs_crypt_stat *crypt_stat , struct dentry *ecryptfs_dentry , size_t *len , size_t max ); ARGUMENTS dest_base Virtual address from which to write the key record set crypt_stat The cryptograp...
ecryptfs_get_tfm_and_mutex_for_cipher_name(9)
NAME ecryptfs_get_tfm_and_mutex_for_cipher_name - SYNOPSIS int ecryptfs_get_tfm_and_mutex_for_cipher_name (struct crypto_skcipher **tfm , struct mutex **tfm_mutex , char *cipher_name ); ARGUMENTS tfm set to cached tfm found, or new tfm created tfm_mutex set to mutex for cached tfm found, or new tfm ...
ecryptfs_init_crypt_ctx(9)
NAME ecryptfs_init_crypt_ctx - SYNOPSIS int ecryptfs_init_crypt_ctx (struct ecryptfs_crypt_stat *crypt_stat ); ARGUMENTS crypt_stat Uninitialized crypt stats structure DESCRIPTION Initialize the crypto context. TODO: Performance: Keep a cache of initialized cipher contexts; only init if needed SEE ALSO Kernel fi...
ecryptfs_init_crypt_stat(9)
NAME ecryptfs_init_crypt_stat - SYNOPSIS void ecryptfs_init_crypt_stat (struct ecryptfs_crypt_stat *crypt_stat ); ARGUMENTS crypt_stat Pointer to the crypt_stat struct to initialize. DESCRIPTION Initialize the crypt_stat structure. SEE ALSO Kernel file ./fs/ecryptfs/crypto.c ecryptfs_from_hex(9), ecryptfs_deri...
ecryptfs_init_ecryptfs_miscdev(9)
NAME ecryptfs_init_ecryptfs_miscdev - SYNOPSIS int ecryptfs_init_ecryptfs_miscdev (void ); ARGUMENTS void no arguments DESCRIPTION Messages sent to the userspace daemon from the kernel are placed on a queue associated with the daemon. The next read against the miscdev handle by that daemon will return the ...
ecryptfs_init_kmem_caches(9)
NAME ecryptfs_init_kmem_caches - SYNOPSIS int ecryptfs_init_kmem_caches (void ); ARGUMENTS void no arguments DESCRIPTION Returns zero on success; non-zero otherwise SEE ALSO Kernel file ./fs/ecryptfs/main.c ecryptfs_parse_param(9), ecryptfs_kill_block_super(9) April 2026 ...
ecryptfs_interpose(9)
NAME ecryptfs_interpose - SYNOPSIS int ecryptfs_interpose (struct dentry *lower_dentry , struct dentry *dentry , struct super_block *sb ); ARGUMENTS lower_dentry Existing dentry in the lower filesystem dentry ecryptfs' dentry sb ecryptfs's super_block DESCRIPTION Interposes upper and lo...
ecryptfs_kill_block_super(9)
NAME ecryptfs_kill_block_super - SYNOPSIS void ecryptfs_kill_block_super (struct super_block *sb ); ARGUMENTS sb The ecryptfs super block DESCRIPTION Used to bring the superblock down and free the private data. SEE ALSO Kernel file ./fs/ecryptfs/main.c ecryptfs_parse_param(9), ecryptfs_init_kmem_caches(9) ...
ecryptfs_lookup(9)
NAME ecryptfs_lookup - SYNOPSIS struct dentry * ecryptfs_lookup (struct inode *ecryptfs_dir_inode , struct dentry *ecryptfs_dentry , unsigned int flags ); ARGUMENTS ecryptfs_dir_inode The eCryptfs directory inode ecryptfs_dentry The eCryptfs dentry that we are looking up flags ...
ecryptfs_miscdev_open(9)
NAME ecryptfs_miscdev_open - SYNOPSIS int ecryptfs_miscdev_open (struct inode *inode , struct file *file ); ARGUMENTS inode inode of miscdev handle (ignored) file file for miscdev handle DESCRIPTION Returns zero on success; non-zero otherwise SEE ALSO Kernel file ./fs/ecryptfs/miscdev.c ...
ecryptfs_miscdev_poll(9)
NAME ecryptfs_miscdev_poll - SYNOPSIS __poll_t ecryptfs_miscdev_poll (struct file *file , poll_table *pt ); ARGUMENTS file dev file pt dev poll table (ignored) DESCRIPTION Returns the poll mask SEE ALSO Kernel file ./fs/ecryptfs/miscdev.c ecryptfs_miscdev_open(9), ecryptfs_miscde...
ecryptfs_miscdev_read(9)
NAME ecryptfs_miscdev_read - format and send message from queue SYNOPSIS ssize_t ecryptfs_miscdev_read (struct file *file , char __user *buf , size_t count , loff_t *ppos ); ARGUMENTS file miscdevfs handle buf User buffer into which to copy the next message on the daemon queue count ...
ecryptfs_miscdev_release(9)
NAME ecryptfs_miscdev_release - SYNOPSIS int ecryptfs_miscdev_release (struct inode *inode , struct file *file ); ARGUMENTS inode inode of fs/ecryptfs/euid handle (ignored) file file for fs/ecryptfs/euid handle DESCRIPTION This keeps the daemon registered until the daemon sends another ioctl to ...
ecryptfs_miscdev_response(9)
NAME ecryptfs_miscdev_response - miscdevess response to message previously sent to daemon SYNOPSIS int ecryptfs_miscdev_response (struct ecryptfs_daemon *daemon , char *data , size_t data_size , u32 seq ); ARGUMENTS daemon eCryptfs daemon object data Bytes comprising struct ecryptfs_message ...
ecryptfs_miscdev_write(9)
NAME ecryptfs_miscdev_write - handle write to daemon miscdev handle SYNOPSIS ssize_t ecryptfs_miscdev_write (struct file *file , const char __user *buf , size_t count , loff_t *ppos ); ARGUMENTS file File for misc dev handle buf Buffer containing user data count Amount of data in ...
ecryptfs_msg_ctx_alloc_to_free(9)
NAME ecryptfs_msg_ctx_alloc_to_free - SYNOPSIS void ecryptfs_msg_ctx_alloc_to_free (struct ecryptfs_msg_ctx *msg_ctx ); ARGUMENTS msg_ctx The context to move from the alloc list to the free list DESCRIPTION Must be called with ecryptfs_msg_ctx_lists_mux held. SEE ALSO Kernel file ./fs/ecryptfs/messaging.c ec...
ecryptfs_msg_ctx_free_to_alloc(9)
NAME ecryptfs_msg_ctx_free_to_alloc - SYNOPSIS void ecryptfs_msg_ctx_free_to_alloc (struct ecryptfs_msg_ctx *msg_ctx ); ARGUMENTS msg_ctx The context to move from the free list to the alloc list DESCRIPTION Must be called with ecryptfs_msg_ctx_lists_mux held. SEE ALSO Kernel file ./fs/ecryptfs/messaging.c ec...
ecryptfs_new_file_context(9)
NAME ecryptfs_new_file_context - SYNOPSIS int ecryptfs_new_file_context (struct inode *ecryptfs_inode ); ARGUMENTS ecryptfs_inode The eCryptfs inode DESCRIPTION If the crypto context for the file has not yet been established, this is where we do that. Establishing a new crypto context involves the following decisi...
ecryptfs_open(9)
NAME ecryptfs_open - SYNOPSIS int ecryptfs_open (struct inode *inode , struct file *file ); ARGUMENTS inode inode specifying file to open file Structure to return filled in DESCRIPTION Opens the file specified by inode. Returns zero on success; non-zero otherwise SEE ALSO Kernel file ./fs/ecry...
ecryptfs_parse_packet_length(9)
NAME ecryptfs_parse_packet_length - SYNOPSIS int ecryptfs_parse_packet_length (unsigned char *data , size_t *size , size_t *length_size ); ARGUMENTS data Pointer to memory containing length at offset size This function writes the decoded size to this memory address; zero on error length_...
ecryptfs_parse_packet_set(9)
NAME ecryptfs_parse_packet_set - SYNOPSIS int ecryptfs_parse_packet_set (struct ecryptfs_crypt_stat *crypt_stat , unsigned char *src , struct dentry *ecryptfs_dentry ); ARGUMENTS crypt_stat The cryptographic context src Virtual address of region of memory containing the packets ecryptfs_dentr...
ecryptfs_parse_param(9)
NAME ecryptfs_parse_param - SYNOPSIS int ecryptfs_parse_param (struct fs_context *fc , struct fs_parameter *param ); ARGUMENTS fc The ecryptfs filesystem context param The mount parameter to parse DESCRIPTION The signature of the key to use must be the description of a key already in the keyri...
ecryptfs_parse_tag_70_packet(9)
NAME ecryptfs_parse_tag_70_packet - Parse and process FNEK-encrypted passphrase packet SYNOPSIS int ecryptfs_parse_tag_70_packet (char **filename , size_t *filename_size , size_t *packet_size , struct ecryptfs_mount_crypt_stat *mount_crypt_stat , char *data , size_t max_packet_size ); ARGUMENTS filename This funct...
ecryptfs_privileged_open(9)
NAME ecryptfs_privileged_open - SYNOPSIS int ecryptfs_privileged_open (struct file **lower_file , struct dentry *lower_dentry , struct vfsmount *lower_mnt , const struct cred *cred ); ARGUMENTS lower_file Result of dentry_open by root on lower dentry lower_dentry Lower dentry for file to o...
ecryptfs_process_flags(9)
NAME ecryptfs_process_flags - SYNOPSIS void ecryptfs_process_flags (struct ecryptfs_crypt_stat *crypt_stat , char *page_virt , int *bytes_read ); ARGUMENTS crypt_stat The cryptographic context page_virt Source data to be parsed bytes_read Updated with the number of bytes read SEE ALSO Kernel fil...
ecryptfs_process_key_cipher(9)
NAME ecryptfs_process_key_cipher - Perform key cipher initialization. SYNOPSIS int ecryptfs_process_key_cipher (struct crypto_skcipher **key_tfm , char *cipher_name , size_t *key_size ); ARGUMENTS key_tfm Crypto context for key material, set by this function cipher_name Name of the cipher key_size...