id
stringlengths
4
63
text
stringlengths
153
8.81M
kernel_to_ipc64_perm(9)
NAME kernel_to_ipc64_perm - convert kernel ipc permissions to user SYNOPSIS void kernel_to_ipc64_perm (struct kern_ipc_perm *in , struct ipc64_perm *out ); ARGUMENTS in kernel permissions out new style ipc permissions DESCRIPTION Turn the kernel object in into a set of permissions descriptio...
kernfs_activate(9)
NAME kernfs_activate - activate a node which started deactivated SYNOPSIS void kernfs_activate (struct kernfs_node *kn ); ARGUMENTS kn kernfs_node whose subtree is to be activated DESCRIPTION If the root has KERNFS_ROOT_CREATE_DEACTIVATED set, a newly created node needs to be explicitly activated. A n...
kernfs_add_one(9)
NAME kernfs_add_one - add kernfs_node to parent without warning SYNOPSIS int kernfs_add_one (struct kernfs_node *kn ); ARGUMENTS kn kernfs_node to be added DESCRIPTION The caller must already have initialized kn->parent. This function increments nlink of the parent's inode if kn is a directory and link int...
kernfs_break_active_protection(9)
NAME kernfs_break_active_protection - break out of active protection SYNOPSIS void kernfs_break_active_protection (struct kernfs_node *kn ); ARGUMENTS kn the self kernfs_node DESCRIPTION The caller must be running off of a kernfs operation which is invoked with an active reference - e.g. one of kernfs_...
kernfs_create_dir_ns(9)
NAME kernfs_create_dir_ns - create a directory SYNOPSIS struct kernfs_node * kernfs_create_dir_ns (struct kernfs_node *parent , const char *name , umode_t mode , kuid_t uid , kgid_t gid , void *priv , const struct ns_common *ns ); ARGUMENTS parent parent in which to create a new directory name nam...
kernfs_create_empty_dir(9)
NAME kernfs_create_empty_dir - create an always empty directory SYNOPSIS struct kernfs_node * kernfs_create_empty_dir (struct kernfs_node *parent , const char *name ); ARGUMENTS parent parent in which to create a new directory name name of the new directory RETURN the created node on success, ERR...
kernfs_create_link(9)
NAME kernfs_create_link - create a symlink SYNOPSIS struct kernfs_node * kernfs_create_link (struct kernfs_node *parent , const char *name , struct kernfs_node *target ); ARGUMENTS parent directory to create the symlink in name name of the symlink target target node for the symlink to...
kernfs_create_root(9)
NAME kernfs_create_root - create a new kernfs hierarchy SYNOPSIS struct kernfs_root * kernfs_create_root (struct kernfs_syscall_ops *scops , unsigned int flags , void *priv ); ARGUMENTS scops optional syscall operations for the hierarchy flags KERNFS_ROOT_* flags priv opaque data as...
kernfs_deref_open_node_locked(9)
NAME kernfs_deref_open_node_locked - Get kernfs_open_node corresponding to @kn SYNOPSIS struct kernfs_open_node * kernfs_deref_open_node_locked (struct kernfs_node *kn ); ARGUMENTS kn target kernfs_node. DESCRIPTION Fetch and return ->attr.open of kn when caller holds the kernfs_open_file_mutex_ptr(kn). ...
kernfs_destroy_root(9)
NAME kernfs_destroy_root - destroy a kernfs hierarchy SYNOPSIS void kernfs_destroy_root (struct kernfs_root *root ); ARGUMENTS root root of the hierarchy to destroy DESCRIPTION Destroy the hierarchy anchored at root by removing all existing directories and destroying root. SEE ALSO Kernel file ./fs/kernfs/...
kernfs_drain(9)
NAME kernfs_drain - drain kernfs_node SYNOPSIS void kernfs_drain (struct kernfs_node *kn ); ARGUMENTS kn kernfs_node to drain DESCRIPTION Drain existing usages and nuke all existing mmaps of kn. Multiple removers may invoke this function concurrently on kn and all will return after draining is complete. S...
kernfs_enable_ns(9)
NAME kernfs_enable_ns - enable namespace under a directory SYNOPSIS void kernfs_enable_ns (struct kernfs_node *kn ); ARGUMENTS kn directory of interest, should be empty DESCRIPTION This is to be called right after kn is created to enable namespace under it. All children of kn must have non-NULL namespace t...
kernfs_find_and_get_ns(9)
NAME kernfs_find_and_get_ns - find and get kernfs_node with the given name SYNOPSIS struct kernfs_node * kernfs_find_and_get_ns (struct kernfs_node *parent , const char *name , const struct ns_common *ns ); ARGUMENTS parent kernfs_node to search under name name to look for ns the ...
kernfs_find_ns(9)
NAME kernfs_find_ns - find kernfs_node with the given name SYNOPSIS struct kernfs_node * kernfs_find_ns (struct kernfs_node *parent , const unsigned char *name , const struct ns_common *ns ); ARGUMENTS parent kernfs_node to search under name name to look for ns the namespace tag t...
kernfs_get(9)
NAME kernfs_get - get a reference count on a kernfs_node SYNOPSIS void kernfs_get (struct kernfs_node *kn ); ARGUMENTS kn the target kernfs_node SEE ALSO Kernel file ./fs/kernfs/dir.c kernfs_path_from_node_locked(9), kernfs_name(9), kernfs_path_from_node(9), pr_cont_kernfs_name(9), pr_cont_kernfs_path(9),...
kernfs_get_active(9)
NAME kernfs_get_active - get an active reference to kernfs_node SYNOPSIS struct kernfs_node * kernfs_get_active (struct kernfs_node *kn ); ARGUMENTS kn kernfs_node to get an active reference to DESCRIPTION Get an active reference of kn. This function is noop if kn is NULL. RETURN Pointer to kn on success,...
kernfs_get_inode(9)
NAME kernfs_get_inode - get inode for kernfs_node SYNOPSIS struct inode * kernfs_get_inode (struct super_block *sb , struct kernfs_node *kn ); ARGUMENTS sb super block kn kernfs_node to allocate inode for DESCRIPTION Get inode for kn. If such inode doesn't exist, a new inode is allocated a...
kernfs_get_open_node(9)
NAME kernfs_get_open_node - get or create kernfs_open_node SYNOPSIS int kernfs_get_open_node (struct kernfs_node *kn , struct kernfs_open_file *of ); ARGUMENTS kn target kernfs_node of kernfs_open_file for this instance of open DESCRIPTION If kn->attr.open exists, increment its reference co...
kernfs_get_parent(9)
NAME kernfs_get_parent - determine the parent node and pin it SYNOPSIS struct kernfs_node * kernfs_get_parent (struct kernfs_node *kn ); ARGUMENTS kn kernfs_node of interest DESCRIPTION Determines kn's parent, pins and returns it. This function can be called from any context. RETURN parent node of kn SEE...
kernfs_get_tree(9)
NAME kernfs_get_tree - kernfs filesystem access/retrieval helper SYNOPSIS int kernfs_get_tree (struct fs_context *fc ); ARGUMENTS fc The filesystem context. DESCRIPTION This is to be called from each kernfs user's fs_context->ops->get_tree implementation, which should set the specified ->fs_type and ->fl...
kernfs_kill_sb(9)
NAME kernfs_kill_sb - kill_sb for kernfs SYNOPSIS void kernfs_kill_sb (struct super_block *sb ); ARGUMENTS sb super_block being killed DESCRIPTION This can be used directly for file_system_type->kill_sb. If a kernfs user needs extra cleanup, it can implement its own kill_sb and call this function at the en...
kernfs_link_sibling(9)
NAME kernfs_link_sibling - link kernfs_node into sibling rbtree SYNOPSIS int kernfs_link_sibling (struct kernfs_node *kn ); ARGUMENTS kn kernfs_node of interest DESCRIPTION Link kn into its sibling rbtree which starts from kn->parent->dir.children. Locking: kernfs_rwsem held exclusive RETURN 0 on success,...
kernfs_name(9)
NAME kernfs_name - obtain the name of a given node SYNOPSIS int kernfs_name (struct kernfs_node *kn , char *buf , size_t buflen ); ARGUMENTS kn kernfs_node of interest buf buffer to copy kn's name into buflen size of buf DESCRIPTION Copies the name of kn into buf of buflen bytes...
kernfs_name_hash(9)
NAME kernfs_name_hash - calculate hash of @ns + @name SYNOPSIS unsigned int kernfs_name_hash (const char *name , const struct ns_common *ns ); ARGUMENTS name Null terminated string to hash ns Namespace tag to hash RETURN 31-bit hash of ns + name (so it fits in an off_t) SEE ALSO Kernel file...
kernfs_next_descendant_post(9)
NAME kernfs_next_descendant_post - find the next descendant for post-order walk SYNOPSIS struct kernfs_node * kernfs_next_descendant_post (struct kernfs_node *pos , struct kernfs_node *root ); ARGUMENTS pos the current position (NULL to initiate traversal) root kernfs_node whose descendants to ...
kernfs_node_dentry(9)
NAME kernfs_node_dentry - get a dentry for the given kernfs_node SYNOPSIS struct dentry * kernfs_node_dentry (struct kernfs_node *kn , struct super_block *sb ); ARGUMENTS kn kernfs_node for which a dentry is needed sb the kernfs super_block RETURN the dentry pointer SEE ALSO Kernel file ./...
kernfs_node_from_dentry(9)
NAME kernfs_node_from_dentry - determine kernfs_node associated with a dentry SYNOPSIS struct kernfs_node * kernfs_node_from_dentry (struct dentry *dentry ); ARGUMENTS dentry the dentry in question RETURN the kernfs_node associated with dentry. If dentry is not a kernfs one, NULL is returned. DESCRIPTION Whil...
kernfs_notify(9)
NAME kernfs_notify - notify a kernfs file SYNOPSIS void kernfs_notify (struct kernfs_node *kn ); ARGUMENTS kn file to notify DESCRIPTION Notify kn such that poll(2) on kn wakes up. Maybe be called from any context. SEE ALSO Kernel file ./fs/kernfs/file.c of_on(9), kernfs_deref_open_node_locked(9), kernfs_...
kernfs_ns_enabled(9)
NAME kernfs_ns_enabled - test whether namespace is enabled SYNOPSIS bool kernfs_ns_enabled (struct kernfs_node *kn ); ARGUMENTS kn the node to test DESCRIPTION Test whether namespace filtering is enabled for the children of ns. SEE ALSO Kernel file ./include/linux/kernfs.h kernfs_enable_ns(9), kernfs_path(...
kernfs_path(9)
NAME kernfs_path - build full path of a given node SYNOPSIS int kernfs_path (struct kernfs_node *kn , char *buf , size_t buflen ); ARGUMENTS kn kernfs_node of interest buf buffer to copy kn's name into buflen size of buf DESCRIPTION If kn is NULL result will be "(null)". Return...
kernfs_path_from_node(9)
NAME kernfs_path_from_node - build path of node @to relative to @from. SYNOPSIS int kernfs_path_from_node (struct kernfs_node *to , struct kernfs_node *from , char *buf , size_t buflen ); ARGUMENTS to kernfs_node of interest from parent kernfs_node relative to which we need to build the path ...
kernfs_path_from_node_locked(9)
NAME kernfs_path_from_node_locked - find a pseudo-absolute path to @kn_to, where kn_from is treated as root of the path. SYNOPSIS int kernfs_path_from_node_locked (struct kernfs_node *kn_to , struct kernfs_node *kn_from , char *buf , size_t buflen ); ARGUMENTS kn_to kernfs node to which path is needed k...
kernfs_put(9)
NAME kernfs_put - put a reference count on a kernfs_node SYNOPSIS void kernfs_put (struct kernfs_node *kn ); ARGUMENTS kn the target kernfs_node DESCRIPTION Put a reference count of kn and destroy it if it reached zero. SEE ALSO Kernel file ./fs/kernfs/dir.c kernfs_path_from_node_locked(9), kernfs_name(9...
kernfs_put_active(9)
NAME kernfs_put_active - put an active reference to kernfs_node SYNOPSIS void kernfs_put_active (struct kernfs_node *kn ); ARGUMENTS kn kernfs_node to put an active reference to DESCRIPTION Put an active reference to kn. This function is noop if kn is NULL. SEE ALSO Kernel file ./fs/kernfs/dir.c kernfs_...
kernfs_remove(9)
NAME kernfs_remove - remove a kernfs_node recursively SYNOPSIS void kernfs_remove (struct kernfs_node *kn ); ARGUMENTS kn the kernfs_node to remove DESCRIPTION Remove kn along with all its subdirectories and files. SEE ALSO Kernel file ./fs/kernfs/dir.c kernfs_path_from_node_locked(9), kernfs_name(9), ke...
kernfs_remove_by_name_ns(9)
NAME kernfs_remove_by_name_ns - find a kernfs_node by name and remove it SYNOPSIS int kernfs_remove_by_name_ns (struct kernfs_node *parent , const char *name , const struct ns_common *ns ); ARGUMENTS parent parent of the target name name of the kernfs_node to remove ns namespace t...
kernfs_remove_self(9)
NAME kernfs_remove_self - remove a kernfs_node from its own method SYNOPSIS bool kernfs_remove_self (struct kernfs_node *kn ); ARGUMENTS kn the self kernfs_node to remove DESCRIPTION The caller must be running off of a kernfs operation which is invoked with an active reference - e.g. one of kernfs_ops. ...
kernfs_rename_ns(9)
NAME kernfs_rename_ns - move and rename a kernfs_node SYNOPSIS int kernfs_rename_ns (struct kernfs_node *kn , struct kernfs_node *new_parent , const char *new_name , const struct ns_common *new_ns ); ARGUMENTS kn target node new_parent new parent to put sd under new_name new name ...
kernfs_root(9)
NAME kernfs_root - find out the kernfs_root a kernfs_node belongs to SYNOPSIS struct kernfs_root * kernfs_root (const struct kernfs_node *kn ); ARGUMENTS kn kernfs_node of interest RETURN the kernfs_root kn belongs to. SEE ALSO Kernel file ./fs/kernfs/kernfs-internal.h April 2026 ...
kernfs_root_from_sb(9)
NAME kernfs_root_from_sb - determine kernfs_root associated with a super_block SYNOPSIS struct kernfs_root * kernfs_root_from_sb (struct super_block *sb ); ARGUMENTS sb the super_block in question RETURN the kernfs_root associated with sb. If sb is not a kernfs one, NULL is returned. SEE ALSO Kernel file ...
kernfs_root_to_node(9)
NAME kernfs_root_to_node - return the kernfs_node associated with a kernfs_root SYNOPSIS struct kernfs_node * kernfs_root_to_node (struct kernfs_root *root ); ARGUMENTS root root to use to lookup RETURN root's kernfs_node SEE ALSO Kernel file ./fs/kernfs/dir.c kernfs_path_from_node_locked(9), kernfs_name(9...
kernfs_setattr(9)
NAME kernfs_setattr - set iattr on a node SYNOPSIS int kernfs_setattr (struct kernfs_node *kn , const struct iattr *iattr ); ARGUMENTS kn target node iattr iattr to set RETURN 0 on success, -errno on failure. SEE ALSO Kernel file ./fs/kernfs/inode.c kernfs_get_inode(9) April 2026 ...
kernfs_show(9)
NAME kernfs_show - show or hide a node SYNOPSIS void kernfs_show (struct kernfs_node *kn , bool show ); ARGUMENTS kn kernfs_node to show or hide show whether to show or hide DESCRIPTION If show is false, kn is marked hidden and deactivated. A hidden node is ignored in future activaitons. If t...
kernfs_super_ns(9)
NAME kernfs_super_ns - determine the namespace tag of a kernfs super_block SYNOPSIS const struct ns_common * kernfs_super_ns (struct super_block *sb ); ARGUMENTS sb super_block of interest RETURN the namespace tag associated with kernfs super_block sb. SEE ALSO Kernel file ./fs/kernfs/mount.c kernfs_root_f...
kernfs_unbreak_active_protection(9)
NAME kernfs_unbreak_active_protection - undo kernfs_break_active_protection() SYNOPSIS void kernfs_unbreak_active_protection (struct kernfs_node *kn ); ARGUMENTS kn the self kernfs_node DESCRIPTION If kernfs_break_active_protection was called, this function must be invoked before finishing the kernfs ope...
kernfs_unlink_open_file(9)
NAME kernfs_unlink_open_file - Unlink @of from @kn. SYNOPSIS void kernfs_unlink_open_file (struct kernfs_node *kn , struct kernfs_open_file *of , bool open_failed ); ARGUMENTS kn target kernfs_node of associated kernfs_open_file open_failed ->open failed, cancel ->release DESCRIPTIO...
kernfs_unlink_sibling(9)
NAME kernfs_unlink_sibling - unlink kernfs_node from sibling rbtree SYNOPSIS bool kernfs_unlink_sibling (struct kernfs_node *kn ); ARGUMENTS kn kernfs_node of interest DESCRIPTION Try to unlink kn from its sibling rbtree which starts from kn->parent->dir.children. Locking: kernfs_rwsem held exclusive RETU...
kernfs_walk_and_get_ns(9)
NAME kernfs_walk_and_get_ns - find and get kernfs_node with the given path SYNOPSIS struct kernfs_node * kernfs_walk_and_get_ns (struct kernfs_node *parent , const char *path , const struct ns_common *ns ); ARGUMENTS parent kernfs_node to search under path path to look for ns the ...
kew(1)
NAME kew , kew - Music For The Shell. SYNOPSIS kew [OPTIONS] [PARTIAL FILE OR DIRECTORY NAME] DESCRIPTION kew plays audio from your music folder when given a partial (or whole) file or directory name. A playlist is created when finding more than one file. It supports gapless playback, 24-bit/192khz audio an...
kexec(8)
NAME kexec - directly boot into a new kernel SYNOPSIS /sbin/kexec [-v (--version)] [-f (--force)] [-x (--no-ifdown)] [-y (--no-sync)] [-l (--load)] [-p (--load-panic)] [-u (--unload)] [-e (--exec)] [-t (--type)] [--mem-min=addr] [--mem-max=addr] DESCRIPTION kexec is a system call that enables you to load and boo...
kexec_add_buffer(9)
NAME kexec_add_buffer - place a buffer in a kexec segment SYNOPSIS int kexec_add_buffer (struct kexec_buf *kbuf ); ARGUMENTS kbuf Buffer contents and memory parameters. DESCRIPTION This function assumes that kexec_lock is held. On successful return, kbuf->mem will have the physical address of the buffer in m...
kexec_build_elf_info(9)
NAME kexec_build_elf_info - read ELF executable and check that we can use it SYNOPSIS int kexec_build_elf_info (const char *buf , size_t len , struct elfhdr *ehdr , struct kexec_elf_info *elf_info ); ARGUMENTS buf -- undescribed -- len -- undescribed -- ehdr -- undescribed -- ...
kexec_elf_load(9)
NAME kexec_elf_load - load ELF executable image SYNOPSIS int kexec_elf_load (struct kimage *image , struct elfhdr *ehdr , struct kexec_elf_info *elf_info , struct kexec_buf *kbuf , unsigned long *lowest_load_addr ); ARGUMENTS image -- undescribed -- ehdr -- undescribed -- elf_info -- u...
kexec_extra_fdt_size_ppc64(9)
NAME kexec_extra_fdt_size_ppc64 - Return the estimated additional size needed to setup FDT for kexec/kdump kernel. SYNOPSIS unsigned int kexec_extra_fdt_size_ppc64 (struct kimage *image , struct crash_mem *rmem ); ARGUMENTS image kexec image being loaded. rmem -- undescribed -- DESCRIPTION Retur...
kexec_file_load(2)
NAME kexec_load, kexec_file_load - load a new kernel for later execution LIBRARY Standard C library (libc, -lc) SYNOPSIS #include <linux/kexec.h> /* Definition of KEXEC_* constants */ #include <sys/syscall.h> /* Definition of SYS_* constants */ #include <unistd.h> long syscall(SYS_kexec_load, unsign...
kexec_free_elf_info(9)
NAME kexec_free_elf_info - free memory allocated by elf_read_from_buffer SYNOPSIS void kexec_free_elf_info (struct kexec_elf_info *elf_info ); ARGUMENTS elf_info -- undescribed -- SEE ALSO Kernel file ./kernel/kexec_elf.c elf_is_ehdr_sane(9), elf_is_phdr_sane(9), elf_read_phdrs(9), elf_read_from_buffer(9), kexec_...
kexec_image_info(9)
NAME kexec_image_info - For debugging output. SYNOPSIS kexec_image_info (_i ); ARGUMENTS _i -- undescribed -- SEE ALSO Kernel file ./arch/arm64/kernel/machine_kexec.c machine_kexec_prepare(9), kexec_segment_flush(9), machine_kexec(9), machine_crash_shutdown(9) April 2026 ...
kexec_load(2)
NAME kexec_load, kexec_file_load - load a new kernel for later execution LIBRARY Standard C library (libc, -lc) SYNOPSIS #include <linux/kexec.h> /* Definition of KEXEC_* constants */ #include <sys/syscall.h> /* Definition of SYS_* constants */ #include <unistd.h> long syscall(SYS_kexec_load, unsign...
kexec_locate_mem_hole(9)
NAME kexec_locate_mem_hole - find free memory for the purgatory or the next kernel SYNOPSIS int kexec_locate_mem_hole (struct kexec_buf *kbuf ); ARGUMENTS kbuf Parameters for the memory search. DESCRIPTION On success, kbuf->mem will have the start address of the memory region found. RETURN 0 on success, nega...
kexec_segment_flush(9)
NAME kexec_segment_flush - Helper to flush the kimage segments to PoC. SYNOPSIS void kexec_segment_flush (const struct kimage *kimage ); ARGUMENTS kimage -- undescribed -- SEE ALSO Kernel file ./arch/arm64/kernel/machine_kexec.c kexec_image_info(9), machine_kexec_prepare(9), machine_kexec(9), machine_crash_shut...
kexec_walk_resources(9)
NAME kexec_walk_resources - call func(data) on free memory regions SYNOPSIS int kexec_walk_resources (struct kexec_buf *kbuf , int (*func)(struct resource *, void *) ); ARGUMENTS kbuf Context info for the search. Also passed to func. func Function to call for each memory region. RETURN The memo...
key_alloc(9)
NAME key_alloc - Allocate a key of the specified type. SYNOPSIS struct key * key_alloc (struct key_type *type , const char *desc , kuid_t uid , kgid_t gid , const struct cred *cred , key_perm_t perm , unsigned long flags , struct key_restriction *restrict_link ); ARGUMENTS type The type of key to allocate. ...
key_block(9)
NAME key_block - get data block number. SYNOPSIS unsigned int key_block (const struct ubifs_info *c , const union ubifs_key *key ); ARGUMENTS c UBIFS file-system description object key the key to get the block number from SEE ALSO Kernel file ./fs/ubifs/key.h key_mask_hash(9), key_r...
key_block_flash(9)
NAME key_block_flash - get data block number from an on-flash formatted key. SYNOPSIS unsigned int key_block_flash (const struct ubifs_info *c , const void *k ); ARGUMENTS c UBIFS file-system description object k the key to get the block number from SEE ALSO Kernel file ./fs/ubifs/key...
key_copy(9)
NAME key_copy - copy a key. SYNOPSIS void key_copy (const struct ubifs_info *c , const union ubifs_key *from , union ubifs_key *to ); ARGUMENTS c UBIFS file-system description object from the key to copy from to the key to copy to SEE ALSO Kernel file ./fs/ubifs/key.h ...
key_create(9)
NAME key_create - Create and instantiate a key. SYNOPSIS key_ref_t key_create (key_ref_t keyring_ref , const char *type , const char *description , const void *payload , size_t plen , key_perm_t perm , unsigned long flags ); ARGUMENTS keyring_ref A pointer to the destination keyring with possession flag. type...
key_create_or_update(9)
NAME key_create_or_update - Update or create and instantiate a key. SYNOPSIS key_ref_t key_create_or_update (key_ref_t keyring_ref , const char *type , const char *description , const void *payload , size_t plen , key_perm_t perm , unsigned long flags ); ARGUMENTS keyring_ref A pointer to the destination keyring with...
key_decryptsession(3)
NAME key_decryptsession, key_encryptsession, key_setsecret, key_gendes, key_secretkey_is_set - interfaces to rpc keyserver daemon LIBRARY Standard C library (libc, -lc) SYNOPSIS #include <rpc/rpc.h> int key_decryptsession(char *remotename, des_block *deskey); int key_encryptsession(char *remotename, de...
key_defined.3x(3)
NAME key_defined - test whether a curses keycode is defined SYNOPSIS #include <ncursesw/curses.h> int key_defined(const char *definition); DESCRIPTION This is an extension to the curses library. It permits an application to determine if a string is currently bound to any keycode. RETURN VALUE If the string ...
key_defined_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* ...
key_encryptsession(3)
NAME key_decryptsession, key_encryptsession, key_setsecret, key_gendes, key_secretkey_is_set - interfaces to rpc keyserver daemon LIBRARY Standard C library (libc, -lc) SYNOPSIS #include <rpc/rpc.h> int key_decryptsession(char *remotename, des_block *deskey); int key_encryptsession(char *remotename, de...
key_extract(9)
NAME key_extract - extracts a flow key from an Ethernet frame. SYNOPSIS int key_extract (struct sk_buff *skb , struct sw_flow_key *key ); ARGUMENTS skb sk_buff that contains the frame, with skb->data pointing to the Ethernet header key output flow key DESCRIPTION The caller must ensure tha...
key_extract_l3l4(9)
NAME key_extract_l3l4 - extracts L3/L4 header information. SYNOPSIS int key_extract_l3l4 (struct sk_buff *skb , struct sw_flow_key *key ); ARGUMENTS skb sk_buff that contains the frame, with skb->data pointing to the L3 header key output flow key RETURN 0 if successful, otherwise a negative e...
key_gendes(3)
NAME key_decryptsession, key_encryptsession, key_setsecret, key_gendes, key_secretkey_is_set - interfaces to rpc keyserver daemon LIBRARY Standard C library (libc, -lc) SYNOPSIS #include <rpc/rpc.h> int key_decryptsession(char *remotename, des_block *deskey); int key_encryptsession(char *remotename, de...
key_hash(9)
NAME key_hash - get directory entry hash. SYNOPSIS uint32_t key_hash (const struct ubifs_info *c , const union ubifs_key *key ); ARGUMENTS c UBIFS file-system description object key the key to get hash from SEE ALSO Kernel file ./fs/ubifs/key.h key_mask_hash(9), key_r5_hash(9), ke...
key_hash_flash(9)
NAME key_hash_flash - get directory entry hash from an on-flash formatted key. SYNOPSIS uint32_t key_hash_flash (const struct ubifs_info *c , const void *k ); ARGUMENTS c UBIFS file-system description object k the key to get hash from SEE ALSO Kernel file ./fs/ubifs/key.h key_mask_h...
key_in_range(9)
NAME key_in_range - determine if a key falls within a range of keys. SYNOPSIS int key_in_range (struct ubifs_info *c , union ubifs_key *key , union ubifs_key *from_key , union ubifs_key *to_key ); ARGUMENTS c UBIFS file-system description object key key to check from_key lowest ke...
key_instantiate_and_link(9)
NAME key_instantiate_and_link - Instantiate a key and link it into the keyring. SYNOPSIS int key_instantiate_and_link (struct key *key , const void *data , size_t datalen , struct key *keyring , struct key *authkey ); ARGUMENTS key The key to instantiate. data The data to use to instantiate the...
key_inum(9)
NAME key_inum - fetch inode number from key. SYNOPSIS ino_t key_inum (const struct ubifs_info *c , const void *k ); ARGUMENTS c UBIFS file-system description object k key to fetch inode number from SEE ALSO Kernel file ./fs/ubifs/key.h key_mask_hash(9), key_r5_hash(9), key_test_...
key_inum_flash(9)
NAME key_inum_flash - fetch inode number from an on-flash formatted key. SYNOPSIS ino_t key_inum_flash (const struct ubifs_info *c , const void *k ); ARGUMENTS c UBIFS file-system description object k key to fetch inode number from SEE ALSO Kernel file ./fs/ubifs/key.h key_mask_hash...
key_invalidate(9)
NAME key_invalidate - Invalidate a key. SYNOPSIS void key_invalidate (struct key *key ); ARGUMENTS key The key to be invalidated. DESCRIPTION Mark a key as being invalidated and have it cleaned up immediately. The key is ignored by all searches and other operations from this point. SEE ALSO Kernel file ...
key_is_positive(9)
NAME key_is_positive - Determine if a key has been positively instantiated SYNOPSIS bool key_is_positive (const struct key *key ); ARGUMENTS key The key to check. DESCRIPTION Return true if the specified key has been positively instantiated, false otherwise. SEE ALSO Kernel file ./include/linux/key.h reques...
key_link(9)
NAME key_link - Link a key to a keyring SYNOPSIS int key_link (struct key *keyring , struct key *key ); ARGUMENTS keyring The keyring to make the link in. key The key to link to. DESCRIPTION Make a link in a keyring to a key, such that the keyring holds a reference on that key and the key can p...
key_mask_hash(9)
NAME key_mask_hash - mask a valid hash value. SYNOPSIS uint32_t key_mask_hash (uint32_t hash ); ARGUMENTS hash -- undescribed -- DESCRIPTION We use hash values as offset in directories, so values 0 and 1 are reserved for "." and "..". 2 is reserved for "end of readdir" marker. This function makes sure the res...
key_max_inode_size(9)
NAME key_max_inode_size - get maximum file size allowed by current key format. SYNOPSIS unsigned long long key_max_inode_size (const struct ubifs_info *c ); ARGUMENTS c UBIFS file-system description object SEE ALSO Kernel file ./fs/ubifs/key.h key_mask_hash(9), key_r5_hash(9), key_test_hash(9), ...
key_move(9)
NAME key_move - Move a key from one keyring to another SYNOPSIS int key_move (struct key *key , struct key *from_keyring , struct key *to_keyring , unsigned int flags ); ARGUMENTS key The key to move from_keyring The keyring to remove the link from. to_keyring The keyring t...
key_name.3x(3)
NAME delay_output, filter, flushinp, getwin, key_name, keyname, nofilter, putwin, unctrl, use_env, use_tioctl, wunctrl - miscellaneous curses utility routines SYNOPSIS #include <ncursesw/curses.h> const char *unctrl(chtype ch); wchar_t *wunctrl(cchar_t *wch); const char *keyname(int c); c...
key_payload_reserve(9)
NAME key_payload_reserve - Adjust data quota reservation for the key's payload SYNOPSIS int key_payload_reserve (struct key *key , size_t datalen ); ARGUMENTS key The key to make the reservation for. datalen The amount of data payload the caller now wants. DESCRIPTION Adjust the amount of the own...
key_put(9)
NAME key_put - Discard a reference to a key. SYNOPSIS void key_put (struct key *key ); ARGUMENTS key The key to discard a reference from. DESCRIPTION Discard a reference to a key, and when all the references are gone, we schedule the cleanup task to come and pull it out of the tree in process context at some...
key_put_tag(9)
NAME key_put_tag - Release a ref on a tag. SYNOPSIS bool key_put_tag (struct key_tag *tag ); ARGUMENTS tag The tag to release. DESCRIPTION This releases a reference the given tag and returns true if that ref was the last one. SEE ALSO Kernel file ./security/keys/keyring.c key_remove_domain(9), restrict_link...
key_r5_hash(9)
NAME key_r5_hash - R5 hash function (borrowed from reiserfs). SYNOPSIS uint32_t key_r5_hash (const char *s , int len ); ARGUMENTS s direntry name len name length SEE ALSO Kernel file ./fs/ubifs/key.h key_mask_hash(9), key_test_hash(9), ino_key_init(9), ino_key_init_flash(9), lowest_i...
key_read(9)
NAME key_read - transform a key to in-memory format. SYNOPSIS void key_read (const struct ubifs_info *c , const void *from , union ubifs_key *to ); ARGUMENTS c UBIFS file-system description object from the key to transform to the key to store the result SEE ALSO Kernel fil...
key_reject_and_link(9)
NAME key_reject_and_link - Negatively instantiate a key and link it into the keyring. SYNOPSIS int key_reject_and_link (struct key *key , unsigned timeout , unsigned error , struct key *keyring , struct key *authkey ); ARGUMENTS key The key to instantiate. timeout The timeout on the negative key. ...
key_remove_domain(9)
NAME key_remove_domain - Kill off a key domain and gc its keys SYNOPSIS void key_remove_domain (struct key_tag *domain_tag ); ARGUMENTS domain_tag The domain tag to release. DESCRIPTION This marks a domain tag as being dead and releases a ref on it. If that wasn't the last reference, the garbage collector is poked...
key_revoke(9)
NAME key_revoke - Revoke a key. SYNOPSIS void key_revoke (struct key *key ); ARGUMENTS key The key to be revoked. DESCRIPTION Mark a key as being revoked and ask the type to free up its resources. The revocation timeout is set and the key and all its links will be automatically garbage collected after key_g...
key_secretkey_is_set(3)
NAME key_decryptsession, key_encryptsession, key_setsecret, key_gendes, key_secretkey_is_set - interfaces to rpc keyserver daemon LIBRARY Standard C library (libc, -lc) SYNOPSIS #include <rpc/rpc.h> int key_decryptsession(char *remotename, des_block *deskey); int key_encryptsession(char *remotename, de...
key_setsecret(3)
NAME key_decryptsession, key_encryptsession, key_setsecret, key_gendes, key_secretkey_is_set - interfaces to rpc keyserver daemon LIBRARY Standard C library (libc, -lc) SYNOPSIS #include <rpc/rpc.h> int key_decryptsession(char *remotename, des_block *deskey); int key_encryptsession(char *remotename, de...
key_task_permission(9)
NAME key_task_permission - Check a key can be used SYNOPSIS int key_task_permission (const key_ref_t key_ref , const struct cred *cred , enum key_need_perm need_perm ); ARGUMENTS key_ref The key to check. cred The credentials to use. need_perm The permission required. DESCRIPTION Check ...
key_test_hash(9)
NAME key_test_hash - testing hash function. SYNOPSIS uint32_t key_test_hash (const char *str , int len ); ARGUMENTS str direntry name len name length SEE ALSO Kernel file ./fs/ubifs/key.h key_mask_hash(9), key_r5_hash(9), ino_key_init(9), ino_key_init_flash(9), lowest_ino_key(9), high...
key_type(9)
NAME key_type - get key type. SYNOPSIS int key_type (const struct ubifs_info *c , const union ubifs_key *key ); ARGUMENTS c UBIFS file-system description object key key to get type of SEE ALSO Kernel file ./fs/ubifs/key.h key_mask_hash(9), key_r5_hash(9), key_test_hash(9), ino_k...