Section 9
- KASAN · Kernel Address SANitizer
- kasan · Kernel Address SANitizer
- kasan_mark · Kernel Address SANitizer
- KASSERT · kernel expression verification macro
- kcalloc · allocate memory for an array. The memory is set to zero.
- kern_getenv · kernel environment variable functions
- kern_reboot · reboot, halt, or power off the system
- kern_setenv · kernel environment variable functions
- kern_testfrwk · A kernel testing framework
- kern_unsetenv · kernel environment variable functions
- kern_yield · functions for yielding execution of the current thread
- kernacc · check memory regions for accessibility
- kernel-api
- kernel-hacking
- kernel-locking
- kernel_halt · halt the system
- kernel_mount · functions provided as part of the kernel mount interface
- KERNEL_PANICKED · bring down system on fatal error
- kernel_power_off · power_off the system
- kernel_recvmsg · Receive a message from a socket (kernel space)
- kernel_restart · reboot the system
- kernel_to_ipc64_perm · convert kernel ipc permissions to user
- kernel_vmount · functions provided as part of the kernel mount interface
- KFAIL_POINT_CODE · fail points
- KFAIL_POINT_ERROR · fail points
- KFAIL_POINT_GOTO · fail points
- KFAIL_POINT_RETURN · fail points
- KFAIL_POINT_RETURN_VOID · fail points
- kfifo_alloc · dynamically allocates a new fifo buffer
- kfifo_avail · returns the number of unused elements in the fifo
- kfifo_dma_in_finish · finish a DMA IN operation
- kfifo_dma_in_prepare · setup a scatterlist for DMA input
- kfifo_dma_out_finish · finish a DMA OUT operation
- kfifo_dma_out_prepare · setup a scatterlist for DMA output
- kfifo_esize · returns the size of the element managed by the fifo
- kfifo_free · frees the fifo
- kfifo_from_user · puts some data from user space into the fifo
- kfifo_get · get data from the fifo
- kfifo_in · put data into the fifo
- kfifo_in_spinlocked · put data into the fifo using a spinlock for locking
- kfifo_init · initialize a fifo using a preallocated buffer
- kfifo_initialized · Check if the fifo is initialized
- kfifo_is_empty · returns true if the fifo is empty
- kfifo_is_full · returns true if the fifo is full
- kfifo_len · returns the number of used elements in the fifo
- kfifo_out · get data from the fifo
- kfifo_out_peek · gets some data from the fifo
- kfifo_out_spinlocked · get data from the fifo using a spinlock for locking
- kfifo_peek · get data from the fifo without removing
- kfifo_peek_len · gets the size of the next fifo record
- kfifo_put · put data into the fifo
- kfifo_recsize · returns the size of the record length field
- kfifo_reset · removes the entire fifo content
- kfifo_reset_out · skip fifo content
- kfifo_size · returns the size of the fifo in elements
- kfifo_skip · skip output data
- kfifo_to_user · copies data from the fifo into user space
- kfree · free previously allocated memory
- kfree_const · conditionally free memory
- kfree_skb · free an sk_buff
- kgdb_arch_exit · Perform any architecture specific uninitalization.
- kgdb_arch_handle_exception · Handle architecture specific GDB packets.
- kgdb_arch_init · Perform any architecture specific initalization.
- kgdb_arch_late · Perform any architecture specific initalization.
- kgdb_arch_set_pc · Generic call back to the program counter
- kgdb_breakpoint · compiled in breakpoint
- kgdb_disable_hw_debug · (optional) Disable hardware debugging hook
- kgdb_post_primary_code · (optional) Save error vector/code numbers.
- kgdb_roundup_cpus · Get other CPUs into a holding pattern
- kgdb_skipexception · (optional) exit kgdb_handle_exception early
- khelp · Kernel Helper Framework
- khelp_add_hhook · Kernel Helper Framework
- KHELP_DECLARE_MOD · Kernel Helper Framework
- KHELP_DECLARE_MOD_UMA · Kernel Helper Framework
- khelp_destroy_osd · Kernel Helper Framework
- khelp_get_id · Kernel Helper Framework
- khelp_get_osd · Kernel Helper Framework
- khelp_init_osd · Kernel Helper Framework
- khelp_remove_hhook · Kernel Helper Framework
- KickStart · Perform hard reset of MPT adapter.
- killproc · kernel signal functions
- kins · kinematics definitions for LinuxCNC For additional information, see the Documents 'Advanced Topics': Kinematics 5-Axis Kinematics Switchable Kinematics
- kmalloc · allocate memory
- kmalloc_array · allocate memory for an array.
- kmalloc_node · allocate memory from a specific node
- kmem_cache_alloc · Allocate an object
- kmem_cache_alloc_node · Allocate an object on the specified node
- kmem_cache_create · Create a cache.
- kmem_cache_destroy · delete a cache
- kmem_cache_free · Deallocate an object
- kmem_cache_shrink · Shrink a cache.
- kmem_cache_zalloc · Allocate an object. The memory is set to zero.
- kmemdup · duplicate region of memory
- kmemdup_nul · Create a NUL-terminated string from unterminated data
- KMSAN · Kernel Memory SANitizer
- kmsan · Kernel Memory SANitizer
- kmsan_check · Kernel Memory SANitizer
- kmsan_check_bio · Kernel Memory SANitizer
- kmsan_check_ccb · Kernel Memory SANitizer
- kmsan_check_mbuf · Kernel Memory SANitizer
- kmsan_check_uio · Kernel Memory SANitizer
- kmsan_mark · Kernel Memory SANitizer
- kmsan_oirg · Kernel Memory SANitizer
- kmsg_dump_get_buffer · copy kmsg log lines
- kmsg_dump_get_line · retrieve one kmsg log line
- kmsg_dump_register · register a kernel log dumper.
- kmsg_dump_rewind · reset the interator
- kmsg_dump_unregister · unregister a kmsg dumper.
- knlist_add · event delivery subsystem
- knlist_clear · event delivery subsystem
- knlist_delete · event delivery subsystem
- knlist_destroy · event delivery subsystem
- knlist_empty · event delivery subsystem
- knlist_init · event delivery subsystem
- knlist_init_mtx · event delivery subsystem
- knlist_remove · event delivery subsystem
- knob2float · Convert counts (probably from an encoder) to a float value
- knote_fdclose · event delivery subsystem
- KNOTE_LOCKED · event delivery subsystem
- KNOTE_UNLOCKED · event delivery subsystem
- kobj · a kernel object system for FreeBSD
- kobj_class_compile · a kernel object system for FreeBSD
- kobj_class_compile_static · a kernel object system for FreeBSD
- kobj_class_free · a kernel object system for FreeBSD
- kobj_create · a kernel object system for FreeBSD
- kobj_delete · a kernel object system for FreeBSD
- kobj_init · a kernel object system for FreeBSD
- kobj_init_static · a kernel object system for FreeBSD
- kobject_add · the main kobject add function
- kobject_create_and_add · create a struct kobject dynamically and register it with sysfs
- kobject_del · unlink kobject from hierarchy.
- kobject_get · increment refcount for object.
- kobject_get_path · generate and return the path associated with a given kobj and kset pair.
- kobject_init · initialize a kobject structure
- kobject_init_and_add · initialize a kobject structure and add it to the kobject hierarchy
- kobject_put · decrement refcount for object.
- kobject_register · initialize and add an object.
- kobject_rename · change the name of an object
- kobject_set_name · Set the name of a kobject
- kobject_unregister · remove object from hierarchy and decrement refcount.
- kproc · kernel processes
- kproc_create · kernel processes
- kproc_exit · kernel processes
- kproc_kthread_add · kernel processes
- kproc_resume · kernel processes
- kproc_shutdown · kernel threads
- kproc_start · kernel threads
- kproc_suspend · kernel processes
- kproc_suspend_check · kernel processes
- kqfd_register · event delivery subsystem
- kqueue · event delivery subsystem
- kqueue_add_filteropts · event delivery subsystem
- kqueue_del_filteropts · event delivery subsystem
- krealloc · reallocate memory. The contents will remain unchanged.
- kset_create_and_add · create a struct kset dynamically and add it to sysfs
- kset_register · initialize and add a kset.
- kset_unregister · remove a kset.
- ksize · get the actual amount of memory allocated for a given object
- ksoftirqd · Softirq daemon
- kstack_contains · determine if an address range lies within the kernel stack for a thread
- kstat_irqs · Get the statistics for an interrupt
- kstat_irqs_cpu · Get the statistics for an interrupt on a cpu
- kstat_irqs_usr · Get the statistics for an interrupt
- kstrdup · allocate space for and copy an existing string
- kstrdup_const · conditionally duplicate an existing const string
- kstrndup · allocate space for and copy an existing string
- kstrtobool · convert common user inputs into boolean values
- kstrtoint · convert a string to an int
- kstrtol · convert a string to a long
- kstrtoll · convert a string to a long long
- kstrtouint · convert a string to an unsigned int
- kstrtoul · convert a string to an unsigned long
- kstrtoull · convert a string to an unsigned long long
- kthread · kernel threads
- kthread_add · kernel threads
- kthread_bind · bind a just-created kthread to a cpu.
- kthread_create · create a kthread.
- kthread_create_on_node · create a kthread.
- kthread_exit · kernel threads
- kthread_freezable_should_stop · should this freezable kthread return now?
- kthread_resume · kernel threads
- kthread_run · create and wake a thread.
- kthread_should_stop · should this kthread return now?
- kthread_shutdown · kernel threads
- kthread_start · kernel threads
- kthread_stop · stop a thread created by kthread_create.
- kthread_suspend · kernel threads
- kthread_suspend_check · kernel threads
- kthread_worker_fn · kthread function to process kthread_worker
- ktime_add · add two ktime_t variables
- ktime_add_ns · Add a scalar nanoseconds value to a ktime_t variable
- ktime_after · Compare if a ktime_t value is bigger than another one.
- ktime_before · Compare if a ktime_t value is smaller than another one.
- ktime_compare · Compares two ktime_t variables for less, greater or equal
- ktime_equal · Compares two ktime_t variables to see if they are equal
- ktime_get · get the monotonic time in ktime_t format
- ktime_get_real · get the real (wall-) time in ktime_t format
- ktime_get_ts · get the monotonic clock in timespec format
- ktime_set · Set a ktime_t variable from a seconds/nanoseconds value
- ktime_sub · subtract two ktime_t variables
- ktime_sub_ns · Subtract a scalar nanoseconds value from a ktime_t variable
- ktime_to_ns · convert a ktime_t variable to scalar nanoseconds
- ktime_to_timespec · convert a ktime_t variable to timespec format
- ktime_to_timespec_cond · convert a ktime_t variable to timespec format only if the variable contains data
- ktime_to_timeval · convert a ktime_t variable to timeval format
- ktr · kernel tracing facility
- kzalloc · allocate memory. The memory is set to zero.
- kzalloc_node · allocate zeroed memory from a particular memory node.
- kzfree · like kfree but zero memory