id
stringlengths
4
63
text
stringlengths
153
8.81M
k3_ringacc_ring_get_size(9)
NAME k3_ringacc_ring_get_size - get ring size SYNOPSIS u32 k3_ringacc_ring_get_size (struct k3_ring *ring ); ARGUMENTS ring pointer on ring DESCRIPTION Returns ring size in number of elements. SEE ALSO Kernel file ./include/linux/soc/ti/k3-ringacc.h enum k3_ring_mode(9), enum k3_ring_size(9), o...
k3_ringacc_ring_is_full(9)
NAME k3_ringacc_ring_is_full - checks if ring is full SYNOPSIS u32 k3_ringacc_ring_is_full (struct k3_ring *ring ); ARGUMENTS ring pointer on ring DESCRIPTION Returns true if the ring is full SEE ALSO Kernel file ./include/linux/soc/ti/k3-ringacc.h enum k3_ring_mode(9), enum k3_ring_size(9), of...
k3_ringacc_ring_pop(9)
NAME k3_ringacc_ring_pop - pop element from the ring head SYNOPSIS int k3_ringacc_ring_pop (struct k3_ring *ring , void *elem ); ARGUMENTS ring pointer on ring elem pointer on ring element buffer DESCRIPTION Push one ring element from the ring head. Size of the ring element is determined by rin...
k3_ringacc_ring_pop_tail(9)
NAME k3_ringacc_ring_pop_tail - pop element from the ring tail SYNOPSIS int k3_ringacc_ring_pop_tail (struct k3_ring *ring , void *elem ); ARGUMENTS ring pointer on ring elem pointer on ring element buffer DESCRIPTION Push one ring element from the ring tail. Size of the ring elemen...
k3_ringacc_ring_push(9)
NAME k3_ringacc_ring_push - push element to the ring tail SYNOPSIS int k3_ringacc_ring_push (struct k3_ring *ring , void *elem ); ARGUMENTS ring pointer on ring elem pointer on ring element buffer DESCRIPTION Push one ring element to the ring tail. Size of the ring element is determined by ring...
k3_ringacc_ring_push_head(9)
NAME k3_ringacc_ring_push_head - push element to the ring head SYNOPSIS int k3_ringacc_ring_push_head (struct k3_ring *ring , void *elem ); ARGUMENTS ring pointer on ring elem pointer on ring element buffer DESCRIPTION Push one ring element to the ring head. Size of the ring element...
k3_ringacc_ring_reset(9)
NAME k3_ringacc_ring_reset - ring reset SYNOPSIS void k3_ringacc_ring_reset (struct k3_ring *ring ); ARGUMENTS ring pointer on Ring DESCRIPTION Resets ring internal state ((hw)occ, (hw)idx). SEE ALSO Kernel file ./include/linux/soc/ti/k3-ringacc.h enum k3_ring_mode(9), enum k3_ring_size(9), of_...
k3_rproc_mbox_callback(9)
NAME k3_rproc_mbox_callback - inbound mailbox message handler SYNOPSIS void k3_rproc_mbox_callback (struct mbox_client *client , void *data ); ARGUMENTS client mailbox client pointer used for requesting the mailbox channel data mailbox payload DESCRIPTION This handler is invoked by the K3 m...
k3rtc_fence(9)
NAME k3rtc_fence - Ensure a register sync took place between the two domains SYNOPSIS int k3rtc_fence (struct ti_k3_rtc *priv ); ARGUMENTS priv pointer to priv data RETURN 0 if the sync took place, else returns -ETIMEDOUT SEE ALSO Kernel file ./drivers/rtc/rtc-ti-k3.c struct ti_k3_rtc(9) April 2026 ...
kasan_check_range(9)
NAME kasan_check_range - Check memory region, and report if invalid access. SYNOPSIS bool kasan_check_range (const void *addr , size_t size , bool write , unsigned long ret_ip ); ARGUMENTS addr the accessed address size the accessed size write true if access is a write access ...
kasan_mempool_poison_object(9)
NAME kasan_mempool_poison_object - Check and poison a mempool slab allocation. SYNOPSIS bool kasan_mempool_poison_object (void *ptr ); ARGUMENTS ptr Pointer to the slab allocation. DESCRIPTION This function is intended for kernel subsystems that cache slab allocations to reuse them instead of freeing them ...
kasan_mempool_poison_pages(9)
NAME kasan_mempool_poison_pages - Check and poison a mempool page allocation. SYNOPSIS bool kasan_mempool_poison_pages (struct page *page , unsigned int order ); ARGUMENTS page Pointer to the page allocation. order Order of the allocation. DESCRIPTION This function is intended for kernel subsyst...
kasan_mempool_unpoison_object(9)
NAME kasan_mempool_unpoison_object - Unpoison a mempool slab allocation. SYNOPSIS void kasan_mempool_unpoison_object (void *ptr , size_t size ); ARGUMENTS ptr Pointer to the slab allocation. size Size to be unpoisoned. DESCRIPTION This function is intended for kernel subsystems that cache sla...
kasan_mempool_unpoison_pages(9)
NAME kasan_mempool_unpoison_pages - Unpoison a mempool page allocation. SYNOPSIS void kasan_mempool_unpoison_pages (struct page *page , unsigned int order ); ARGUMENTS page Pointer to the page allocation. order Order of the allocation. DESCRIPTION This function is intended for kernel subsystems...
kasan_poison(9)
NAME kasan_poison - mark the memory range as inaccessible SYNOPSIS void kasan_poison (const void *addr , size_t size , u8 value , bool init ); ARGUMENTS addr range start address, must be aligned to KASAN_GRANULE_SIZE size range size, must be aligned to KASAN_GRANULE_SIZE value valu...
kasan_poison_last_granule(9)
NAME kasan_poison_last_granule - mark the last granule of the memory range as inaccessible SYNOPSIS void kasan_poison_last_granule (const void *address , size_t size ); ARGUMENTS address range start address, must be aligned to KASAN_GRANULE_SIZE size range size DESCRIPTION This function is only av...
kasan_poison_new_object(9)
NAME kasan_poison_new_object - Repoison a new slab object. SYNOPSIS void kasan_poison_new_object (struct kmem_cache *cache , void *object ); ARGUMENTS cache Cache the object belong to. object Pointer to the object. DESCRIPTION This function is intended for the slab allocator's internal use. It rep...
kasan_populate_early_shadow(9)
NAME kasan_populate_early_shadow - populate shadow memory region with kasan_early_shadow_page SYNOPSIS int __ref kasan_populate_early_shadow (const void *shadow_start , const void *shadow_end ); ARGUMENTS shadow_start start of the memory range to populate shadow_end end of the memory range to populate SEE A...
kasan_report(9)
NAME kasan_report - print a report about a bad memory access detected by KASAN SYNOPSIS bool kasan_report (const void *addr , size_t size , bool is_write , unsigned long ip ); ARGUMENTS addr address of the bad access size size of the bad access is_write whether the bad access is a wri...
kasan_slab_free(9)
NAME kasan_slab_free - Poison, initialize, and quarantine a slab object. SYNOPSIS bool kasan_slab_free (struct kmem_cache *s , void *object , bool init , bool still_accessible , bool no_quarantine ); ARGUMENTS s -- undescribed -- object Object to be freed. init Whether to initial...
kasan_slab_pre_free(9)
NAME kasan_slab_pre_free - Check whether freeing a slab object is safe. SYNOPSIS bool kasan_slab_pre_free (struct kmem_cache *s , void *object ); ARGUMENTS s -- undescribed -- object Object to be freed. DESCRIPTION This function checks whether freeing the given object is safe. It may check for...
kasan_unpoison(9)
NAME kasan_unpoison - mark the memory range as accessible SYNOPSIS void kasan_unpoison (const void *addr , size_t size , bool init ); ARGUMENTS addr range start address, must be aligned to KASAN_GRANULE_SIZE size range size, can be unaligned init whether to initialize the memory r...
kasan_unpoison_new_object(9)
NAME kasan_unpoison_new_object - Temporarily unpoison a new slab object. SYNOPSIS void kasan_unpoison_new_object (struct kmem_cache *cache , void *object ); ARGUMENTS cache Cache the object belong to. object Pointer to the object. DESCRIPTION This function is intended for the slab allocator's inte...
kasprintf_strarray(9)
NAME kasprintf_strarray - allocate and fill array of sequential strings SYNOPSIS char ** kasprintf_strarray (gfp_t gfp , const char *prefix , size_t n ); ARGUMENTS gfp flags for the slab allocator prefix prefix to be used n amount of lines to be allocated and filled DESCRIPTION...
kate(1)
NAME kate - Advanced text editor by KDE SYNOPSIS kate [-s, --start name] [--startanon] [-n, --new] [-b, --block] [-p, --pid pid] [-e, --encoding name] [-l, --line line] [-c, --column column] [-i, --stdin] [--tempfile] [file] DESCRIPTION Kate is the KDE Advanced Text Editor. Kate also provides the edit...
kauditd_hold_skb(9)
NAME kauditd_hold_skb - Queue an audit record, waiting for auditd SYNOPSIS void kauditd_hold_skb (struct sk_buff *skb , int error ); ARGUMENTS skb audit record error error code DESCRIPTION Queue the audit record, waiting for an instance of auditd. When this function is called we haven't give...
kauditd_printk_skb(9)
NAME kauditd_printk_skb - Print the audit record to the ring buffer SYNOPSIS void kauditd_printk_skb (struct sk_buff *skb ); ARGUMENTS skb audit record DESCRIPTION Whatever the reason, this packet may not make it to the auditd connection so write it via printk so the information isn't completely lost. SEE A...
kauditd_rehold_skb(9)
NAME kauditd_rehold_skb - Handle a audit record send failure in the hold queue SYNOPSIS void kauditd_rehold_skb (struct sk_buff *skb , int error ); ARGUMENTS skb audit record error error code (unused) DESCRIPTION This should only be used by the kauditd_thread when it fails to flush the hold que...
kauditd_retry_skb(9)
NAME kauditd_retry_skb - Queue an audit record, attempt to send again to auditd SYNOPSIS void kauditd_retry_skb (struct sk_buff *skb , int error ); ARGUMENTS skb audit record error error code (unused) DESCRIPTION Not as serious as kauditd_hold_skb as we still have a connected auditd, but for so...
kauditd_send_queue(9)
NAME kauditd_send_queue - Helper for kauditd_thread to flush skb queues SYNOPSIS int kauditd_send_queue (struct sock *sk , u32 portid , struct sk_buff_head *queue , unsigned int retry_limit , void (*skb_hook)(struct sk_buff *skb) , void (*err_hook)(struct sk_buff *skb, int error) ); ARGUMENTS sk the sending ...
kauditd_thread(9)
NAME kauditd_thread - Worker thread to send audit records to userspace SYNOPSIS int kauditd_thread (void *dummy ); ARGUMENTS dummy unused SEE ALSO Kernel file ./kernel/audit.c struct audit_net(9), struct auditd_connection(9), struct audit_ctl_mutex(9), auditd_test_task(9), audit_ctl_lock(9), audit_ctl_unlo...
kbasename(9)
NAME kbasename - return the last part of a pathname. SYNOPSIS const char * kbasename (const char *path ); ARGUMENTS path path to extract the filename from. RETURN Pointer to the filename portion inside path. If no '/' exists, returns path unchanged. SEE ALSO Kernel file ./include/linux/string.h memdup_arr...
kbbl_init(9)
NAME kbbl_init - Initialize the state of the keyboard backlight. SYNOPSIS int kbbl_init (struct wilco_ec_device *ec ); ARGUMENTS ec EC device to talk to. DESCRIPTION Gets the current brightness, ensuring that the BIOS already initialized the backlight to PWM mode. If not in PWM mode, then the current bright...
kbd_mode(1)
NAME kbd_mode - report or set the keyboard mode SYNOPSIS kbd_mode [ -a | -u | -k | -s | -d ] [ -f ] [ -C CONSOLE ] DESCRIPTION Without argument, kbd_mode prints the current keyboard mode (RAW, MEDIUMRAW or XLATE). Using the options it is possible to switch the keyboard mode of the current console or the specified con...
kbdinfo(1)
NAME kbdinfo - read information about keyboard state SYNOPSIS kbdinfo [options] getmode [text|graphics] kbdinfo [options] gkbmode [raw|xlate|mediumraw|unicode] kbdinfo [options] gkbmeta [metabit|escprefix] kbdinfo [options] gkbled [scrolllock|numlock|capslock] DESCRIPTION The utility allows you to read and check var...
kbdrate(8)
NAME kbdrate - reset the keyboard repeat rate and delay time SYNOPSIS kbdrate [options...] DESCRIPTION kbdrate is used to change the keyboard repeat rate and delay time. The delay is the amount of time that a key must be depressed before it will start to repeat. Using kbdrate without any options will reset ...
kbuildsycoca6(8)
NAME kbuildsycoca6 - Rebuilds the KService desktop file system configuration cache SYNOPSIS kbuildsycoca6 [OPTIONS...] DESCRIPTION kbuildsycoca6 builds binary cache of the data stored in .desktop and MIME type .xml files that the KService framework uses to find plugins, applications and other services. ...
kcalloc(9)
NAME kcalloc - allocate memory for an array. The memory is set to zero. SYNOPSIS kcalloc (n , size , 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_HWCACHE_ALIGN(...
kcmp(2)
NAME kcmp - compare two processes to determine if they share a kernel resource LIBRARY Standard C library (libc, -lc) SYNOPSIS #include <linux/kcmp.h> /* Definition of KCMP_* constants */ #include <sys/syscall.h> /* Definition of SYS_* constants */ #include <unistd.h> int syscall(SYS_kcmp, pid_t pi...
kcore_copy(9)
NAME kcore_copy - copy kallsyms, modules and kcore from one directory to another. SYNOPSIS int kcore_copy (const char *from_dir , const char *to_dir ); ARGUMENTS from_dir from directory to_dir to directory DESCRIPTION This function copies kallsyms, modules and kcore files from one directory to anothe...
kcsan_atomic_next(9)
NAME kcsan_atomic_next - consider following accesses as atomic SYNOPSIS void kcsan_atomic_next (int n ); ARGUMENTS n number of following memory accesses to treat as atomic. DESCRIPTION Force treating the next n memory accesses for the current context as atomic operations. SEE ALSO Kernel file ./include/li...
kcsan_begin_scoped_access(9)
NAME kcsan_begin_scoped_access - begin scoped access SYNOPSIS struct kcsan_scoped_access * kcsan_begin_scoped_access (const volatile void *ptr , size_t size , int type , struct kcsan_scoped_access *sa ); ARGUMENTS ptr address of access size size of access type access type modifie...
kcsan_check_read(9)
NAME kcsan_check_read - check regular read access for races SYNOPSIS kcsan_check_read (ptr , size ); ARGUMENTS ptr address of access size size of access SEE ALSO Kernel file ./include/linux/kcsan-checks.h __kcsan_check_access(9), __kcsan_mb(9), __kcsan_wmb(9), __kcsan_rmb(9), __kcsan_release(9...
kcsan_check_read_write(9)
NAME kcsan_check_read_write - check regular read-write access for races SYNOPSIS kcsan_check_read_write (ptr , size ); ARGUMENTS ptr address of access size size of access SEE ALSO Kernel file ./include/linux/kcsan-checks.h __kcsan_check_access(9), __kcsan_mb(9), __kcsan_wmb(9), __kcsan_rmb(9),...
kcsan_check_write(9)
NAME kcsan_check_write - check regular write access for races SYNOPSIS kcsan_check_write (ptr , size ); ARGUMENTS ptr address of access size size of access SEE ALSO Kernel file ./include/linux/kcsan-checks.h __kcsan_check_access(9), __kcsan_mb(9), __kcsan_wmb(9), __kcsan_rmb(9), __kcsan_releas...
kcsan_disable_current(9)
NAME kcsan_disable_current - disable KCSAN for the current context SYNOPSIS void kcsan_disable_current (void ); ARGUMENTS void no arguments DESCRIPTION Supports nesting. SEE ALSO Kernel file ./include/linux/kcsan-checks.h __kcsan_check_access(9), __kcsan_mb(9), __kcsan_wmb(9), __kcsan_rmb(9), __kcsan_release...
kcsan_enable_current(9)
NAME kcsan_enable_current - re-enable KCSAN for the current context SYNOPSIS void kcsan_enable_current (void ); ARGUMENTS void no arguments DESCRIPTION Supports nesting. SEE ALSO Kernel file ./include/linux/kcsan-checks.h __kcsan_check_access(9), __kcsan_mb(9), __kcsan_wmb(9), __kcsan_rmb(9)...
kcsan_end_scoped_access(9)
NAME kcsan_end_scoped_access - end scoped access SYNOPSIS void kcsan_end_scoped_access (struct kcsan_scoped_access *sa ); ARGUMENTS sa a previously initialized struct kcsan_scoped_access DESCRIPTION End a scoped access, which will stop KCSAN checking the memory range. Requires that kcsan_begin_scoped_acces...
kcsan_flat_atomic_begin(9)
NAME kcsan_flat_atomic_begin - begin flat atomic region SYNOPSIS void kcsan_flat_atomic_begin (void ); ARGUMENTS void no arguments DESCRIPTION Accesses within the atomic region may appear to race with other accesses but should be considered atomic. SEE ALSO Kernel file ./include/linux/kcsan-checks.h __kcsan_...
kcsan_flat_atomic_end(9)
NAME kcsan_flat_atomic_end - end flat atomic region SYNOPSIS void kcsan_flat_atomic_end (void ); ARGUMENTS void no arguments SEE ALSO Kernel file ./include/linux/kcsan-checks.h __kcsan_check_access(9), __kcsan_mb(9), __kcsan_wmb(9), __kcsan_rmb(9), __kcsan_release(9), kcsan_disable_current(9), kcsan_enable_cu...
kcsan_init(9)
NAME kcsan_init - initialize KCSAN runtime SYNOPSIS void kcsan_init (void ); ARGUMENTS void no arguments SEE ALSO Kernel file ./include/linux/kcsan.h April 2026 kcsan_init ...
kcsan_nestable_atomic_begin(9)
NAME kcsan_nestable_atomic_begin - begin nestable atomic region SYNOPSIS void kcsan_nestable_atomic_begin (void ); ARGUMENTS void no arguments DESCRIPTION Accesses within the atomic region may appear to race with other accesses but should be considered atomic. SEE ALSO Kernel file ./include/linux/kcsan-che...
kcsan_nestable_atomic_end(9)
NAME kcsan_nestable_atomic_end - end nestable atomic region SYNOPSIS void kcsan_nestable_atomic_end (void ); ARGUMENTS void no arguments SEE ALSO Kernel file ./include/linux/kcsan-checks.h __kcsan_check_access(9), __kcsan_mb(9), __kcsan_wmb(9), __kcsan_rmb(9), __kcsan_release(9), kcsan_disable_cur...
kcsan_set_access_mask(9)
NAME kcsan_set_access_mask - set access mask SYNOPSIS void kcsan_set_access_mask (unsigned long mask ); ARGUMENTS mask bitmask DESCRIPTION Set the access mask for all accesses for the current context if non-zero. Only value changes to bits set in the mask will be reported. SEE ALSO Kernel file ./include/lin...
kdb_getchar(9)
NAME kdb_getchar - Read a single character from a kdb console (or consoles). SYNOPSIS char kdb_getchar (void ); ARGUMENTS void no arguments DESCRIPTION Other than polling the various consoles that are currently enabled, most of the work done in this function is dealing with escape sequences. An escape key c...
kdb_handle_escape(9)
NAME kdb_handle_escape - validity check on an accumulated escape sequence. SYNOPSIS int kdb_handle_escape (char *buf , size_t sz ); ARGUMENTS buf Accumulated escape characters to be examined. Note that buf is not a string, it is an array of characters and need not be nil terminated. sz Number...
kdb_position_cursor(9)
NAME kdb_position_cursor - Place cursor in the correct horizontal position SYNOPSIS void kdb_position_cursor (char *prompt , char *buffer , char *cp ); ARGUMENTS prompt Nil-terminated string containing the prompt string buffer Nil-terminated string containing the entire command line cp ...
kdb_register(9)
NAME kdb_register - This function is used to register a kernel debugger command. SYNOPSIS int kdb_register (kdbtab_t *cmd ); ARGUMENTS cmd pointer to kdb command DESCRIPTION Note that it's the job of the caller to keep the memory for the cmd allocated until unregister is called. SEE ALSO Kernel file ./kerne...
kdb_register_table(9)
NAME kdb_register_table - This function is used to register a kdb command table. SYNOPSIS void kdb_register_table (kdbtab_t *kp , size_t len ); ARGUMENTS kp pointer to kdb command table len length of kdb command table SEE ALSO Kernel file ./kernel/debug/kdb/kdb_main.c kdb_register(9), kdb_un...
kdb_unregister(9)
NAME kdb_unregister - This function is used to unregister a kernel debugger command. It is generally called when a module which implements kdb command is unloaded. SYNOPSIS void kdb_unregister (kdbtab_t *cmd ); ARGUMENTS cmd pointer to kdb command SEE ALSO Kernel file ./kernel/debug/kdb/kdb_main.c kdb_regist...
kdbnearsym(9)
NAME kdbnearsym - Return the name of the symbol with the nearest address less than @addr. SYNOPSIS int kdbnearsym (unsigned long addr , kdb_symtab_t *symtab ); ARGUMENTS addr Address to check for near symbol symtab Structure to receive results DESCRIPTION WARNING: This function may return a point...
kded6(8)
NAME kded6 - KDE daemon - triggers Sycoca database updates when needed. SYNOPSIS kded6 [--check] DESCRIPTION kded6 consolidates several small services in one process. These are mostly D-Bus services provided by KDED modules, but it also manages sycoca (a binary cache of servicetypes, MIME types and services u...
kdenlive(1)
NAME kdenlive - An open source non-linear video editor. SYNOPSIS kdenlive [Qt-options] [KDE-options] [options] [file] DESCRIPTION Kdenlive is an open source non-linear video editor which supports a large number of formats for editing. It relies on several other open source projects, such as FFmpeg and MLT video fram...
kdenlive_render(1)
NAME kdenlive_render - Render program for Kdenlive. SYNOPSIS kdenlive_render [-erase] [in=pos] [out=pos] [render] [profile] [rendermodule] [player] [src] [dest] [[arg1] [arg2] ...] DESCRIPTION Render program for Kdenlive. Renders kdenlive project detached from Kdenlive, while providing feedback through kuiserver. Th...
kdesu(1)
NAME kdesu - Runs a program with elevated privileges SYNOPSIS kdesu [-c command] [-d] [-f file] [-i icon name] [-n] [-p priority] [-r] [-s] [-t] [-u user] [--noignorebutton] [--attach winid] kdesu [KDE Generic Options] [Qt(TM) Generic Options] DESCRIPTION KDE su is a graphical front end for the UNIX® ...
kdf.1ssl(1)
NAME asn1parse, ca, ciphers, cmp, cms, crl, crl2pkcs7, dgst, dhparam, dsa, dsaparam, ec, ecparam, enc, engine, errstr, gendsa, genpkey, genrsa, info, kdf, mac, nseq, ocsp, passwd, pkcs12, pkcs7, pkcs8, pkey, pkeyparam, pkeyutl, prime, rand, rehash, req, rsa, rsautl, s_client, s_server, s_time, sess_id, smime, speed, sp...
kdump_setup_usable_lmb(9)
NAME kdump_setup_usable_lmb - This is a callback function that gets called by walk_drmem_lmbs for every LMB to set its usable memory ranges. SYNOPSIS int kdump_setup_usable_lmb (struct drmem_lmb *lmb , const __be32 **usm , void *data ); ARGUMENTS lmb LMB info. usm linux,drconf-usable-memory pr...
keepassxc(1)
NAME keepassxc - a modern open-source password manager SYNOPSIS keepassxc [options] [filename(s)] DESCRIPTION KeePassXC is a free/open-source password manager or safe which helps you to manage your passwords in a secure way. The complete database is always encrypted with the industry-standard AES (alias Rijndael) enc...
keepassxc-cli(1)
NAME keepassxc-cli - command line interface for the KeePassXC password manager SYNOPSIS keepassxc-cli command [options] DESCRIPTION keepassxc-cli is the command line interface for the KeePassXC password manager. It provides the ability to query and modify the entries of a KeePass database, directly from the command l...
kempld_get_info(9)
NAME kempld_get_info - update device specific information SYNOPSIS int kempld_get_info (struct kempld_device_data *pld ); ARGUMENTS pld kempld_device_data structure describing the PLD DESCRIPTION This function calls the configured board specific kempld_get_info_XXXX function which is responsible for gatherin...
kempld_get_mutex(9)
NAME kempld_get_mutex - acquire PLD mutex SYNOPSIS void kempld_get_mutex (struct kempld_device_data *pld ); ARGUMENTS pld kempld_device_data structure describing the PLD SEE ALSO Kernel file ./drivers/mfd/kempld-core.c kempld_read8(9), kempld_write8(9), kempld_read16(9), kempld_write16(9), kempld_read32(9), ...
kempld_read16(9)
NAME kempld_read16 - read 16 bit register SYNOPSIS u16 kempld_read16 (struct kempld_device_data *pld , u8 index ); ARGUMENTS pld kempld_device_data structure describing the PLD index register index on the chip DESCRIPTION kempld_get_mutex must be called prior to calling this function. SEE ALSO...
kempld_read32(9)
NAME kempld_read32 - read 32 bit register SYNOPSIS u32 kempld_read32 (struct kempld_device_data *pld , u8 index ); ARGUMENTS pld kempld_device_data structure describing the PLD index register index on the chip DESCRIPTION kempld_get_mutex must be called prior to calling this function. SEE ALSO...
kempld_read8(9)
NAME kempld_read8 - read 8 bit register SYNOPSIS u8 kempld_read8 (struct kempld_device_data *pld , u8 index ); ARGUMENTS pld kempld_device_data structure describing the PLD index register index on the chip DESCRIPTION kempld_get_mutex must be called prior to calling this function. SEE ALSO Ker...
kempld_release_mutex(9)
NAME kempld_release_mutex - release PLD mutex SYNOPSIS void kempld_release_mutex (struct kempld_device_data *pld ); ARGUMENTS pld kempld_device_data structure describing the PLD SEE ALSO Kernel file ./drivers/mfd/kempld-core.c kempld_read8(9), kempld_write8(9), kempld_read16(9), kempld_write16(9), kempld_rea...
kempld_write16(9)
NAME kempld_write16 - write 16 bit register SYNOPSIS void kempld_write16 (struct kempld_device_data *pld , u8 index , u16 data ); ARGUMENTS pld kempld_device_data structure describing the PLD index register index on the chip data new register value DESCRIPTION kempld_get_mutex mu...
kempld_write32(9)
NAME kempld_write32 - write 32 bit register SYNOPSIS void kempld_write32 (struct kempld_device_data *pld , u8 index , u32 data ); ARGUMENTS pld kempld_device_data structure describing the PLD index register index on the chip data new register value DESCRIPTION kempld_get_mutex mu...
kempld_write8(9)
NAME kempld_write8 - write 8 bit register SYNOPSIS void kempld_write8 (struct kempld_device_data *pld , u8 index , u8 data ); ARGUMENTS pld kempld_device_data structure describing the PLD index register index on the chip data new register value DESCRIPTION kempld_get_mutex must b...
kern_path_parent(9)
NAME kern_path_parent - lookup path returning parent and target SYNOPSIS struct dentry * kern_path_parent (const char *name , struct path *path ); ARGUMENTS name path name path path to store parent in DESCRIPTION The path name should end with a normal component, not "." or ".." or "/". A looku...
kern_reserve_flow(9)
NAME kern_reserve_flow - allocate a hardware flow SYNOPSIS int kern_reserve_flow (struct hfi1_ctxtdata *rcd , int last ); ARGUMENTS rcd the context to use for allocation last the index of the preferred flow. Use RXE_NUM_TID_FLOWS to signify "don't care". DESCRIPTION Use a bit mask based allo...
kernel-command-line(7)
NAME kernel-command-line - Kernel command line parameters SYNOPSIS /proc/cmdline DESCRIPTION The kernel, the programs running in the initrd and in the host system may be configured at boot via kernel command line arguments. For command line parameters understood by the kernel, please see kernel-parameters.htm...
kernel_accept(9)
NAME kernel_accept - accept a connection (kernel space) SYNOPSIS int kernel_accept (struct socket *sock , struct socket **newsock , int flags ); ARGUMENTS sock listening socket newsock new connected socket flags flags DESCRIPTION flags must be SOCK_CLOEXEC, SOCK_NONBLOCK or 0. If it...
kernel_bind(9)
NAME kernel_bind - bind an address to a socket (kernel space) SYNOPSIS int kernel_bind (struct socket *sock , struct sockaddr_unsized *addr , int addrlen ); ARGUMENTS sock socket addr address addrlen length of address DESCRIPTION Returns 0 or an error. SEE ALSO Kernel file ./net/...
kernel_can_power_off(9)
NAME kernel_can_power_off - check whether system can be powered off SYNOPSIS bool kernel_can_power_off (void ); ARGUMENTS void no arguments DESCRIPTION Returns true if power-off handler is registered and system can be powered off, false otherwise. SEE ALSO Kernel file ./kernel/reboot.c emergency_restart(9...
kernel_connect(9)
NAME kernel_connect - connect a socket (kernel space) SYNOPSIS int kernel_connect (struct socket *sock , struct sockaddr_unsized *addr , int addrlen , int flags ); ARGUMENTS sock socket addr address addrlen address length flags flags (O_NONBLOCK, ...) DESCRIPTION For d...
kernel_file_open(9)
NAME kernel_file_open - open a file for kernel internal use SYNOPSIS struct file * kernel_file_open (const struct path *path , int flags , const struct cred *cred ); ARGUMENTS path path of the file to open flags open flags cred credentials for open DESCRIPTION Open a file for use ...
kernel_getpeername(9)
NAME kernel_getpeername - get the address which the socket is connected (kernel space) SYNOPSIS int kernel_getpeername (struct socket *sock , struct sockaddr *addr ); ARGUMENTS sock socket addr address holder DESCRIPTION Fills the addr pointer with the address which the socket is connected. Re...
kernel_getsockname(9)
NAME kernel_getsockname - get the address which the socket is bound (kernel space) SYNOPSIS int kernel_getsockname (struct socket *sock , struct sockaddr *addr ); ARGUMENTS sock socket addr address holder DESCRIPTION Fills the addr pointer with the address which the socket is bound. Returns th...
kernel_halt(9)
NAME kernel_halt - halt the system SYNOPSIS void kernel_halt (void ); ARGUMENTS void no arguments DESCRIPTION Shutdown everything and perform a clean system halt. SEE ALSO Kernel file ./kernel/reboot.c emergency_restart(9), register_reboot_notifier(9), unregister_reboot_notifier(9), register_restart_handle...
kernel_listen(9)
NAME kernel_listen - move socket to listening state (kernel space) SYNOPSIS int kernel_listen (struct socket *sock , int backlog ); ARGUMENTS sock socket backlog pending connections queue size DESCRIPTION Returns 0 or an error. SEE ALSO Kernel file ./net/socket.c move_addr_to_kernel(9), move_ad...
kernel_lockdown(7)
NAME kernel_lockdown - kernel image access prevention feature DESCRIPTION The Kernel Lockdown feature is designed to prevent both direct and indirect access to a running kernel image, attempting to protect against unauthorized modification of the kernel image and to prevent access to security and cryptographic data ...
kernel_power_off(9)
NAME kernel_power_off - power_off the system SYNOPSIS void kernel_power_off (void ); ARGUMENTS void no arguments DESCRIPTION Shutdown everything and perform a clean system power_off. SEE ALSO Kernel file ./kernel/reboot.c emergency_restart(9), register_reboot_notifier(9), unregister_reboot_notifier(9), r...
kernel_read_file(9)
NAME kernel_read_file - read file contents into a kernel buffer SYNOPSIS ssize_t kernel_read_file (struct file *file , loff_t offset , void **buf , size_t buf_size , size_t *file_size , enum kernel_read_file_id id ); ARGUMENTS file file to read from offset where to start reading from (see below). ...
kernel_recvmsg(9)
NAME kernel_recvmsg - Receive a message from a socket (kernel space) SYNOPSIS int kernel_recvmsg (struct socket *sock , struct msghdr *msg , struct kvec *vec , size_t num , size_t size , int flags ); ARGUMENTS sock The socket to receive the message from msg Received message vec ...
kernel_restart(9)
NAME kernel_restart - reboot the system SYNOPSIS void kernel_restart (char *cmd ); ARGUMENTS cmd pointer to buffer containing command to execute for restart or NULL DESCRIPTION Shutdown everything and perform a clean reboot. This is not safe to call in interrupt context. SEE ALSO Kernel file ./kernel/reb...
kernel_sendmsg(9)
NAME kernel_sendmsg - send a message through @sock (kernel-space) SYNOPSIS int kernel_sendmsg (struct socket *sock , struct msghdr *msg , struct kvec *vec , size_t num , size_t size ); ARGUMENTS sock socket msg message header vec kernel vec num vec array length ...
kernel_sock_ip_overhead(9)
NAME kernel_sock_ip_overhead - returns the IP overhead imposed by a socket SYNOPSIS u32 kernel_sock_ip_overhead (struct sock *sk ); ARGUMENTS sk socket DESCRIPTION This routine returns the IP overhead imposed by a socket i.e. the length of the underlying IP header, depending on whether this is an IPv4 o...
kernel_sock_shutdown(9)
NAME kernel_sock_shutdown - shut down part of a full-duplex connection (kernel space) SYNOPSIS int kernel_sock_shutdown (struct socket *sock , enum sock_shutdown_cmd how ); ARGUMENTS sock socket how connection part DESCRIPTION Returns 0 or an error. SEE ALSO Kernel file ./net/socket.c move_...
kernel_tid_waiters(9)
NAME kernel_tid_waiters - determine rcd wait SYNOPSIS bool kernel_tid_waiters (struct hfi1_ctxtdata *rcd , struct tid_queue *queue , struct rvt_qp *qp ); ARGUMENTS rcd the receive context queue the queue to operate on qp the head of the qp being processed DESCRIPTION This routi...
kernel_tmpfile_open(9)
NAME kernel_tmpfile_open - open a tmpfile for kernel internal use SYNOPSIS struct file * kernel_tmpfile_open (struct mnt_idmap *idmap , const struct path *parentpath , umode_t mode , int open_flag , const struct cred *cred ); ARGUMENTS idmap idmap of the mount the inode was found from parentpath path o...