id
stringlengths
4
63
text
stringlengths
153
8.81M
sha3_384_init(9)
NAME sha3_384_init - Initialize a context for SHA3-384 SYNOPSIS void sha3_384_init (struct sha3_ctx *ctx ); ARGUMENTS ctx The context to initialize DESCRIPTION This begins a new SHA3-384 message digest computation. CONTEXT Any context. SEE ALSO Kernel file ./include/crypto/sha3.h struct sha3_ctx(9)...
sha3_512(9)
NAME sha3_512 - Compute SHA3-512 digest in one shot SYNOPSIS void sha3_512 (const u8 *in , size_t in_len , u8 out[SHA3_512_DIGEST_SIZE] ); ARGUMENTS in The input data to be digested in_len Length of the input data in bytes out The buffer into which the digest will be stored DESC...
sha3_512_init(9)
NAME sha3_512_init - Initialize a context for SHA3-512 SYNOPSIS void sha3_512_init (struct sha3_ctx *ctx ); ARGUMENTS ctx The context to initialize DESCRIPTION This begins a new SHA3-512 message digest computation. CONTEXT Any context. SEE ALSO Kernel file ./include/crypto/sha3.h struct sha3_ctx(9)...
sha3_final(9)
NAME sha3_final - Finish computing a SHA-3 message digest SYNOPSIS void sha3_final (struct sha3_ctx *ctx , u8 *out ); ARGUMENTS ctx The context to finalize; must have been initialized out (output) The resulting SHA3-224, SHA3-256, SHA3-384, or SHA3-512 message digest, matching the init functio...
sha3_update(9)
NAME sha3_update - Update a SHA-3 digest context with input data SYNOPSIS void sha3_update (struct sha3_ctx *ctx , const u8 *in , size_t in_len ); ARGUMENTS ctx The context to update; must have been initialized in The input data in_len Length of the input data in bytes DESCRIPTI...
sha3_zeroize_ctx(9)
NAME sha3_zeroize_ctx - Zeroize a SHA-3 context SYNOPSIS void sha3_zeroize_ctx (struct sha3_ctx *ctx ); ARGUMENTS ctx The context to zeroize DESCRIPTION This is already called by sha3_final. Call this explicitly when abandoning a context without calling sha3_final. SEE ALSO Kernel file ./include/crypto/s...
sha512(9)
NAME sha512 - Compute SHA-512 message digest in one shot SYNOPSIS void sha512 (const u8 *data , size_t len , u8 out[at_least SHA512_DIGEST_SIZE] ); ARGUMENTS data the message data len the data length in bytes out (output) the resulting SHA-512 message digest CONTEXT Any context...
sha512_final(9)
NAME sha512_final - Finish computing a SHA-512 message digest SYNOPSIS void sha512_final (struct sha512_ctx *ctx , u8 out[at_least SHA512_DIGEST_SIZE] ); ARGUMENTS ctx the context to finalize; must have been initialized out (output) the resulting SHA-512 message digest DESCRIPTION After finis...
sha512_init(9)
NAME sha512_init - Initialize a SHA-512 context for a new message SYNOPSIS void sha512_init (struct sha512_ctx *ctx ); ARGUMENTS ctx the context to initialize DESCRIPTION If you don't need incremental computation, consider sha512 instead. CONTEXT Any context. SEE ALSO Kernel file ./include/crypto/sha2.h st...
sha512_update(9)
NAME sha512_update - Update a SHA-512 context with message data SYNOPSIS void sha512_update (struct sha512_ctx *ctx , const u8 *data , size_t len ); ARGUMENTS ctx the context to update; must have been initialized data the message data len the data length in bytes DESCRIPTION Th...
sha512sum(1)
NAME sha512sum - compute and check SHA512 message digest SYNOPSIS sha512sum [OPTION]... [FILE]... DESCRIPTION Print or check SHA512 (512-bit) checksums. With no FILE, or when FILE is -, read standard input. -b, --binary read in binary mode -c, --check read checksums...
shadow(3)
NAME shadow, getspnam - encrypted password file routines SYNTAX #include <shadow.h> struct spwd *getspent(); struct spwd *getspnam(char *name); void setspent(); void endspent(); struct spwd *fgetspent(FILE *fp); struct spwd *sgetspent(char *cp); int putspent(stru...
shadow(5)
NAME shadow - shadowed password file DESCRIPTION shadow is a file which contains the password information for the system's accounts and optional aging information. This file must not be readable by regular users if password security is to be maintained. Each line of this file contains 9 fields, separat...
shadow_crycb(9)
NAME shadow_crycb - Create a shadow copy of the crycb block SYNOPSIS int shadow_crycb (struct kvm_vcpu *vcpu , struct vsie_page *vsie_page ); ARGUMENTS vcpu a pointer to the virtual CPU vsie_page a pointer to internal date used for the vSIE DESCRIPTION Create a shadow copy of the crycb block and set...
shadow_protect_win(9)
NAME shadow_protect_win - disable updating values from shadow registers at vsync SYNOPSIS void shadow_protect_win (struct s3c_fb_win *win , bool protect ); ARGUMENTS win window to protect registers for protect 1 to protect (disable updates) SEE ALSO Kernel file ./drivers/video/fbdev/s3c-fb.c s...
shake128(9)
NAME shake128 - Compute SHAKE128 in one shot SYNOPSIS void shake128 (const u8 *in , size_t in_len , u8 *out , size_t out_len ); ARGUMENTS in The input data to be used in_len Length of the input data in bytes out The buffer into which the output will be stored out_len ...
shake128_init(9)
NAME shake128_init - Initialize a context for SHAKE128 SYNOPSIS void shake128_init (struct shake_ctx *ctx ); ARGUMENTS ctx The context to initialize DESCRIPTION This begins a new SHAKE128 extendable-output function (XOF) computation. CONTEXT Any context. SEE ALSO Kernel file ./include/crypto/sha3.h stru...
shake256(9)
NAME shake256 - Compute SHAKE256 in one shot SYNOPSIS void shake256 (const u8 *in , size_t in_len , u8 *out , size_t out_len ); ARGUMENTS in The input data to be used in_len Length of the input data in bytes out The buffer into which the output will be stored out_len ...
shake256_init(9)
NAME shake256_init - Initialize a context for SHAKE256 SYNOPSIS void shake256_init (struct shake_ctx *ctx ); ARGUMENTS ctx The context to initialize DESCRIPTION This begins a new SHAKE256 extendable-output function (XOF) computation. CONTEXT Any context. SEE ALSO Kernel file ./include/crypto/sha3.h stru...
shake_squeeze(9)
NAME shake_squeeze - Generate output from SHAKE128 or SHAKE256 SYNOPSIS void shake_squeeze (struct shake_ctx *ctx , u8 *out , size_t out_len ); ARGUMENTS ctx The context to squeeze; must have been initialized out Where to write the resulting output data out_len The amount of data t...
shake_update(9)
NAME shake_update - Update a SHAKE context with input data SYNOPSIS void shake_update (struct shake_ctx *ctx , const u8 *in , size_t in_len ); ARGUMENTS ctx The context to update; must have been initialized in The input data in_len Length of the input data in bytes DESCRIPTION T...
shake_zeroize_ctx(9)
NAME shake_zeroize_ctx - Zeroize a SHAKE context SYNOPSIS void shake_zeroize_ctx (struct shake_ctx *ctx ); ARGUMENTS ctx The context to zeroize DESCRIPTION Call this after the last squeeze. SEE ALSO Kernel file ./include/crypto/sha3.h struct sha3_ctx(9), sha3_zeroize_ctx(9), struct shake_ctx(9), sha3_224_in...
shasum(1)
NAME shasum - Print or Check SHA Checksums SYNOPSIS Usage: shasum [OPTION]... [FILE]... Print or check SHA checksums. With no FILE, or when FILE is -, read standard input. -a, --algorithm 1 (default), 224, 256, 384, 512, 512224, 512256 -b, --binary read in binary mode -c, --check ...
shdma_add_desc(9)
NAME shdma_add_desc - get, set up and return one transfer descriptor SYNOPSIS struct shdma_desc * shdma_add_desc (struct shdma_chan *schan , unsigned long flags , dma_addr_t *dst , dma_addr_t *src , size_t *len , struct shdma_desc **first , enum dma_transfer_direction direction ); ARGUMENTS schan DMA channel ...
shells(5)
NAME shells - pathnames of valid login shells DESCRIPTION /etc/shells is a text file which contains the full pathnames of valid login shells. This file is consulted by chsh(1) and available to be queried by other programs. Be aware that there are programs which consult this file to find out if a user is a nor...
shift(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 shift — shift positional parameters SYNOPSIS shift [n] D...
shm_open(3)
NAME shm_open, shm_unlink - create/open or unlink POSIX shared memory objects LIBRARY Real-time library (librt, -lrt) SYNOPSIS #include <sys/mman.h> #include <sys/stat.h> /* For mode constants */ #include <fcntl.h> /* For O_* constants */ int shm_open(const char *name, int oflag, mode_t mode)...
shm_open(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 shm_open — open a shared memory object (REALTIME) SYNOPSIS #in...
shm_overview(7)
NAME shm_overview - overview of POSIX shared memory DESCRIPTION The POSIX shared memory API allows processes to communicate information by sharing a region of memory. The interfaces employed in the API are: shm_open(3) Create and open a new object, or open an existing object. This is analogous to o...
shm_unlink(3)
NAME shm_open, shm_unlink - create/open or unlink POSIX shared memory objects LIBRARY Real-time library (librt, -lrt) SYNOPSIS #include <sys/mman.h> #include <sys/stat.h> /* For mode constants */ #include <fcntl.h> /* For O_* constants */ int shm_open(const char *name, int oflag, mode_t mode)...
shm_unlink(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 shm_unlink — remove a shared memory object (REALTIME) SYNOPSIS...
shmat(2)
NAME shmat, shmdt - System V shared memory operations LIBRARY Standard C library (libc, -lc) SYNOPSIS #include <sys/shm.h> void *shmat(int shmid, const void *_Nullable shmaddr, int shmflg); int shmdt(const void *shmaddr); DESCRIPTION shmat() shmat() attaches the System V shared memory segment identifi...
shmat(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 shmat — XSI shared memory attach operation SYNOPSIS #include <...
shmctl(2)
NAME shmctl - System V shared memory control LIBRARY Standard C library (libc, -lc) SYNOPSIS #include <sys/shm.h> int shmctl(int shmid, int op, struct shmid_ds *buf); DESCRIPTION shmctl() performs the control operation specified by op on the System V shared memory segment whose identifier is given in shmid. ...
shmctl(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 shmctl — XSI shared memory control operations SYNOPSIS #includ...
shmdt(2)
NAME shmat, shmdt - System V shared memory operations LIBRARY Standard C library (libc, -lc) SYNOPSIS #include <sys/shm.h> void *shmat(int shmid, const void *_Nullable shmaddr, int shmflg); int shmdt(const void *shmaddr); DESCRIPTION shmat() shmat() attaches the System V shared memory segment identifi...
shmdt(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 shmdt — XSI shared memory detach operation SYNOPSIS #include <...
shmem_file_setup(9)
NAME shmem_file_setup - get an unlinked file living in tmpfs SYNOPSIS struct file * shmem_file_setup (const char *name , loff_t size , vma_flags_t flags ); ARGUMENTS name name for dentry (to be seen in /proc/<pid>/maps) size size to be set for the file flags VMA_NORESERVE_BIT suppr...
shmem_file_setup_with_mnt(9)
NAME shmem_file_setup_with_mnt - get an unlinked file living in tmpfs SYNOPSIS struct file * shmem_file_setup_with_mnt (struct vfsmount *mnt , const char *name , loff_t size , vma_flags_t flags ); ARGUMENTS mnt the tmpfs mount where the file will be created name name for dentry (to be seen in /...
shmem_get_folio(9)
NAME shmem_get_folio - find, and lock a shmem folio. SYNOPSIS int shmem_get_folio (struct inode *inode , pgoff_t index , loff_t write_end , struct folio **foliop , enum sgp_type sgp ); ARGUMENTS inode inode to search index the page index. write_end end of a write, could extend inode size...
shmem_kernel_file_setup(9)
NAME shmem_kernel_file_setup - get an unlinked file living in tmpfs which must be kernel internal. There will be NO LSM permission checks against the underlying inode. So users of this interface must do LSM checks at a higher layer. The users are the big_key and shm implementations. LSM checks are provided at the ...
shmem_read_folio_gfp(9)
NAME shmem_read_folio_gfp - read into page cache, using specified page allocation flags. SYNOPSIS struct folio * shmem_read_folio_gfp (struct address_space *mapping , pgoff_t index , gfp_t gfp ); ARGUMENTS mapping the folio's address_space index the folio index gfp the page allocator...
shmem_recalc_inode(9)
NAME shmem_recalc_inode - recalculate the block usage of an inode SYNOPSIS bool shmem_recalc_inode (struct inode *inode , long alloced , long swapped ); ARGUMENTS inode inode to recalc alloced the change in number of pages allocated to inode swapped the change in number of pages swapped ...
shmem_writeout(9)
NAME shmem_writeout - Write the folio to swap SYNOPSIS int shmem_writeout (struct folio *folio , struct swap_iocb **plug , struct list_head *folio_list ); ARGUMENTS folio The folio to write plug swap plug folio_list list to put back folios on split DESCRIPTION Move the folio from the pa...
shmem_zero_setup(9)
NAME shmem_zero_setup - setup a shared anonymous mapping SYNOPSIS int shmem_zero_setup (struct vm_area_struct *vma ); ARGUMENTS vma the vma to be mmapped is prepared by do_mmap RETURN 0 on success, or error SEE ALSO Kernel file ./mm/shmem.c shmem_recalc_inode(9), shmem_writeout(9), shmem_get_folio(9), shmem...
shmem_zero_setup_desc(9)
NAME shmem_zero_setup_desc - same as shmem_zero_setup, but determined by VMA descriptor for convenience. SYNOPSIS int shmem_zero_setup_desc (struct vm_area_desc *desc ); ARGUMENTS desc Describes VMA RETURN 0 on success, or error SEE ALSO Kernel file ./mm/shmem.c shmem_recalc_inode(9), shmem_writeout(9), shme...
shmget(2)
NAME shmget - allocates a System V shared memory segment LIBRARY Standard C library (libc, -lc) SYNOPSIS #include <sys/shm.h> int shmget(key_t key, size_t size, int shmflg); DESCRIPTION shmget() returns the identifier of the System V shared memory segment associated with the value of the argument key. It m...
shmget(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 shmget — get an XSI shared memory segment SYNOPSIS #include <s...
shmop(2)
NAME shmat, shmdt - System V shared memory operations LIBRARY Standard C library (libc, -lc) SYNOPSIS #include <sys/shm.h> void *shmat(int shmid, const void *_Nullable shmaddr, int shmflg); int shmdt(const void *shmaddr); DESCRIPTION shmat() shmat() attaches the System V shared memory segment identifi...
shost_for_each_device(9)
NAME shost_for_each_device - iterate over all devices of a host SYNOPSIS shost_for_each_device (sdev , shost ); ARGUMENTS sdev the struct scsi_device to use as a cursor shost the struct scsi_host to iterate over DESCRIPTION Iterator that returns each device attached to shost. This loop takes a ...
should_disable_udc(9)
NAME should_disable_udc - Tells if UDC should be disabled SYNOPSIS int should_disable_udc (struct pxa_udc *udc ); ARGUMENTS udc udc device CONTEXT any DESCRIPTION The UDC should be disabled if : - the pullup resistor is not connected - or no gadget driver is bound - or no vbus is sensed (when vbus sesing is...
should_enable_udc(9)
NAME should_enable_udc - Tells if UDC should be enabled SYNOPSIS int should_enable_udc (struct pxa_udc *udc ); ARGUMENTS udc udc device CONTEXT any DESCRIPTION The UDC should be enabled if : - the pullup resistor is connected - and a gadget driver is bound - and vbus is sensed (or no vbus sense is available...
should_export_before_import(9)
NAME should_export_before_import - Determine whether an export is needed before an import-like operation. SYNOPSIS bool should_export_before_import (struct uv_cb_header *uvcb , struct mm_struct *mm ); ARGUMENTS uvcb The Ultravisor control block of the UVC to be performed. mm The mm of the proc...
should_restart_tx(9)
NAME should_restart_tx - are there enough resources to restart a Tx queue? SYNOPSIS int should_restart_tx (const struct sge_txq *q ); ARGUMENTS q the Tx queue DESCRIPTION Checks if there are enough descriptors to restart a suspended Tx queue. SEE ALSO Kernel file ./drivers/net/ethernet/chelsio/cxgb3/sge...
should_stop(9)
NAME should_stop - check if the monitor should stop. SYNOPSIS int should_stop (void ); ARGUMENTS void no arguments DESCRIPTION Returns 1 if the monitor should stop, 0 otherwise. SEE ALSO Kernel file ./tools/verification/rv/src/rv.c April 2026 ...
should_use_dmub_inbox1_lock(9)
NAME should_use_dmub_inbox1_lock - Checks if the DMCUB hardware lock via inbox1 should be used. SYNOPSIS bool should_use_dmub_inbox1_lock (const struct dc *dc , const struct dc_link *link ); ARGUMENTS dc pointer to DC object link optional pointer to the link object to check for enabled link fe...
show-pdf-tags(1)
NAME show-pdf-tags - show the internal Structure Tree of a tagged PDF file SYNOPSIS show-pdf-tags [<options>] <PDF-File> DESCRIPTION The show-pdf-tags script shows the internal Structure Tree of a tagged PDF File. The structure may be shown using an indented tree display using Unicode line characters, or as X...
show_all_workqueues(9)
NAME show_all_workqueues - dump workqueue state SYNOPSIS void show_all_workqueues (void ); ARGUMENTS void no arguments DESCRIPTION Called from a sysrq handler and prints out all busy workqueues and pools. SEE ALSO Kernel file ./kernel/workqueue.c for_each_pool(9), for_each_pool_worker(9), for_each_pwq(9), ...
show_dscr_default(9)
NAME show_dscr_default - Fetch the system wide DSCR default SYNOPSIS ssize_t show_dscr_default (struct device *dev , struct device_attribute *attr , char *buf ); ARGUMENTS dev Device structure attr Device attribute structure buf Interface buffer DESCRIPTION This function return...
show_filter(9)
NAME show_filter - shows the current scancode filter value or mask SYNOPSIS ssize_t show_filter (struct device *device , struct device_attribute *attr , char *buf ); ARGUMENTS device the device descriptor attr the device attribute struct buf a pointer to the output buffer DESCRIPT...
show_freezable_workqueues(9)
NAME show_freezable_workqueues - dump freezable workqueue state SYNOPSIS void show_freezable_workqueues (void ); ARGUMENTS void no arguments DESCRIPTION Called from try_to_freeze_tasks and prints out all freezable workqueues still busy. SEE ALSO Kernel file ./kernel/workqueue.c for_each_pool(9), for_each_p...
show_hibernate(9)
NAME show_hibernate - Report device tree update responsibilty SYNOPSIS ssize_t show_hibernate (struct device *dev , struct device_attribute *attr , char *buf ); ARGUMENTS dev subsys root device attr device attribute struct buf buffer DESCRIPTION Report whether a device tree upd...
show_one_worker_pool(9)
NAME show_one_worker_pool - dump state of specified worker pool SYNOPSIS void show_one_worker_pool (struct worker_pool *pool ); ARGUMENTS pool worker pool whose state will be printed SEE ALSO Kernel file ./kernel/workqueue.c for_each_pool(9), for_each_pool_worker(9), for_each_pwq(9), worker_pool_assign_id(9...
show_one_workqueue(9)
NAME show_one_workqueue - dump state of specified workqueue SYNOPSIS void show_one_workqueue (struct workqueue_struct *wq ); ARGUMENTS wq workqueue whose state will be printed SEE ALSO Kernel file ./kernel/workqueue.c for_each_pool(9), for_each_pool_worker(9), for_each_pwq(9), worker_pool_assign_id(9), un...
show_panel.3x(3)
NAME panel - panel stack extension for curses SYNOPSIS #include <panel.h> PANEL *new_panel(WINDOW *win); int bottom_panel(PANEL *pan); int top_panel(PANEL *pan); int show_panel(PANEL *pan); void update_panels(void); int hide_panel(PANEL *pan); WINDOW *panel_window(co...
show_protocols(9)
NAME show_protocols - shows the current IR protocol(s) SYNOPSIS ssize_t show_protocols (struct device *device , struct device_attribute *mattr , char *buf ); ARGUMENTS device the device descriptor mattr the device attribute struct buf a pointer to the output buffer DESCRIPTION This...
show_regs_print_info(9)
NAME show_regs_print_info - print generic debug info for show_regs() SYNOPSIS void show_regs_print_info (const char *log_lvl ); ARGUMENTS log_lvl log level DESCRIPTION show_regs implementations can use this function to print out generic debug information. SEE ALSO Kernel file ./lib/dump_stack.c dump_stack_set_a...
show_wakeup_protocols(9)
NAME show_wakeup_protocols - shows the wakeup IR protocol SYNOPSIS ssize_t show_wakeup_protocols (struct device *device , struct device_attribute *mattr , char *buf ); ARGUMENTS device the device descriptor mattr the device attribute struct buf a pointer to the output buffer DESCRI...
showconsolefont(8)
NAME showconsolefont - Show the current EGA/VGA console screen font SYNOPSIS showconsolefont [options] DESCRIPTION The showconsolefont command outputs the current console font to stdout. On Linux 2.6.1 and later, the option -C allows one to indicate the console involved. Its argument is a pathname. OPTIONS -i, --in...
showkey(1)
NAME showkey - examine the codes sent by the keyboard SYNOPSIS showkey [-h|--help] [-a|--ascii] [-s|--scancodes] [-k|--keycodes] [-V|--version] DESCRIPTION showkey prints to standard output either the scan codes or the keycode or the `ascii' code of each key pressed. In the first two modes the program runs until ...
shpchp_is_native(9)
NAME shpchp_is_native - Check whether a hotplug port is handled by the OS SYNOPSIS bool shpchp_is_native (struct pci_dev *bridge ); ARGUMENTS bridge Hotplug port to check DESCRIPTION Returns true if the given bridge is handled by the native SHPC hotplug driver. SEE ALSO Kernel file ./drivers/pci/pci-acpi.c...
shpchp_pushbutton_thread(9)
NAME shpchp_pushbutton_thread - handle pushbutton events SYNOPSIS void shpchp_pushbutton_thread (struct work_struct *work ); ARGUMENTS work struct work_struct to be handled DESCRIPTION Scheduled procedure to handle blocking stuff for the pushbuttons. Handles all pending events and exits. SEE ALSO Kernel fil...
shred(1)
NAME shred - overwrite a file to hide its contents, and optionally delete it SYNOPSIS shred [OPTION]... FILE... DESCRIPTION Overwrite the specified FILE(s) repeatedly, in order to make it harder for even very expensive hardware probing to recover the data. If FILE is -, shred standard output. Mandator...
shrink_dcache_sb(9)
NAME shrink_dcache_sb - shrink dcache for a superblock SYNOPSIS void shrink_dcache_sb (struct super_block *sb ); ARGUMENTS sb superblock DESCRIPTION Shrink the dcache for the specified super block. This is used to free the dcache before unmounting a file system. SEE ALSO Kernel file ./fs/dcache.c d_drop(9...
shrink_dcache_tree(9)
NAME shrink_dcache_tree - prune dcache SYNOPSIS void shrink_dcache_tree (struct dentry *parent , bool for_umount ); ARGUMENTS parent parent of entries to prune for_umount true if we want to unpin the persistent ones DESCRIPTION Prune the dcache to remove unused children of the parent dentry. SEE ALSO ...
shrink_dpa_allocation(9)
NAME shrink_dpa_allocation - for each dimm in region free n bytes for label_id SYNOPSIS int shrink_dpa_allocation (struct nd_region *nd_region , struct nd_label_id *label_id , resource_size_t n ); ARGUMENTS nd_region the set of dimms to reclaim n bytes from label_id unique identifier for the namespace co...
shrink_liability(9)
NAME shrink_liability - write-back some dirty pages/inodes. SYNOPSIS void shrink_liability (struct ubifs_info *c , int nr_to_write ); ARGUMENTS c UBIFS file-system description object nr_to_write how many dirty pages to write-back DESCRIPTION This function shrinks UBIFS liability by means of writing...
shrink_slab(9)
NAME shrink_slab - shrink slab caches SYNOPSIS unsigned long shrink_slab (gfp_t gfp_mask , int nid , struct mem_cgroup *memcg , int priority ); ARGUMENTS gfp_mask allocation context nid node whose slab caches to target memcg memory cgroup whose slab caches to target priority ...
shrink_tnc(9)
NAME shrink_tnc - shrink TNC tree. SYNOPSIS int shrink_tnc (struct ubifs_info *c , int nr , int age , int *contention ); ARGUMENTS c UBIFS file-system description object nr number of znodes to free age the age of znodes to free contention if any contention, this is ...
shrink_tnc_trees(9)
NAME shrink_tnc_trees - shrink UBIFS TNC trees. SYNOPSIS int shrink_tnc_trees (int nr , int age , int *contention ); ARGUMENTS nr number of znodes to free age the age of znodes to free contention if any contention, this is set to 1 DESCRIPTION This function walks the list of mounted...
sht15_ack(9)
NAME sht15_ack - send a ack SYNOPSIS int sht15_ack (struct sht15_data *data ); ARGUMENTS data sht15 specific data. DESCRIPTION Each byte of data is acknowledged by pulling the data line low for one clock pulse. SEE ALSO Kernel file ./drivers/hwmon/sht15.c struct sht15_temppair(9), struct sht15_data(9), sht15...
sht15_calc_humid(9)
NAME sht15_calc_humid - using last temperature convert raw to humid SYNOPSIS int sht15_calc_humid (struct sht15_data *data ); ARGUMENTS data device state DESCRIPTION This is the temperature compensated version as per section 4.2 of the data sheet. The sensor is assumed to be V3, which is compatible with V4. ...
sht15_calc_temp(9)
NAME sht15_calc_temp - convert the raw reading to a temperature SYNOPSIS int sht15_calc_temp (struct sht15_data *data ); ARGUMENTS data device state DESCRIPTION As per section 4.3 of the data sheet. SEE ALSO Kernel file ./drivers/hwmon/sht15.c struct sht15_temppair(9), struct sht15_data(9), sht15_crc8(9), sh...
sht15_connection_reset(9)
NAME sht15_connection_reset - reset the comms interface SYNOPSIS int sht15_connection_reset (struct sht15_data *data ); ARGUMENTS data sht15 specific data DESCRIPTION This implements section 3.4 of the data sheet SEE ALSO Kernel file ./drivers/hwmon/sht15.c struct sht15_temppair(9), struct sht15_data(9...
sht15_crc8(9)
NAME sht15_crc8 - compute crc8 SYNOPSIS u8 sht15_crc8 (struct sht15_data *data , const u8 *value , int len ); ARGUMENTS data sht15 specific data. value sht15 retrieved data. len Length of retrieved data DESCRIPTION This implements section 2 of the CRC datasheet. SEE ALSO Kernel ...
sht15_end_transmission(9)
NAME sht15_end_transmission - notify device of end of transmission SYNOPSIS int sht15_end_transmission (struct sht15_data *data ); ARGUMENTS data device state. DESCRIPTION This is basically a NAK (single clock pulse, data high). SEE ALSO Kernel file ./drivers/hwmon/sht15.c struct sht15_temppair(9), struct sh...
sht15_humidity_show(9)
NAME sht15_humidity_show - show humidity measurement value in sysfs SYNOPSIS ssize_t sht15_humidity_show (struct device *dev , struct device_attribute *attr , char *buf ); ARGUMENTS dev device. attr device attribute. buf sysfs buffer where measurement values are written to. DES...
sht15_invalidate_voltage(9)
NAME sht15_invalidate_voltage - mark supply voltage invalid when notified by reg SYNOPSIS int sht15_invalidate_voltage (struct notifier_block *nb , unsigned long event , void *ignored ); ARGUMENTS nb associated notification structure event voltage regulator state change event code ignor...
sht15_measurement(9)
NAME sht15_measurement - get a new value from device SYNOPSIS int sht15_measurement (struct sht15_data *data , int command , int timeout_msecs ); ARGUMENTS data device instance specific data command command sent to request value timeout_msecs timeout after which comms are...
sht15_read_byte(9)
NAME sht15_read_byte - Read a byte back from the device SYNOPSIS u8 sht15_read_byte (struct sht15_data *data ); ARGUMENTS data device state. SEE ALSO Kernel file ./drivers/hwmon/sht15.c struct sht15_temppair(9), struct sht15_data(9), sht15_crc8(9), sht15_connection_reset(9), sht15_send_bit(9), sht15_transmiss...
sht15_send_bit(9)
NAME sht15_send_bit - send an individual bit to the device SYNOPSIS void sht15_send_bit (struct sht15_data *data , int val ); ARGUMENTS data device state data val value of bit to be sent SEE ALSO Kernel file ./drivers/hwmon/sht15.c struct sht15_temppair(9), struct sht15_data(9), sht15_crc8(9),...
sht15_send_byte(9)
NAME sht15_send_byte - send a single byte to the device SYNOPSIS void sht15_send_byte (struct sht15_data *data , u8 byte ); ARGUMENTS data device state byte value to be sent SEE ALSO Kernel file ./drivers/hwmon/sht15.c struct sht15_temppair(9), struct sht15_data(9), sht15_crc8(9), sht15_connec...
sht15_send_cmd(9)
NAME sht15_send_cmd - Sends a command to the device. SYNOPSIS int sht15_send_cmd (struct sht15_data *data , u8 cmd ); ARGUMENTS data device state cmd command byte to be sent DESCRIPTION On entry, sck is output low, data is output pull high and the interrupt disabled. SEE ALSO Kernel file ./dr...
sht15_send_status(9)
NAME sht15_send_status - write the status register byte SYNOPSIS int sht15_send_status (struct sht15_data *data , u8 status ); ARGUMENTS data sht15 specific data. status the byte to set the status register with. DESCRIPTION As described in figure 14 and table 5 of the datasheet. SEE ALSO Kernel ...
sht15_soft_reset(9)
NAME sht15_soft_reset - send a soft reset command SYNOPSIS int sht15_soft_reset (struct sht15_data *data ); ARGUMENTS data sht15 specific data. DESCRIPTION As described in section 3.2 of the datasheet. SEE ALSO Kernel file ./drivers/hwmon/sht15.c struct sht15_temppair(9), struct sht15_data(9), sht15_crc8(9),...
sht15_status_show(9)
NAME sht15_status_show - show status information in sysfs SYNOPSIS ssize_t sht15_status_show (struct device *dev , struct device_attribute *attr , char *buf ); ARGUMENTS dev device. attr device attribute. buf sysfs buffer where information is written to. DESCRIPTION Will be cal...
sht15_status_store(9)
NAME sht15_status_store - change heater state via sysfs SYNOPSIS ssize_t sht15_status_store (struct device *dev , struct device_attribute *attr , const char *buf , size_t count ); ARGUMENTS dev device. attr device attribute. buf sysfs buffer to read the new heater state from. ...
sht15_temp_show(9)
NAME sht15_temp_show - show temperature measurement value in sysfs SYNOPSIS ssize_t sht15_temp_show (struct device *dev , struct device_attribute *attr , char *buf ); ARGUMENTS dev device. attr device attribute. buf sysfs buffer where measurement values are written to. DESCRIPT...
sht15_transmission_start(9)
NAME sht15_transmission_start - specific sequence for new transmission SYNOPSIS int sht15_transmission_start (struct sht15_data *data ); ARGUMENTS data device state data DESCRIPTION Timings for this are not documented on the data sheet, so very conservative ones used in implementation. This implements figure ...
sht15_update_measurements(9)
NAME sht15_update_measurements - get updated measures from device if too old SYNOPSIS int sht15_update_measurements (struct sht15_data *data ); ARGUMENTS data device state SEE ALSO Kernel file ./drivers/hwmon/sht15.c struct sht15_temppair(9), struct sht15_data(9), sht15_crc8(9), sht15_connection_reset(9), sht...