id
stringlengths
4
63
text
stringlengths
153
8.81M
readahead_count(9)
NAME readahead_count - The number of pages in this readahead request. SYNOPSIS unsigned int readahead_count (const struct readahead_control *rac ); ARGUMENTS rac The readahead request. SEE ALSO Kernel file ./include/linux/pagemap.h filemap_set_wb_err(9), filemap_check_wb_err(9), filemap_sample_wb_err(9)...
readahead_expand(9)
NAME readahead_expand - Expand a readahead request SYNOPSIS void readahead_expand (struct readahead_control *ractl , loff_t new_start , size_t new_len ); ARGUMENTS ractl The request to be expanded new_start The revised start new_len The revised size of the request DESCRIPTION Attempt to e...
readahead_folio(9)
NAME readahead_folio - Get the next folio to read. SYNOPSIS struct folio * readahead_folio (struct readahead_control *ractl ); ARGUMENTS ractl The current readahead request. CONTEXT The folio is locked. The caller should unlock the folio once all I/O to that folio has completed. RETURN A pointer to the next ...
readahead_index(9)
NAME readahead_index - The index of the first page in this readahead request. SYNOPSIS pgoff_t readahead_index (const struct readahead_control *rac ); ARGUMENTS rac The readahead request. SEE ALSO Kernel file ./include/linux/pagemap.h filemap_set_wb_err(9), filemap_check_wb_err(9), filemap_sample_wb_err...
readahead_length(9)
NAME readahead_length - The number of bytes in this readahead request. SYNOPSIS size_t readahead_length (const struct readahead_control *rac ); ARGUMENTS rac The readahead request. SEE ALSO Kernel file ./include/linux/pagemap.h filemap_set_wb_err(9), filemap_check_wb_err(9), filemap_sample_wb_err(9), f...
readahead_pos(9)
NAME readahead_pos - The byte offset into the file of this readahead request. SYNOPSIS loff_t readahead_pos (const struct readahead_control *rac ); ARGUMENTS rac The readahead request. SEE ALSO Kernel file ./include/linux/pagemap.h filemap_set_wb_err(9), filemap_check_wb_err(9), filemap_sample_wb_err(9)...
readdir(2)
NAME readdir - read directory entry LIBRARY Standard C library (libc, -lc) SYNOPSIS #include <sys/syscall.h> /* Definition of SYS_* constants */ #include <unistd.h> int syscall(SYS_readdir, unsigned int fd, struct old_linux_dirent *dirp, unsigned int count); Note: There is no d...
readdir(3)
NAME readdir - read a directory LIBRARY Standard C library (libc, -lc) SYNOPSIS #include <dirent.h> struct dirent *readdir(DIR *dirp); DESCRIPTION The readdir() function returns a pointer to a dirent structure representing the next directory entry in the directory stream pointed to by dirp. It returns NULL ...
readdir(3p)
PROLOG This manual page is part of the POSIX Programmer's Manual. The Linux implementation of this interface may differ (consult the corresponding Linux manual page for details of Linux behavior), or the interface may not be implemented on Linux. NAME readdir, readdir_r — read a directory SYNOPSIS #include <diren...
readdir.3am(3)
NAME readdir - directory input parser for gawk SYNOPSIS @load "readdir" BEGIN { PROCINFO["readdir_override"] = any_value } # optional DESCRIPTION The readdir extension adds an input parser for directories. When this extension is in use, instead of skipping directories named on the command line (or wi...
readdir_r(3)
NAME readdir_r - read a directory LIBRARY Standard C library (libc, -lc) SYNOPSIS #include <dirent.h> [[deprecated]] int readdir_r(DIR *restrict dirp, struct dirent *restrict entry, struct dirent **restrict result); Feature Test Macro...
readfile.3am(3)
NAME readfile - return the entire contents of a file as a string SYNOPSIS @load "readfile" result = readfile("/some/path") For making whole files be single records: @load "readfile" BEGIN { PROCINFO["readfile"] = 1 } DESCRIPTION The readfile extension adds a single function named readfi...
readlink(1)
NAME readlink - print resolved symbolic links or canonical file names SYNOPSIS readlink [OPTION]... FILE... DESCRIPTION realpath(1) is a better command for canonicalization functionality. Print value of a symbolic link or canonical file name -f, --canonicalize canonicalize by following e...
readlink(2)
NAME readlink, readlinkat - read value of a symbolic link LIBRARY Standard C library (libc, -lc) SYNOPSIS #include <unistd.h> ssize_t readlink(size_t bufsiz; const char *restrict path, char buf[restrict bufsiz], size_t bufsiz); #include <fcntl.h> ...
readlink(3p)
PROLOG This manual page is part of the POSIX Programmer's Manual. The Linux implementation of this interface may differ (consult the corresponding Linux manual page for details of Linux behavior), or the interface may not be implemented on Linux. NAME readlink, readlinkat — read the contents of a symbolic link SY...
readlinkat(2)
NAME readlink, readlinkat - read value of a symbolic link LIBRARY Standard C library (libc, -lc) SYNOPSIS #include <unistd.h> ssize_t readlink(size_t bufsiz; const char *restrict path, char buf[restrict bufsiz], size_t bufsiz); #include <fcntl.h> ...
readonly(1p)
PROLOG This manual page is part of the POSIX Programmer's Manual. The Linux implementation of this interface may differ (consult the corresponding Linux manual page for details of Linux behavior), or the interface may not be implemented on Linux. NAME readonly — set the readonly attribute for variables SYNOP...
readprofile(8)
NAME readprofile - read kernel profiling information SYNOPSIS readprofile [options] VERSION This manpage documents version 2.0 of the program. DESCRIPTION The readprofile command uses the /proc/profile information to print ascii data on standard output. The output is organized in three columns: the first is the numb...
readv(2)
NAME readv, writev, preadv, pwritev, preadv2, pwritev2 - read or write data into multiple buffers LIBRARY Standard C library (libc, -lc) SYNOPSIS #include <sys/uio.h> ssize_t readv(int fd, const struct iovec *iov, int iovcnt); ssize_t writev(int fd, const struct iovec *iov, int iovcnt); ssize_t...
readv(3p)
PROLOG This manual page is part of the POSIX Programmer's Manual. The Linux implementation of this interface may differ (consult the corresponding Linux manual page for details of Linux behavior), or the interface may not be implemented on Linux. NAME readv — read a vector SYNOPSIS #include <sys/uio.h> ss...
readx_poll_timeout(9)
NAME readx_poll_timeout - Periodically poll an address until a condition is met or a timeout occurs SYNOPSIS readx_poll_timeout (op , addr , val , cond , sleep_us , timeout_us ); ARGUMENTS op accessor function (takes addr as its only argument) addr Address to poll val Variable ...
readx_poll_timeout_atomic(9)
NAME readx_poll_timeout_atomic - Periodically poll an address until a condition is met or a timeout occurs SYNOPSIS readx_poll_timeout_atomic (op , addr , val , cond , delay_us , timeout_us ); ARGUMENTS op accessor function (takes addr as its only argument) addr Address to poll val ...
realloc(3)
NAME malloc, free, calloc, realloc, reallocarray - allocate and free dynamic memory LIBRARY Standard C library (libc, -lc) SYNOPSIS #include <stdlib.h> void *malloc(size_t size); void free(void *_Nullable p); void *calloc(size_t n, size_t size); void *realloc(void *_Nullable p, size_t siz...
realloc(3p)
PROLOG This manual page is part of the POSIX Programmer's Manual. The Linux implementation of this interface may differ (consult the corresponding Linux manual page for details of Linux behavior), or the interface may not be implemented on Linux. NAME realloc — memory reallocator SYNOPSIS #include <stdlib.h> ...
realloc_lpt_leb(9)
NAME realloc_lpt_leb - allocate an LPT LEB that is empty. SYNOPSIS int realloc_lpt_leb (struct ubifs_info *c , int *lnum ); ARGUMENTS c UBIFS file-system description object lnum LEB number is passed and returned here DESCRIPTION This function duplicates exactly the results of the function ...
realloc_mem_ranges(9)
NAME realloc_mem_ranges - reallocate mem_ranges with size incremented by MEM_RANGE_CHUNK_SZ. Frees up the old memory, if memory allocation fails. SYNOPSIS struct crash_mem * realloc_mem_ranges (struct crash_mem **mem_ranges ); ARGUMENTS mem_ranges Memory ranges to reallocate. DESCRIPTION Returns pointer to realloca...
reallocarray(3)
NAME malloc, free, calloc, realloc, reallocarray - allocate and free dynamic memory LIBRARY Standard C library (libc, -lc) SYNOPSIS #include <stdlib.h> void *malloc(size_t size); void free(void *_Nullable p); void *calloc(size_t n, size_t size); void *realloc(void *_Nullable p, size_t siz...
reallocate_resource(9)
NAME reallocate_resource - allocate a slot in the resource tree given range & alignment. The resource will be relocated if the new size cannot be reallocated in the current location. SYNOPSIS int reallocate_resource (struct resource *root , struct resource *old , resource_size_t newsize , struct resource_constraint *c...
realpath(1)
NAME realpath - print the resolved path SYNOPSIS realpath [OPTION]... FILE... DESCRIPTION Print the resolved absolute file name. -E, --canonicalize all but the last component must exist (default) -e, --canonicalize-existing all components of the path must exist -m, ...
realpath(3)
NAME realpath - return the canonicalized absolute pathname LIBRARY Standard C library (libc, -lc) SYNOPSIS #include <limits.h> #include <stdlib.h> char *realpath(const char *restrict path, char *restrict resolved_path); Feature Test Macro Requirements for glibc (see feature_test_macr...
realpath(3p)
PROLOG This manual page is part of the POSIX Programmer's Manual. The Linux implementation of this interface may differ (consult the corresponding Linux manual page for details of Linux behavior), or the interface may not be implemented on Linux. NAME realpath — resolve a pathname SYNOPSIS #include <stdlib.h> ...
realtek_mdio_probe(9)
NAME realtek_mdio_probe - Probe a platform device for an MDIO-connected switch SYNOPSIS int realtek_mdio_probe (struct mdio_device *mdiodev ); ARGUMENTS mdiodev mdio_device to probe on. DESCRIPTION This function should be used as the .probe in an mdio_driver. After calling the common probe function for both inte...
realtek_mdio_remove(9)
NAME realtek_mdio_remove - Remove the driver of an MDIO-connected switch SYNOPSIS void realtek_mdio_remove (struct mdio_device *mdiodev ); ARGUMENTS mdiodev mdio_device to be removed. DESCRIPTION This function should be used as the .remove in an mdio_driver. First it unregisters the DSA switch and then it calls ...
realtek_mdio_shutdown(9)
NAME realtek_mdio_shutdown - Shutdown the driver of a MDIO-connected switch SYNOPSIS void realtek_mdio_shutdown (struct mdio_device *mdiodev ); ARGUMENTS mdiodev mdio_device shutting down. DESCRIPTION This function should be used as the .shutdown in a platform_driver. It calls the common shutdown function. CONT...
realtek_smi_probe(9)
NAME realtek_smi_probe - Probe a platform device for an SMI-connected switch SYNOPSIS int realtek_smi_probe (struct platform_device *pdev ); ARGUMENTS pdev platform_device to probe on. DESCRIPTION This function should be used as the .probe in a platform_driver. After calling the common probe function for bot...
realtek_smi_remove(9)
NAME realtek_smi_remove - Remove the driver of a SMI-connected switch SYNOPSIS void realtek_smi_remove (struct platform_device *pdev ); ARGUMENTS pdev platform_device to be removed. DESCRIPTION This function should be used as the .remove in a platform_driver. First it unregisters the DSA switch and then it ca...
realtek_smi_shutdown(9)
NAME realtek_smi_shutdown - Shutdown the driver of a SMI-connected switch SYNOPSIS void realtek_smi_shutdown (struct platform_device *pdev ); ARGUMENTS pdev platform_device shutting down. DESCRIPTION This function should be used as the .shutdown in a platform_driver. It calls the common shutdown function. CO...
reap_recovery_journal(9)
NAME reap_recovery_journal - Conduct a sweep on a recovery journal to reclaim unreferenced blocks. SYNOPSIS void reap_recovery_journal (struct recovery_journal *journal ); ARGUMENTS journal The recovery journal. SEE ALSO Kernel file ./drivers/md/dm-vdo/recovery-journal.c Kernel API(9), get_zone_count_ptr(9),...
reap_recovery_journal_callback(9)
NAME reap_recovery_journal_callback - Attempt to reap the journal. SYNOPSIS void reap_recovery_journal_callback (struct vdo_completion *completion ); ARGUMENTS completion The lock counter completion. DESCRIPTION Attempts to reap the journal now that all the locks on some journal block have been released. This is t...
reap_slab_journal(9)
NAME reap_slab_journal - Conduct a reap on a slab journal to reclaim unreferenced blocks. SYNOPSIS void reap_slab_journal (struct slab_journal *journal ); ARGUMENTS journal The slab journal. SEE ALSO Kernel file ./drivers/md/dm-vdo/slab-depot.c get_lock(9), must_make_entries_to_flush(9), is_reaping(9), initia...
rearm_wake_irq(9)
NAME rearm_wake_irq - rearm a wakeup interrupt line after signaling wakeup SYNOPSIS void rearm_wake_irq (unsigned int irq ); ARGUMENTS irq Interrupt to rearm SEE ALSO Kernel file ./kernel/irq/pm.c suspend_device_irqs(9), irq_pm_syscore_resume(9), resume_device_irqs(9) April 2026 ...
reassign_resources_sorted(9)
NAME reassign_resources_sorted - Satisfy any additional resource requests SYNOPSIS void reassign_resources_sorted (struct list_head *realloc_head , struct list_head *head ); ARGUMENTS realloc_head Head of the list tracking requests requiring additional resources head Head of the list tracking requests ...
rebind_workers(9)
NAME rebind_workers - rebind all workers of a pool to the associated CPU SYNOPSIS void rebind_workers (struct worker_pool *pool ); ARGUMENTS pool pool of interest DESCRIPTION pool->cpu is coming online. Rebind all workers to the CPU. SEE ALSO Kernel file ./kernel/workqueue.c for_each_pool(9), for_each_poo...
reboot(2)
NAME reboot - reboot or enable/disable Ctrl-Alt-Del LIBRARY Standard C library (libc, -lc) SYNOPSIS /* Since Linux 2.1.30 there are symbolic names LINUX_REBOOT_* for the constants and a fourth argument to the call: */ #include <linux/reboot.h> /* Definition of LINUX_REBOOT_* constants */ #include <sys...
reboot(8)
NAME poweroff, reboot, halt - Power off, reboot, or halt the machine SYNOPSIS poweroff [OPTIONS...] reboot [OPTIONS...] halt [OPTIONS...] DESCRIPTION poweroff, reboot, and halt may be used to power off, reboot, or halt the machine. All three commands take the same options. OPTIONS The followi...
reboot_mode_register(9)
NAME reboot_mode_register - register a reboot mode driver SYNOPSIS int reboot_mode_register (struct reboot_mode_driver *reboot ); ARGUMENTS reboot reboot mode driver RETURN 0 on success or a negative error code on failure. SEE ALSO Kernel file ./drivers/power/reset/reboot-mode.c reboot_mode_unregister(9), devm...
reboot_mode_unregister(9)
NAME reboot_mode_unregister - unregister a reboot mode driver SYNOPSIS int reboot_mode_unregister (struct reboot_mode_driver *reboot ); ARGUMENTS reboot reboot mode driver SEE ALSO Kernel file ./drivers/power/reset/reboot-mode.c reboot_mode_register(9), devm_reboot_mode_register(9), devm_reboot_mode_unregister(...
rebuild_from_leaves(9)
NAME rebuild_from_leaves - Rebuild reference counts from the leaf block map pages. SYNOPSIS void rebuild_from_leaves (struct vdo_completion *completion ); ARGUMENTS completion The repair completion. DESCRIPTION Rebuilds reference counts from the leaf block map pages now that reference counts have been rebuilt...
rebuild_reference_counts_from_page(9)
NAME rebuild_reference_counts_from_page - Rebuild reference counts from a block map page. SYNOPSIS void rebuild_reference_counts_from_page (struct repair_completion *repair , struct vdo_completion *completion ); ARGUMENTS repair The repair completion. completion The page completion holding the page. SE...
recalculate_root_clocks(9)
NAME recalculate_root_clocks - recalculate and propagate all root clocks SYNOPSIS void recalculate_root_clocks (void ); ARGUMENTS void no arguments DESCRIPTION Recalculates all root clocks (clocks with no parent), which if the clock's .recalc is set correctly, should also propagate their rates. Called at ini...
recall_eeprom(9)
NAME recall_eeprom - Restore EEPROM data to device RAM SYNOPSIS int recall_eeprom (struct w1_slave *sl ); ARGUMENTS sl slave involved RETURN 0 if success, -kernel error code otherwise SEE ALSO Kernel file ./drivers/w1/slaves/w1_therm.c struct w1_therm_family_converter(9), struct w1_therm_family_data(...
receive_fd(9)
NAME receive_fd - Install received file into file descriptor table SYNOPSIS int receive_fd (struct file *file , int __user *ufd , unsigned int o_flags ); ARGUMENTS file struct file that was received from another process ufd __user pointer to write new fd number to o_flags the O_* fl...
receive_n_bytes(9)
NAME receive_n_bytes - receive n bytes from the EC. SYNOPSIS int receive_n_bytes (struct cros_ec_device *ec_dev , u8 *buf , int n ); ARGUMENTS ec_dev ChromeOS EC device. buf Pointer to the buffer receiving the data. n Number of bytes received. DESCRIPTION Assumes buf is a point...
reciprocal_scale(9)
NAME reciprocal_scale - "scale" a value into range [0, ep_ro) SYNOPSIS u32 reciprocal_scale (u32 val , u32 ep_ro ); ARGUMENTS val value ep_ro right open interval endpoint DESCRIPTION Perform a "reciprocal multiplication" in order to "scale" a value into range [0, ep_ro), where the upper interv...
reclaim_completed_tx(9)
NAME reclaim_completed_tx - reclaims completed TX descriptors SYNOPSIS void reclaim_completed_tx (struct adapter *adapter , struct sge_txq *tq , bool unmap ); ARGUMENTS adapter the adapter tq the TX queue to reclaim completed descriptors from unmap whether the buffers should be unma...
reclaim_completed_tx_imm(9)
NAME reclaim_completed_tx_imm - reclaim completed control-queue Tx descs SYNOPSIS void reclaim_completed_tx_imm (struct sge_txq *q ); ARGUMENTS q the SGE control Tx queue DESCRIPTION This is a variant of cxgb4_reclaim_completed_tx that is used for Tx queues that send only immediate data (presently just the...
reclaimer_writing_to_pcmd(9)
NAME reclaimer_writing_to_pcmd - Query if any enclave page associated with a PCMD page is in process of being reclaimed. SYNOPSIS int reclaimer_writing_to_pcmd (struct sgx_encl *encl , unsigned long start_addr ); ARGUMENTS encl Enclave to which PCMD page belongs start_addr Address of enclave page usin...
recno(3)
NAME recno - record number database access method LIBRARY Standard C library (libc, -lc) SYNOPSIS #include <sys/types.h> #include <db.h> DESCRIPTION Note well: This page documents interfaces provided up until glibc 2.1. Since glibc 2.2, glibc no longer provides these interfaces. Probably, you are looking for the A...
reconfigure_super(9)
NAME reconfigure_super - asks filesystem to change superblock parameters SYNOPSIS int reconfigure_super (struct fs_context *fc ); ARGUMENTS fc The superblock and configuration DESCRIPTION Alters the configuration parameters of a live superblock. SEE ALSO Kernel file ./fs/super.c super_lock(9), alloc_su...
record_vdo(9)
NAME record_vdo - Record the state of the VDO for encoding in the super block. SYNOPSIS void record_vdo (struct vdo *vdo ); ARGUMENTS vdo The vdo. SEE ALSO Kernel file ./drivers/md/dm-vdo/vdo.c Kernel API(9), vdo_initialize_device_registry_once(9), filter_vdos_locked(9), vdo_find_matching(9), initia...
recover_head(9)
NAME recover_head - recover a head. SYNOPSIS int recover_head (struct ubifs_info *c , int lnum , int offs , void *sbuf ); ARGUMENTS c UBIFS file-system description object lnum LEB number of head to recover offs offset of head to recover sbuf LEB-sized buffer to u...
recover_local_statfs(9)
NAME recover_local_statfs - Update the master and local statfs changes for this journal. SYNOPSIS void recover_local_statfs (struct gfs2_jdesc *jd , struct gfs2_log_header_host *head ); ARGUMENTS jd the journal head the journal head DESCRIPTION Previously, statfs updates would be read in fr...
recover_peb(9)
NAME recover_peb - recover from write failure. SYNOPSIS int recover_peb (struct ubi_device *ubi , int pnum , int vol_id , int lnum , const void *buf , int offset , int len ); ARGUMENTS ubi UBI device description object pnum the physical eraseblock to recover vol_id volume ID ...
recovery_process(9)
NAME recovery_process - Trigger a recovery process. SYNOPSIS int recovery_process (struct qed_dev *cdev ); ARGUMENTS cdev Qed dev pointer. RETURN 0 on success, error otherwise. SEE ALSO Kernel file ./include/linux/qed/qed_if.h selftest_interrupt(9), selftest_memory(9), selftest_register(9), selftest_cloc...
recovery_prolog(9)
NAME recovery_prolog - Execute the prolog operations of a recovery process. SYNOPSIS int recovery_prolog (struct qed_dev *cdev ); ARGUMENTS cdev Qed dev pointer. RETURN 0 on success, error otherwise. SEE ALSO Kernel file ./include/linux/qed/qed_if.h selftest_interrupt(9), selftest_memory(9), selftest_reg...
recv(2)
NAME recv, recvfrom, recvmsg - receive a message from a socket LIBRARY Standard C library (libc, -lc) SYNOPSIS #include <sys/socket.h> ssize_t recv(size_t size; int sockfd, void buf[size], size_t size, int flags); ssize_t recvfrom(size_t size; ...
recv(3p)
PROLOG This manual page is part of the POSIX Programmer's Manual. The Linux implementation of this interface may differ (consult the corresponding Linux manual page for details of Linux behavior), or the interface may not be implemented on Linux. NAME recv — receive a message from a connected socket SYNOPSIS #inc...
recv_fixed_cl_msg(9)
NAME recv_fixed_cl_msg - Receive fixed client message SYNOPSIS void recv_fixed_cl_msg (struct ishtp_device *dev , struct ishtp_msg_hdr *ishtp_hdr ); ARGUMENTS dev ISHTP device instance ishtp_hdr received bus message DESCRIPTION Receive and process ISHTP fixed client messages (address == 0) in ISR c...
recv_hbm(9)
NAME recv_hbm - Receive HBM message SYNOPSIS void recv_hbm (struct ishtp_device *dev , struct ishtp_msg_hdr *ishtp_hdr ); ARGUMENTS dev ISHTP device instance ishtp_hdr received bus message DESCRIPTION Receive and process ISHTP bus messages in ISR context. This will schedule work function to proc...
recv_ipc(9)
NAME recv_ipc - Receive and process IPC management messages SYNOPSIS void recv_ipc (struct ishtp_device *dev , uint32_t doorbell_val ); ARGUMENTS dev ishtp device instance doorbell_val doorbell value DESCRIPTION This function runs in ISR context. NOTE Any other mng command tha...
recv_ishtp_cl_msg(9)
NAME recv_ishtp_cl_msg - Receive client message SYNOPSIS void recv_ishtp_cl_msg (struct ishtp_device *dev , struct ishtp_msg_hdr *ishtp_hdr ); ARGUMENTS dev ISHTP device instance ishtp_hdr Pointer to message header DESCRIPTION Receive and dispatch ISHTP client messages. This function executes in IS...
recv_ishtp_cl_msg_dma(9)
NAME recv_ishtp_cl_msg_dma - Receive client message SYNOPSIS void recv_ishtp_cl_msg_dma (struct ishtp_device *dev , void *msg , struct dma_xfer_hbm *hbm ); ARGUMENTS dev ISHTP device instance msg message pointer hbm hbm buffer DESCRIPTION Receive and dispatch ISHTP client mess...
recv_mgmt_msg_handler(9)
NAME recv_mgmt_msg_handler - handler for a message from mgmt cpu SYNOPSIS void recv_mgmt_msg_handler (struct hinic_pf_to_mgmt *pf_to_mgmt , u64 *header , struct hinic_recv_msg *recv_msg ); ARGUMENTS pf_to_mgmt PF to MGMT channel header the header of the message recv_msg received message detai...
recvfrom(2)
NAME recv, recvfrom, recvmsg - receive a message from a socket LIBRARY Standard C library (libc, -lc) SYNOPSIS #include <sys/socket.h> ssize_t recv(size_t size; int sockfd, void buf[size], size_t size, int flags); ssize_t recvfrom(size_t size; ...
recvfrom(3p)
PROLOG This manual page is part of the POSIX Programmer's Manual. The Linux implementation of this interface may differ (consult the corresponding Linux manual page for details of Linux behavior), or the interface may not be implemented on Linux. NAME recvfrom — receive a message from a socket SYNOPSIS #include <...
recvmmsg(2)
NAME recvmmsg - receive multiple messages on a socket LIBRARY Standard C library (libc, -lc) SYNOPSIS #define _GNU_SOURCE /* See feature_test_macros(7) */ #include <sys/socket.h> int recvmmsg(unsigned int n; int sockfd, struct mmsghdr msgvec[n], unsigned int n, ...
recvmsg(2)
NAME recv, recvfrom, recvmsg - receive a message from a socket LIBRARY Standard C library (libc, -lc) SYNOPSIS #include <sys/socket.h> ssize_t recv(size_t size; int sockfd, void buf[size], size_t size, int flags); ssize_t recvfrom(size_t size; ...
recvmsg(3p)
PROLOG This manual page is part of the POSIX Programmer's Manual. The Linux implementation of this interface may differ (consult the corresponding Linux manual page for details of Linux behavior), or the interface may not be implemented on Linux. NAME recvmsg — receive a message from a socket SYNOPSIS #include <s...
recycle_fl_buf(9)
NAME recycle_fl_buf - recycle a free list buffer SYNOPSIS void recycle_fl_buf (struct freelQ *fl , int idx ); ARGUMENTS fl the free list idx index of buffer to recycle DESCRIPTION Recycles the specified buffer on the given free list by adding it at the next available slot on the list. SEE A...
recycle_journal_block(9)
NAME recycle_journal_block - Prepare an in-memory journal block to be reused now that it has been fully committed. SYNOPSIS void recycle_journal_block (struct recovery_journal_block *block ); ARGUMENTS block The block to be recycled. SEE ALSO Kernel file ./drivers/md/dm-vdo/recovery-journal.c Kernel API(9)...
recycle_journal_blocks(9)
NAME recycle_journal_blocks - Recycle any journal blocks which have been fully committed. SYNOPSIS void recycle_journal_blocks (struct recovery_journal *journal ); ARGUMENTS journal The recovery journal to update. SEE ALSO Kernel file ./drivers/md/dm-vdo/recovery-journal.c Kernel API(9), get_zone_count_ptr(9...
recycle_rx_buf(9)
NAME recycle_rx_buf - recycle a receive buffer SYNOPSIS void recycle_rx_buf (struct adapter *adap , struct sge_fl *q , unsigned int idx ); ARGUMENTS adap the adapter q the SGE free list idx index of buffer to recycle DESCRIPTION Recycles the specified buffer on the given free...
redrawwin.3x(3)
NAME doupdate, redrawwin, refresh, wnoutrefresh, wredrawln, wrefresh - refresh curses windows or lines thereupon SYNOPSIS #include <ncursesw/curses.h> int refresh(void); int wrefresh(WINDOW *win); int wnoutrefresh(WINDOW *win); int doupdate(void); int redrawwin(WINDOW *win); ...
reduce_session_slots(9)
NAME reduce_session_slots - reduce the target max-slots of a session if possible SYNOPSIS int reduce_session_slots (struct nfsd4_session *ses , int dec ); ARGUMENTS ses The session to affect dec how much to decrease the target by DESCRIPTION This interface can be used by a shrinker to reduce...
ref_reloc(9)
NAME ref_reloc - kernel relocation offset. SYNOPSIS u64 ref_reloc (struct kmap *kmap ); ARGUMENTS kmap kernel maps and relocation reference symbol DESCRIPTION This function returns the offset of kernel addresses as determined by using the relocation reference symbol i.e. if the kernel has not been relocated t...
ref_reloc_sym_not_found(9)
NAME ref_reloc_sym_not_found - has kernel relocation symbol been found. SYNOPSIS bool ref_reloc_sym_not_found (struct kmap *kmap ); ARGUMENTS kmap kernel maps and relocation reference symbol DESCRIPTION This function returns true if we are dealing with the kernel maps and the relocation reference symbol has n...
ref_tracker_dir_debugfs(9)
NAME ref_tracker_dir_debugfs - create debugfs file for ref_tracker_dir SYNOPSIS void ref_tracker_dir_debugfs (struct ref_tracker_dir *dir ); ARGUMENTS dir ref_tracker_dir to be associated with debugfs file DESCRIPTION In most cases, a debugfs file will be created automatically for every ref_tracker_dir. If ...
ref_tracker_dir_init(9)
NAME ref_tracker_dir_init - initialize a ref_tracker dir SYNOPSIS void ref_tracker_dir_init (struct ref_tracker_dir *dir , unsigned int quarantine_count , const char *class ); ARGUMENTS dir ref_tracker_dir to be initialized quarantine_count max number of entries to be tracked ...
refcount_add(9)
NAME refcount_add - add a value to a refcount SYNOPSIS void refcount_add (int i , refcount_t *r ); ARGUMENTS i the value to add to the refcount r the refcount DESCRIPTION Similar to atomic_add, but will saturate at REFCOUNT_SATURATED and WARN. Provides no memory ordering, it is assumed...
refcount_add_not_zero(9)
NAME refcount_add_not_zero - add a value to a refcount unless it is 0 SYNOPSIS bool refcount_add_not_zero (int i , refcount_t *r ); ARGUMENTS i the value to add to the refcount r the refcount DESCRIPTION Will saturate at REFCOUNT_SATURATED and WARN. Provides no memory ordering, it is a...
refcount_add_not_zero_acquire(9)
NAME refcount_add_not_zero_acquire - add a value to a refcount with acquire ordering unless it is 0 SYNOPSIS bool refcount_add_not_zero_acquire (int i , refcount_t *r ); ARGUMENTS i the value to add to the refcount r the refcount DESCRIPTION Will saturate at REFCOUNT_SATURATED and WARN. ...
refcount_dec(9)
NAME refcount_dec - decrement a refcount SYNOPSIS void refcount_dec (refcount_t *r ); ARGUMENTS r the refcount DESCRIPTION Similar to atomic_dec, it will WARN on underflow and fail to decrement when saturated at REFCOUNT_SATURATED. Provides release memory ordering, such that prior loads and stores are don...
refcount_dec_and_lock(9)
NAME refcount_dec_and_lock - return holding spinlock if able to decrement refcount to 0 SYNOPSIS bool refcount_dec_and_lock (refcount_t *r , spinlock_t *lock ); ARGUMENTS r the refcount lock the spinlock to be locked DESCRIPTION Similar to atomic_dec_and_lock, it will WARN on underflow a...
refcount_dec_and_lock_irqsave(9)
NAME refcount_dec_and_lock_irqsave - return holding spinlock with disabled interrupts if able to decrement refcount to 0 SYNOPSIS bool refcount_dec_and_lock_irqsave (refcount_t *r , spinlock_t *lock , unsigned long *flags ); ARGUMENTS r the refcount lock the spinlock to be locked flag...
refcount_dec_and_mutex_lock(9)
NAME refcount_dec_and_mutex_lock - return holding mutex if able to decrement refcount to 0 SYNOPSIS bool refcount_dec_and_mutex_lock (refcount_t *r , struct mutex *lock ); ARGUMENTS r the refcount lock the mutex to be locked DESCRIPTION Similar to atomic_dec_and_mutex_lock, it will WARN on u...
refcount_dec_and_test(9)
NAME refcount_dec_and_test - decrement a refcount and test if it is 0 SYNOPSIS bool refcount_dec_and_test (refcount_t *r ); ARGUMENTS r the refcount DESCRIPTION Similar to atomic_dec_and_test, it will WARN on underflow and fail to decrement when saturated at REFCOUNT_SATURATED. Provides release memory ...
refcount_dec_if_one(9)
NAME refcount_dec_if_one - decrement a refcount if it is 1 SYNOPSIS bool refcount_dec_if_one (refcount_t *r ); ARGUMENTS r the refcount DESCRIPTION No atomic_t counterpart, it attempts a 1 -> 0 transition and returns the success thereof. Like all decrement operations, it provides release memory order ...
refcount_dec_not_one(9)
NAME refcount_dec_not_one - decrement a refcount if it is not 1 SYNOPSIS bool refcount_dec_not_one (refcount_t *r ); ARGUMENTS r the refcount DESCRIPTION No atomic_t counterpart, it decrements unless the value is 1, in which case it will return false. Was often done like: atomic_add_unless(var, -1, 1) RE...
refcount_inc(9)
NAME refcount_inc - increment a refcount SYNOPSIS void refcount_inc (refcount_t *r ); ARGUMENTS r the refcount to increment DESCRIPTION Similar to atomic_inc, but will saturate at REFCOUNT_SATURATED and WARN. Provides no memory ordering, it is assumed the caller already has a reference on the object. W...
refcount_inc_not_zero(9)
NAME refcount_inc_not_zero - increment a refcount unless it is 0 SYNOPSIS bool refcount_inc_not_zero (refcount_t *r ); ARGUMENTS r the refcount to increment DESCRIPTION Similar to atomic_inc_not_zero, but will saturate at REFCOUNT_SATURATED and WARN. Provides no memory ordering, it is assumed the caller h...