id
stringlengths
4
63
text
stringlengths
153
8.81M
frwr_wc_localinv_wake(9)
NAME frwr_wc_localinv_wake - Invoked by RDMA provider for a LOCAL_INV WC SYNOPSIS void frwr_wc_localinv_wake (struct ib_cq *cq , struct ib_wc *wc ); ARGUMENTS cq completion queue wc WCE for a completed LocalInv WR DESCRIPTION Awaken anyone waiting for an MR to finish being fenced. SEE ALSO...
frwr_wp_create(9)
NAME frwr_wp_create - Create an MR for padding Write chunks SYNOPSIS int frwr_wp_create (struct rpcrdma_xprt *r_xprt ); ARGUMENTS r_xprt transport resources to use DESCRIPTION Return 0 on success, negative errno on failure. SEE ALSO Kernel file ./net/sunrpc/xprtrdma/frwr_ops.c frwr_mr_release(9), frwr_rese...
fs(5)
NAME filesystems - Linux filesystem types: ext, ext2, ext3, ext4, hpfs, iso9660, JFS, minix, msdos, ncpfs nfs, ntfs, proc, Reiserfs, smb, sysv, umsdos, vfat, XFS, xiafs DESCRIPTION When, as is customary, the proc filesystem is mounted on /proc, you can find in the file /proc/filesystems which filesystems your kernel...
fs_bdev_freeze(9)
NAME fs_bdev_freeze - freeze owning filesystem of block device SYNOPSIS int fs_bdev_freeze (struct block_device *bdev ); ARGUMENTS bdev block device DESCRIPTION Freeze the filesystem that owns this block device if it is still active. A filesystem that owns multiple block devices may be frozen from each block...
fs_bdev_thaw(9)
NAME fs_bdev_thaw - thaw owning filesystem of block device SYNOPSIS int fs_bdev_thaw (struct block_device *bdev ); ARGUMENTS bdev block device DESCRIPTION Thaw the filesystem that owns this block device. A filesystem that owns multiple block devices may be frozen from each block device and won't be unfroze...
fs_context_for_submount(9)
NAME fs_context_for_submount - allocate a new fs_context for a submount SYNOPSIS struct fs_context * fs_context_for_submount (struct file_system_type *type , struct dentry *reference ); ARGUMENTS type file_system_type of the new context reference reference dentry from which to copy relevant info DES...
fs_dax_get_by_bdev(9)
NAME fs_dax_get_by_bdev - temporary lookup mechanism for filesystem-dax SYNOPSIS struct dax_device * fs_dax_get_by_bdev (struct block_device *bdev , u64 *start_off , void *holder , const struct dax_holder_operations *ops ); ARGUMENTS bdev block device to find a dax_device for start_off returns the by...
fs_ftype_to_dtype(9)
NAME fs_ftype_to_dtype - fs on-disk file type to dirent type. SYNOPSIS unsigned char fs_ftype_to_dtype (unsigned int filetype ); ARGUMENTS filetype The on-disk file type to convert. DESCRIPTION This function converts the on-disk file type value (FT_*) to the directory entry type (DT_*). CONTEXT Any context. RET...
fs_lookup_param(9)
NAME fs_lookup_param - Look up a path referred to by a parameter SYNOPSIS int fs_lookup_param (struct fs_context *fc , struct fs_parameter *param , bool want_bdev , unsigned int flags , struct path *_path ); ARGUMENTS fc The filesystem context to log errors through. param The parameter. ...
fs_param_cb(9)
NAME fs_param_cb - general callback for a module/cmdline parameter to be evaluated before fs initcall level SYNOPSIS fs_param_cb (name , ops , arg , perm ); ARGUMENTS name a valid C identifier which is the parameter name. ops the set & get operations for this parameter. arg args...
fs_umode_to_dtype(9)
NAME fs_umode_to_dtype - file mode to dirent file type. SYNOPSIS unsigned char fs_umode_to_dtype (umode_t mode ); ARGUMENTS mode The file mode to convert. DESCRIPTION This function converts the file mode value to the directory entry type (DT_*). CONTEXT Any context. RETURN * DT_UNKNOWN - Unknown ...
fs_umode_to_ftype(9)
NAME fs_umode_to_ftype - file mode to on-disk file type. SYNOPSIS unsigned char fs_umode_to_ftype (umode_t mode ); ARGUMENTS mode The file mode to convert. DESCRIPTION This function converts the file mode value to the on-disk file type (FT_*). CONTEXT Any context. RETURN * FT_UNKNOWN - Unknown ty...
fs_validate_description(9)
NAME fs_validate_description - Validate a parameter specification array SYNOPSIS bool fs_validate_description (const char *name , const struct fs_parameter_spec *desc ); ARGUMENTS name Owner name of the parameter specification array desc The parameter specification array to validate. SEE ALSO K...
fsadm(8)
NAME fsadm — utility to resize or check filesystem on a device SYNOPSIS fsadm [options] check device fsadm [options] resize device [new_size] DESCRIPTION The fsadm utility checks or resizes the filesystem on a device (which can also be a dm-crypt encrypted device). It tries to use the same API for ext2, ext3, ext4, ...
fscache_acquire_cache(9)
NAME fscache_acquire_cache - Acquire a cache-level cookie. SYNOPSIS struct fscache_cache * fscache_acquire_cache (const char *name ); ARGUMENTS name The name of the cache. DESCRIPTION Get a cookie to represent an actual cache. If a name is given and there is a nameless cache record available, this will acq...
fscache_acquire_cookie(9)
NAME fscache_acquire_cookie - Acquire a cookie to represent a cache object SYNOPSIS struct fscache_cookie * fscache_acquire_cookie (struct fscache_volume *volume , u8 advice , const void *index_key , size_t index_key_len , const void *aux_data , size_t aux_data_len , loff_t object_size ); ARGUMENTS volume The vo...
fscache_acquire_volume(9)
NAME fscache_acquire_volume - Register a volume as desiring caching services SYNOPSIS struct fscache_volume * fscache_acquire_volume (const char *volume_key , const char *cache_name , const void *coherency_data , size_t coherency_len ); ARGUMENTS volume_key An identification string for the volume cache_name ...
fscache_add_cache(9)
NAME fscache_add_cache - Declare a cache as being open for business SYNOPSIS int fscache_add_cache (struct fscache_cache *cache , const struct fscache_cache_ops *ops , void *cache_priv ); ARGUMENTS cache The cache-level cookie representing the cache ops Table of cache operations to use c...
fscache_begin_cache_access(9)
NAME fscache_begin_cache_access - Pin a cache so it can be accessed SYNOPSIS bool fscache_begin_cache_access (struct fscache_cache *cache , enum fscache_access_trace why ); ARGUMENTS cache The cache-level cookie why An indication of the circumstances of the access for tracing DESCRIPTION Attemp...
fscache_begin_cookie_access(9)
NAME fscache_begin_cookie_access - Pin a cache so data can be accessed SYNOPSIS bool fscache_begin_cookie_access (struct fscache_cookie *cookie , enum fscache_access_trace why ); ARGUMENTS cookie A data file cookie why An indication of the circumstances of the access for tracing DESCRIPTION Atte...
fscache_begin_read_operation(9)
NAME fscache_begin_read_operation - Begin a read operation for the netfs lib SYNOPSIS int fscache_begin_read_operation (struct netfs_cache_resources *cres , struct fscache_cookie *cookie ); ARGUMENTS cres The cache resources for the read being performed cookie The cookie representing the cache obj...
fscache_begin_volume_access(9)
NAME fscache_begin_volume_access - Pin a cache so a volume can be accessed SYNOPSIS bool fscache_begin_volume_access (struct fscache_volume *volume , struct fscache_cookie *cookie , enum fscache_access_trace why ); ARGUMENTS volume The volume cookie cookie A datafile cookie for a tracing reference (...
fscache_begin_write_operation(9)
NAME fscache_begin_write_operation - Begin a write operation for the netfs lib SYNOPSIS int fscache_begin_write_operation (struct netfs_cache_resources *cres , struct fscache_cookie *cookie ); ARGUMENTS cres The cache resources for the write being performed cookie The cookie representing the cache...
fscache_caching_failed(9)
NAME fscache_caching_failed - Report that a failure stopped caching on a cookie SYNOPSIS void fscache_caching_failed (struct fscache_cookie *cookie ); ARGUMENTS cookie The cookie that was affected DESCRIPTION Tell fscache that caching on a cookie needs to be stopped due to some sort of failure. This function u...
fscache_clear_page_bits(9)
NAME fscache_clear_page_bits - Clear the PG_fscache bits from a set of pages SYNOPSIS void fscache_clear_page_bits (struct address_space *mapping , loff_t start , size_t len , bool caching ); ARGUMENTS mapping The netfs inode to use as the source start The start position in mapping len ...
fscache_cookie_lookup_negative(9)
NAME fscache_cookie_lookup_negative - Note negative lookup SYNOPSIS void fscache_cookie_lookup_negative (struct fscache_cookie *cookie ); ARGUMENTS cookie The cookie that was being looked up DESCRIPTION Note that some part of the metadata path in the cache doesn't exist and so we can release any waiting rea...
fscache_cookie_state(9)
NAME fscache_cookie_state - Read the state of a cookie SYNOPSIS enum fscache_cookie_state fscache_cookie_state (struct fscache_cookie *cookie ); ARGUMENTS cookie The cookie to query DESCRIPTION Get the state of a cookie, imposing an ordering between the cookie contents and the state value. Paired with fscache_...
fscache_count_object(9)
NAME fscache_count_object - Tell fscache that an object has been added SYNOPSIS void fscache_count_object (struct fscache_cache *cache ); ARGUMENTS cache The cache to account to DESCRIPTION Tell fscache that an object has been added to the cache. This prevents the cache from tearing down the cache structure u...
fscache_end_cache_access(9)
NAME fscache_end_cache_access - Unpin a cache at the end of an access. SYNOPSIS void fscache_end_cache_access (struct fscache_cache *cache , enum fscache_access_trace why ); ARGUMENTS cache The cache-level cookie why An indication of the circumstances of the access for tracing DESCRIPTION Unpin...
fscache_end_cookie_access(9)
NAME fscache_end_cookie_access - Unpin a cache at the end of an access. SYNOPSIS void fscache_end_cookie_access (struct fscache_cookie *cookie , enum fscache_access_trace why ); ARGUMENTS cookie A data file cookie why An indication of the circumstances of the access for tracing DESCRIPTION Unpin...
fscache_end_operation(9)
NAME fscache_end_operation - End the read operation for the netfs lib SYNOPSIS void fscache_end_operation (struct netfs_cache_resources *cres ); ARGUMENTS cres The cache resources for the read operation DESCRIPTION Clean up the resources at the end of the read request. SEE ALSO Kernel file ./include/linux...
fscache_end_volume_access(9)
NAME fscache_end_volume_access - Unpin a cache at the end of an access. SYNOPSIS void fscache_end_volume_access (struct fscache_volume *volume , struct fscache_cookie *cookie , enum fscache_access_trace why ); ARGUMENTS volume The volume cookie cookie A datafile cookie for a tracing reference (or NU...
fscache_get_key(9)
NAME fscache_get_key - Get a pointer to the cookie key SYNOPSIS void * fscache_get_key (struct fscache_cookie *cookie ); ARGUMENTS cookie The cookie to query DESCRIPTION Return a pointer to the where a cookie's key is stored. SEE ALSO Kernel file ./include/linux/fscache-cache.h fscache_cookie_state(9), fscache...
fscache_invalidate(9)
NAME fscache_invalidate - Notify cache that an object needs invalidation SYNOPSIS void fscache_invalidate (struct fscache_cookie *cookie , const void *aux_data , loff_t size , unsigned int flags ); ARGUMENTS cookie The cookie representing the cache object aux_data The updated auxiliary data for the co...
fscache_io_error(9)
NAME fscache_io_error - Note a cache I/O error SYNOPSIS void fscache_io_error (struct fscache_cache *cache ); ARGUMENTS cache The record describing the cache DESCRIPTION Note that an I/O error occurred in a cache and that it should no longer be used for anything. This also reports the error into the kernel lo...
fscache_note_page_release(9)
NAME fscache_note_page_release - Note that a netfs page got released SYNOPSIS void fscache_note_page_release (struct fscache_cookie *cookie ); ARGUMENTS cookie The cookie corresponding to the file DESCRIPTION Note that a page that has been copied to the cache has been released. This means that future reads wil...
fscache_operation_valid(9)
NAME fscache_operation_valid - Return true if operations resources are usable SYNOPSIS const struct netfs_cache_ops * fscache_operation_valid (const struct netfs_cache_resources *cres ); ARGUMENTS cres The resources to check. DESCRIPTION Returns a pointer to the operations table if usable or NULL if not. SEE...
fscache_put_cache(9)
NAME fscache_put_cache - Release a cache-level cookie. SYNOPSIS void fscache_put_cache (struct fscache_cache *cache , enum fscache_cache_trace where ); ARGUMENTS cache The cache cookie to be released where An indication of where the release happened DESCRIPTION Release the caller's reference on a...
fscache_read(9)
NAME fscache_read - Start a read from the cache. SYNOPSIS int fscache_read (struct netfs_cache_resources *cres , loff_t start_pos , struct iov_iter *iter , enum netfs_read_from_hole read_hole , netfs_io_terminated_t term_func , void *term_func_priv ); ARGUMENTS cres The cache resources to use start_pos...
fscache_relinquish_cache(9)
NAME fscache_relinquish_cache - Reset cache state and release cookie SYNOPSIS void fscache_relinquish_cache (struct fscache_cache *cache ); ARGUMENTS cache The cache cookie to be released DESCRIPTION Reset the state of a cache and release the caller's reference on a cache cookie. SEE ALSO Kernel file ./fs/net...
fscache_relinquish_cookie(9)
NAME fscache_relinquish_cookie - Return the cookie to the cache, maybe discarding it SYNOPSIS void fscache_relinquish_cookie (struct fscache_cookie *cookie , bool retire ); ARGUMENTS cookie The cookie being returned retire True if the cache object the cookie represents is to be discarded DESCRIPTIO...
fscache_relinquish_volume(9)
NAME fscache_relinquish_volume - Cease caching a volume SYNOPSIS void fscache_relinquish_volume (struct fscache_volume *volume , const void *coherency_data , bool invalidate ); ARGUMENTS volume The volume cookie coherency_data Piece of arbitrary coherency data to set (or NULL) ...
fscache_resize_cookie(9)
NAME fscache_resize_cookie - Request that a cache object be resized SYNOPSIS void fscache_resize_cookie (struct fscache_cookie *cookie , loff_t new_size ); ARGUMENTS cookie The cookie representing the cache object new_size The new size of the object (may be NULL) DESCRIPTION Request that the size of ...
fscache_resume_after_invalidation(9)
NAME fscache_resume_after_invalidation - Allow I/O to resume after invalidation SYNOPSIS void fscache_resume_after_invalidation (struct fscache_cookie *cookie ); ARGUMENTS cookie The cookie that was invalidated DESCRIPTION Tell fscache that invalidation is sufficiently complete that I/O can be allowed again. S...
fscache_uncount_object(9)
NAME fscache_uncount_object - Tell fscache that an object has been removed SYNOPSIS void fscache_uncount_object (struct fscache_cache *cache ); ARGUMENTS cache The cache to account to DESCRIPTION Tell fscache that an object has been removed from the cache and will no longer be accessed. After this point, the ...
fscache_unuse_cookie(9)
NAME fscache_unuse_cookie - Cease usage of cookie attached to an object SYNOPSIS void fscache_unuse_cookie (struct fscache_cookie *cookie , const void *aux_data , const loff_t *object_size ); ARGUMENTS cookie The cookie representing the cache object aux_data Updated auxiliary data (or NULL) ob...
fscache_update_cookie(9)
NAME fscache_update_cookie - Request that a cache object be updated SYNOPSIS void fscache_update_cookie (struct fscache_cookie *cookie , const void *aux_data , const loff_t *object_size ); ARGUMENTS cookie The cookie representing the cache object aux_data The updated auxiliary data for the cookie (may...
fscache_use_cookie(9)
NAME fscache_use_cookie - Request usage of cookie attached to an object SYNOPSIS void fscache_use_cookie (struct fscache_cookie *cookie , bool will_modify ); ARGUMENTS cookie The cookie representing the cache object will_modify If cache is expected to be modified locally DESCRIPTION Request usage of the...
fscache_wait_for_objects(9)
NAME fscache_wait_for_objects - Wait for all objects to be withdrawn SYNOPSIS void fscache_wait_for_objects (struct fscache_cache *cache ); ARGUMENTS cache The cache to query DESCRIPTION Wait for all extant objects in a cache to finish being withdrawn and go away. SEE ALSO Kernel file ./include/linux/fscache-...
fscache_wait_for_operation(9)
NAME fscache_wait_for_operation - Wait for an object become accessible SYNOPSIS bool fscache_wait_for_operation (struct netfs_cache_resources *cres , enum fscache_want_state want_state ); ARGUMENTS cres The cache resources for the operation being performed want_state The minimum state the object must ...
fscache_withdraw_cache(9)
NAME fscache_withdraw_cache - Withdraw a cache from the active service SYNOPSIS void fscache_withdraw_cache (struct fscache_cache *cache ); ARGUMENTS cache The cache cookie DESCRIPTION Begin the process of withdrawing a cache from service. This stops new cache-level and volume-level accesses from taking place...
fscache_withdraw_cookie(9)
NAME fscache_withdraw_cookie - Mark a cookie for withdrawal SYNOPSIS void fscache_withdraw_cookie (struct fscache_cookie *cookie ); ARGUMENTS cookie The cookie to be withdrawn. DESCRIPTION Allow the cache backend to withdraw the backing for a cookie for its own reasons, even if that cookie is in active use. SE...
fscache_withdraw_volume(9)
NAME fscache_withdraw_volume - Withdraw a volume from being cached SYNOPSIS void fscache_withdraw_volume (struct fscache_volume *volume ); ARGUMENTS volume Volume cookie DESCRIPTION Withdraw a cache volume from service, waiting for all accesses to complete before returning. SEE ALSO Kernel file ./fs/netfs/fsca...
fscache_write(9)
NAME fscache_write - Start a write to the cache. SYNOPSIS int fscache_write (struct netfs_cache_resources *cres , loff_t start_pos , struct iov_iter *iter , netfs_io_terminated_t term_func , void *term_func_priv ); ARGUMENTS cres The cache resources to use start_pos The beginning file offset in the c...
fscache_write_to_cache(9)
NAME fscache_write_to_cache - Save a write to the cache and clear PG_fscache SYNOPSIS void fscache_write_to_cache (struct fscache_cookie *cookie , struct address_space *mapping , loff_t start , size_t len , loff_t i_size , netfs_io_terminated_t term_func , void *term_func_priv , bool using_pgpriv2 , bool caching ); ...
fscanf(3)
NAME scanf, fscanf, vscanf, vfscanf - input FILE format conversion LIBRARY Standard C library (libc, -lc) SYNOPSIS #include <stdio.h> int scanf(const char *restrict format, ...); int fscanf(FILE *restrict stream, const char *restrict format, ...); #include <stdarg.h> i...
fscanf(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 fscanf, scanf, sscanf — convert formatted input SYNOPSIS #incl...
fsck(8)
NAME fsck - check and repair a Linux filesystem SYNOPSIS fsck [-lsAVRTMNP] [-r [fd]] [-C [fd]] [-t fstype] [filesystem...] [--] [fs-specific-options] DESCRIPTION fsck is used to check and optionally repair one or more Linux filesystems. filesystem can be a device name (e.g., /dev/hdc1, /dev/sdb2), a mount point (e.g....
fsck.btrfs(8)
NAME fsck.btrfs - do nothing, successfully SYNOPSIS fsck.btrfs [-aApy] [<device>...] DESCRIPTION fsck.btrfs is a type of utility that should exist for any filesystem and is called during system setup when the corresponding /etc/fstab entries contain non-zero value for fs_passno, see fstab(5) for more. Traditi...
fsck.cramfs(8)
NAME fsck.cramfs - fsck compressed ROM file system SYNOPSIS fsck.cramfs [options] file DESCRIPTION fsck.cramfs is used to check the cramfs file system. OPTIONS -v, --verbose Enable verbose messaging. -b, --blocksize blocksize Use this blocksize, defaults to page size. Must be equal to what was set...
fsck.ext2(8)
NAME e2fsck - check a Linux ext2/ext3/ext4 file system SYNOPSIS e2fsck [ -pacnyrdfkvtDFV ] [ -b superblock ] [ -B blocksize ] [ -l|-L bad_blocks_file ] [ -C fd ] [ -j external-journal ] [ -E extended_options ] [ -z undo_file ] device DESCRIPTION e2fsck is used to check the ext2/ext3/ext4 family of file systems. For ...
fsck.ext3(8)
NAME e2fsck - check a Linux ext2/ext3/ext4 file system SYNOPSIS e2fsck [ -pacnyrdfkvtDFV ] [ -b superblock ] [ -B blocksize ] [ -l|-L bad_blocks_file ] [ -C fd ] [ -j external-journal ] [ -E extended_options ] [ -z undo_file ] device DESCRIPTION e2fsck is used to check the ext2/ext3/ext4 family of file systems. For ...
fsck.ext4(8)
NAME e2fsck - check a Linux ext2/ext3/ext4 file system SYNOPSIS e2fsck [ -pacnyrdfkvtDFV ] [ -b superblock ] [ -B blocksize ] [ -l|-L bad_blocks_file ] [ -C fd ] [ -j external-journal ] [ -E extended_options ] [ -z undo_file ] device DESCRIPTION e2fsck is used to check the ext2/ext3/ext4 family of file systems. For ...
fsck.fat(8)
NAME fsck.fat - check and repair MS-DOS FAT filesystems SYNOPSIS fsck.fat [OPTIONS] DEVICE DESCRIPTION fsck.fat verifies the consistency of MS-DOS filesystems and optionally tries to repair them. The following filesystem problems can be corrected (in this order): • FAT contains invalid cluster numbe...
fsck.minix(8)
NAME fsck.minix - check consistency of Minix filesystem SYNOPSIS fsck.minix [options] device DESCRIPTION fsck.minix performs a consistency check for the Linux MINIX filesystem. The program assumes the filesystem is quiescent. fsck.minix should not be used on a mounted device unless you can be sure nobody is w...
fsck.msdos(8)
NAME fsck.fat - check and repair MS-DOS FAT filesystems SYNOPSIS fsck.fat [OPTIONS] DEVICE DESCRIPTION fsck.fat verifies the consistency of MS-DOS filesystems and optionally tries to repair them. The following filesystem problems can be corrected (in this order): • FAT contains invalid cluster numbe...
fsck.vfat(8)
NAME fsck.fat - check and repair MS-DOS FAT filesystems SYNOPSIS fsck.fat [OPTIONS] DEVICE DESCRIPTION fsck.fat verifies the consistency of MS-DOS filesystems and optionally tries to repair them. The following filesystem problems can be corrected (in this order): • FAT contains invalid cluster numbe...
fsconfig(2)
NAME fsconfig - configure new or existing filesystem context LIBRARY Standard C library (libc, -lc) SYNOPSIS #include <sys/mount.h> int fsconfig(int fd, unsigned int cmd, const char *_Nullable key, const void *_Nullable value, int aux); DESCRIPTION The fsconfig() syste...
fscrypt_add_test_dummy_key(9)
NAME fscrypt_add_test_dummy_key - add the test dummy encryption key SYNOPSIS int fscrypt_add_test_dummy_key (struct super_block *sb , struct fscrypt_key_specifier *key_spec ); ARGUMENTS sb the filesystem instance to add the key to key_spec the key specifier of the test dummy encryption key DESCRI...
fscrypt_context_for_new_inode(9)
NAME fscrypt_context_for_new_inode - create an encryption context for a new inode SYNOPSIS int fscrypt_context_for_new_inode (void *ctx , struct inode *inode ); ARGUMENTS ctx where context should be written inode inode from which to fetch policy and nonce DESCRIPTION Given an in-core "prepared"...
fscrypt_decrypt_bio(9)
NAME fscrypt_decrypt_bio - decrypt the contents of a bio SYNOPSIS bool fscrypt_decrypt_bio (struct bio *bio ); ARGUMENTS bio the bio to decrypt DESCRIPTION Decrypt the contents of a "read" bio following successful completion of the underlying disk read. The bio must be reading a whole number of blocks of an...
fscrypt_decrypt_block_inplace(9)
NAME fscrypt_decrypt_block_inplace - Decrypt a filesystem block in-place SYNOPSIS int fscrypt_decrypt_block_inplace (const struct inode *inode , struct page *page , unsigned int len , unsigned int offs , u64 lblk_num ); ARGUMENTS inode The inode to which this block belongs page The page containin...
fscrypt_decrypt_pagecache_blocks(9)
NAME fscrypt_decrypt_pagecache_blocks - Decrypt data from a pagecache folio SYNOPSIS int fscrypt_decrypt_pagecache_blocks (struct folio *folio , size_t len , size_t offs ); ARGUMENTS folio the pagecache folio containing the data to decrypt len size of the data to decrypt, in bytes offs ...
fscrypt_dio_supported(9)
NAME fscrypt_dio_supported - check whether DIO (direct I/O) is supported on an inode, as far as encryption is concerned SYNOPSIS bool fscrypt_dio_supported (struct inode *inode ); ARGUMENTS inode the inode in question RETURN true if there are no encryption constraints that prevent DIO from being supported; f...
fscrypt_drop_inode(9)
NAME fscrypt_drop_inode - check whether the inode's master key has been removed SYNOPSIS int fscrypt_drop_inode (struct inode *inode ); ARGUMENTS inode an inode being considered for eviction DESCRIPTION Filesystems supporting fscrypt must call this from their ->drop_inode method so that encrypted inodes are ev...
fscrypt_dummy_policies_equal(9)
NAME fscrypt_dummy_policies_equal - check whether two dummy policies are equal SYNOPSIS bool fscrypt_dummy_policies_equal (const struct fscrypt_dummy_policy *p1 , const struct fscrypt_dummy_policy *p2 ); ARGUMENTS p1 the first test dummy policy (may be unset) p2 the second test dummy policy ...
fscrypt_encrypt_block_inplace(9)
NAME fscrypt_encrypt_block_inplace - Encrypt a filesystem block in-place SYNOPSIS int fscrypt_encrypt_block_inplace (const struct inode *inode , struct page *page , unsigned int len , unsigned int offs , u64 lblk_num ); ARGUMENTS inode The inode to which this block belongs page The page containin...
fscrypt_encrypt_pagecache_blocks(9)
NAME fscrypt_encrypt_pagecache_blocks - Encrypt data from a pagecache folio SYNOPSIS struct page * fscrypt_encrypt_pagecache_blocks (struct folio *folio , size_t len , size_t offs , gfp_t gfp_flags ); ARGUMENTS folio the locked pagecache folio containing the data to encrypt len size of the data ...
fscrypt_encrypt_symlink(9)
NAME fscrypt_encrypt_symlink - encrypt the symlink target if needed SYNOPSIS int fscrypt_encrypt_symlink (struct inode *inode , const char *target , unsigned int len , struct fscrypt_str *disk_link ); ARGUMENTS inode symlink inode target plaintext symlink target len length of target...
fscrypt_file_open(9)
NAME fscrypt_file_open - prepare to open a possibly-encrypted regular file SYNOPSIS int fscrypt_file_open (struct inode *inode , struct file *filp ); ARGUMENTS inode the inode being opened filp the struct file being set up DESCRIPTION Currently, an encrypted regular file can only be opened i...
fscrypt_fname_alloc_buffer(9)
NAME fscrypt_fname_alloc_buffer - allocate a buffer for presented filenames SYNOPSIS int fscrypt_fname_alloc_buffer (u32 max_encrypted_len , struct fscrypt_str *crypto_str ); ARGUMENTS max_encrypted_len maximum length of encrypted filenames the buffer will be used to present crypto_str (output) buffer to all...
fscrypt_fname_disk_to_usr(9)
NAME fscrypt_fname_disk_to_usr - convert an encrypted filename to user-presentable form SYNOPSIS int fscrypt_fname_disk_to_usr (const struct inode *inode , u32 hash , u32 minor_hash , const struct fscrypt_str *iname , struct fscrypt_str *oname ); ARGUMENTS inode inode of the parent directory (for regular filena...
fscrypt_fname_encrypt(9)
NAME fscrypt_fname_encrypt - encrypt a filename SYNOPSIS int fscrypt_fname_encrypt (const struct inode *inode , const struct qstr *iname , u8 *out , unsigned int olen ); ARGUMENTS inode inode of the parent directory (for regular filenames) or of the symlink (for symlink targets). Key must already be set up. ...
fscrypt_fname_encrypted_size(9)
NAME fscrypt_fname_encrypted_size - calculate length of encrypted filename SYNOPSIS bool fscrypt_fname_encrypted_size (const struct inode *inode , u32 orig_len , u32 max_len , u32 *encrypted_len_ret ); ARGUMENTS inode parent inode of dentry name being encrypted. Key must already be set up. orig_len l...
fscrypt_fname_free_buffer(9)
NAME fscrypt_fname_free_buffer - free a buffer for presented filenames SYNOPSIS void fscrypt_fname_free_buffer (struct fscrypt_str *crypto_str ); ARGUMENTS crypto_str the buffer to free DESCRIPTION Free a buffer that was allocated by fscrypt_fname_alloc_buffer. SEE ALSO Kernel file ./fs/crypto/fname.c fscrypt_fn...
fscrypt_fname_siphash(9)
NAME fscrypt_fname_siphash - calculate the SipHash of a filename SYNOPSIS u64 fscrypt_fname_siphash (const struct inode *dir , const struct qstr *name ); ARGUMENTS dir the parent directory name the filename to calculate the SipHash of DESCRIPTION Given a plaintext filename name and a directory...
fscrypt_free_bounce_page(9)
NAME fscrypt_free_bounce_page - free a ciphertext bounce page SYNOPSIS void fscrypt_free_bounce_page (struct page *bounce_page ); ARGUMENTS bounce_page the bounce page to free, or NULL DESCRIPTION Free a bounce page that was allocated by fscrypt_encrypt_pagecache_blocks, or by fscrypt_alloc_bounce_page directly. SE...
fscrypt_free_inode(9)
NAME fscrypt_free_inode - free an inode's fscrypt data requiring RCU delay SYNOPSIS void fscrypt_free_inode (struct inode *inode ); ARGUMENTS inode an inode being freed DESCRIPTION Free the inode's cached decrypted symlink target, if any. Filesystems must call this after an RCU grace period, just before they ...
fscrypt_get_encryption_info(9)
NAME fscrypt_get_encryption_info - set up an inode's encryption key SYNOPSIS int fscrypt_get_encryption_info (struct inode *inode , bool allow_unsupported ); ARGUMENTS inode the inode to set up the key for. Must be encrypted. allow_unsupported if true, treat an unsupported encryption...
fscrypt_get_symlink(9)
NAME fscrypt_get_symlink - get the target of an encrypted symlink SYNOPSIS const char * fscrypt_get_symlink (struct inode *inode , const void *caddr , unsigned int max_size , struct delayed_call *done ); ARGUMENTS inode the symlink inode caddr the on-disk contents of the symlink max_size ...
fscrypt_has_encryption_key(9)
NAME fscrypt_has_encryption_key - check whether an inode has had its key set up SYNOPSIS bool fscrypt_has_encryption_key (const struct inode *inode ); ARGUMENTS inode the inode to check RETURN true if the inode has had its encryption key set up, else false. DESCRIPTION Usually this should be preceded by fscry...
fscrypt_has_permitted_context(9)
NAME fscrypt_has_permitted_context - is a file's encryption policy permitted within its directory? SYNOPSIS int fscrypt_has_permitted_context (struct inode *parent , struct inode *child ); ARGUMENTS parent inode for parent directory child inode for file being looked up, opened, or linked into paren...
fscrypt_init(9)
NAME fscrypt_init - Set up for fs encryption. SYNOPSIS int fscrypt_init (void ); ARGUMENTS void no arguments RETURN 0 on success; -errno on failure SEE ALSO Kernel file ./fs/crypto/crypto.c fscrypt_free_bounce_page(9), fscrypt_encrypt_pagecache_blocks(9), fscrypt_encrypt_block_inplace(9), fscrypt_decrypt_pa...
fscrypt_initialize(9)
NAME fscrypt_initialize - allocate major buffers for fs encryption. SYNOPSIS int fscrypt_initialize (struct super_block *sb ); ARGUMENTS sb the filesystem superblock DESCRIPTION We only call this when we start accessing encrypted files, since it results in memory getting allocated that wouldn't otherwise be...
fscrypt_inode_uses_fs_layer_crypto(9)
NAME fscrypt_inode_uses_fs_layer_crypto - test whether an inode uses fs-layer encryption SYNOPSIS bool fscrypt_inode_uses_fs_layer_crypto (const struct inode *inode ); ARGUMENTS inode an inode. If encrypted, its key must be set up. RETURN true if the inode requires file contents encryption and if the encryptio...
fscrypt_inode_uses_inline_crypto(9)
NAME fscrypt_inode_uses_inline_crypto - test whether an inode uses inline encryption SYNOPSIS bool fscrypt_inode_uses_inline_crypto (const struct inode *inode ); ARGUMENTS inode an inode. If encrypted, its key must be set up. RETURN true if the inode requires file contents encryption and if the encryption shou...
fscrypt_is_nokey_name(9)
NAME fscrypt_is_nokey_name - test whether a dentry is a no-key name SYNOPSIS bool fscrypt_is_nokey_name (const struct dentry *dentry ); ARGUMENTS dentry the dentry to check DESCRIPTION This returns true if the dentry is a no-key dentry. A no-key dentry is a dentry that was created in an encrypted directory th...
fscrypt_limit_io_blocks(9)
NAME fscrypt_limit_io_blocks - limit I/O blocks to avoid discontiguous DUNs SYNOPSIS u64 fscrypt_limit_io_blocks (const struct inode *inode , u64 lblk , u64 nr_blocks ); ARGUMENTS inode the file on which I/O is being done lblk the block at which the I/O is being started from nr_blocks t...
fscrypt_match_name(9)
NAME fscrypt_match_name - test whether the given name matches a directory entry SYNOPSIS bool fscrypt_match_name (const struct fscrypt_name *fname , const u8 *de_name , u32 de_name_len ); ARGUMENTS fname the name being searched for de_name the name from the directory entry de_name_len the le...
fscrypt_mergeable_bio(9)
NAME fscrypt_mergeable_bio - test whether data can be added to a bio SYNOPSIS bool fscrypt_mergeable_bio (struct bio *bio , const struct inode *inode , u64 next_lblk ); ARGUMENTS bio the bio being built up inode the inode for the next part of the I/O next_lblk the next file logical blo...