section 9 · Kernel routines 🧠
87928 pages · page 199 of 440
K (continued)
- key_r5_hash(9)R5 hash function (borrowed from reiserfs).✨
- key_read(9)transform a key to in-memory format.✨
- key_reject_and_link(9)Negatively instantiate a key and link it into the keyring.✨
- key_remove_domain(9)Kill off a key domain and gc its keys✨
- key_revoke(9)Revoke a key.✨
- key_task_permission(9)Check a key can be used✨
- key_test_hash(9)testing hash function.✨
- key_type(9)get key type.✨
- key_type_flash(9)get type of a on-flash formatted key.✨
- key_unlink(9)Unlink the first link to a key from a keyring.✨
- key_update(9)Update a key's contents.✨
- key_validate(9)Validate a key.✨
- key_write(9)transform a key from in-memory format.✨
- key_write_idx(9)transform a key from in-memory format for the index.✨
- keyring_clear(9)Clear a keyring✨
- keyring_restrict(9)Look up and apply a restriction to a keyring✨
- keyring_search(9)Search the supplied keyring tree for a matching key✨
- keyring_search_rcu(9)Search a keyring tree for a matching key under RCU✨
- keys_cmp(9)compare keys.✨
- keys_eq(9)determine if keys are equivalent.✨
- keystone_timer_barrier(9)write memory barrier use explicit barrier to avoid using readl/writel non relaxed function variants, because in our case non relaxed variants hide the true places where barrier is needed.✨
- keystone_timer_config(9)configures timer to work in oneshot/periodic modes. @ mask: mask of the mode to configure @ period: cycles number to configure for✨
- KFAIL_POINT_CODE(9)fail points✨
- KFAIL_POINT_CODE(9freebsd)fail points✨
- KFAIL_POINT_ERROR(9)fail points✨
- KFAIL_POINT_ERROR(9freebsd)fail points✨
- KFAIL_POINT_GOTO(9)fail points✨
- KFAIL_POINT_GOTO(9freebsd)fail points✨
- KFAIL_POINT_RETURN(9)fail points✨
- KFAIL_POINT_RETURN(9freebsd)fail points✨
- KFAIL_POINT_RETURN_VOID(9)fail points✨
- KFAIL_POINT_RETURN_VOID(9freebsd)fail points✨
- kfd_get_cu_occupancy(9)Collect number of waves in-flight on this device by current process. Translates acquired wave count into number of compute units that are occupied.✨
- kfd_mem_dmamap_sg_bo(9)Create DMA mapped sg_table to access DOORBELL or MMIO BO✨
- kfd_mem_dmaunmap_sg_bo(9)Free DMA mapped sg_table of DOORBELL or MMIO BO✨
- kfd_process_device_init_vm(9)Initialize a VM for a process-device✨
- kfd_smi_task_to_pid(9)Convert task to namespace-aware PID✨
- kfd_topology_update_io_links(9)Update IO links after device removal.✨
- kfence_alloc(9)allocate a KFENCE object with a low probability✨
- kfence_alloc_pool_and_metadata(9)allocate the KFENCE pool and KFENCE metadata via memblock✨
- kfence_free(9)try to release an arbitrary heap object to KFENCE pool✨
- kfence_handle_page_fault(9)perform page fault handling for KFENCE pages✨
- kfence_init(9)perform KFENCE initialization at boot time✨
- kfence_ksize(9)get actual amount of memory allocated for a KFENCE object✨
- kfence_object_start(9)find the beginning of a KFENCE object✨
- kfence_shutdown_cache(9)handle shutdown_cache() for KFENCE objects✨
- kfifo_alloc(9)dynamically allocates a new fifo buffer✨
- kfifo_alloc_node(9)dynamically allocates a new fifo buffer on a NUMA node✨
- kfifo_avail(9)returns the number of unused elements in the fifo✨
- kfifo_dma_in_finish(9)finish a DMA IN operation✨
- kfifo_dma_in_prepare_mapped(9)setup a scatterlist for DMA input✨
- kfifo_dma_out_finish(9)finish a DMA OUT operation✨
- kfifo_dma_out_prepare_mapped(9)setup a scatterlist for DMA output✨
- kfifo_esize(9)returns the size of the element managed by the fifo✨
- kfifo_free(9)frees the fifo✨
- kfifo_from_user(9)puts some data from user space into the fifo✨
- kfifo_get(9)get data from the fifo✨
- kfifo_in(9)put data into the fifo✨
- kfifo_in_spinlocked(9)put data into the fifo using a spinlock for locking✨
- kfifo_in_spinlocked_noirqsave(9)put data into fifo using a spinlock for locking, don't disable interrupts✨
- kfifo_init(9)initialize a fifo using a preallocated buffer✨
- kfifo_initialized(9)Check if the fifo is initialized✨
- kfifo_is_empty(9)returns true if the fifo is empty✨
- kfifo_is_empty_spinlocked(9)returns true if the fifo is empty using a spinlock for locking✨
- kfifo_is_empty_spinlocked_noirqsave(9)returns true if the fifo is empty using a spinlock for locking, doesn't disable interrupts✨
- kfifo_is_full(9)returns true if the fifo is full✨
- kfifo_len(9)returns the number of used elements in the fifo✨
- kfifo_out(9)get data from the fifo✨
- kfifo_out_linear(9)gets a tail of/offset to available data✨
- kfifo_out_linear_ptr(9)gets a pointer to the available data✨
- kfifo_out_peek(9)gets some data from the fifo✨
- kfifo_out_spinlocked(9)get data from the fifo using a spinlock for locking✨
- kfifo_out_spinlocked_noirqsave(9)get data from the fifo using a spinlock for locking, don't disable interrupts✨
- kfifo_peek(9)get data from the fifo without removing✨
- kfifo_peek_len(9)gets the size of the next fifo record✨
- kfifo_put(9)put data into the fifo✨
- kfifo_recsize(9)returns the size of the record length field✨
- kfifo_reset(9)removes the entire fifo content✨
- kfifo_reset_out(9)skip fifo content✨
- kfifo_size(9)returns the size of the fifo in elements✨
- kfifo_skip(9)skip output data✨
- kfifo_skip_count(9)skip output data✨
- kfifo_to_user(9)copies data from the fifo into user space✨
- kfilter_register(9)add or remove kernel event filters✨
- kfree(9)free previously allocated memory✨
- kfree_const(9)conditionally free memory✨
- kfree_fsm(9)Releases a finite state machine✨
- kfree_rcu(9)kfree an object after a grace period.✨
- kfree_rcu_mightsleep(9)kfree an object after a grace period.✨
- kfree_rcu_nolock(9)a version of kfree_rcu() that can be called in any context.✨
- kfree_sensitive(9)Clear sensitive information in memory before freeing✨
- kfree_skb(9)free an sk_buff with 'NOT_SPECIFIED' reason✨
- kfree_strarray(9)free a number of dynamically allocated strings contained in an array and the array itself✨
- kgd2kfd_vmfault_fast_path(9)KFD vm page fault interrupt handling fast path for gmc v9✨
- kgd_gfx_v11_get_cu_occupancy(9)Reads relevant registers associated with each shader engine and aggregates the number of waves that are in flight for the process whose pasid is provided as a parameter. The process could have ZERO…✨
- kgd_gfx_v12_1_get_cu_occupancy(9)Reads relevant registers associated with each shader engine and aggregates the number of waves that are in flight for the process whose pasid is provided as a parameter. The process could have ZERO…✨
- kgd_gfx_v12_get_cu_occupancy(9)Reads relevant registers associated with each shader engine and aggregates the number of waves that are in flight for the process whose pasid is provided as a parameter. The process could have ZERO…✨
- kgd_gfx_v9_get_cu_occupancy(9)Reads relevant registers associated with each shader engine and aggregates the number of waves that are in flight for the process whose pasid is provided as a parameter. The process could have ZERO…✨
- kgdb_arch_exit(9)Perform any architecture specific uninitalization.✨
- kgdb_arch_handle_exception(9)Handle architecture specific GDB packets.✨
- kgdb_arch_handle_qxfer_pkt(9)Handle architecture specific GDB XML packets.✨
- kgdb_arch_init(9)Perform any architecture specific initialization.✨
- kgdb_arch_late(9)Perform any architecture specific initialization.✨
- kgdb_arch_set_pc(9)Generic call back to the program counter✨
- kgdb_breakpoint(9)generate breakpoint exception✨
- kgdb_call_nmi_hook(9)Call kgdb_nmicallback() on the current CPU✨
- kgdb_disable_hw_debug(9)Disable hardware debugging while we in kgdb.✨
- kgdb_register_io_module(9)register KGDB IO module✨
- kgdb_roundup_cpus(9)Get other CPUs into a holding pattern✨
- kgdb_skipexception(9)(optional) exit kgdb_handle_exception early✨
- kgdb_unregister_io_module(9)unregister KGDB IO module✨
- khelp(9)Kernel Helper Framework✨
- khelp(9freebsd)Kernel Helper Framework✨
- khelp_add_hhook(9)Kernel Helper Framework✨
- khelp_add_hhook(9freebsd)Kernel Helper Framework✨
- KHELP_DECLARE_MOD(9)Kernel Helper Framework✨
- KHELP_DECLARE_MOD(9freebsd)Kernel Helper Framework✨
- KHELP_DECLARE_MOD_UMA(9)Kernel Helper Framework✨
- KHELP_DECLARE_MOD_UMA(9freebsd)Kernel Helper Framework✨
- khelp_destroy_osd(9)Kernel Helper Framework✨
- khelp_destroy_osd(9freebsd)Kernel Helper Framework✨
- khelp_get_id(9)Kernel Helper Framework✨
- khelp_get_id(9freebsd)Kernel Helper Framework✨
- khelp_get_osd(9)Kernel Helper Framework✨
- khelp_get_osd(9freebsd)Kernel Helper Framework✨
- khelp_init_osd(9)Kernel Helper Framework✨
- khelp_init_osd(9freebsd)Kernel Helper Framework✨
- khelp_remove_hhook(9)Kernel Helper Framework✨
- khelp_remove_hhook(9freebsd)Kernel Helper Framework✨
- KHO persistent memory tracker(9)✨
- KHO Serialization Blocks(9)✨
- KHO Serialization Blocks ABI(9)✨
- kho_add_subtree(9)record the physical address of a sub blob in KHO root tree.✨
- kho_alloc_preserve(9)Allocate, zero, and preserve memory.✨
- kho_block_set_clear(9)Clear all serialized data in a block set.✨
- kho_block_set_destroy(9)Destroy all blocks in a block set.✨
- kho_block_set_grow(9)Expand the block set to accommodate the target count.✨
- kho_block_set_head_pa(9)Get the physical address of the first block header.✨
- KHO_BLOCK_SET_INIT(9)Initialize a static kho_block_set.✨
- kho_block_set_init(9)Initialize a block set.✨
- kho_block_set_is_empty(9)Check if the block set has no allocated blocks.✨
- kho_block_set_it_init(9)Initialize a block set iterator.✨
- kho_block_set_it_prev(9)Return the previous entry slot in the block set.✨
- kho_block_set_it_read_entry(9)Read the next serialized entry from the block set.✨
- kho_block_set_it_reserve_entry(9)Reserve and return the next available slot for writing.✨
- kho_block_set_restore(9)Restore a block set from a physical address.✨
- kho_block_set_shrink(9)Shrink the block set to accommodate the target count.✨
- KHO_BLOCK_SIZE(9)The size of each serialization block.✨
- kho_decode_radix_key(9)Decodes a radix key back into a physical address and order.✨
- kho_encode_radix_key(9)Encodes a physical address and order into a radix key.✨
- kho_preserve_folio(9)preserve a folio across kexec.✨
- kho_preserve_pages(9)preserve contiguous pages across kexec✨
- kho_preserve_vmalloc(9)preserve memory allocated with vmalloc() across kexec✨
- kho_radix_add_key(9)Add a key to the radix tree.✨
- kho_radix_del_key(9)Removes the key from the radix tree.✨
- kho_radix_destroy_tree(9)Destroy the radix tree✨
- kho_radix_init_tree(9)initialize the radix tree.✨
- kho_radix_walk_tree(9)Traverses the radix tree and calls a callback for each key.✨
- kho_reserve_scratch(9)Reserve a contiguous chunk of memory for kexec✨
- kho_restore_folio(9)recreates the folio from the preserved memory.✨
- kho_restore_free(9)Restore and free memory after kexec.✨
- kho_restore_pages(9)restore list of contiguous order 0 pages.✨
- kho_restore_vmalloc(9)recreates and populates an area in vmalloc address space from the preserved memory.✨
- kho_retrieve_subtree(9)retrieve a preserved sub blob by its name.✨
- kho_unpreserve_folio(9)unpreserve a folio.✨
- kho_unpreserve_free(9)Unpreserve and free memory.✨
- kho_unpreserve_pages(9)unpreserve contiguous pages.✨
- kho_unpreserve_vmalloc(9)unpreserve memory allocated with vmalloc()✨
- kick_a_thread(9)kick a background thread to start commit.✨
- kick_all_cpus_sync(9)Force all cpus out of idle✨
- kick_pool(9)wake up an idle worker if necessary✨
- kick_pool_pick(9)select an idle worker to kick, deferring the wakeup✨
- KickStart(9)Perform hard reset of MPT adapter.✨
- kill_all_requests(9)remove all requests from the endpoint's queue✨
- kill_css_finish(9)deferred half of css teardown✨
- kill_css_sync(9)synchronous half of css teardown✨
- kill_orphans(9)remove all orphan inodes from the index.✨
- kill_volumes(9)destroy all user volumes.✨
- killproc(9)kernel signal functions✨
- killproc(9freebsd)kernel signal functions✨
- kind_is_gsc(9)checks whether the device is gsc✨
- kind_is_gscfi(9)checks whether the device is gscfi✨
- kind_show(9)display device kind✨
- kins(9)kinematics definitions for LinuxCNC For additional information, see the Documents 'Advanced Topics': Kinematics 5-Axis Kinematics Switchable Kinematics✨
- kioc_to_mimd(9)Converter from new back to old format✨
- kiocb_end_write(9)drop write access to a superblock after async file io✨
- kiocb_modified(9)handle mandated vfs changes when modifying a file✨
- kiocb_start_write(9)get write access to a superblock for async file io✨
- klist_add_before(9)Init a klist_node and add it before an existing node✨
- klist_add_behind(9)Init a klist_node and add it after an existing node✨
- klist_add_head(9)Initialize a klist_node and add it to front.✨
- klist_add_tail(9)Initialize a klist_node and add it to back.✨
- klist_del(9)Decrement the reference count of node and try to remove.✨
- klist_init(9)Initialize a klist structure.✨
- klist_iter_exit(9)Finish a list iteration.✨
- klist_iter_init(9)Iniitalize a klist_iter structure.✨
- klist_iter_init_node(9)Initialize a klist_iter structure.✨
- klist_next(9)Ante up next node in list.✨
- klist_node_attached(9)Say whether a node is bound to a list or not.✨
- klist_prev(9)Ante up prev node in list.✨
💅
getting it ready, bestie…