id stringlengths 4 63 | text stringlengths 153 8.81M |
|---|---|
kitten-unicode-input(1) | Name kitten-unicode-input - Browse and select unicode characters by name
Usage kitten unicode-input
Description Input a Unicode character
Options --emoji-variation [=none] Whether to use the textual or the graphical form for emoji. By default the default form specified in the Unicode standard for the symbol is used.... |
kitten-update-self(1) | Name kitten-update-self - Update this kitten binary
Usage kitten update-self [options]
Description Update this kitten binary in place to the latest available version.
Options --fetch-version [=latest] The version to fetch. The special words latest and nightly fetch the latest stable and nightly release respectively.... |
kitty(1) | Name kitty - The fast, feature rich terminal emulator
kitty [options] [program-to-run ...]
Run the kitty terminal emulator. You can also specify the program to run inside kitty as normal arguments following the options. For example: kitty --hold sh -c "echo hello, world"
For comprehensive do... |
kitty.conf(5) | Name kitty.conf - Configuration file for kitty
Overview kitty is highly customizable, everything from keyboard shortcuts, to rendering frames-per-second. See below for an overview of all customization possibilities.
You can open the config file within kitty by pressing ctrl+shift+f2 (⌘+, on macOS). A kitty.co... |
klist_add_before(9) | NAME klist_add_before - Init a klist_node and add it before an existing node
SYNOPSIS void klist_add_before (struct klist_node *n , struct klist_node *pos );
ARGUMENTS n node we're adding.
pos node to put n after
SEE ALSO Kernel file ./lib/klist.c klist_init(9), klist_add_head(9), klist_a... |
klist_add_behind(9) | NAME klist_add_behind - Init a klist_node and add it after an existing node
SYNOPSIS void klist_add_behind (struct klist_node *n , struct klist_node *pos );
ARGUMENTS n node we're adding.
pos node to put n after
SEE ALSO Kernel file ./lib/klist.c klist_init(9), klist_add_head(9), klist_ad... |
klist_add_head(9) | NAME klist_add_head - Initialize a klist_node and add it to front.
SYNOPSIS void klist_add_head (struct klist_node *n , struct klist *k );
ARGUMENTS n node we're adding.
k klist it's going on.
SEE ALSO Kernel file ./lib/klist.c klist_init(9), klist_add_tail(9), klist_add_behind(9), klist_... |
klist_add_tail(9) | NAME klist_add_tail - Initialize a klist_node and add it to back.
SYNOPSIS void klist_add_tail (struct klist_node *n , struct klist *k );
ARGUMENTS n node we're adding.
k klist it's going on.
SEE ALSO Kernel file ./lib/klist.c klist_init(9), klist_add_head(9), klist_add_behind(9), klist_a... |
klist_del(9) | NAME klist_del - Decrement the reference count of node and try to remove.
SYNOPSIS void klist_del (struct klist_node *n );
ARGUMENTS n node we're deleting.
SEE ALSO Kernel file ./lib/klist.c klist_init(9), klist_add_head(9), klist_add_tail(9), klist_add_behind(9), klist_add_before(9), klist_rem... |
klist_init(9) | NAME klist_init - Initialize a klist structure.
SYNOPSIS void klist_init (struct klist *k , void (*get)(struct klist_node *) , void (*put)(struct klist_node *) );
ARGUMENTS k The klist we're initializing.
get The get function for the embedding object (NULL if none)
put The pu... |
klist_iter_exit(9) | NAME klist_iter_exit - Finish a list iteration.
SYNOPSIS void klist_iter_exit (struct klist_iter *i );
ARGUMENTS i Iterator structure.
DESCRIPTION Must be called when done iterating over list, as it decrements the refcount of the current node. Necessary in case iteration exited before the end of the list w... |
klist_iter_init(9) | NAME klist_iter_init - Iniitalize a klist_iter structure.
SYNOPSIS void klist_iter_init (struct klist *k , struct klist_iter *i );
ARGUMENTS k klist we're iterating.
i klist_iter structure we're filling.
DESCRIPTION Similar to klist_iter_init_node, but start with the list head.
SEE ALSO ... |
klist_iter_init_node(9) | NAME klist_iter_init_node - Initialize a klist_iter structure.
SYNOPSIS void klist_iter_init_node (struct klist *k , struct klist_iter *i , struct klist_node *n );
ARGUMENTS k klist we're iterating.
i klist_iter we're filling.
n node to start with.
DESCRIPTION Similar to... |
klist_next(9) | NAME klist_next - Ante up next node in list.
SYNOPSIS struct klist_node * klist_next (struct klist_iter *i );
ARGUMENTS i Iterator structure.
DESCRIPTION First grab list lock. Decrement the reference count of the previous node, if there was one. Grab the next node, increment its reference count, drop the l... |
klist_node_attached(9) | NAME klist_node_attached - Say whether a node is bound to a list or not.
SYNOPSIS int klist_node_attached (struct klist_node *n );
ARGUMENTS n Node that we're testing.
SEE ALSO Kernel file ./lib/klist.c klist_init(9), klist_add_head(9), klist_add_tail(9), klist_add_behind(9), klist_add_before(9), klis... |
klist_prev(9) | NAME klist_prev - Ante up prev node in list.
SYNOPSIS struct klist_node * klist_prev (struct klist_iter *i );
ARGUMENTS i Iterator structure.
DESCRIPTION First grab list lock. Decrement the reference count of the previous node, if there was one. Grab the prev node, increment its reference count, drop the l... |
klist_remove(9) | NAME klist_remove - Decrement the refcount of node and wait for it to go away.
SYNOPSIS void klist_remove (struct klist_node *n );
ARGUMENTS n node we're removing.
SEE ALSO Kernel file ./lib/klist.c klist_init(9), klist_add_head(9), klist_add_tail(9), klist_add_behind(9), klist_add_before(9),... |
klogctl(3) | NAME syslog, klogctl - read and/or clear kernel message ring buffer; set console_loglevel
LIBRARY Standard C library (libc, -lc)
SYNOPSIS #include <sys/syscall.h> /* Definition of SYS_* constants */ #include <unistd.h>
int syscall(SYS_syslog, int type, char *bufp, int size);
/* The glibc interface... |
klp_enable_patch(9) | NAME klp_enable_patch - enable the livepatch
SYNOPSIS int klp_enable_patch (struct klp_patch *patch );
ARGUMENTS patch patch to be enabled
DESCRIPTION Initializes the data structure associated with the patch, creates the sysfs interface, performs the needed symbol lookups and code relocations, registers the pa... |
klp_get_prev_state(9) | NAME klp_get_prev_state - get information about system state modified by the already installed livepatches
SYNOPSIS struct klp_state * klp_get_prev_state (unsigned long id );
ARGUMENTS id custom identifier of the modified system state
DESCRIPTION Checks whether already installed livepatches modify the giv... |
klp_get_state(9) | NAME klp_get_state - get information about system state modified by the given patch
SYNOPSIS struct klp_state * klp_get_state (struct klp_patch *patch , unsigned long id );
ARGUMENTS patch livepatch that modifies the given system state
id custom identifier of the modified system state
DESCRIPT... |
klp_shadow_alloc(9) | NAME klp_shadow_alloc - allocate and add a new shadow variable
SYNOPSIS void * klp_shadow_alloc (void *obj , unsigned long id , size_t size , gfp_t gfp_flags , klp_shadow_ctor_t ctor , void *ctor_data );
ARGUMENTS obj pointer to parent object
id data identifier
size size of att... |
klp_shadow_free(9) | NAME klp_shadow_free - detach and free a <obj, id> shadow variable
SYNOPSIS void klp_shadow_free (void *obj , unsigned long id , klp_shadow_dtor_t dtor );
ARGUMENTS obj pointer to parent object
id data identifier
dtor custom callback that can be used to unregister the variable ... |
klp_shadow_free_all(9) | NAME klp_shadow_free_all - detach and free all <_, id> shadow variables
SYNOPSIS void klp_shadow_free_all (unsigned long id , klp_shadow_dtor_t dtor );
ARGUMENTS id data identifier
dtor custom callback that can be used to unregister the variable and/or free data that the shadow variable points... |
klp_shadow_get(9) | NAME klp_shadow_get - retrieve a shadow variable data pointer
SYNOPSIS void * klp_shadow_get (void *obj , unsigned long id );
ARGUMENTS obj pointer to parent object
id data identifier
RETURN the shadow variable data element, NULL on failure.
SEE ALSO Kernel file ./kernel/livepatch/shadow.c ... |
klp_shadow_get_or_alloc(9) | NAME klp_shadow_get_or_alloc - get existing or allocate a new shadow variable
SYNOPSIS void * klp_shadow_get_or_alloc (void *obj , unsigned long id , size_t size , gfp_t gfp_flags , klp_shadow_ctor_t ctor , void *ctor_data );
ARGUMENTS obj pointer to parent object
id data identifier
s... |
klp_shadow_match(9) | NAME klp_shadow_match - verify a shadow variable matches given <obj, id>
SYNOPSIS bool klp_shadow_match (struct klp_shadow *shadow , void *obj , unsigned long id );
ARGUMENTS shadow shadow variable to match
obj pointer to parent object
id data identifier
RETURN true if the shado... |
kmalloc(9) | NAME kmalloc - allocate kernel memory
SYNOPSIS void * kmalloc (size_t size , gfp_t flags );
ARGUMENTS size how many bytes of memory are required.
flags describe the allocation context
DESCRIPTION kmalloc is the normal method of allocating memory for objects smaller than page size in the kern... |
kmalloc_array(9) | NAME kmalloc_array - allocate memory for an array.
SYNOPSIS void * kmalloc_array (size_t n , size_t size , gfp_t flags );
ARGUMENTS n number of elements.
size element size.
flags the type of memory to allocate (see kmalloc).
SEE ALSO Kernel file ./include/linux/slab.h SLAB_HW... |
kmalloc_flex(9) | NAME kmalloc_flex - Allocate a single instance of the given flexible structure
SYNOPSIS kmalloc_flex (VAR_OR_TYPE , FAM , COUNT , ... );
ARGUMENTS VAR_OR_TYPE Variable or type to allocate (with its flex array).
FAM The name of the flexible array member of the structure.
COUNT How many fl... |
kmalloc_nolock(9) | NAME kmalloc_nolock - Allocate an object of given size from any context.
SYNOPSIS void * kmalloc_nolock (size_t size , gfp_t gfp_flags , int node );
ARGUMENTS size size to allocate
gfp_flags GFP flags. Only __GFP_ACCOUNT, __GFP_ZERO, __GFP_NO_OBJ_EXT allowed.
node node number of the ta... |
kmalloc_obj(9) | NAME kmalloc_obj - Allocate a single instance of the given type
SYNOPSIS kmalloc_obj (VAR_OR_TYPE , ... );
ARGUMENTS VAR_OR_TYPE Variable or type to allocate.
... variable arguments
RETURN newly allocated pointer to a VAR_OR_TYPE on success, or NULL on failure.
SEE ALSO Kernel file ./include/linux... |
kmalloc_objs(9) | NAME kmalloc_objs - Allocate an array of the given type
SYNOPSIS kmalloc_objs (VAR_OR_TYPE , COUNT , ... );
ARGUMENTS VAR_OR_TYPE Variable or type to allocate an array of.
COUNT How many elements in the array.
... variable arguments
RETURN newly allocated pointer to array of VAR_OR_TYPE... |
kmalloc_size_roundup(9) | NAME kmalloc_size_roundup - Report allocation bucket size for the given size
SYNOPSIS size_t kmalloc_size_roundup (size_t size );
ARGUMENTS size Number of bytes to round up from.
DESCRIPTION This returns the number of bytes that would be available in a kmalloc allocation of size bytes. For example, a 126 b... |
kmap(9) | NAME kmap - Map a page for long term usage
SYNOPSIS void * kmap (struct page *page );
ARGUMENTS page Pointer to the page to be mapped
RETURN The virtual address of the mapping
DESCRIPTION Can only be invoked from preemptible task context because on 32bit systems with CONFIG_HIGHMEM enabled this function m... |
kmap_atomic(9) | NAME kmap_atomic - Atomically map a page for temporary usage - Deprecated!
SYNOPSIS void * kmap_atomic (const struct page *page );
ARGUMENTS page Pointer to the page to be mapped
RETURN The virtual address of the mapping
DESCRIPTION In fact a wrapper around kmap_local_page which also disables pagefaults and,... |
kmap_flush_unused(9) | NAME kmap_flush_unused - Flush all unused kmap mappings in order to remove stray mappings
SYNOPSIS void kmap_flush_unused (void );
ARGUMENTS void no arguments
SEE ALSO Kernel file ./include/linux/highmem.h kmap(9), kunmap(9), kmap_to_page(9), kmap_local_page(9), kmap_local_folio(9), kmap_atomic(9), clear_user... |
kmap_high(9) | NAME kmap_high - map a highmem page into memory
SYNOPSIS void * kmap_high (struct page *page );
ARGUMENTS page struct page to map
DESCRIPTION Returns the page's virtual memory address. We cannot call this from interrupts, as it may block.
SEE ALSO Kernel file ./mm/highmem.c kmap_high_get(9), kunmap_high(9),... |
kmap_high_get(9) | NAME kmap_high_get - pin a highmem page into memory
SYNOPSIS void * kmap_high_get (const struct page *page );
ARGUMENTS page struct page to pin
DESCRIPTION Returns the page's current virtual memory address, or NULL if no mapping exists. If and only if a non null address is returned then a matching call to ku... |
kmap_local_folio(9) | NAME kmap_local_folio - Map a page in this folio for temporary usage
SYNOPSIS void * kmap_local_folio (const struct folio *folio , size_t offset );
ARGUMENTS folio The folio containing the page.
offset The byte offset within the folio which identifies the page.
DESCRIPTION Requires careful handl... |
kmap_local_page(9) | NAME kmap_local_page - Map a page for temporary usage
SYNOPSIS void * kmap_local_page (const struct page *page );
ARGUMENTS page Pointer to the page to be mapped
RETURN The virtual address of the mapping
DESCRIPTION Can be invoked from any context, including interrupts. Requires careful handling when nes... |
kmap_to_page(9) | NAME kmap_to_page - Get the page for a kmap'ed address
SYNOPSIS struct page * kmap_to_page (void *addr );
ARGUMENTS addr The address to look up
RETURN The page which is mapped to addr.
SEE ALSO Kernel file ./include/linux/highmem.h kmap(9), kunmap(9), kmap_flush_unused(9), kmap_local_page(9), kmap_local_f... |
kmb_ecc_do_scalar_op(9) | NAME kmb_ecc_do_scalar_op - Perform Scalar operation using OCS ECC HW.
SYNOPSIS int kmb_ecc_do_scalar_op (struct ocs_ecc_dev *ecc_dev , u64 *scalar_out , const u64 *scalar_a , const u64 *scalar_b , const struct ecc_curve *curve , unsigned int ndigits , const u32 inst );
ARGUMENTS ecc_dev The OCS ECC device to use... |
kmb_ocs_aead_dma_prepare(9) | NAME kmb_ocs_aead_dma_prepare - Do DMA mapping for AEAD processing.
SYNOPSIS int kmb_ocs_aead_dma_prepare (struct aead_request *req , u32 *src_dll_size );
ARGUMENTS req The AEAD request being processed.
src_dll_size
Where to store the length of the data mapped into the src_dll OCS D... |
kmem(4) | NAME mem, kmem, port - system memory, kernel memory and system ports
DESCRIPTION /dev/mem is a character device file that is an image of the main memory of the computer. It may be used, for example, to examine (and even patch) the system.
Byte addresses in /dev/mem are interpreted as physical memory addresses... |
kmem_buckets_create(9) | NAME kmem_buckets_create - Create a set of caches that handle dynamic sized allocations via kmem_buckets_alloc()
SYNOPSIS kmem_buckets * kmem_buckets_create (const char *name , slab_flags_t flags , unsigned int useroffset , unsigned int usersize , void (*ctor)(void *) );
ARGUMENTS name A prefix string which is... |
kmem_cache_alloc(9) | NAME kmem_cache_alloc - Allocate an object
SYNOPSIS void * kmem_cache_alloc (struct kmem_cache *cachep , gfp_t flags );
ARGUMENTS cachep The cache to allocate from.
flags See kmalloc.
DESCRIPTION Allocate an object from this cache. See kmem_cache_zalloc for a shortcut of adding __GFP_ZERO to flag... |
kmem_cache_alloc_node(9) | NAME kmem_cache_alloc_node - Allocate an object on the specified node
SYNOPSIS void * kmem_cache_alloc_node (struct kmem_cache *s , gfp_t gfpflags , int node );
ARGUMENTS s The cache to allocate from.
gfpflags See kmalloc.
node node number of the target node.
DESCRIPTION Identical... |
kmem_cache_charge(9) | NAME kmem_cache_charge - memcg charge an already allocated slab memory
SYNOPSIS bool kmem_cache_charge (void *objp , gfp_t gfpflags );
ARGUMENTS objp address of the slab object to memcg charge
gfpflags describe the allocation context
DESCRIPTION kmem_cache_charge allows charging a slab object to th... |
kmem_cache_create(9) | NAME kmem_cache_create - Create a kmem cache.
SYNOPSIS kmem_cache_create (__name , __object_size , __args , ... );
ARGUMENTS __name A string which is used in /proc/slabinfo to identify this cache.
__object_size
The size of objects to be created in this cache.
__args Option... |
kmem_cache_create_usercopy(9) | NAME kmem_cache_create_usercopy - Create a kmem cache with a region suitable for copying to userspace.
SYNOPSIS struct kmem_cache * kmem_cache_create_usercopy (const char *name , unsigned int size , unsigned int align , slab_flags_t flags , unsigned int useroffset , unsigned int usersize , void (*ctor)(void *) );
ARG... |
kmem_cache_free(9) | NAME kmem_cache_free - Deallocate an object
SYNOPSIS void kmem_cache_free (struct kmem_cache *s , void *x );
ARGUMENTS s The cache the allocation was from.
x The previously allocated object.
DESCRIPTION Free an object which was previously allocated from this cache.
SEE ALSO Kernel file .... |
kmem_cache_shrink(9) | NAME kmem_cache_shrink - Shrink a cache.
SYNOPSIS int kmem_cache_shrink (struct kmem_cache *cachep );
ARGUMENTS cachep The cache to shrink.
DESCRIPTION Releases as many slabs as possible for a cache. To help debugging, a zero exit status indicates all slabs were released.
RETURN 0 if all slabs were released, ... |
kmem_dump_obj(9) | NAME kmem_dump_obj - Print available slab provenance information
SYNOPSIS bool kmem_dump_obj (void *object );
ARGUMENTS object slab object for which to find provenance information.
DESCRIPTION This function uses pr_cont, so that the caller is expected to have printed out whatever preamble is appropriate. The p... |
kmemdup(9) | NAME kmemdup - duplicate region of memory
SYNOPSIS void * kmemdup (const void *src , size_t len , gfp_t gfp );
ARGUMENTS src memory region to duplicate
len memory region length
gfp GFP mask to use
RETURN newly allocated copy of src or NULL in case of error, result is physicall... |
kmemdup_array(9) | NAME kmemdup_array - duplicate a given array.
SYNOPSIS void * kmemdup_array (const void *src , size_t count , size_t element_size , gfp_t gfp );
ARGUMENTS src array to duplicate.
count number of elements to duplicate from array.
element_size
size of each element of arr... |
kmemdup_nul(9) | NAME kmemdup_nul - Create a NUL-terminated string from unterminated data
SYNOPSIS char * kmemdup_nul (const char *s , size_t len , gfp_t gfp );
ARGUMENTS s The data to stringify
len The size of the data
gfp the GFP mask used in the kmalloc call when allocating memory
RETURN ... |
kmemleak_alloc(9) | NAME kmemleak_alloc - register a newly allocated object
SYNOPSIS void __ref kmemleak_alloc (const void *ptr , size_t size , int min_count , gfp_t gfp );
ARGUMENTS ptr pointer to beginning of the object
size size of the object
min_count minimum number of references to this object. If... |
kmemleak_alloc_percpu(9) | NAME kmemleak_alloc_percpu - register a newly allocated __percpu object
SYNOPSIS void __ref kmemleak_alloc_percpu (const void __percpu *ptr , size_t size , gfp_t gfp );
ARGUMENTS ptr __percpu pointer to beginning of the object
size size of the object
gfp flags used for kmemleak ... |
kmemleak_alloc_phys(9) | NAME kmemleak_alloc_phys - similar to kmemleak_alloc but taking a physical address argument
SYNOPSIS void __ref kmemleak_alloc_phys (phys_addr_t phys , size_t size , gfp_t gfp );
ARGUMENTS phys physical address of the object
size size of the object
gfp kmalloc flags used for kmem... |
kmemleak_free(9) | NAME kmemleak_free - unregister a previously registered object
SYNOPSIS void __ref kmemleak_free (const void *ptr );
ARGUMENTS ptr pointer to beginning of the object
DESCRIPTION This function is called from the kernel allocators when an object (memory block) is freed (kmem_cache_free, kfree, vfree etc.).
SE... |
kmemleak_free_part(9) | NAME kmemleak_free_part - partially unregister a previously registered object
SYNOPSIS void __ref kmemleak_free_part (const void *ptr , size_t size );
ARGUMENTS ptr pointer to the beginning or inside the object. This also represents the start of the range to be freed
size size to be unregistere... |
kmemleak_free_part_phys(9) | NAME kmemleak_free_part_phys - similar to kmemleak_free_part but taking a physical address argument
SYNOPSIS void __ref kmemleak_free_part_phys (phys_addr_t phys , size_t size );
ARGUMENTS phys physical address if the beginning or inside an object. This also represents the start of the range to be freed
... |
kmemleak_free_percpu(9) | NAME kmemleak_free_percpu - unregister a previously registered __percpu object
SYNOPSIS void __ref kmemleak_free_percpu (const void __percpu *ptr );
ARGUMENTS ptr __percpu pointer to beginning of the object
DESCRIPTION This function is called from the kernel percpu allocator when an object (memory block) is ... |
kmemleak_ignore(9) | NAME kmemleak_ignore - ignore an allocated object
SYNOPSIS void __ref kmemleak_ignore (const void *ptr );
ARGUMENTS ptr pointer to beginning of the object
DESCRIPTION Calling this function on an object will cause the memory block to be ignored (not scanned and not reported as a leak). This is usually done w... |
kmemleak_ignore_percpu(9) | NAME kmemleak_ignore_percpu - similar to kmemleak_ignore but taking a percpu address argument
SYNOPSIS void __ref kmemleak_ignore_percpu (const void __percpu *ptr );
ARGUMENTS ptr percpu address of the object
SEE ALSO Kernel file ./mm/kmemleak.c kmemleak_alloc(9), kmemleak_alloc_percpu(9), kmemleak_vmal... |
kmemleak_ignore_phys(9) | NAME kmemleak_ignore_phys - similar to kmemleak_ignore but taking a physical address argument
SYNOPSIS void __ref kmemleak_ignore_phys (phys_addr_t phys );
ARGUMENTS phys physical address of the object
SEE ALSO Kernel file ./mm/kmemleak.c kmemleak_alloc(9), kmemleak_alloc_percpu(9), kmemleak_vmalloc(9), ... |
kmemleak_no_scan(9) | NAME kmemleak_no_scan - do not scan an allocated object
SYNOPSIS void __ref kmemleak_no_scan (const void *ptr );
ARGUMENTS ptr pointer to beginning of the object
DESCRIPTION This function notifies kmemleak not to scan the given memory block. Useful in situations where it is known that the given object does n... |
kmemleak_not_leak(9) | NAME kmemleak_not_leak - mark an allocated object as false positive
SYNOPSIS void __ref kmemleak_not_leak (const void *ptr );
ARGUMENTS ptr pointer to beginning of the object
DESCRIPTION Calling this function on an object will cause the memory block to no longer be reported as leak and always be scanned.
SE... |
kmemleak_scan_area(9) | NAME kmemleak_scan_area - limit the range to be scanned in an allocated object
SYNOPSIS void __ref kmemleak_scan_area (const void *ptr , size_t size , gfp_t gfp );
ARGUMENTS ptr pointer to beginning or inside the object. This also represents the start of the scan area
size size of the scan area... |
kmemleak_transient_leak(9) | NAME kmemleak_transient_leak - mark an allocated object as transient false positive
SYNOPSIS void __ref kmemleak_transient_leak (const void *ptr );
ARGUMENTS ptr pointer to beginning of the object
DESCRIPTION Calling this function on an object will cause the memory block to not be reported as a leak t... |
kmemleak_update_trace(9) | NAME kmemleak_update_trace - update object allocation stack trace
SYNOPSIS void __ref kmemleak_update_trace (const void *ptr );
ARGUMENTS ptr pointer to beginning of the object
DESCRIPTION Override the object allocation stack trace for cases where the actual allocation place is not always useful.
SEE ALSO K... |
kmemleak_vmalloc(9) | NAME kmemleak_vmalloc - register a newly vmalloc'ed object
SYNOPSIS void __ref kmemleak_vmalloc (const struct vm_struct *area , size_t size , gfp_t gfp );
ARGUMENTS area pointer to vm_struct
size size of the object
gfp __vmalloc flags used for kmemleak internal memory allocations... |
kmod(8) | NAME kmod - Program to manage Linux Kernel modules
SYNOPSIS
kmod [OPTIONS...] [COMMAND] [COMMAND_OPTIONS...]
DESCRIPTION kmod is a multi-call binary which implements the programs used to control Linux Kernel modules. Most users will only run it using its other names.
OPTIONS -V --version Show the program ver... |
kmsan_alloc_page(9) | NAME kmsan_alloc_page - Notify KMSAN about an alloc_pages() call.
SYNOPSIS void kmsan_alloc_page (struct page *page , unsigned int order , gfp_t flags );
ARGUMENTS page struct page pointer returned by alloc_pages.
order order of allocated struct page.
flags GFP flags used by alloc_p... |
kmsan_check_memory(9) | NAME kmsan_check_memory - Check the memory range for being initialized.
SYNOPSIS void kmsan_check_memory (const void *address , size_t size );
ARGUMENTS address address to start with.
size size of buffer to check.
DESCRIPTION If any piece of the given range is marked as uninitialized, KMSAN will r... |
kmsan_copy_page_meta(9) | NAME kmsan_copy_page_meta - Copy KMSAN metadata between two pages.
SYNOPSIS void kmsan_copy_page_meta (struct page *dst , struct page *src );
ARGUMENTS dst destination page.
src source page.
DESCRIPTION KMSAN copies the contents of metadata pages for src into the metadata pages for dst. If ds... |
kmsan_copy_to_user(9) | NAME kmsan_copy_to_user - Notify KMSAN about a data transfer to userspace.
SYNOPSIS void kmsan_copy_to_user (void __user *to , const void *from , size_t to_copy , size_t left );
ARGUMENTS to destination address in the userspace.
from source address in the kernel.
to_copy number of ... |
kmsan_disable_current(9) | NAME kmsan_disable_current - Disable KMSAN for the current task.
SYNOPSIS void kmsan_disable_current (void );
ARGUMENTS void no arguments
DESCRIPTION Each kmsan_disable_current current call must be followed by a kmsan_enable_current call. These call pairs may be nested.
SEE ALSO Kernel file ./include/linux... |
kmsan_enable_current(9) | NAME kmsan_enable_current - Enable KMSAN for the current task.
SYNOPSIS void kmsan_enable_current (void );
ARGUMENTS void no arguments
DESCRIPTION Each kmsan_enable_current current call must be preceded by a kmsan_disable_current call. These call pairs may be nested.
SEE ALSO Kernel file ./include/linux/km... |
kmsan_free_page(9) | NAME kmsan_free_page - Notify KMSAN about a free_pages() call.
SYNOPSIS void kmsan_free_page (struct page *page , unsigned int order );
ARGUMENTS page struct page pointer passed to free_pages.
order order of deallocated struct page.
DESCRIPTION KMSAN marks freed memory as uninitialized.
SEE ALS... |
kmsan_get_metadata(9) | NAME kmsan_get_metadata - Return a pointer to KMSAN shadow or origins.
SYNOPSIS void * kmsan_get_metadata (void *addr , bool is_origin );
ARGUMENTS addr kernel address.
is_origin whether to return origins or shadow.
DESCRIPTION Return NULL if metadata cannot be found.
SEE ALSO Kernel file ./inclu... |
kmsan_handle_dma(9) | NAME kmsan_handle_dma - Handle a DMA data transfer.
SYNOPSIS void kmsan_handle_dma (phys_addr_t phys , size_t size , enum dma_data_direction dir );
ARGUMENTS phys physical address of the buffer.
size buffer size.
dir one of possible dma_data_direction values.
DESCRIPTION Dependi... |
kmsan_handle_dma_sg(9) | NAME kmsan_handle_dma_sg - Handle a DMA transfer using scatterlist.
SYNOPSIS void kmsan_handle_dma_sg (struct scatterlist *sg , int nents , enum dma_data_direction dir );
ARGUMENTS sg scatterlist holding DMA buffers.
nents number of scatterlist entries.
dir one of possible dma_d... |
kmsan_handle_urb(9) | NAME kmsan_handle_urb - Handle a USB data transfer.
SYNOPSIS void kmsan_handle_urb (const struct urb *urb , bool is_out );
ARGUMENTS urb struct urb pointer.
is_out data transfer direction (true means output to hardware).
DESCRIPTION If is_out is true, KMSAN checks the transfer buffer of urb. Oth... |
kmsan_init_runtime(9) | NAME kmsan_init_runtime - Initialize KMSAN state and enable KMSAN.
SYNOPSIS void kmsan_init_runtime (void );
ARGUMENTS void no arguments
SEE ALSO Kernel file ./include/linux/kmsan.h kmsan_task_create(9), kmsan_task_exit(9), kmsan_init_shadow(9), kmsan_memblock_free_pages(9), kmsan_alloc_page(9), kmsan_free_p... |
kmsan_init_shadow(9) | NAME kmsan_init_shadow - Initialize KMSAN shadow at boot time.
SYNOPSIS void kmsan_init_shadow (void );
ARGUMENTS void no arguments
DESCRIPTION Allocate and initialize KMSAN metadata for early allocations.
SEE ALSO Kernel file ./include/linux/kmsan.h kmsan_task_create(9), kmsan_task_exit(9), kmsan_init_runti... |
kmsan_ioremap_page_range(9) | NAME kmsan_ioremap_page_range - Notify KMSAN about a ioremap_page_range() call.
SYNOPSIS int kmsan_ioremap_page_range (unsigned long addr , unsigned long end , phys_addr_t phys_addr , pgprot_t prot , unsigned int page_shift );
ARGUMENTS addr range start.
end range end.
phys_addr physi... |
kmsan_iounmap_page_range(9) | NAME kmsan_iounmap_page_range - Notify KMSAN about a iounmap_page_range() call.
SYNOPSIS void kmsan_iounmap_page_range (unsigned long start , unsigned long end );
ARGUMENTS start range start.
end range end.
DESCRIPTION KMSAN unmaps the metadata pages for the given range and, unlike for vunmap_p... |
kmsan_kfree_large(9) | NAME kmsan_kfree_large - Notify KMSAN about a large slab deallocation.
SYNOPSIS void kmsan_kfree_large (const void *ptr );
ARGUMENTS ptr object pointer.
DESCRIPTION Similar to kmsan_slab_free, but for large allocations.
SEE ALSO Kernel file ./include/linux/kmsan.h kmsan_task_create(9), kmsan_task_exit(9)... |
kmsan_kmalloc_large(9) | NAME kmsan_kmalloc_large - Notify KMSAN about a large slab allocation.
SYNOPSIS void kmsan_kmalloc_large (const void *ptr , size_t size , gfp_t flags );
ARGUMENTS ptr object pointer.
size object size.
flags GFP flags passed to the allocator.
DESCRIPTION Similar to kmsan_slab_allo... |
kmsan_memblock_free_pages(9) | NAME kmsan_memblock_free_pages - handle freeing of memblock pages.
SYNOPSIS bool kmsan_memblock_free_pages (struct page *page , unsigned int order );
ARGUMENTS page struct page to free.
order order of page.
DESCRIPTION Freed pages are either returned to buddy allocator or held back to be used as... |
kmsan_memmove(9) | NAME kmsan_memmove - Notify KMSAN about a data copy within kernel.
SYNOPSIS void kmsan_memmove (void *to , const void *from , size_t to_copy );
ARGUMENTS to destination address in the kernel.
from source address in the kernel.
to_copy -- undescribed --
DESCRIPTION Invoked after no... |
kmsan_poison_memory(9) | NAME kmsan_poison_memory - Mark the memory range as uninitialized.
SYNOPSIS void kmsan_poison_memory (const void *address , size_t size , gfp_t flags );
ARGUMENTS address address to start with.
size size of buffer to poison.
flags GFP flags for allocations done by this function.
DESC... |
kmsan_report(9) | NAME kmsan_report - Report a use of uninitialized value.
SYNOPSIS void kmsan_report (depot_stack_handle_t origin , void *address , int size , int off_first , int off_last , const void __user *user_addr , enum kmsan_bug_reason reason );
ARGUMENTS origin Stack ID of the uninitialized value.
address Add... |
kmsan_slab_alloc(9) | NAME kmsan_slab_alloc - Notify KMSAN about a slab allocation.
SYNOPSIS void kmsan_slab_alloc (struct kmem_cache *s , void *object , gfp_t flags );
ARGUMENTS s slab cache the object belongs to.
object object pointer.
flags GFP flags passed to the allocator.
DESCRIPTION Depending o... |
kmsan_slab_free(9) | NAME kmsan_slab_free - Notify KMSAN about a slab deallocation.
SYNOPSIS void kmsan_slab_free (struct kmem_cache *s , void *object );
ARGUMENTS s slab cache the object belongs to.
object object pointer.
DESCRIPTION KMSAN marks the freed object as uninitialized.
SEE ALSO Kernel file ./include... |
kmsan_task_create(9) | NAME kmsan_task_create - Initialize KMSAN state for the task.
SYNOPSIS void kmsan_task_create (struct task_struct *task );
ARGUMENTS task task to initialize.
SEE ALSO Kernel file ./include/linux/kmsan.h kmsan_task_exit(9), kmsan_init_shadow(9), kmsan_init_runtime(9), kmsan_memblock_free_pages(9), kmsan_alloc_... |
kmsan_task_exit(9) | NAME kmsan_task_exit - Notify KMSAN that a task has exited.
SYNOPSIS void kmsan_task_exit (struct task_struct *task );
ARGUMENTS task task about to finish.
SEE ALSO Kernel file ./include/linux/kmsan.h kmsan_task_create(9), kmsan_init_shadow(9), kmsan_init_runtime(9), kmsan_memblock_free_pages(9), kmsan_allo... |
kmsan_unpoison_entry_regs(9) | NAME kmsan_unpoison_entry_regs - Handle pt_regs in low-level entry code.
SYNOPSIS void kmsan_unpoison_entry_regs (const struct pt_regs *regs );
ARGUMENTS regs struct pt_regs pointer received from assembly code.
DESCRIPTION KMSAN unpoisons the contents of the passed pt_regs, preventing potential false positiv... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.