id
stringlengths
4
63
text
stringlengths
153
8.81M
subsys_param_cb(9)
NAME subsys_param_cb - general callback for a module/cmdline parameter to be evaluated before subsys initcall level SYNOPSIS subsys_param_cb (name , ops , arg , perm ); ARGUMENTS name a valid C identifier which is the parameter name. ops the set & get operations for this parameter. arg ...
subsys_system_register(9)
NAME subsys_system_register - register a subsystem at /sys/devices/system/ SYNOPSIS int subsys_system_register (const struct bus_type *subsys , const struct attribute_group **groups ); ARGUMENTS subsys system subsystem groups default attributes for the root device DESCRIPTION All 'system' subsyste...
subsys_virtual_register(9)
NAME subsys_virtual_register - register a subsystem at /sys/devices/virtual/ SYNOPSIS int subsys_virtual_register (const struct bus_type *subsys , const struct attribute_group **groups ); ARGUMENTS subsys virtual subsystem groups default attributes for the root device DESCRIPTION All 'virtual' subs...
subuid(5)
NAME subuid - the configuration for subordinate user ids DESCRIPTION Subuid authorizes a user id to map ranges of user ids from its namespace into child namespaces. The delegation of the subordinate uids can be configured via the subid field in /etc/nsswitch.conf file. Only one value can be set as the delegati...
subvp_drr_schedulable(9)
NAME subvp_drr_schedulable - Determine if SubVP + DRR config is schedulable SYNOPSIS bool subvp_drr_schedulable (struct dc *dc , struct dc_state *context ); ARGUMENTS dc current dc state context new dc state DESCRIPTION High level algorithm: 1. Get timing for SubVP pipe, phantom pipe, and DRR ...
subvp_subvp_admissable(9)
NAME subvp_subvp_admissable - Determine if subvp + subvp config is admissible SYNOPSIS bool subvp_subvp_admissable (struct dc *dc , struct dc_state *context ); ARGUMENTS dc Current DC state context New DC state to be programmed DESCRIPTION SubVP + SubVP is admissible under the following conditio...
subvp_subvp_schedulable(9)
NAME subvp_subvp_schedulable - Determine if SubVP + SubVP config is schedulable SYNOPSIS bool subvp_subvp_schedulable (struct dc *dc , struct dc_state *context ); ARGUMENTS dc current dc state context new dc state DESCRIPTION High level algorithm: 1. Find longest microschedule length (in us) b...
subvp_validate_static_schedulability(9)
NAME subvp_validate_static_schedulability - Check which SubVP case is calculated and handle static analysis based on the case. SYNOPSIS bool subvp_validate_static_schedulability (struct dc *dc , struct dc_state *context , int vlevel ); ARGUMENTS dc current dc state context new dc state vl...
subvp_vblank_schedulable(9)
NAME subvp_vblank_schedulable - Determine if SubVP + VBLANK config is schedulable SYNOPSIS bool subvp_vblank_schedulable (struct dc *dc , struct dc_state *context ); ARGUMENTS dc current dc state context new dc state DESCRIPTION High level algorithm: 1. Get timing for SubVP pipe, phantom pipe, ...
subwin.3x(3)
NAME newwin, delwin, mvwin, subwin, derwin, mvderwin, dupwin, wsyncup, syncok, wcursyncup, wsyncdown - create and manipulate curses windows SYNOPSIS #include <ncursesw/curses.h> WINDOW *newwin( int nlines, int ncols, int begin_y, int begin_x); int delwin(WINDOW *win); in...
sudo(8)
NAME sudo, sudoedit — execute a command as another user SYNOPSIS sudo -h | -K | -k | -V sudo -v [-ABkNnS] [-g group] [-h host] [-p prompt] [-u user] sudo -l [-ABkNnS] [-g group] [-h host] [-p prompt] [-U user] [-u user] [command [arg ...]] sudo [-ABbEHnPS] [-C num] [-D directory] [-g group] [-h host] [-p prompt] [-R d...
sudo.conf(5)
NAME sudo.conf — configuration for sudo front-end DESCRIPTION The sudo.conf file is used to configure the sudo front-end. It is used to configure sudo plugins, plugin-agnostic path names, debug flags, and other settings. The sudo.conf file supports the following directives, described in detail below. ...
sudo_logsrv.proto(5)
NAME sudo_logsrv.proto — Sudo log server protocol DESCRIPTION Starting with version 1.9.0, sudo supports sending event and I/O logs to a log server. The protocol used is written in Google's Protocol Buffers domain specific language. The “EXAMPLES” section includes a complete de‐ scription of the protocol in Protoc...
sudo_logsrvd(8)
NAME sudo_logsrvd — sudo event and I/O log server SYNOPSIS sudo_logsrvd [-hnV] [-f file] [-R percentage] DESCRIPTION sudo_logsrvd is a high-performance log server that accepts event and I/O logs from sudo. It can be used to implement centralized logging of sudo logs. The server has two modes of operation: local and...
sudo_logsrvd.conf(5)
NAME sudo_logsrvd.conf — configuration for sudo_logsrvd DESCRIPTION The sudo_logsrvd.conf file is used to configure the sudo_logsrvd log server. It uses an INI-style format made up of sections in square brackets and “key = value” pairs specific to each section below the section name. Depending on the key, values ...
sudo_plugin(5)
NAME sudo_plugin — Sudo Plugin API DESCRIPTION Starting with version 1.8, sudo supports a plugin API for policy and session logging. Plugins may be compiled as dynamic shared objects (the default on systems that support them) or compiled statically into the sudo bi‐ nary itself. By default, the sudoers plugin provi...
sudo_sendlog(8)
NAME sudo_sendlog — send sudo I/O log to log server SYNOPSIS sudo_sendlog [-AnV] [-b ca_bundle] [-c cert_file] [-h host] [-i iolog-id] [-k key_file] [-p port] [-r restart-point] [-R reject-reason] [-s stop-point] [-t number] path DESCRIPTION sudo_sendlog can be used to send the existing sudoers I/O log path to a remo...
sudoedit(8)
NAME sudo, sudoedit — execute a command as another user SYNOPSIS sudo -h | -K | -k | -V sudo -v [-ABkNnS] [-g group] [-h host] [-p prompt] [-u user] sudo -l [-ABkNnS] [-g group] [-h host] [-p prompt] [-U user] [-u user] [command [arg ...]] sudo [-ABbEHnPS] [-C num] [-D directory] [-g group] [-h host] [-p prompt] [-R d...
sudoers(5)
NAME sudoers — default sudo security policy plugin DESCRIPTION The sudoers policy plugin determines a user's sudo privileges. It is the default sudo policy plugin. The policy is driven by the /etc/sudoers file or, optionally, in LDAP. The policy format is described in detail in the “SUDOERS FILE FORMAT” section....
sudoers_timestamp(5)
NAME sudoers_timestamp — Sudoers Time Stamp Format DESCRIPTION The sudoers plugin uses per-user-ID time stamp files for credential caching. Once a user has been authenticated, they may use sudo without a password for a short period of time (5 minutes unless overridden by the timestamp_timeout option). By def...
sudoreplay(8)
NAME sudoreplay — replay sudo session logs SYNOPSIS sudoreplay [-FhnRS] [-d dir] [-f filter] [-m num] [-s num] ID[@offset] sudoreplay [-h] [-d dir] -l [search expression] DESCRIPTION sudoreplay plays back or lists the output logs created by sudo. When replaying, sudoreplay can play the session back in rea...
suexec(8)
NAME suexec - Switch user before executing external programs SYNOPSIS suexec -V SUMMARY suexec is used by the Apache HTTP Server to switch to another user before executing CGI programs. In order to achieve this, it must run as root. Since the HTTP daemon normally doesn't run as root, the suexec executable needs th...
suffixes(7)
NAME suffixes - list of file suffixes DESCRIPTION It is customary to indicate the contents of a file with the file suffix, which (typically) consists of a period, followed by one or more letters. Many standard utilities, such as compilers, use this to recognize the type of file they are dealing with. The make(1) uti...
sugov_iowait_apply(9)
NAME sugov_iowait_apply - Apply the IO boost to a CPU. SYNOPSIS unsigned long sugov_iowait_apply (struct sugov_cpu *sg_cpu , u64 time , unsigned long max_cap ); ARGUMENTS sg_cpu the sugov data for the cpu to boost time the update time from the caller max_cap the max CPU capacity DESCR...
sugov_iowait_boost(9)
NAME sugov_iowait_boost - Updates the IO boost status of a CPU. SYNOPSIS void sugov_iowait_boost (struct sugov_cpu *sg_cpu , u64 time , unsigned int flags ); ARGUMENTS sg_cpu the sugov data for the CPU to boost time the update time from the caller flags SCHED_CPUFREQ_IOWAIT if the ta...
sugov_iowait_reset(9)
NAME sugov_iowait_reset - Reset the IO boost status of a CPU. SYNOPSIS bool sugov_iowait_reset (struct sugov_cpu *sg_cpu , u64 time , bool set_iowait_boost ); ARGUMENTS sg_cpu the sugov data for the CPU to boost time the update time from the caller set_iowait_boost true ...
sulogin(8)
NAME sulogin - single-user login SYNOPSIS sulogin [options] [tty] DESCRIPTION sulogin is invoked by init when the system goes into single-user mode. The user is prompted: Give root password for system maintenance (or type Control-D for normal startup): If the root account is locked and --force...
sum(1)
NAME sum - checksum and count the blocks in a file SYNOPSIS sum [OPTION]... [FILE]... DESCRIPTION Print or check BSD (16-bit) checksums. With no FILE, or when FILE is -, read standard input. -r use BSD sum algorithm (the default), use 1K blocks -s, --sysv use System V sum alg...
sumo_pm_init_profile(9)
NAME sumo_pm_init_profile - Initialize power profiles callback. SYNOPSIS void sumo_pm_init_profile (struct radeon_device *rdev ); ARGUMENTS rdev radeon_device pointer DESCRIPTION Initialize the power states used in profile mode (sumo, trinity, SI). Used for profile mode only. SEE ALSO Kernel file ./drivers/...
sun4i_usb_phy_set_squelch_detect(9)
NAME sun4i_usb_phy_set_squelch_detect - Enable/disable squelch detect SYNOPSIS void sun4i_usb_phy_set_squelch_detect (struct phy *phy , bool enabled ); ARGUMENTS phy reference to a sun4i usb phy enabled whether to enable or disable squelch detect SEE ALSO Kernel file ./include/linux/phy/phy-sun4i...
sun50i_cpufreq_get_efuse(9)
NAME sun50i_cpufreq_get_efuse - Determine speed grade from efuse value SYNOPSIS int sun50i_cpufreq_get_efuse (void ); ARGUMENTS void no arguments DESCRIPTION Returns non-negative speed bin index on success, a negative error value otherwise. SEE ALSO Kernel file ./drivers/cpufreq/sun50i-cpufreq-nvmem.c dt_has...
sun7i_a20_gmac_clk_setup(9)
NAME sun7i_a20_gmac_clk_setup - Setup function for A20/A31 GMAC clock module SYNOPSIS void sun7i_a20_gmac_clk_setup (struct device_node *node ); ARGUMENTS node struct device_node for the clock DESCRIPTION This clock looks something like this ________________________ MII TX clock from PHY >-----|___________ ...
sun9i_a80_cpus_setup(9)
NAME sun9i_a80_cpus_setup - Setup function for a80 cpus composite clk SYNOPSIS void sun9i_a80_cpus_setup (struct device_node *node ); ARGUMENTS node struct device_node for the clock SEE ALSO Kernel file ./drivers/clk/sunxi/clk-sun9i-cpus.c April 2026 ...
sunrpc_get_pool_mode(9)
NAME sunrpc_get_pool_mode - get the current pool_mode for the host SYNOPSIS int sunrpc_get_pool_mode (char *buf , size_t size ); ARGUMENTS buf where to write the current pool_mode size size of buf DESCRIPTION Grab the current pool_mode from the svc_pool_map and write the resulting string to bu...
sunxi_ccu_get_mmc_timing_mode(9)
NAME sunxi_ccu_get_mmc_timing_mode - Get the current MMC clock timing mode SYNOPSIS int sunxi_ccu_get_mmc_timing_mode (struct clk *clk ); ARGUMENTS clk clock to query RETURN 0 if the clock is in old timing mode, > 0 if it is in new timing mode, and -ENOTSUPP if the clock does not support this function. SEE ...
sunxi_ccu_set_mmc_timing_mode(9)
NAME sunxi_ccu_set_mmc_timing_mode - Configure the MMC clock timing mode SYNOPSIS int sunxi_ccu_set_mmc_timing_mode (struct clk *clk , bool new_mode ); ARGUMENTS clk clock to be configured new_mode true for new timing mode introduced in A83T and later RETURN 0 on success, -ENOTSUPP if the clock do...
sunxi_engine_apply_color_correction(9)
NAME sunxi_engine_apply_color_correction - Apply the RGB2YUV color correction SYNOPSIS void sunxi_engine_apply_color_correction (struct sunxi_engine *engine ); ARGUMENTS engine pointer to the engine DESCRIPTION This functionality is optional for an engine, however, if the engine is intended to be used with T...
sunxi_engine_commit(9)
NAME sunxi_engine_commit - commit all changes of the engine SYNOPSIS void sunxi_engine_commit (struct sunxi_engine *engine , struct drm_crtc *crtc , struct drm_atomic_state *state ); ARGUMENTS engine pointer to the engine crtc pointer to crtc the engine is associated with state atomi...
sunxi_engine_disable_color_correction(9)
NAME sunxi_engine_disable_color_correction - Disable the color space correction SYNOPSIS void sunxi_engine_disable_color_correction (struct sunxi_engine *engine ); ARGUMENTS engine pointer to the engine DESCRIPTION This function is paired with apply_color_correction. SEE ALSO Kernel file ./drivers/gpu/drm/sun4...
sunxi_engine_layers_init(9)
NAME sunxi_engine_layers_init - Create planes (layers) for the engine SYNOPSIS struct drm_plane ** sunxi_engine_layers_init (struct drm_device *drm , struct sunxi_engine *engine ); ARGUMENTS drm pointer to the drm_device for which planes will be created engine pointer to the engine SEE ALSO Kern...
sunxi_engine_mode_set(9)
NAME sunxi_engine_mode_set - Inform engine of a new mode SYNOPSIS void sunxi_engine_mode_set (struct sunxi_engine *engine , const struct drm_display_mode *mode ); ARGUMENTS engine pointer to the engine mode new mode DESCRIPTION Engine can use this functionality to set specifics once per mode chan...
sunxi_rsb_device_create(9)
NAME sunxi_rsb_device_create - allocate and add an RSB device SYNOPSIS struct sunxi_rsb_device * sunxi_rsb_device_create (struct sunxi_rsb *rsb , struct device_node *node , u16 hwaddr , u8 rtaddr ); ARGUMENTS rsb RSB controller node RSB slave device node hwaddr RSB slave hardware a...
sunxi_rsb_device_unregister(9)
NAME sunxi_rsb_device_unregister - unregister an RSB device SYNOPSIS void sunxi_rsb_device_unregister (struct sunxi_rsb_device *rdev ); ARGUMENTS rdev rsb_device to be removed SEE ALSO Kernel file ./drivers/bus/sunxi-rsb.c sunxi_rsb_device_create(9), sunxi_rsb_driver_register(9) April 2026 ...
sunxi_rsb_driver_register(9)
NAME sunxi_rsb_driver_register - Register device driver with RSB core SYNOPSIS int sunxi_rsb_driver_register (struct sunxi_rsb_driver *rdrv ); ARGUMENTS rdrv device driver to be associated with slave-device. DESCRIPTION This API will register the client driver with the RSB framework. It is typically called f...
sunxi_rsb_driver_unregister(9)
NAME sunxi_rsb_driver_unregister - unregister an RSB client driver SYNOPSIS void sunxi_rsb_driver_unregister (struct sunxi_rsb_driver *rdrv ); ARGUMENTS rdrv the driver to unregister SEE ALSO Kernel file ./include/linux/sunxi-rsb.h struct sunxi_rsb_device(9), struct sunxi_rsb_driver(9), devm_regmap_init_sunxi...
sunxi_usb_clk_setup(9)
NAME sunxi_usb_clk_setup - Setup function for usb gate clocks SYNOPSIS void sunxi_usb_clk_setup (struct device_node *node , const struct usb_clk_data *data , spinlock_t *lock ); ARGUMENTS node struct device_node for the clock data struct usb_clk_data for the clock lock spinlock fo...
super_lock(9)
NAME super_lock - wait for superblock to become ready and lock it SYNOPSIS bool super_lock (struct super_block *sb , bool excl ); ARGUMENTS sb superblock to wait for excl whether exclusive access is required DESCRIPTION If the superblock has neither passed through vfs_get_tree or generic_shut...
surface3_spi_get_gpio_config(9)
NAME surface3_spi_get_gpio_config - Get GPIO config from ACPI/DT SYNOPSIS int surface3_spi_get_gpio_config (struct surface3_ts_data *data ); ARGUMENTS data surface3_spi_ts_data pointer SEE ALSO Kernel file ./drivers/input/touchscreen/surface3_spi.c April 2026 ...
survey_child_resources(9)
NAME survey_child_resources - Total all MMIO requirements SYNOPSIS void survey_child_resources (struct hv_pcibus_device *hbus ); ARGUMENTS hbus Root PCI bus, as understood by this driver SEE ALSO Kernel file ./drivers/pci/controller/pci-hyperv.c struct hv_msi_desc(9), struct hv_msi_desc2(9), struct tra...
suseconds_t(3type)
NAME time_t, suseconds_t, useconds_t - integer time LIBRARY Standard C library (libc) SYNOPSIS #include <time.h> typedef /* ... */ time_t; #include <sys/types.h> typedef /* ... */ suseconds_t; typedef /* ... */ useconds_t; DESCRIPTION time_t Used for time in seconds. According to P...
suspend_callback(9)
NAME suspend_callback - Callback to initiate a suspend, registered in vdo_postsuspend(). SYNOPSIS void suspend_callback (struct vdo_completion *completion ); ARGUMENTS completion The sub-task completion. SEE ALSO Kernel file ./drivers/md/dm-vdo/dm-vdo-target.c free_device_config(9), get_version_number(9), ...
suspend_device_irqs(9)
NAME suspend_device_irqs - disable all currently enabled interrupt lines SYNOPSIS void suspend_device_irqs (void ); ARGUMENTS void no arguments DESCRIPTION During system-wide suspend or hibernation device drivers need to be prevented from receiving interrupts and this function is provided for this purpose. S...
suspend_devices_and_enter(9)
NAME suspend_devices_and_enter - Suspend devices and enter system sleep state. SYNOPSIS int suspend_devices_and_enter (suspend_state_t state ); ARGUMENTS state System sleep state to enter. SEE ALSO Kernel file ./kernel/power/suspend.c pm_suspend_default_s2idle(9), suspend_set_ops(9), suspend_valid_only_mem(9),...
suspend_enter(9)
NAME suspend_enter - Make the system enter the given sleep state. SYNOPSIS int suspend_enter (suspend_state_t state , bool *wakeup ); ARGUMENTS state System sleep state to enter. wakeup Returns information that the sleep state should not be re-entered. DESCRIPTION This function should be called af...
suspend_finish(9)
NAME suspend_finish - Clean up before finishing the suspend sequence. SYNOPSIS void suspend_finish (void ); ARGUMENTS void no arguments DESCRIPTION Call platform code to clean up, restart processes, and free the console that we've allocated. This routine is not called for hibernation. SEE ALSO Kernel file ./...
suspend_index(9)
NAME suspend_index - Suspend the UDS index prior to draining hash zones. SYNOPSIS void suspend_index (void *context , struct vdo_completion *completion ); ARGUMENTS context Not used. completion The completion for the suspend operation. DESCRIPTION Implements vdo_action_preamble_fn SEE ALSO Kernel file...
suspend_lock_counter(9)
NAME suspend_lock_counter - Prevent the lock counter from notifying. SYNOPSIS bool suspend_lock_counter (struct lock_counter *counter ); ARGUMENTS counter The counter. RETURN True if the lock counter was not notifying and hence the suspend was efficacious. SEE ALSO Kernel file ./drivers/md/dm-vdo/recovery-jou...
suspend_nvs_alloc(9)
NAME suspend_nvs_alloc - allocate memory necessary for saving NVS regions SYNOPSIS int suspend_nvs_alloc (void ); ARGUMENTS void no arguments SEE ALSO Kernel file ./drivers/acpi/nvs.c suspend_nvs_register(9), suspend_nvs_free(9), suspend_nvs_save(9), suspend_nvs_restore(9) April 2026 ...
suspend_nvs_free(9)
NAME suspend_nvs_free - free data pages allocated for saving NVS regions SYNOPSIS void suspend_nvs_free (void ); ARGUMENTS void no arguments SEE ALSO Kernel file ./drivers/acpi/nvs.c suspend_nvs_register(9), suspend_nvs_alloc(9), suspend_nvs_save(9), suspend_nvs_restore(9) April 2026 ...
suspend_nvs_register(9)
NAME suspend_nvs_register - register platform NVS memory region to save SYNOPSIS int suspend_nvs_register (unsigned long start , unsigned long size ); ARGUMENTS start Physical address of the region. size Size of the region. DESCRIPTION The NVS region need not be page-aligned (both ends) and we a...
suspend_nvs_restore(9)
NAME suspend_nvs_restore - restore NVS memory regions SYNOPSIS void suspend_nvs_restore (void ); ARGUMENTS void no arguments DESCRIPTION This function is going to be called with interrupts disabled, so it cannot iounmap the virtual addresses used to access the NVS region. SEE ALSO Kernel file ./drivers/acpi/...
suspend_nvs_save(9)
NAME suspend_nvs_save - save NVS memory regions SYNOPSIS int suspend_nvs_save (void ); ARGUMENTS void no arguments SEE ALSO Kernel file ./drivers/acpi/nvs.c suspend_nvs_register(9), suspend_nvs_free(9), suspend_nvs_alloc(9), suspend_nvs_restore(9) April 2026 ...
suspend_prepare(9)
NAME suspend_prepare - Prepare for entering system sleep state. SYNOPSIS int suspend_prepare (suspend_state_t state ); ARGUMENTS state Target system sleep state. DESCRIPTION Common code run for every system sleep state that can be entered (except for hibernation). Run suspend notifiers, allocate the "suspend"...
suspend_set_ops(9)
NAME suspend_set_ops - Set the global suspend method table. SYNOPSIS void suspend_set_ops (const struct platform_suspend_ops *ops ); ARGUMENTS ops Suspend operations to use. SEE ALSO Kernel file ./kernel/power/suspend.c pm_suspend_default_s2idle(9), suspend_valid_only_mem(9), suspend_prepare(9), suspend_ente...
suspend_valid_only_mem(9)
NAME suspend_valid_only_mem - Generic memory-only valid callback. SYNOPSIS int suspend_valid_only_mem (suspend_state_t state ); ARGUMENTS state Target system sleep state. DESCRIPTION Platform drivers that implement mem suspend only and only need to check for that in their .valid callback can use this instead o...
svc_addsock(9)
NAME svc_addsock - add a listener socket to an RPC service SYNOPSIS int svc_addsock (struct svc_serv *serv , struct net *net , const int fd , char *name_return , const size_t len , const struct cred *cred ); ARGUMENTS serv pointer to RPC service to which to add a new listener net caller's netwo...
svc_auth_flavor(9)
NAME svc_auth_flavor - return RPC transaction's RPC_AUTH flavor SYNOPSIS rpc_authflavor_t svc_auth_flavor (struct svc_rqst *rqstp ); ARGUMENTS rqstp RPC transaction context DESCRIPTION Returns an RPC flavor or GSS pseudoflavor. SEE ALSO Kernel file ./net/sunrpc/svcauth.c svc_authenticate(9), svc_set_client(9)...
svc_authenticate(9)
NAME svc_authenticate - Initialize an outgoing credential SYNOPSIS enum svc_auth_status svc_authenticate (struct svc_rqst *rqstp ); ARGUMENTS rqstp RPC execution context DESCRIPTION Return values: SVC_OK: XDR encoding of the result can begin SVC_DENIED: Credential or verifier is not valid SVC_GARBAGE: Failed ...
svc_authorise(9)
NAME svc_authorise - Finalize credentials/verifier and release resources SYNOPSIS int svc_authorise (struct svc_rqst *rqstp ); ARGUMENTS rqstp RPC execution context DESCRIPTION Returns zero on success, or a negative errno. SEE ALSO Kernel file ./net/sunrpc/svcauth.c svc_authenticate(9), svc_set_client(9), svc...
svc_create(9)
NAME svc_create - Create an RPC service SYNOPSIS struct svc_serv * svc_create (struct svc_program *prog , unsigned int bufsize , int (*threadfn)(void *data) ); ARGUMENTS prog the RPC program the new service will handle bufsize maximum message size for prog threadfn a function to service ...
svc_create_memory_pool(9)
NAME svc_create_memory_pool - create a memory pool from reserved memory block SYNOPSIS struct gen_pool * svc_create_memory_pool (struct platform_device *pdev , struct stratix10_svc_sh_memory *sh_memory ); ARGUMENTS pdev pointer to service layer device sh_memory pointer to service shared memory struct...
svc_create_pooled(9)
NAME svc_create_pooled - Create an RPC service with pooled threads SYNOPSIS struct svc_serv * svc_create_pooled (struct svc_program *prog , unsigned int nprogs , struct svc_stat *stats , unsigned int bufsize , int (*threadfn)(void *data) ); ARGUMENTS prog Array of RPC programs the new service will handle ...
svc_destroy(3)
NAME rpc - library routines for remote procedure calls LIBRARY Standard C library (libc, -lc) SYNOPSIS AND DESCRIPTION These routines allow C programs to make procedure calls on other machines across the network. First, the client calls a procedure to send a data packet to the server. Upon receipt of the packet, t...
svc_encode_result_payload(9)
NAME svc_encode_result_payload - mark a range of bytes as a result payload SYNOPSIS int svc_encode_result_payload (struct svc_rqst *rqstp , unsigned int offset , unsigned int length ); ARGUMENTS rqstp svc_rqst to operate on offset payload's byte offset in rqstp->rq_res length size of p...
svc_exit_thread(9)
NAME svc_exit_thread - finalise the termination of a sunrpc server thread SYNOPSIS void svc_exit_thread (struct svc_rqst *rqstp ); ARGUMENTS rqstp the svc_rqst which represents the thread. DESCRIPTION When a thread started with svc_new_thread exits it must call svc_exit_thread as its last act. This must be d...
svc_fill_symlink_pathname(9)
NAME svc_fill_symlink_pathname - Construct pathname argument for VFS symlink call SYNOPSIS char * svc_fill_symlink_pathname (struct svc_rqst *rqstp , struct kvec *first , void *p , size_t total ); ARGUMENTS rqstp svc_rqst to operate on first buffer containing first section of pathname p ...
svc_find_listener(9)
NAME svc_find_listener - find an RPC transport instance SYNOPSIS struct svc_xprt * svc_find_listener (struct svc_serv *serv , const char *xcl_name , struct net *net , const struct sockaddr *sa ); ARGUMENTS serv pointer to svc_serv to search xcl_name C string containing transport's class name ...
svc_find_xprt(9)
NAME svc_find_xprt - find an RPC transport instance SYNOPSIS struct svc_xprt * svc_find_xprt (struct svc_serv *serv , const char *xcl_name , struct net *net , const sa_family_t af , const unsigned short port ); ARGUMENTS serv pointer to svc_serv to search xcl_name C string containing transport's cla...
svc_freeargs(3)
NAME rpc - library routines for remote procedure calls LIBRARY Standard C library (libc, -lc) SYNOPSIS AND DESCRIPTION These routines allow C programs to make procedure calls on other machines across the network. First, the client calls a procedure to send a data packet to the server. Upon receipt of the packet, t...
svc_get_sh_memory(9)
NAME svc_get_sh_memory - get memory block reserved by secure monitor SW SYNOPSIS int svc_get_sh_memory (struct platform_device *pdev , struct stratix10_svc_sh_memory *sh_memory ); ARGUMENTS pdev pointer to service layer device sh_memory pointer to service shared memory structure RETURN zero for succ...
svc_getargs(3)
NAME rpc - library routines for remote procedure calls LIBRARY Standard C library (libc, -lc) SYNOPSIS AND DESCRIPTION These routines allow C programs to make procedure calls on other machines across the network. First, the client calls a procedure to send a data packet to the server. Upon receipt of the packet, t...
svc_getcaller(3)
NAME rpc - library routines for remote procedure calls LIBRARY Standard C library (libc, -lc) SYNOPSIS AND DESCRIPTION These routines allow C programs to make procedure calls on other machines across the network. First, the client calls a procedure to send a data packet to the server. Upon receipt of the packet, t...
svc_getreq(3)
NAME rpc - library routines for remote procedure calls LIBRARY Standard C library (libc, -lc) SYNOPSIS AND DESCRIPTION These routines allow C programs to make procedure calls on other machines across the network. First, the client calls a procedure to send a data packet to the server. Upon receipt of the packet, t...
svc_getreqset(3)
NAME rpc - library routines for remote procedure calls LIBRARY Standard C library (libc, -lc) SYNOPSIS AND DESCRIPTION These routines allow C programs to make procedure calls on other machines across the network. First, the client calls a procedure to send a data packet to the server. Upon receipt of the packet, t...
svc_max_payload(9)
NAME svc_max_payload - Return transport-specific limit on the RPC payload SYNOPSIS u32 svc_max_payload (const struct svc_rqst *rqstp ); ARGUMENTS rqstp RPC transaction context DESCRIPTION Returns the maximum number of payload bytes the current transport allows. SEE ALSO Kernel file ./net/sunrpc/svc.c sunr...
svc_new_thread(9)
NAME svc_new_thread - spawn a new thread in the given pool SYNOPSIS int svc_new_thread (struct svc_serv *serv , struct svc_pool *pool ); ARGUMENTS serv the serv to which the pool belongs pool pool in which thread should be spawned DESCRIPTION Create a new thread inside pool, which is a part of ...
svc_normal_to_secure_shm_thread(9)
NAME svc_normal_to_secure_shm_thread - the function to run in the kthread SYNOPSIS int svc_normal_to_secure_shm_thread (void *data ); ARGUMENTS data data pointer for kthread function DESCRIPTION Service layer driver creates stratix10_svc_smc_hvc_shm kthread on CPU node 0, its function stratix10_svc_secure_s...
svc_normal_to_secure_thread(9)
NAME svc_normal_to_secure_thread - the function to run in the kthread SYNOPSIS int svc_normal_to_secure_thread (void *data ); ARGUMENTS data data pointer for kthread function DESCRIPTION Service layer driver creates stratix10_svc_smc_hvc_call kthread on CPU node 0, its function stratix10_svc_secure_call_threa...
svc_pa_to_va(9)
NAME svc_pa_to_va - translate physical address to virtual address SYNOPSIS void * svc_pa_to_va (unsigned long addr ); ARGUMENTS addr to be translated physical address RETURN valid virtual address or NULL if the provided physical address doesn't exist. SEE ALSO Kernel file ./drivers/firmware/stratix10-svc...
svc_pool_for_cpu(9)
NAME svc_pool_for_cpu - Select pool to run a thread on this cpu SYNOPSIS struct svc_pool * svc_pool_for_cpu (struct svc_serv *serv ); ARGUMENTS serv An RPC service DESCRIPTION Use the active CPU and the svc_pool_map's mode setting to select the svc thread pool to use. Once initialized, the svc_pool_map does n...
svc_pool_wake_idle_thread(9)
NAME svc_pool_wake_idle_thread - Awaken an idle thread in @pool SYNOPSIS void svc_pool_wake_idle_thread (struct svc_pool *pool ); ARGUMENTS pool service thread pool DESCRIPTION Can be called from soft IRQ or process context. Finding an idle service thread and marking it BUSY is atomic with respect to other ca...
svc_print_addr(9)
NAME svc_print_addr - Format rq_addr field for printing SYNOPSIS char * svc_print_addr (struct svc_rqst *rqstp , char *buf , size_t len ); ARGUMENTS rqstp svc_rqst struct containing address to print buf target buffer for formatted address len length of target buffer SEE ALSO Ker...
svc_print_xprts(9)
NAME svc_print_xprts - Format the transport list for printing SYNOPSIS int svc_print_xprts (char *buf , int maxlen ); ARGUMENTS buf target buffer for formatted address maxlen length of target buffer DESCRIPTION Fills in buf with a string containing a list of transport names, each name termin...
svc_proc_name(9)
NAME svc_proc_name - Return RPC procedure name in string form SYNOPSIS const char * svc_proc_name (const struct svc_rqst *rqstp ); ARGUMENTS rqstp svc_rqst to operate on DESCRIPTION Return value: Pointer to a NUL-terminated string SEE ALSO Kernel file ./net/sunrpc/svc.c sunrpc_get_pool_mode(9), svc_pool_f...
svc_process(9)
NAME svc_process - Execute one RPC transaction SYNOPSIS void svc_process (struct svc_rqst *rqstp ); ARGUMENTS rqstp RPC transaction context SEE ALSO Kernel file ./net/sunrpc/svc.c sunrpc_get_pool_mode(9), svc_pool_for_cpu(9), svc_create(9), svc_create_pooled(9), svc_pool_wake_idle_thread(9), svc_new_th...
svc_process_bc(9)
NAME svc_process_bc - process a reverse-direction RPC request SYNOPSIS void svc_process_bc (struct rpc_rqst *req , struct svc_rqst *rqstp ); ARGUMENTS req RPC request to be used for client-side processing rqstp server-side execution context SEE ALSO Kernel file ./net/sunrpc/svc.c sunrpc_get_...
svc_rdma_build_read_chunk(9)
NAME svc_rdma_build_read_chunk - Build RDMA Read WQEs to pull one RDMA chunk SYNOPSIS int svc_rdma_build_read_chunk (struct svc_rqst *rqstp , struct svc_rdma_recv_ctxt *head , const struct svc_rdma_chunk *chunk ); ARGUMENTS rqstp RPC transaction context head context for ongoing I/O chunk ...
svc_rdma_build_read_segment(9)
NAME svc_rdma_build_read_segment - Build RDMA Read WQEs to pull one RDMA segment SYNOPSIS int svc_rdma_build_read_segment (struct svc_rqst *rqstp , struct svc_rdma_recv_ctxt *head , const struct svc_rdma_segment *segment ); ARGUMENTS rqstp RPC transaction context head context for ongoing I/O ...
svc_rdma_cc_init(9)
NAME svc_rdma_cc_init - Initialize an svc_rdma_chunk_ctxt SYNOPSIS void svc_rdma_cc_init (struct svcxprt_rdma *rdma , struct svc_rdma_chunk_ctxt *cc ); ARGUMENTS rdma controlling transport instance cc svc_rdma_chunk_ctxt to be initialized SEE ALSO Kernel file ./net/sunrpc/xprtrdma/svc_rdm...
svc_rdma_cc_release(9)
NAME svc_rdma_cc_release - Release resources held by a svc_rdma_chunk_ctxt SYNOPSIS void svc_rdma_cc_release (struct svcxprt_rdma *rdma , struct svc_rdma_chunk_ctxt *cc , enum dma_data_direction dir ); ARGUMENTS rdma controlling transport instance cc svc_rdma_chunk_ctxt to be released ...