id stringlengths 4 63 | text stringlengths 153 8.81M |
|---|---|
setup_metric_events(9) | NAME setup_metric_events - Find a group of events in metric_evlist that correspond to the IDs from a parsed metric expression.
SYNOPSIS int setup_metric_events (const char *pmu , struct hashmap *ids , struct evlist *metric_evlist , struct evsel ***out_metric_events );
ARGUMENTS pmu The PMU for the IDs.
... |
setup_mm_hdr(9) | NAME setup_mm_hdr - Allocate a buffer for StandAloneMM and initialize the header data.
SYNOPSIS void * setup_mm_hdr (u8 **dptr , size_t payload_size , size_t func );
ARGUMENTS dptr pointer address to store allocated buffer
payload_size
payload size
func standAloneMM fu... |
setup_new_fdt_ppc64(9) | NAME setup_new_fdt_ppc64 - Update the flattend device-tree of the kernel being loaded.
SYNOPSIS int setup_new_fdt_ppc64 (const struct kimage *image , void *fdt , struct crash_mem *rmem );
ARGUMENTS image kexec image being loaded.
fdt Flattened device tree for the next kernel.
rmem ... |
setup_nic_devices(9) | NAME setup_nic_devices - Setup network interfaces
SYNOPSIS int setup_nic_devices (struct octeon_device *octeon_dev );
ARGUMENTS octeon_dev octeon device
DESCRIPTION Called during init time for each device. It assumes the NIC is already up and running. The link information for each interface is passed in link_info.... |
setup_numa_memblock(9) | NAME setup_numa_memblock - Set up a memory layout with multiple NUMA nodes in a previously allocated dummy physical memory.
SYNOPSIS void setup_numa_memblock (const unsigned int node_fracs[] );
ARGUMENTS node_fracs an array representing the fraction of MEM_SIZE contained in each node in basis point units (one hundre... |
setup_ohci1394_dma(9) | NAME setup_ohci1394_dma - enables early OHCI1394 DMA initialization
SYNOPSIS int setup_ohci1394_dma (char *opt );
ARGUMENTS opt Kernel command line parameter string
SEE ALSO Kernel file ./drivers/firewire/init_ohci1394_dma.c init_ohci1394_wait_for_busresets(9), init_ohci1394_enable_physical_dma(9), init_ohci... |
setup_per_zone_wmarks(9) | NAME setup_per_zone_wmarks - called when min_free_kbytes changes or when memory is hot-{added|removed}
SYNOPSIS void setup_per_zone_wmarks (void );
ARGUMENTS void no arguments
DESCRIPTION Ensures that the watermark[min,low,high] values for each zone are set correctly with respect to min_free_kbytes.
SEE ALSO... |
setup_physmem(9) | NAME setup_physmem - Setup physical memory for UML
SYNOPSIS void setup_physmem (unsigned long start , unsigned long reserve_end , unsigned long len );
ARGUMENTS start Start address of the physical kernel memory, i.e start address of the executable image.
reserve_end end address of the physical kernel me... |
setup_purgatory(9) | NAME setup_purgatory - initialize the purgatory's global variables
SYNOPSIS int setup_purgatory (struct kimage *image , const void *slave_code , const void *fdt , unsigned long kernel_load_addr , unsigned long fdt_load_addr );
ARGUMENTS image kexec image.
slave_code Slave code for the purgatory.
... |
setup_purgatory_ppc64(9) | NAME setup_purgatory_ppc64 - initialize PPC64 specific purgatory's global variables and call setup_purgatory() to initialize common global variable.
SYNOPSIS int setup_purgatory_ppc64 (struct kimage *image , const void *slave_code , const void *fdt , unsigned long kernel_load_addr , unsigned long fdt_load_addr );
ARG... |
setup_qp_page_tables(9) | NAME setup_qp_page_tables - iscsi QP page table setup function
SYNOPSIS void setup_qp_page_tables (struct bnx2i_endpoint *ep );
ARGUMENTS ep endpoint (transport identifier) structure
DESCRIPTION Sets up page tables for SQ/RQ/CQ, 1G/sec (5706/5708/5709) devices requires 64-bit address in big endian format. W... |
setup_queue_timers(9) | NAME setup_queue_timers - Setup interrupt timers
SYNOPSIS void setup_queue_timers (struct velocity_info *vptr );
ARGUMENTS vptr velocity adapter
DESCRIPTION Setup interrupt frequency during suppression (timeout if the frame count isn't filled).
SEE ALSO Kernel file ./drivers/net/ethernet/via/via-velocity.c... |
setup_rss(9) | NAME setup_rss - configure RSS
SYNOPSIS int setup_rss (struct adapter *adap );
ARGUMENTS adap the adapter
DESCRIPTION Sets up RSS for each port.
SEE ALSO Kernel file ./drivers/net/ethernet/chelsio/cxgb4/cxgb4_main.c cxgb4_change_mac(9), cxgb4_write_rss(9), setup_sge_queues(9), cxgb4_set_rsp... |
setup_sge_qsets(9) | NAME setup_sge_qsets - configure SGE Tx/Rx/response queues
SYNOPSIS int setup_sge_qsets (struct adapter *adap );
ARGUMENTS adap the adapter
DESCRIPTION Determines how many sets of SGE queues to use and initializes them. We support multiple queue sets per port if we have MSI-X, otherwise just one queue set pe... |
setup_sge_queues(9) | NAME setup_sge_queues - configure SGE Tx/Rx/response queues
SYNOPSIS int setup_sge_queues (struct adapter *adap );
ARGUMENTS adap the adapter
DESCRIPTION Determines how many sets of SGE queues to use and initializes them. We support multiple queue sets per port if we have MSI-X, otherwise just one queue set ... |
setup_sync_octeon_time_wq(9) | NAME setup_sync_octeon_time_wq - prepare work to periodically update local time to octeon firmware
SYNOPSIS int setup_sync_octeon_time_wq (struct net_device *netdev );
ARGUMENTS netdev network device which should send time update to firmware
SEE ALSO Kernel file ./drivers/net/ethernet/cavium/liquidio/lio_main... |
setup_tx_poll_fn(9) | NAME setup_tx_poll_fn - Sets up the txq poll check
SYNOPSIS int setup_tx_poll_fn (struct net_device *netdev );
ARGUMENTS netdev network device
SEE ALSO Kernel file ./drivers/net/ethernet/cavium/liquidio/lio_main.c octeon_console_debug_enabled(9), force_io_queues_off(9), pcierror_quiesce_device(9), cleanup_aer... |
setupterm.3x(3) | NAME del_curterm, mvcur, putp, restartterm, set_curterm, setupterm, tigetflag, tigetnum, tigetstr, tiparm, tiparm_s, tiscan_s, tparm, tputs, vid_attr, vid_puts, vidattr, vidputs - curses interfaces to terminfo database
SYNOPSIS #include <ncursesw/curses.h> #include <term.h>
TERMINAL *cur_term;
const ch... |
setusershell(3) | NAME getusershell, setusershell, endusershell - get permitted user shells
LIBRARY Standard C library (libc, -lc)
SYNOPSIS #include <unistd.h>
char *getusershell(void);
void setusershell(void);
void endusershell(void);
Feature Test Macro Requirements for glibc (see feature_test_macros(7)):
... |
setutent(3) | NAME getutent, getutid, getutline, pututline, setutent, endutent, utmpname - access utmp file entries
LIBRARY Standard C library (libc, -lc)
SYNOPSIS #include <utmp.h>
struct utmp *getutent(void);
struct utmp *getutid(const struct utmp *ut);
struct utmp *getutline(const struct utmp *ut);
... |
setutxent(3) | NAME getutent, getutid, getutline, pututline, setutent, endutent, utmpname - access utmp file entries
LIBRARY Standard C library (libc, -lc)
SYNOPSIS #include <utmp.h>
struct utmp *getutent(void);
struct utmp *getutid(const struct utmp *ut);
struct utmp *getutline(const struct utmp *ut);
... |
setutxent(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 setutxent — reset the user accounting database to the first ent... |
setvbuf(3) | NAME setbuf, setbuffer, setlinebuf, setvbuf - stream buffering operations
LIBRARY Standard C library (libc, -lc)
SYNOPSIS #include <stdio.h>
int setvbuf(size_t size;
FILE *restrict stream, char buf[restrict size],
int mode, size_t size);
void setbuf(FILE *restrict... |
setvbuf(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 setvbuf — assign buffering to a stream
SYNOPSIS #include <stdi... |
setvesablank(8) | NAME setvesablank - Turn VESA screen blanking on or off
SYNOPSIS setvesablank [ [ -b --blanking ] on | ON | off | OFF ] [ -h --help ] [ -v --verbose ]
DESCRIPTION The program setvesablank sets VESA screen blanking on or off.
AUTHORS Andries Brouwer <aeb@cwi.nl> Man page by Alastair McKinstry <mckinstry@computer.org>... |
setvtrgb(8) | NAME setvtrgb - set the virtual terminal RGB colors
SYNOPSIS setvtrgb [options] vga|FILE|-
DESCRIPTION The setvtrgb command takes a single argument, either the string vga , or a path to a file containing the colors to be used by the Linux virtual terminals.
You can choose to write the colors in decimal or hex... |
setxattr(2) | NAME setxattr, lsetxattr, fsetxattr - set an extended attribute value
LIBRARY Standard C library (libc, -lc)
SYNOPSIS #include <sys/xattr.h>
int setxattr(size_t size;
const char *path, const char *name,
const void value[size], size_t size, int flags);
int lsetx... |
sev_do_cmd(9) | NAME sev_do_cmd - issue an SEV or an SEV-SNP command
SYNOPSIS int sev_do_cmd (int cmd , void *data , int *psp_ret );
ARGUMENTS cmd SEV or SEV-SNP firmware command to issue
data arguments for firmware command
psp_ret SEV command return code
RETURN 0 if the SEV device successfully p... |
sev_guest_activate(9) | NAME sev_guest_activate - perform SEV ACTIVATE command
SYNOPSIS int sev_guest_activate (struct sev_data_activate *data , int *error );
ARGUMENTS data -- undescribed --
error -- undescribed --
RETURN 0 if the sev successfully processed the command -ENODEV if the sev device is not available ... |
sev_guest_deactivate(9) | NAME sev_guest_deactivate - perform SEV DEACTIVATE command
SYNOPSIS int sev_guest_deactivate (struct sev_data_deactivate *data , int *error );
ARGUMENTS data -- undescribed --
error -- undescribed --
RETURN 0 if the sev successfully processed the command -ENODEV if the sev device is not av... |
sev_guest_decommission(9) | NAME sev_guest_decommission - perform SEV DECOMMISSION command
SYNOPSIS int sev_guest_decommission (struct sev_data_decommission *data , int *error );
ARGUMENTS data -- undescribed --
error -- undescribed --
RETURN 0 if the sev successfully processed the command -ENODEV if the sev device i... |
sev_guest_df_flush(9) | NAME sev_guest_df_flush - perform SEV DF_FLUSH command
SYNOPSIS int sev_guest_df_flush (int *error );
ARGUMENTS error -- undescribed --
RETURN 0 if the sev successfully processed the command -ENODEV if the sev device is not available -ENOTSUPP if the sev does not support SEV -ETIMEDOUT if the sev comman... |
sev_issue_cmd_external_user(9) | NAME sev_issue_cmd_external_user - issue SEV command by other driver with a file handle.
SYNOPSIS int sev_issue_cmd_external_user (struct file *filep , unsigned int id , void *data , int *error );
ARGUMENTS filep -- undescribed --
id -- undescribed --
data -- undescribed --
... |
sev_module_init(9) | NAME sev_module_init - perform PSP SEV module initialization
SYNOPSIS int sev_module_init (void );
ARGUMENTS void no arguments
RETURN 0 if the PSP module is successfully initialized negative value if the PSP module initialization fails
SEE ALSO Kernel file ./include/linux/psp-sev.h struct sev_data_init(9),... |
sev_platform_init(9) | NAME sev_platform_init - perform SEV INIT command
SYNOPSIS int sev_platform_init (struct sev_platform_init_args *args );
ARGUMENTS args struct sev_platform_init_args to pass in arguments
RETURN 0 if the SEV successfully processed the command -ENODEV if the SEV device is not available -ENOTSUPP if the S... |
sev_platform_status(9) | NAME sev_platform_status - perform SEV PLATFORM_STATUS command
SYNOPSIS int sev_platform_status (struct sev_user_data_status *status , int *error );
ARGUMENTS status sev_user_data_status structure to be processed
error SEV command return code
RETURN 0 if the SEV successfully processed the comma... |
sf1_read(9) | NAME sf1_read - read data from the serial flash
SYNOPSIS int sf1_read (struct adapter *adapter , unsigned int byte_cnt , int cont , int lock , u32 *valp );
ARGUMENTS adapter the adapter
byte_cnt number of bytes to read
cont whether another operation will be chained
lock wh... |
sf1_write(9) | NAME sf1_write - write data to the serial flash
SYNOPSIS int sf1_write (struct adapter *adapter , unsigned int byte_cnt , int cont , int lock , u32 val );
ARGUMENTS adapter the adapter
byte_cnt number of bytes to write
cont whether another operation will be chained
lock wh... |
sf_pdma_irq_init(9) | NAME sf_pdma_irq_init - Init PDMA IRQ Handlers
SYNOPSIS int sf_pdma_irq_init (struct platform_device *pdev , struct sf_pdma *pdma );
ARGUMENTS pdev pointer of platform_device
pdma pointer of PDMA engine. Caller should check NULL
DESCRIPTION Initialize DONE and ERROR interrupt handler for 4 chan... |
sf_pdma_setup_chans(9) | NAME sf_pdma_setup_chans - Init settings of each channel
SYNOPSIS void sf_pdma_setup_chans (struct sf_pdma *pdma );
ARGUMENTS pdma pointer of PDMA engine. Caller should check NULL
DESCRIPTION Initialize all data structure and register base. Caller should make sure the pointer passed in are non-NULL. This func... |
sfdisk(8) | NAME sfdisk - display or manipulate a disk partition table
SYNOPSIS sfdisk [options] device [-N partition-number]
sfdisk [options] command
DESCRIPTION sfdisk is a script-oriented tool for partitioning any block device. It runs in interactive mode if executed on a terminal (stdin refers to a terminal).
... |
sfdp(1) | NAME dot - filter for drawing directed graphs neato - filter for drawing undirected graphs twopi - filter for radial layouts of graphs circo - filter for circular layout of graphs fdp - filter for drawing undirected graphs sfdp - filter for drawing large undirected graphs patchwork - filter for squarified tree maps osa... |
sfp_bus_add_upstream(9) | NAME sfp_bus_add_upstream - parse and register the neighbouring device
SYNOPSIS int sfp_bus_add_upstream (struct sfp_bus *bus , void *upstream , const struct sfp_upstream_ops *ops );
ARGUMENTS bus the struct sfp_bus found via sfp_bus_find_fwnode
upstream the upstream private data
ops ... |
sfp_bus_del_upstream(9) | NAME sfp_bus_del_upstream - Delete a sfp bus
SYNOPSIS void sfp_bus_del_upstream (struct sfp_bus *bus );
ARGUMENTS bus a pointer to the struct sfp_bus structure for the sfp module
DESCRIPTION Delete a previously registered upstream connection for the SFP module. bus should have been added by sfp_bus_add_upstr... |
sfp_bus_find_fwnode(9) | NAME sfp_bus_find_fwnode - parse and locate the SFP bus from fwnode
SYNOPSIS struct sfp_bus * sfp_bus_find_fwnode (const struct fwnode_handle *fwnode );
ARGUMENTS fwnode firmware node for the parent device (MAC or PHY)
DESCRIPTION Parse the parent device's firmware node for a SFP bus, and locate the sfp_bu... |
sfp_bus_put(9) | NAME sfp_bus_put - put a reference on the &struct sfp_bus
SYNOPSIS void sfp_bus_put (struct sfp_bus *bus );
ARGUMENTS bus the struct sfp_bus found via sfp_bus_find_fwnode
DESCRIPTION Put a reference on the struct sfp_bus and free the underlying structure if this was the last reference.
SEE ALSO Kernel file... |
sfp_get_module_eeprom(9) | NAME sfp_get_module_eeprom - Read the SFP module EEPROM
SYNOPSIS int sfp_get_module_eeprom (struct sfp_bus *bus , struct ethtool_eeprom *ee , u8 *data );
ARGUMENTS bus a pointer to the struct sfp_bus structure for the sfp module
ee a struct ethtool_eeprom
data buffer to contain... |
sfp_get_module_eeprom_by_page(9) | NAME sfp_get_module_eeprom_by_page - Read a page from the SFP module EEPROM
SYNOPSIS int sfp_get_module_eeprom_by_page (struct sfp_bus *bus , const struct ethtool_module_eeprom *page , struct netlink_ext_ack *extack );
ARGUMENTS bus a pointer to the struct sfp_bus structure for the sfp module
page ... |
sfp_get_module_info(9) | NAME sfp_get_module_info - Get the ethtool_modinfo for a SFP module
SYNOPSIS int sfp_get_module_info (struct sfp_bus *bus , struct ethtool_modinfo *modinfo );
ARGUMENTS bus a pointer to the struct sfp_bus structure for the sfp module
modinfo a struct ethtool_modinfo
DESCRIPTION Fill in the type a... |
sfp_get_name(9) | NAME sfp_get_name - Get the SFP device name
SYNOPSIS const char * sfp_get_name (struct sfp_bus *bus );
ARGUMENTS bus a pointer to the struct sfp_bus structure for the sfp module
DESCRIPTION Gets the SFP device's name, if bus has a registered socket. Callers must hold RTNL, and the returned name is only valid... |
sfp_select_interface(9) | NAME sfp_select_interface - Select appropriate phy_interface_t mode
SYNOPSIS phy_interface_t sfp_select_interface (struct sfp_bus *bus , const unsigned long *link_modes );
ARGUMENTS bus a pointer to the struct sfp_bus structure for the sfp module
link_modes ethtool link modes mask
DESCRIPTION Derive... |
sfp_upstream_set_signal_rate(9) | NAME sfp_upstream_set_signal_rate - set data signalling rate
SYNOPSIS void sfp_upstream_set_signal_rate (struct sfp_bus *bus , unsigned int rate_kbd );
ARGUMENTS bus a pointer to the struct sfp_bus structure for the sfp module
rate_kbd signalling rate in units of 1000 baud
DESCRIPTION Configure th... |
sfp_upstream_start(9) | NAME sfp_upstream_start - Inform the SFP that the network device is up
SYNOPSIS void sfp_upstream_start (struct sfp_bus *bus );
ARGUMENTS bus a pointer to the struct sfp_bus structure for the sfp module
DESCRIPTION Inform the SFP socket that the network device is now up, so that the module can be enabled... |
sfp_upstream_stop(9) | NAME sfp_upstream_stop - Inform the SFP that the network device is down
SYNOPSIS void sfp_upstream_stop (struct sfp_bus *bus );
ARGUMENTS bus a pointer to the struct sfp_bus structure for the sfp module
DESCRIPTION Inform the SFP socket that the network device is now up, so that the module can be disabled... |
sftp(1) | NAME sftp — OpenSSH secure file transfer
SYNOPSIS sftp [-46AaCfNpqrv] [-B buffer_size] [-b batchfile] [-c cipher] [-D sftp_server_command] [-F ssh_config] [-i identity_file] [-J destination] [-l limit] [-o ssh_option] [-P port] [-R num_requests] [-S program] [-s subsystem | sftp_server] [-X sftp_option] d... |
sftp-server(8) | NAME sftp-server — OpenSSH SFTP server subsystem
SYNOPSIS sftp-server [-ehR] [-d start_directory] [-f log_facility] [-l log_level] [-P denied_requests] [-p allowed_requests] [-u umask] sftp-server -Q protocol_feature
DESCRIPTION sftp-server is a program that speaks the server side of SFTP protocol to stdout and expec... |
sg(1) | NAME sg - execute command as different group ID
SYNOPSIS
sg [-] [group [-c ] command]
DESCRIPTION The sg command works similar to newgrp but accepts a command. The command will be executed with the /bin/sh shell. With most shells you may run sg from, you need to enclose multi-word commands in quotes. Another ... |
sg2042_clk_pll_recalc_rate(9) | NAME sg2042_clk_pll_recalc_rate - recalc_rate callback for pll clks
SYNOPSIS unsigned long sg2042_clk_pll_recalc_rate (struct clk_hw *hw , unsigned long parent_rate );
ARGUMENTS hw ccf use to hook get sg2042_pll_clock
parent_rate parent rate
DESCRIPTION The is function will be called through clk_get... |
sg2042_get_pll_ctl_setting(9) | NAME sg2042_get_pll_ctl_setting - Based on the given FOUTPISTDIV and the input FREF to calculate the REFDIV/FBDIV/PSTDIV1/POSTDIV2 combination for pllctrl register.
SYNOPSIS int sg2042_get_pll_ctl_setting (struct sg2042_pll_ctrl *best , unsigned long req_rate , unsigned long parent_rate );
ARGUMENTS best outpu... |
sg2042_pll_get_postdiv_1_2(9) | NAME sg2042_pll_get_postdiv_1_2 - Based on input rate/prate/fbdiv/refdiv, look up the postdiv1_2 table to get the closest postdiiv combination.
SYNOPSIS int sg2042_pll_get_postdiv_1_2 (unsigned long rate , unsigned long prate , unsigned int fbdiv , unsigned int refdiv , unsigned int *postdiv1 , unsigned int *postdiv2 ... |
sg2042_pll_recalc_rate(9) | NAME sg2042_pll_recalc_rate - Calculate rate for plls
SYNOPSIS unsigned long sg2042_pll_recalc_rate (unsigned int reg_value , unsigned long parent_rate );
ARGUMENTS reg_value current register value
parent_rate parent frequency
DESCRIPTION This function is used to calculate below "rate" in equation rate = (... |
sg_alloc_append_table_from_pages(9) | NAME sg_alloc_append_table_from_pages - Allocate and initialize an append sg table from an array of pages
SYNOPSIS int sg_alloc_append_table_from_pages (struct sg_append_table *sgt_append , struct page **pages , unsigned int n_pages , unsigned int offset , unsigned long size , unsigned int max_segment , unsigned int l... |
sg_alloc_table(9) | NAME sg_alloc_table - Allocate and initialize an sg table
SYNOPSIS int sg_alloc_table (struct sg_table *table , unsigned int nents , gfp_t gfp_mask );
ARGUMENTS table The sg table header to use
nents Number of entries in sg list
gfp_mask GFP allocation mask
DESCRIPTION Allocate and ini... |
sg_alloc_table_chained(9) | NAME sg_alloc_table_chained - Allocate and chain SGLs in an sg table
SYNOPSIS int sg_alloc_table_chained (struct sg_table *table , int nents , struct scatterlist *first_chunk , unsigned nents_first_chunk );
ARGUMENTS table The sg table header to use
nents Number of entries in sg list
first... |
sg_alloc_table_from_pages(9) | NAME sg_alloc_table_from_pages - Allocate and initialize an sg table from an array of pages
SYNOPSIS int sg_alloc_table_from_pages (struct sg_table *sgt , struct page **pages , unsigned int n_pages , unsigned int offset , unsigned long size , gfp_t gfp_mask );
ARGUMENTS sgt The sg table header to use
... |
sg_alloc_table_from_pages_segment(9) | NAME sg_alloc_table_from_pages_segment - Allocate and initialize an sg table from an array of pages and given maximum segment.
SYNOPSIS int sg_alloc_table_from_pages_segment (struct sg_table *sgt , struct page **pages , unsigned int n_pages , unsigned int offset , unsigned long size , unsigned int max_segment , gfp_t ... |
sg_assign_page(9) | NAME sg_assign_page - Assign a given page to an SG entry
SYNOPSIS void sg_assign_page (struct scatterlist *sg , struct page *page );
ARGUMENTS sg SG entry
page The page
DESCRIPTION Assign page to sg entry. Also see sg_set_page, the most commonly used variant.
SEE ALSO Kernel file ./tools/vir... |
sg_chain(9) | NAME sg_chain - Chain two sglists together
SYNOPSIS void sg_chain (struct scatterlist *prv , unsigned int prv_nents , struct scatterlist *sgl );
ARGUMENTS prv First scatterlist
prv_nents Number of entries in prv
sgl Second scatterlist
DESCRIPTION Links prv and sgl together, to form ... |
sg_copy_buffer(9) | NAME sg_copy_buffer - Copy data between a linear buffer and an SG list
SYNOPSIS size_t sg_copy_buffer (struct scatterlist *sgl , unsigned int nents , void *buf , size_t buflen , off_t skip , bool to_buffer );
ARGUMENTS sgl The SG list
nents Number of SG entries
buf Where to copy ... |
sg_copy_from_buffer(9) | NAME sg_copy_from_buffer - Copy from a linear buffer to an SG list
SYNOPSIS size_t sg_copy_from_buffer (struct scatterlist *sgl , unsigned int nents , const void *buf , size_t buflen );
ARGUMENTS sgl The SG list
nents Number of SG entries
buf Where to copy from
buflen ... |
sg_copy_to_buffer(9) | NAME sg_copy_to_buffer - Copy from an SG list to a linear buffer
SYNOPSIS size_t sg_copy_to_buffer (struct scatterlist *sgl , unsigned int nents , void *buf , size_t buflen );
ARGUMENTS sgl The SG list
nents Number of SG entries
buf Where to copy to
buflen The number... |
sg_dma_is_bus_address(9) | NAME sg_dma_is_bus_address - Return whether a given segment was marked as a bus address
SYNOPSIS bool sg_dma_is_bus_address (struct scatterlist *sg );
ARGUMENTS sg SG entry
DESCRIPTION Returns true if sg_dma_mark_bus_address has been called on this segment.
SEE ALSO Kernel file ./include/linux/scatterlis... |
sg_dma_is_swiotlb(9) | NAME sg_dma_is_swiotlb - Return whether the scatterlist was marked for SWIOTLB bouncing
SYNOPSIS bool sg_dma_is_swiotlb (struct scatterlist *sg );
ARGUMENTS sg SG entry
DESCRIPTION Returns true if the scatterlist was marked for SWIOTLB bouncing. Not all elements may have been bounced, so the caller would ha... |
sg_dma_mark_bus_address(9) | NAME sg_dma_mark_bus_address - Mark the scatterlist entry as a bus address
SYNOPSIS void sg_dma_mark_bus_address (struct scatterlist *sg );
ARGUMENTS sg SG entry
DESCRIPTION Marks the passed in sg entry to indicate that the dma_address is a bus address and doesn't need to be unmapped. This should only be u... |
sg_dma_mark_swiotlb(9) | NAME sg_dma_mark_swiotlb - Mark the scatterlist for SWIOTLB bouncing
SYNOPSIS void sg_dma_mark_swiotlb (struct scatterlist *sg );
ARGUMENTS sg SG entry
DESCRIPTION Marks a a scatterlist for SWIOTLB bounce. Not all SG entries may be bounced.
SEE ALSO Kernel file ./include/linux/scatterlist.h sg_next(9), sg_... |
sg_dma_unmark_bus_address(9) | NAME sg_dma_unmark_bus_address - Unmark the scatterlist entry as a bus address
SYNOPSIS void sg_dma_unmark_bus_address (struct scatterlist *sg );
ARGUMENTS sg SG entry
DESCRIPTION Clears the bus address mark.
SEE ALSO Kernel file ./include/linux/scatterlist.h sg_next(9), sg_assign_page(9), sg_set_page(9), ... |
sg_free_append_table(9) | NAME sg_free_append_table - Free a previously allocated append sg table.
SYNOPSIS void sg_free_append_table (struct sg_append_table *table );
ARGUMENTS table The mapped sg append table header
SEE ALSO Kernel file ./lib/scatterlist.c sg_nents(9), sg_nents_for_len(9), sg_nents_for_dma(9), sg_last(9), sg_init... |
sg_free_table(9) | NAME sg_free_table - Free a previously allocated sg table
SYNOPSIS void sg_free_table (struct sg_table *table );
ARGUMENTS table The mapped sg table header
SEE ALSO Kernel file ./lib/scatterlist.c sg_nents(9), sg_nents_for_len(9), sg_nents_for_dma(9), sg_last(9), sg_init_table(9), sg_init_one(9), __sg_free... |
sg_free_table_chained(9) | NAME sg_free_table_chained - Free a previously mapped sg table
SYNOPSIS void sg_free_table_chained (struct sg_table *table , unsigned nents_first_chunk );
ARGUMENTS table The sg table header to use
nents_first_chunk
size of the first_chunk SGL passed to sg_alloc_table_chained
DESCRIP... |
sg_init_marker(9) | NAME sg_init_marker - Initialize markers in sg table
SYNOPSIS void sg_init_marker (struct scatterlist *sgl , unsigned int nents );
ARGUMENTS sgl The SG table
nents Number of entries in table
SEE ALSO Kernel file ./include/linux/scatterlist.h sg_next(9), sg_assign_page(9), sg_set_page(9), sg_set... |
sg_init_one(9) | NAME sg_init_one - Initialize a single entry sg list
SYNOPSIS void sg_init_one (struct scatterlist *sg , const void *buf , unsigned int buflen );
ARGUMENTS sg SG entry
buf Virtual address for IO
buflen IO length
SEE ALSO Kernel file ./lib/scatterlist.c sg_nents(9), sg_nents_fo... |
sg_init_table(9) | NAME sg_init_table - Initialize SG table
SYNOPSIS void sg_init_table (struct scatterlist *sgl , unsigned int nents );
ARGUMENTS sgl The SG table
nents Number of entries in table
NOTES If this is part of a chained sg table, sg_mark_end should be used only on the last table part.
SEE ALSO Kernel... |
sg_last(9) | NAME sg_last - return the last scatterlist entry in a list
SYNOPSIS struct scatterlist * sg_last (struct scatterlist *sgl , unsigned int nents );
ARGUMENTS sgl First entry in the scatterlist
nents Number of entries in the scatterlist
DESCRIPTION Should only be used casually, it (currently) sca... |
sg_mark_end(9) | NAME sg_mark_end - Mark the end of the scatterlist
SYNOPSIS void sg_mark_end (struct scatterlist *sg );
ARGUMENTS sg SG entryScatterlist
DESCRIPTION Marks the passed in sg entry as the termination point for the sg table. A call to sg_next on this entry will return NULL.
SEE ALSO Kernel file ./tools/virtio/... |
sg_miter_next(9) | NAME sg_miter_next - proceed mapping iterator to the next mapping
SYNOPSIS bool sg_miter_next (struct sg_mapping_iter *miter );
ARGUMENTS miter sg mapping iter to proceed
DESCRIPTION Proceeds miter to the next mapping. miter should have been started using sg_miter_start. On successful return, miter->page, mi... |
sg_miter_skip(9) | NAME sg_miter_skip - reposition mapping iterator
SYNOPSIS bool sg_miter_skip (struct sg_mapping_iter *miter , off_t offset );
ARGUMENTS miter sg mapping iter to be skipped
offset number of bytes to plus the current location
DESCRIPTION Sets the offset of miter to its current location plus offset b... |
sg_miter_start(9) | NAME sg_miter_start - start mapping iteration over a sg list
SYNOPSIS void sg_miter_start (struct sg_mapping_iter *miter , struct scatterlist *sgl , unsigned int nents , unsigned int flags );
ARGUMENTS miter sg mapping iter to be started
sgl sg list to iterate over
nents number of ... |
sg_miter_stop(9) | NAME sg_miter_stop - stop mapping iteration
SYNOPSIS void sg_miter_stop (struct sg_mapping_iter *miter );
ARGUMENTS miter sg mapping iter to be stopped
DESCRIPTION Stops mapping iterator miter. miter should have been started using sg_miter_start. A stopped iteration can be resumed by calling sg_miter_next o... |
sg_nents(9) | NAME sg_nents - return total count of entries in scatterlist
SYNOPSIS int sg_nents (struct scatterlist *sg );
ARGUMENTS sg The scatterlist
DESCRIPTION Allows to know how many entries are in sg, taking into account chaining as well
SEE ALSO Kernel file ./lib/scatterlist.c sg_nents_for_len(9), sg_nents_f... |
sg_nents_for_dma(9) | NAME sg_nents_for_dma - return the count of DMA-capable entries in scatterlist
SYNOPSIS int sg_nents_for_dma (struct scatterlist *sgl , unsigned int sglen , size_t len );
ARGUMENTS sgl The scatterlist
sglen The current number of entries
len The maximum length of DMA-capable block... |
sg_nents_for_len(9) | NAME sg_nents_for_len - return total count of entries in scatterlist needed to satisfy the supplied length
SYNOPSIS int sg_nents_for_len (struct scatterlist *sg , u64 len );
ARGUMENTS sg The scatterlist
len The total required length
DESCRIPTION Determines the number of entries in sg that are... |
sg_next(9) | NAME sg_next - return the next scatterlist entry in a list
SYNOPSIS struct scatterlist * sg_next (struct scatterlist *sg );
ARGUMENTS sg The current sg entry
DESCRIPTION Usually the next entry will be sg + 1, but if this sg element is part of a chained scatterlist, it could jump to the start of a new scatte... |
sg_page_iter_dma_address(9) | NAME sg_page_iter_dma_address - get the dma address of the current page held by the page iterator.
SYNOPSIS dma_addr_t sg_page_iter_dma_address (struct sg_dma_page_iter *dma_iter );
ARGUMENTS dma_iter page iterator holding the page
SEE ALSO Kernel file ./include/linux/scatterlist.h sg_next(9), sg_assign_page(... |
sg_page_iter_page(9) | NAME sg_page_iter_page - get the current page held by the page iterator
SYNOPSIS struct page * sg_page_iter_page (struct sg_page_iter *piter );
ARGUMENTS piter page iterator holding the page
SEE ALSO Kernel file ./include/linux/scatterlist.h sg_next(9), sg_assign_page(9), sg_set_page(9), sg_set_folio(9), sg_se... |
sg_pcopy_from_buffer(9) | NAME sg_pcopy_from_buffer - Copy from a linear buffer to an SG list
SYNOPSIS size_t sg_pcopy_from_buffer (struct scatterlist *sgl , unsigned int nents , const void *buf , size_t buflen , off_t skip );
ARGUMENTS sgl The SG list
nents Number of SG entries
buf Where to copy from
... |
sg_pcopy_to_buffer(9) | NAME sg_pcopy_to_buffer - Copy from an SG list to a linear buffer
SYNOPSIS size_t sg_pcopy_to_buffer (struct scatterlist *sgl , unsigned int nents , void *buf , size_t buflen , off_t skip );
ARGUMENTS sgl The SG list
nents Number of SG entries
buf Where to copy to
buflen ... |
sg_phys(9) | NAME sg_phys - Return physical address of an sg entry
SYNOPSIS dma_addr_t sg_phys (struct scatterlist *sg );
ARGUMENTS sg SG entry
DESCRIPTION This calls page_to_phys on the page in this sg entry, and adds the sg offset. The caller must know that it is legal to call page_to_phys on the sg page.
SEE ALSO Ke... |
sg_scsi_ioctl(9) | NAME sg_scsi_ioctl - - handle deprecated SCSI_IOCTL_SEND_COMMAND ioctl
SYNOPSIS int sg_scsi_ioctl (struct request_queue *q , bool open_for_write , struct scsi_ioctl_command __user *sic );
ARGUMENTS q request queue to send scsi commands down
open_for_write
is the file / block devic... |
sg_set_buf(9) | NAME sg_set_buf - Set sg entry to point at given data
SYNOPSIS void sg_set_buf (struct scatterlist *sg , const void *buf , unsigned int buflen );
ARGUMENTS sg SG entry
buf Data
buflen Data length
SEE ALSO Kernel file ./include/linux/scatterlist.h sg_next(9), sg_assign_page(9... |
sg_set_folio(9) | NAME sg_set_folio - Set sg entry to point at given folio
SYNOPSIS void sg_set_folio (struct scatterlist *sg , struct folio *folio , size_t len , size_t offset );
ARGUMENTS sg SG entry
folio The folio
len Length of data
offset Offset into folio
DESCRIPTION Use this... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.