id
stringlengths
4
63
text
stringlengths
153
8.81M
spu2_hash_type(9)
NAME spu2_hash_type - Determine the type of hash operation. SYNOPSIS enum hash_type spu2_hash_type (u32 src_sent ); ARGUMENTS src_sent The number of bytes in the current request that have already been sent to the SPU to be hashed. DESCRIPTION SPU2 always does a FULL hash operation SEE ALSO Kernel file ./driver...
spu2_hash_xlate(9)
NAME spu2_hash_xlate - Convert a hash {alg/mode/type} triple to a SPU2 hash type and mode. SYNOPSIS int spu2_hash_xlate (enum hash_alg hash_alg , enum hash_mode hash_mode , enum hash_type hash_type , enum spu_cipher_type ciph_type , enum spu2_hash_type *spu2_type , enum spu2_hash_mode *spu2_mode ); ARGUMENTS hash_alg...
spu2_payload_length(9)
NAME spu2_payload_length - Given a SPU2 message header, extract the payload length. SYNOPSIS u32 spu2_payload_length (u8 *spu_hdr ); ARGUMENTS spu_hdr Start of SPU message header (FMD) RETURN payload length, in bytes SEE ALSO Kernel file ./drivers/crypto/bcm/spu2.c spu2_cipher_xlate(9), spu2_hash_xlate(9), ...
spu2_request_pad(9)
NAME spu2_request_pad - Create pad bytes at the end of the data. SYNOPSIS void spu2_request_pad (u8 *pad_start , u32 gcm_padding , u32 hash_pad_len , enum hash_alg auth_alg , enum hash_mode auth_mode , unsigned int total_sent , u32 status_padding ); ARGUMENTS pad_start Start of buffer where pad bytes are to be writ...
spu2_response_hdr_len(9)
NAME spu2_response_hdr_len - Determine the expected length of a SPU response header. SYNOPSIS u16 spu2_response_hdr_len (u16 auth_key_len , u16 enc_key_len , bool is_hash ); ARGUMENTS auth_key_len Length of authentication key, in bytes enc_key_len Length of encryption key, in bytes is_hash Unused ...
spu2_rx_status_len(9)
NAME spu2_rx_status_len - Return the length of the STATUS field in a SPU response message. SYNOPSIS u8 spu2_rx_status_len (void ); ARGUMENTS void no arguments RETURN Length of STATUS field in bytes. SEE ALSO Kernel file ./drivers/crypto/bcm/spu2.c spu2_cipher_xlate(9), spu2_hash_xlate(9), spu2_fmd_init(9...
spu2_status_process(9)
NAME spu2_status_process - Process the status from a SPU response message. SYNOPSIS int spu2_status_process (u8 *statp ); ARGUMENTS statp start of STATUS word RETURN 0 - if status is good and response should be processed !0 - status indicates an error and response is invalid SEE ALSO Kernel file ./drivers/c...
spu2_tx_status_len(9)
NAME spu2_tx_status_len - Return the length of the STATUS field in a SPU response message. SYNOPSIS u8 spu2_tx_status_len (void ); ARGUMENTS void no arguments RETURN Length of STATUS field in bytes. SEE ALSO Kernel file ./drivers/crypto/bcm/spu2.c spu2_cipher_xlate(9), spu2_hash_xlate(9), spu2_fmd_init(9...
spu2_wordalign_padlen(9)
NAME spu2_wordalign_padlen - SPU2 does not require padding. SYNOPSIS u32 spu2_wordalign_padlen (u32 data_size ); ARGUMENTS data_size length of data field in bytes RETURN length of status field padding, in bytes (always 0 on SPU2) SEE ALSO Kernel file ./drivers/crypto/bcm/spu2.c spu2_cipher_xlate(9), spu2_hash...
spu2_xts_tweak_in_payload(9)
NAME spu2_xts_tweak_in_payload - Indicate that SPU2 does NOT place the XTS tweak field in the packet payload (it uses IV instead) SYNOPSIS u8 spu2_xts_tweak_in_payload (void ); ARGUMENTS void no arguments RETURN 0 SEE ALSO Kernel file ./drivers/crypto/bcm/spu2.c spu2_cipher_xlate(9), spu2_hash_xlate(9), ...
spu_acquire_saved(9)
NAME spu_acquire_saved - lock spu contex and make sure it is in saved state SYNOPSIS int spu_acquire_saved (struct spu_context *ctx ); ARGUMENTS ctx spu contex to lock SEE ALSO Kernel file ./arch/powerpc/platforms/cell/spufs/context.c spu_release_saved(9) April 2026 ...
spu_activate(9)
NAME spu_activate - find a free spu for a context and execute it SYNOPSIS int spu_activate (struct spu_context *ctx , unsigned long flags ); ARGUMENTS ctx spu context to schedule flags flags (currently ignored) DESCRIPTION Tries to find a free spu to run ctx. If no free spu is available add th...
spu_aead_rx_sg_create(9)
NAME spu_aead_rx_sg_create - Build up the scatterlist of buffers used to receive a SPU response message for an AEAD request. Includes buffers to catch SPU message headers and the response data. SYNOPSIS int spu_aead_rx_sg_create (struct brcm_message *mssg , struct aead_request *req , struct iproc_reqctx_s *rctx , u8 ...
spu_aead_tx_sg_create(9)
NAME spu_aead_tx_sg_create - Build up the scatterlist of buffers used to send a SPU request message for an AEAD request. Includes SPU message headers and the request data. SYNOPSIS int spu_aead_tx_sg_create (struct brcm_message *mssg , struct iproc_reqctx_s *rctx , u8 tx_frag_num , u32 spu_hdr_len , struct scatterlist...
spu_ahash_rx_sg_create(9)
NAME spu_ahash_rx_sg_create - Build up the scatterlist of buffers used to receive a SPU response message for an ahash request. SYNOPSIS int spu_ahash_rx_sg_create (struct brcm_message *mssg , struct iproc_reqctx_s *rctx , u8 rx_frag_num , unsigned int digestsize , u32 stat_pad_len ); ARGUMENTS mssg mailbox mes...
spu_ahash_tx_sg_create(9)
NAME spu_ahash_tx_sg_create - Build up the scatterlist of buffers used to send a SPU request message for an ahash request. Includes SPU message headers and the request data. SYNOPSIS int spu_ahash_tx_sg_create (struct brcm_message *mssg , struct iproc_reqctx_s *rctx , u8 tx_frag_num , u32 spu_hdr_len , unsigned int ha...
spu_bind_context(9)
NAME spu_bind_context - bind spu context to physical spu SYNOPSIS void spu_bind_context (struct spu *spu , struct spu_context *ctx ); ARGUMENTS spu physical spu to bind to ctx context to bind SEE ALSO Kernel file ./arch/powerpc/platforms/cell/spufs/sched.c spu_unbind_context(9), find_vict...
spu_calc_load(9)
NAME spu_calc_load - update the avenrun load estimates. SYNOPSIS void spu_calc_load (void ); ARGUMENTS void no arguments DESCRIPTION No locking against reading these values from userspace, as for the CPU loadavg code. SEE ALSO Kernel file ./arch/powerpc/platforms/cell/spufs/sched.c spu_bind_context(9), spu_...
spu_chunk_cleanup(9)
NAME spu_chunk_cleanup - Do cleanup after processing one chunk of a request SYNOPSIS void spu_chunk_cleanup (struct iproc_reqctx_s *rctx ); ARGUMENTS rctx request context DESCRIPTION Mailbox scatterlists are allocated for each chunk. So free them after processing each chunk. SEE ALSO Kernel file ./drivers/...
spu_create(2)
NAME spu_create - create a new spu context LIBRARY Standard C library (libc, -lc) SYNOPSIS #include <sys/spu.h> /* Definition of SPU_* constants */ #include <sys/syscall.h> /* Definition of SYS_* constants */ #include <unistd.h> int syscall(SYS_spu_create, const char *path, unsigned int flags, ...
spu_deactivate(9)
NAME spu_deactivate - unbind a context from its physical spu SYNOPSIS void spu_deactivate (struct spu_context *ctx ); ARGUMENTS ctx spu context to unbind DESCRIPTION Unbind ctx from the physical spu it is running on and schedule the highest priority context to run on the freed physical spu. SEE ALSO Kernel ...
spu_functions_register(9)
NAME spu_functions_register - Specify hardware-specific SPU functions based on SPU type read from device tree. SYNOPSIS void spu_functions_register (struct device *dev , enum spu_spu_type spu_type , enum spu_spu_subtype spu_subtype ); ARGUMENTS dev device structure spu_type SPU hardware generation ...
spu_hmac_outer_hash(9)
NAME spu_hmac_outer_hash - Request synchonous software compute of the outer hash for an HMAC request. SYNOPSIS int spu_hmac_outer_hash (struct ahash_request *req , struct iproc_ctx_s *ctx ); ARGUMENTS req The HMAC request from the crypto API ctx The session context RETURN 0 if synchronous has...
spu_mb_init(9)
NAME spu_mb_init - Initialize mailbox client. Request ownership of a mailbox channel for the SPU being probed. SYNOPSIS int spu_mb_init (struct device *dev ); ARGUMENTS dev SPU driver device structure RETURN 0 if successful < 0 otherwise SEE ALSO Kernel file ./drivers/crypto/bcm/cipher.c select_channel(9...
spu_msg_sg_add(9)
NAME spu_msg_sg_add - Copy scatterlist entries from one sg to another, up to a given length. SYNOPSIS u32 spu_msg_sg_add (struct scatterlist **to_sg , struct scatterlist **from_sg , u32 *from_skip , u8 from_nents , u32 length ); ARGUMENTS to_sg scatterlist to copy to from_sg scatterlist to copy from...
spu_no_incr_hash(9)
NAME spu_no_incr_hash - Determine whether incremental hashing is supported. SYNOPSIS bool spu_no_incr_hash (struct iproc_ctx_s *ctx ); ARGUMENTS ctx Crypto session context DESCRIPTION SPU-2 does not support incremental hashing (we'll have to revisit and condition based on chip revision or device tree entry i...
spu_release_saved(9)
NAME spu_release_saved - unlock spu context and return it to the runqueue SYNOPSIS void spu_release_saved (struct spu_context *ctx ); ARGUMENTS ctx context to unlock SEE ALSO Kernel file ./arch/powerpc/platforms/cell/spufs/context.c spu_acquire_saved(9) April 2026 ...
spu_req_incl_icv(9)
NAME spu_req_incl_icv - Return true if SPU request message should include the ICV as a separate buffer. SYNOPSIS bool spu_req_incl_icv (enum spu_cipher_mode cipher_mode , bool is_encrypt ); ARGUMENTS cipher_mode the cipher mode being requested is_encrypt true if encrypting. false if decrypting. RETURN true ...
spu_restore(9)
NAME spu_restore - SPU context restore, with harvest and locking. SYNOPSIS int spu_restore (struct spu_state *new , struct spu *spu ); ARGUMENTS new pointer to SPU context save area, to be restored. spu pointer to SPU iomem structure. DESCRIPTION Perform harvest + restore, as we may not be co...
spu_run(2)
NAME spu_run - execute an SPU context LIBRARY Standard C library (libc, -lc) SYNOPSIS #include <sys/spu.h> /* Definition of SPU_* constants */ #include <sys/syscall.h> /* Definition of SYS_* constants */ #include <unistd.h> int syscall(SYS_spu_run, int fd, uint32_t *npc, uint32_t *event); ...
spu_rx_callback(9)
NAME spu_rx_callback - Callback from mailbox framework with a SPU response. SYNOPSIS void spu_rx_callback (struct mbox_client *cl , void *msg ); ARGUMENTS cl mailbox client structure for SPU driver msg mailbox message containing SPU response SEE ALSO Kernel file ./drivers/crypto/bcm/cipher...
spu_save(9)
NAME spu_save - SPU context save, with locking. SYNOPSIS int spu_save (struct spu_state *prev , struct spu *spu ); ARGUMENTS prev pointer to SPU context save area, to be saved. spu pointer to SPU iomem structure. DESCRIPTION Acquire locks, perform the save operation then return. SEE ALSO Kern...
spu_sg_at_offset(9)
NAME spu_sg_at_offset - Find the scatterlist entry at a given distance from the start of a scatterlist. SYNOPSIS int spu_sg_at_offset (struct scatterlist *sg , unsigned int skip , struct scatterlist **sge , unsigned int *sge_offset ); ARGUMENTS sg [in] Start of a scatterlist skip [in] Distan...
spu_sg_count(9)
NAME spu_sg_count - Determine number of elements in scatterlist to provide a specified number of bytes. SYNOPSIS int spu_sg_count (struct scatterlist *sg_list , unsigned int skip , int nbytes ); ARGUMENTS sg_list scatterlist to examine skip index of starting point nbytes consider eleme...
spu_skcipher_rx_sg_create(9)
NAME spu_skcipher_rx_sg_create - Build up the scatterlist of buffers used to receive a SPU response message for an skcipher request. Includes buffers to catch SPU message headers and the response data. SYNOPSIS int spu_skcipher_rx_sg_create (struct brcm_message *mssg , struct iproc_reqctx_s *rctx , u8 rx_frag_num , un...
spu_skcipher_tx_sg_create(9)
NAME spu_skcipher_tx_sg_create - Build up the scatterlist of buffers used to send a SPU request message for an skcipher request. Includes SPU message headers and the request data. SYNOPSIS int spu_skcipher_tx_sg_create (struct brcm_message *mssg , struct iproc_reqctx_s *rctx , u8 tx_frag_num , unsigned int chunksize ,...
spu_unbind_context(9)
NAME spu_unbind_context - unbind spu context from physical spu SYNOPSIS void spu_unbind_context (struct spu *spu , struct spu_context *ctx ); ARGUMENTS spu physical spu to unbind from ctx context to unbind SEE ALSO Kernel file ./arch/powerpc/platforms/cell/spufs/sched.c spu_bind_context(9)...
spu_unschedule(9)
NAME spu_unschedule - remove a context from a spu, and possibly release it. SYNOPSIS void spu_unschedule (struct spu *spu , struct spu_context *ctx , int free_spu ); ARGUMENTS spu The SPU to unschedule from ctx The context currently scheduled on the SPU free_spu Whether to free the SPU for ...
spu_yield(9)
NAME spu_yield - yield a physical spu if others are waiting SYNOPSIS void spu_yield (struct spu_context *ctx ); ARGUMENTS ctx spu context to yield DESCRIPTION Check if there is a higher priority context waiting and if yes unbind ctx from the physical spu and schedule the highest priority context to run on th...
spufs(7)
NAME spufs - SPU filesystem DESCRIPTION The SPU filesystem is used on PowerPC machines that implement the Cell Broadband Engine Architecture in order to access Synergistic Processor Units (SPUs). The filesystem provides a name space similar to POSIX shared memory or message queues. Users that have write permi...
spum_aead_ivlen(9)
NAME spum_aead_ivlen - Calculate the length of the AEAD IV to be included in a SPU request after the AAD and before the payload. SYNOPSIS u8 spum_aead_ivlen (enum spu_cipher_mode cipher_mode , u16 iv_len ); ARGUMENTS cipher_mode cipher mode iv_len initialization vector length in bytes DESCRIPTION In Lin...
spum_assoc_resp_len(9)
NAME spum_assoc_resp_len - Determine the size of the receive buffer required to catch associated data. SYNOPSIS u32 spum_assoc_resp_len (enum spu_cipher_mode cipher_mode , unsigned int assoc_len , unsigned int iv_len , bool is_encrypt ); ARGUMENTS cipher_mode cipher mode assoc_len length of associated data ...
spum_ccm_update_iv(9)
NAME spum_ccm_update_iv - Update the IV as per the requirements for CCM mode. SYNOPSIS void spum_ccm_update_iv (unsigned int digestsize , struct spu_cipher_parms *cipher_parms , unsigned int assoclen , unsigned int chunksize , bool is_encrypt , bool is_esp ); ARGUMENTS digestsize Digest size of this request ...
spum_cipher_req_finish(9)
NAME spum_cipher_req_finish - Finish building a SPU request message header for a block cipher request. Assumes much of the header was already filled in at setkey() time in spu_cipher_req_init(). SYNOPSIS void spum_cipher_req_finish (u8 *spu_hdr , u16 spu_req_hdr_len , unsigned int is_inbound , struct spu_cipher_parms ...
spum_cipher_req_init(9)
NAME spum_cipher_req_init - Build a SPU request message header, up to and including the BD header. SYNOPSIS u16 spum_cipher_req_init (u8 *spu_hdr , struct spu_cipher_parms *cipher_parms ); ARGUMENTS spu_hdr Start of SPU request header (MH) cipher_parms Parameters that describe the ciphe...
spum_create_request(9)
NAME spum_create_request - Build a SPU request message header, up to and including the BD header. Construct the message starting at spu_hdr. Caller should allocate this buffer in DMA-able memory at least SPU_HEADER_ALLOC_LEN bytes long. SYNOPSIS u32 spum_create_request (u8 *spu_hdr , struct spu_request_opts *req_opt...
spum_digest_size(9)
NAME spum_digest_size - Determine the size of a hash digest to expect the SPU to return. SYNOPSIS u32 spum_digest_size (u32 alg_digest_size , enum hash_alg alg , enum hash_type htype ); ARGUMENTS alg_digest_size Number of bytes in the final digest for the given algo alg The hash algorithm htyp...
spum_gcm_ccm_pad_len(9)
NAME spum_gcm_ccm_pad_len - Determine the required length of GCM or CCM padding. SYNOPSIS u32 spum_gcm_ccm_pad_len (enum spu_cipher_mode cipher_mode , unsigned int data_size ); ARGUMENTS cipher_mode Algo type data_size Length of plaintext (bytes) RETURN Length of padding, in bytes SEE ALSO Kernel file ....
spum_hash_pad_len(9)
NAME spum_hash_pad_len - Calculate the length of hash padding required to extend data to a full block size. SYNOPSIS u16 spum_hash_pad_len (enum hash_alg hash_alg , enum hash_mode hash_mode , u32 chunksize , u16 hash_block_size ); ARGUMENTS hash_alg hash algorithm hash_mode hash mode chunksize ...
spum_hash_type(9)
NAME spum_hash_type - Determine the type of hash operation. SYNOPSIS enum hash_type spum_hash_type (u32 src_sent ); ARGUMENTS src_sent The number of bytes in the current request that have already been sent to the SPU to be hashed. DESCRIPTION We do not use HASH_TYPE_FULL for requests that fit in a single SPU m...
spum_ns2_ctx_max_payload(9)
NAME spum_ns2_ctx_max_payload - Determine the max length of the payload for a SPU message for a given cipher and hash alg context. SYNOPSIS u32 spum_ns2_ctx_max_payload (enum spu_cipher_alg cipher_alg , enum spu_cipher_mode cipher_mode , unsigned int blocksize ); ARGUMENTS cipher_alg The cipher algorithm cip...
spum_nsp_ctx_max_payload(9)
NAME spum_nsp_ctx_max_payload - Determine the max length of the payload for a SPU message for a given cipher and hash alg context. SYNOPSIS u32 spum_nsp_ctx_max_payload (enum spu_cipher_alg cipher_alg , enum spu_cipher_mode cipher_mode , unsigned int blocksize ); ARGUMENTS cipher_alg The cipher algorithm cip...
spum_request_pad(9)
NAME spum_request_pad - Create pad bytes at the end of the data. SYNOPSIS void spum_request_pad (u8 *pad_start , u32 gcm_ccm_padding , u32 hash_pad_len , enum hash_alg auth_alg , enum hash_mode auth_mode , unsigned int total_sent , u32 status_padding ); ARGUMENTS pad_start Start of buffer where pad bytes are to be ...
spum_response_hdr_len(9)
NAME spum_response_hdr_len - Given the length of the hash key and encryption key, determine the expected length of a SPU response header. SYNOPSIS u16 spum_response_hdr_len (u16 auth_key_len , u16 enc_key_len , bool is_hash ); ARGUMENTS auth_key_len authentication key length (bytes) enc_key_len encryption key...
spum_rx_status_len(9)
NAME spum_rx_status_len - Return the length of the STATUS field in a SPU response message. SYNOPSIS u8 spum_rx_status_len (void ); ARGUMENTS void no arguments RETURN Length of STATUS field in bytes. SEE ALSO Kernel file ./drivers/crypto/bcm/spu.c spum_ns2_ctx_max_payload(9), spum_nsp_ctx_max_payload(9), ...
spum_status_process(9)
NAME spum_status_process - Process the status from a SPU response message. SYNOPSIS int spum_status_process (u8 *statp ); ARGUMENTS statp start of STATUS word RETURN 0 - if status is good and response should be processed !0 - status indicates an error and response is invalid SEE ALSO Kernel file ./drivers/c...
spum_tx_status_len(9)
NAME spum_tx_status_len - Return the length of the STATUS field in a SPU response message. SYNOPSIS u8 spum_tx_status_len (void ); ARGUMENTS void no arguments RETURN Length of STATUS field in bytes. SEE ALSO Kernel file ./drivers/crypto/bcm/spu.c spum_ns2_ctx_max_payload(9), spum_nsp_ctx_max_payload(9), ...
spum_wordalign_padlen(9)
NAME spum_wordalign_padlen - Given the length of a data field, determine the padding required to align the data following this field on a 4-byte boundary. SYNOPSIS u32 spum_wordalign_padlen (u32 data_size ); ARGUMENTS data_size length of data field in bytes RETURN length of status field padding, in bytes SEE ALSO...
spum_xts_tweak_in_payload(9)
NAME spum_xts_tweak_in_payload - Indicate that SPUM DOES place the XTS tweak field in the packet payload (rather than using IV) SYNOPSIS u8 spum_xts_tweak_in_payload (void ); ARGUMENTS void no arguments RETURN 1 SEE ALSO Kernel file ./drivers/crypto/bcm/spu.c spum_ns2_ctx_max_payload(9), spum_nsp_ctx_max...
sq_flush_range(9)
NAME sq_flush_range - Flush (prefetch) a specific SQ range SYNOPSIS void sq_flush_range (unsigned long start , unsigned int len ); ARGUMENTS start the store queue address to start flushing from len the length to flush DESCRIPTION Flushes the store queue cache from start to start + len in a line...
sq_prepare_db(9)
NAME sq_prepare_db - prepare doorbell to write SYNOPSIS u32 sq_prepare_db (struct hinic_sq *sq , u16 prod_idx , unsigned int cos ); ARGUMENTS sq send queue prod_idx pi value for the doorbell cos cos of the doorbell DESCRIPTION Return db value SEE ALSO Kernel file ./drivers/net/...
sq_remap(9)
NAME sq_remap - Map a physical address through the Store Queues SYNOPSIS unsigned long sq_remap (unsigned long phys , unsigned int size , const char *name , pgprot_t prot ); ARGUMENTS phys Physical address of mapping. size Length of mapping. name User invoking mapping. pro...
sq_to_td(9)
NAME sq_to_td - return throtl_data the specified service queue belongs to SYNOPSIS struct throtl_data * sq_to_td (struct throtl_service_queue *sq ); ARGUMENTS sq the throtl_service_queue of interest DESCRIPTION A service_queue can be embedded in either a throtl_grp or throtl_data. Determine the associated ...
sq_to_tg(9)
NAME sq_to_tg - return the throl_grp the specified service queue belongs to SYNOPSIS struct throtl_grp * sq_to_tg (struct throtl_service_queue *sq ); ARGUMENTS sq the throtl_service_queue of interest DESCRIPTION Return the throtl_grp sq belongs to. If sq is the top-level one embedded in throtl_data, NULL i...
sq_unmap(9)
NAME sq_unmap - Unmap a Store Queue allocation SYNOPSIS void sq_unmap (unsigned long vaddr ); ARGUMENTS vaddr Pre-allocated Store Queue mapping. DESCRIPTION Unmaps the store queue allocation map that was previously created by sq_remap. Also frees up the pte that was previously inserted into the kernel page tab...
sqlformat(1)
NAME sqlformat - reformat SQL SYNOPSIS sqlformat [ OPTION ] ... [ FILE ] ... DESCRIPTION The `sqlformat' command-line tool can be used to reformat SQL file according to specified options or prepare a snippet in in some programming language (only Python and PHP currently supported). Use "-" for FILE to read from st...
sqlite3(1)
NAME sqlite3 - A command line interface for SQLite version 3 SYNOPSIS sqlite3 [options] [databasefile] [SQL] SUMMARY sqlite3 is a terminal-based front-end to the SQLite library that can evaluate queries interactively and display the results in multiple formats. sqlite3 can also be used within shell scripts and o...
sqrt(3)
NAME sqrt, sqrtf, sqrtl - square root function LIBRARY Math library (libm, -lm) SYNOPSIS #include <math.h> double sqrt(double x); float sqrtf(float x); long double sqrtl(long double x); Feature Test Macro Requirements for glibc (see feature_test_macros(7)): sqrtf(), sqrtl(): ...
sqrt(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 sqrt, sqrtf, sqrtl — square root function SYNOPSIS #include <m...
sqrtf(3)
NAME sqrt, sqrtf, sqrtl - square root function LIBRARY Math library (libm, -lm) SYNOPSIS #include <math.h> double sqrt(double x); float sqrtf(float x); long double sqrtl(long double x); Feature Test Macro Requirements for glibc (see feature_test_macros(7)): sqrtf(), sqrtl(): ...
sqrtl(3)
NAME sqrt, sqrtf, sqrtl - square root function LIBRARY Math library (libm, -lm) SYNOPSIS #include <math.h> double sqrt(double x); float sqrtf(float x); long double sqrtl(long double x); Feature Test Macro Requirements for glibc (see feature_test_macros(7)): sqrtf(), sqrtl(): ...
sr_configure_errgen(9)
NAME sr_configure_errgen - Configures the SmartReflex to perform AVS using the error generator module. SYNOPSIS int sr_configure_errgen (struct omap_sr *sr ); ARGUMENTS sr SR module to be configured. DESCRIPTION This API is to be called from the smartreflex class driver to configure the error generator modu...
sr_configure_minmax(9)
NAME sr_configure_minmax - Configures the SmartReflex to perform AVS using the minmaxavg module. SYNOPSIS int sr_configure_minmax (struct omap_sr *sr ); ARGUMENTS sr SR module to be configured. DESCRIPTION This API is to be called from the smartreflex class driver to configure the minmaxavg module inside ...
sr_disable(9)
NAME sr_disable - Disables the smartreflex module. SYNOPSIS void sr_disable (struct omap_sr *sr ); ARGUMENTS sr pointer to which the SR module to be configured belongs to. DESCRIPTION This API is to be called from the smartreflex class driver to disable a smartreflex module. SEE ALSO Kernel file ./drivers/...
sr_disable_errgen(9)
NAME sr_disable_errgen - Disables SmartReflex AVS module's errgen component SYNOPSIS int sr_disable_errgen (struct omap_sr *sr ); ARGUMENTS sr SR module to be configured. DESCRIPTION This API is to be called from the smartreflex class driver to disable the error generator module inside the smartreflex modul...
sr_enable(9)
NAME sr_enable - Enables the smartreflex module. SYNOPSIS int sr_enable (struct omap_sr *sr , unsigned long volt ); ARGUMENTS sr pointer to which the SR module to be configured belongs to. volt The voltage at which the Voltage domain associated with the smartreflex module is operating at. Thi...
sr_register_class(9)
NAME sr_register_class - API to register a smartreflex class parameters. SYNOPSIS int sr_register_class (struct omap_sr_class_data *class_data ); ARGUMENTS class_data The structure containing various sr class specific data. DESCRIPTION This API is to be called by the smartreflex class driver to register itself with...
sram_exec_copy(9)
NAME sram_exec_copy - copy data to a protected executable region of sram SYNOPSIS void * sram_exec_copy (struct gen_pool *pool , void *dst , void *src , size_t size ); ARGUMENTS pool struct gen_pool retrieved that is part of this sram dst Destination address for the copy, that must be inside po...
srand(3)
NAME rand, rand_r, srand - pseudo-random number generator LIBRARY Standard C library (libc, -lc) SYNOPSIS #include <stdlib.h> int rand(void); void srand(unsigned int seed); [[deprecated]] int rand_r(unsigned int *seedp); Feature Test Macro Requirements for glibc (see feature_test_macros(7))...
srand(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 srand — pseudo-random number generator SYNOPSIS #include <stdl...
srand48(3)
NAME drand48, erand48, lrand48, nrand48, mrand48, jrand48, srand48, seed48, lcong48 - generate uniformly distributed pseudo-random numbers LIBRARY Standard C library (libc, -lc) SYNOPSIS #include <stdlib.h> double drand48(void); double erand48(unsigned short xsubi[3]); long lrand48(void); ...
srand48(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 srand48 — seed the uniformly distributed double-precision pseud...
srand48_r(3)
NAME drand48_r, erand48_r, lrand48_r, nrand48_r, mrand48_r, jrand48_r, srand48_r, seed48_r, lcong48_r - generate uniformly distributed pseudo-random numbers reentrantly LIBRARY Standard C library (libc, -lc) SYNOPSIS #include <stdlib.h> int drand48_r(struct drand48_data *restrict buffer, ...
srandom(3)
NAME random, srandom, initstate, setstate - random number generator LIBRARY Standard C library (libc, -lc) SYNOPSIS #include <stdlib.h> long random(void); void srandom(unsigned int seed); char *initstate(size_t n; unsigned int seed, char state[n], size_t n); char *...
srandom(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 srandom — seed pseudo-random number generator SYNOPSIS #includ...
srandom_r(3)
NAME random_r, srandom_r, initstate_r, setstate_r - reentrant random number generator LIBRARY Standard C library (libc, -lc) SYNOPSIS #include <stdlib.h> int random_r(struct random_data *restrict buf, int32_t *restrict result); int srandom_r(unsigned int seed, struct random_data *bu...
src_sync_cmd(9)
NAME src_sync_cmd - send a command and wait SYNOPSIS int src_sync_cmd (struct aac_dev *dev , u32 command , u32 p1 , u32 p2 , u32 p3 , u32 p4 , u32 p5 , u32 p6 , u32 *status , u32 * r1 , u32 * r2 , u32 * r3 , u32 * r4 ); ARGUMENTS dev Adapter command Command to execute p1 first par...
srcredact(1)
NAME srcredact - a program for redaction of text files SYNOPSIS srcredact [OPTIONS] -e audience [full_file] srcredact [OPTIONS] -u audience full_file [redacted_file] srcredact -l [full_file] srcredact -h|-v DESCRIPTION srcredact is the program to extract “redacted versions” of the master file ...
srcu_barrier(9)
NAME srcu_barrier - Wait until all in-flight call_srcu() callbacks complete. SYNOPSIS void srcu_barrier (struct srcu_struct *ssp ); ARGUMENTS ssp srcu_struct on which to wait for in-flight callbacks. SEE ALSO Kernel file ./kernel/rcu/srcutree.c init_srcu_struct(9), init_srcu_struct_fast(9), init_srcu_str...
srcu_batches_completed(9)
NAME srcu_batches_completed - return batches completed. SYNOPSIS unsigned long srcu_batches_completed (struct srcu_struct *ssp ); ARGUMENTS ssp srcu_struct on which to report batch completion. DESCRIPTION Report the number of batches, correlated with, but not necessarily precisely the same as, the number of ...
srcu_dereference(9)
NAME srcu_dereference - fetch SRCU-protected pointer for later dereferencing SYNOPSIS srcu_dereference (p , ssp ); ARGUMENTS p the pointer to fetch and protect for later dereferencing ssp pointer to the srcu_struct, which is used to check that we really are in an SRCU read-side critical sect...
srcu_dereference_check(9)
NAME srcu_dereference_check - fetch SRCU-protected pointer for later dereferencing SYNOPSIS srcu_dereference_check (p , ssp , c ); ARGUMENTS p the pointer to fetch and protect for later dereferencing ssp pointer to the srcu_struct, which is used to check that we really are in an SRCU read-si...
srcu_dereference_notrace(9)
NAME srcu_dereference_notrace - no tracing and no lockdep calls from here SYNOPSIS srcu_dereference_notrace (p , ssp ); ARGUMENTS p the pointer to fetch and protect for later dereferencing ssp pointer to the srcu_struct, which is used to check that we really are in an SRCU read-side critical...
srcu_down_read(9)
NAME srcu_down_read - register a new reader for an SRCU-protected structure. SYNOPSIS int srcu_down_read (struct srcu_struct *ssp ); ARGUMENTS ssp srcu_struct in which to register the new reader. DESCRIPTION Enter a semaphore-like SRCU read-side critical section. Note that SRCU read-side critical secti...
srcu_down_read_fast(9)
NAME srcu_down_read_fast - register a new reader for an SRCU-protected structure. SYNOPSIS struct srcu_ctr __percpu * srcu_down_read_fast (struct srcu_struct *ssp ); ARGUMENTS ssp srcu_struct in which to register the new reader. DESCRIPTION Enter a semaphore-like SRCU read-side critical section, but f...
srcu_expedite_current(9)
NAME srcu_expedite_current - Expedite the current SRCU grace period SYNOPSIS void srcu_expedite_current (struct srcu_struct *ssp ); ARGUMENTS ssp srcu_struct to expedite. DESCRIPTION Cause the current SRCU grace period to become expedited. The grace period following the current one might also be expedit...
srcu_init_notifier_head(9)
NAME srcu_init_notifier_head - Initialize an SRCU notifier head SYNOPSIS void srcu_init_notifier_head (struct srcu_notifier_head *nh ); ARGUMENTS nh Pointer to head of the srcu notifier chain DESCRIPTION Unlike other sorts of notifier heads, SRCU notifier heads require dynamic initialization. Be sure to...
srcu_notifier_call_chain(9)
NAME srcu_notifier_call_chain - Call functions in an SRCU notifier chain SYNOPSIS int srcu_notifier_call_chain (struct srcu_notifier_head *nh , unsigned long val , void *v ); ARGUMENTS nh Pointer to head of the SRCU notifier chain val Value passed unmodified to notifier function v ...
srcu_notifier_chain_register(9)
NAME srcu_notifier_chain_register - Add notifier to an SRCU notifier chain SYNOPSIS int srcu_notifier_chain_register (struct srcu_notifier_head *nh , struct notifier_block *n ); ARGUMENTS nh Pointer to head of the SRCU notifier chain n New entry in notifier chain DESCRIPTION Adds a notifie...
srcu_notifier_chain_unregister(9)
NAME srcu_notifier_chain_unregister - Remove notifier from an SRCU notifier chain SYNOPSIS int srcu_notifier_chain_unregister (struct srcu_notifier_head *nh , struct notifier_block *n ); ARGUMENTS nh Pointer to head of the SRCU notifier chain n Entry to remove from notifier chain DESCRIPTI...