id
stringlengths
4
63
text
stringlengths
153
8.81M
svcerr_decode(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...
svcerr_noproc(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...
svcerr_noprog(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...
svcerr_progvers(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...
svcerr_systemerr(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...
svcerr_weakauth(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...
svcfd_create(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...
svcraw_create(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...
svctcp_create(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...
svcudp_bufcreate(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...
svcudp_create(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...
svcxdr_decode_fhandle(9)
NAME svcxdr_decode_fhandle - Decode an NFSv2 file handle SYNOPSIS bool svcxdr_decode_fhandle (struct xdr_stream *xdr , struct svc_fh *fhp ); ARGUMENTS xdr XDR stream positioned at an encoded NFSv2 FH fhp OUT: filled-in server file handle DESCRIPTION Return values: false: The encoded file hand...
svcxdr_decode_nfs_fh3(9)
NAME svcxdr_decode_nfs_fh3 - Decode an NFSv3 file handle SYNOPSIS bool svcxdr_decode_nfs_fh3 (struct xdr_stream *xdr , struct svc_fh *fhp ); ARGUMENTS xdr XDR stream positioned at an undecoded NFSv3 FH fhp OUT: filled-in server file handle DESCRIPTION Return values: false: The encoded file ha...
svcxdr_encode_fattr(9)
NAME svcxdr_encode_fattr - Encode NFSv2 file attributes SYNOPSIS bool svcxdr_encode_fattr (struct svc_rqst *rqstp , struct xdr_stream *xdr , const struct svc_fh *fhp , const struct kstat *stat ); ARGUMENTS rqstp Context of a completed RPC transaction xdr XDR stream fhp File handl...
svcxdr_encode_nfsstat3(9)
NAME svcxdr_encode_nfsstat3 - Encode an NFSv3 status code SYNOPSIS bool svcxdr_encode_nfsstat3 (struct xdr_stream *xdr , __be32 status ); ARGUMENTS xdr XDR stream status status value to encode DESCRIPTION Return values: false: Send buffer space was exhausted true: Success SEE ALSO Kernel file ....
svcxdr_encode_opaque_pages(9)
NAME svcxdr_encode_opaque_pages - Insert pages into an xdr_stream SYNOPSIS void svcxdr_encode_opaque_pages (struct svc_rqst *rqstp , struct xdr_stream *xdr , struct page **pages , unsigned int base , unsigned int len ); ARGUMENTS rqstp -- undescribed -- xdr xdr_stream to be updated pages...
svcxdr_encode_post_op_attr(9)
NAME svcxdr_encode_post_op_attr - Encode NFSv3 post-op attributes SYNOPSIS bool svcxdr_encode_post_op_attr (struct svc_rqst *rqstp , struct xdr_stream *xdr , const struct svc_fh *fhp ); ARGUMENTS rqstp Context of a completed RPC transaction xdr XDR stream fhp File handle to encod...
svcxdr_encode_stat(9)
NAME svcxdr_encode_stat - Encode an NFSv2 status code SYNOPSIS bool svcxdr_encode_stat (struct xdr_stream *xdr , __be32 status ); ARGUMENTS xdr XDR stream status status value to encode DESCRIPTION Return values: false: Send buffer space was exhausted true: Success SEE ALSO Kernel file ./fs/nfsd...
svcxdr_init_decode(9)
NAME svcxdr_init_decode - Prepare an xdr_stream for Call decoding SYNOPSIS void svcxdr_init_decode (struct svc_rqst *rqstp ); ARGUMENTS rqstp controlling server RPC transaction context SEE ALSO Kernel file ./include/linux/sunrpc/svc.h svc_serv_maxpages(9), svc_thread_should_stop(9), svc_thread_init_status(9), ...
svcxdr_init_encode(9)
NAME svcxdr_init_encode - Prepare an xdr_stream for svc Reply encoding SYNOPSIS void svcxdr_init_encode (struct svc_rqst *rqstp ); ARGUMENTS rqstp controlling server RPC transaction context SEE ALSO Kernel file ./include/linux/sunrpc/svc.h svc_serv_maxpages(9), svc_thread_should_stop(9), svc_thread_init_...
svcxdr_set_accept_stat(9)
NAME svcxdr_set_accept_stat - Reserve space for the accept_stat field SYNOPSIS bool svcxdr_set_accept_stat (struct svc_rqst *rqstp ); ARGUMENTS rqstp RPC transaction context DESCRIPTION Return values: true: Success false: No response buffer space was available SEE ALSO Kernel file ./include/linux/sunrpc/svc.h...
svcxdr_set_auth_slack(9)
NAME svcxdr_set_auth_slack - SYNOPSIS void svcxdr_set_auth_slack (struct svc_rqst *rqstp , int slack ); ARGUMENTS rqstp RPC transaction slack buffer space to reserve for the transaction's security flavor DESCRIPTION Set the request's slack space requirement, and set aside that much space in the r...
svcxdr_tmpalloc(9)
NAME svcxdr_tmpalloc - allocate memory to be freed after compound processing SYNOPSIS void * svcxdr_tmpalloc (struct nfsd4_compoundargs *argp , size_t len ); ARGUMENTS argp NFSv4 compound argument structure len length of buffer to allocate DESCRIPTION Allocates a buffer of size len to be freed...
svia_tf_load(9)
NAME svia_tf_load - send taskfile registers to host controller SYNOPSIS void svia_tf_load (struct ata_port *ap , const struct ata_taskfile *tf ); ARGUMENTS ap Port to which output is sent tf ATA taskfile register set DESCRIPTION Outputs ATA taskfile to standard ATA host controller. This is...
svipc(7)
NAME sysvipc - System V interprocess communication mechanisms DESCRIPTION System V IPC is the name given to three interprocess communication mechanisms that are widely available on UNIX systems: message queues, semaphore, and shared memory. Message queues System V message queues allow data to be exc...
svm_migrate_copy_done(9)
NAME svm_migrate_copy_done - wait for memory copy sdma is done SYNOPSIS int svm_migrate_copy_done (struct amdgpu_device *adev , struct dma_fence *mfence ); ARGUMENTS adev amdgpu device the sdma memory copy is executing on mfence migrate fence DESCRIPTION Wait for dma fence is signaled, if the cop...
svm_migrate_copy_memory_gart(9)
NAME svm_migrate_copy_memory_gart - sdma copy data between ram and vram SYNOPSIS int svm_migrate_copy_memory_gart (struct amdgpu_device *adev , dma_addr_t *sys , u64 *vram , u64 npages , enum MIGRATION_COPY_DIR direction , struct dma_fence **mfence ); ARGUMENTS adev amdgpu device the sdma ring running ...
svm_migrate_ram_to_vram(9)
NAME svm_migrate_ram_to_vram - migrate svm range from system to device SYNOPSIS int svm_migrate_ram_to_vram (struct svm_range *prange , uint32_t best_loc , unsigned long start_mgr , unsigned long last_mgr , struct mm_struct *mm , uint32_t trigger ); ARGUMENTS prange range structure best_loc the device...
svm_migrate_to_ram(9)
NAME svm_migrate_to_ram - CPU page fault handler SYNOPSIS vm_fault_t svm_migrate_to_ram (struct vm_fault *vmf ); ARGUMENTS vmf CPU vm fault vma, address CONTEXT vm fault handler, caller holds the mmap read lock RETURN 0 - OK VM_FAULT_SIGBUS - notice application to have SIGBUS page fault SEE ALSO Kernel ...
svm_migrate_vma_to_ram(9)
NAME svm_migrate_vma_to_ram - migrate range inside one vma from device to system SYNOPSIS long svm_migrate_vma_to_ram (struct kfd_node *node , struct svm_range *prange , struct vm_area_struct *vma , u64 start , u64 end , uint32_t trigger , struct page *fault_page ); ARGUMENTS node kfd node device to migrate fr...
svm_migrate_vram_to_ram(9)
NAME svm_migrate_vram_to_ram - migrate svm range from device to system SYNOPSIS int svm_migrate_vram_to_ram (struct svm_range *prange , struct mm_struct *mm , unsigned long start_mgr , unsigned long last_mgr , uint32_t trigger , struct page *fault_page ); ARGUMENTS prange range structure mm proc...
svm_migrate_vram_to_vram(9)
NAME svm_migrate_vram_to_vram - migrate svm range from device to device SYNOPSIS int svm_migrate_vram_to_vram (struct svm_range *prange , uint32_t best_loc , unsigned long start , unsigned long last , struct mm_struct *mm , uint32_t trigger ); ARGUMENTS prange range structure best_loc the device to mi...
svm_range_add(9)
NAME svm_range_add - add svm range and handle overlap SYNOPSIS int svm_range_add (struct kfd_process *p , uint64_t start , uint64_t size , uint32_t nattr , struct kfd_ioctl_svm_attribute *attrs , struct list_head *update_list , struct list_head *insert_list , struct list_head *re‐ move_list , struct list_head *rema...
svm_range_add_to_svms(9)
NAME svm_range_add_to_svms - add svm range to svms SYNOPSIS void svm_range_add_to_svms (struct svm_range *prange ); ARGUMENTS prange svm range structure to be added DESCRIPTION Add the svm range to svms interval tree and link list CONTEXT The caller must hold svms->lock SEE ALSO Kernel file ./drivers/gpu/drm...
svm_range_best_prefetch_location(9)
NAME svm_range_best_prefetch_location - decide the best prefetch location SYNOPSIS uint32_t svm_range_best_prefetch_location (struct svm_range *prange ); ARGUMENTS prange svm range structure DESCRIPTION For xnack off: If range map to single GPU, the best prefetch location is prefetch_loc, which can be CPU or GP...
svm_range_check_vm(9)
NAME svm_range_check_vm - check if virtual address range mapped already SYNOPSIS int svm_range_check_vm (struct kfd_process *p , uint64_t start , uint64_t last , uint64_t *bo_s , uint64_t *bo_l ); ARGUMENTS p current kfd_process start range start address, in pages last range las...
svm_range_cpu_invalidate_pagetables(9)
NAME svm_range_cpu_invalidate_pagetables - interval notifier callback SYNOPSIS bool svm_range_cpu_invalidate_pagetables (struct mmu_interval_notifier *mni , const struct mmu_notifier_range *range , unsigned long cur_seq ); ARGUMENTS mni mmu_interval_notifier struct range mmu_notifier_range struc...
svm_range_debug_dump(9)
NAME svm_range_debug_dump - print all range information from svms SYNOPSIS void svm_range_debug_dump (struct svm_range_list *svms ); ARGUMENTS svms svm range list header DESCRIPTION debug output svm range start, end, prefetch location from svms interval tree and link list CONTEXT The caller must hold svms->l...
svm_range_evict(9)
NAME svm_range_evict - evict svm range SYNOPSIS int svm_range_evict (struct svm_range *prange , struct mm_struct *mm , unsigned long start , unsigned long last , enum mmu_notifier_event event ); ARGUMENTS prange svm range structure mm current process mm_struct start starting proces...
svm_range_from_addr(9)
NAME svm_range_from_addr - find svm range from fault address SYNOPSIS struct svm_range * svm_range_from_addr (struct svm_range_list *svms , unsigned long addr , struct svm_range **parent ); ARGUMENTS svms svm range list header addr address to search range interval tree, in pages parent ...
svm_range_is_valid(9)
NAME svm_range_is_valid - check if virtual address range is valid SYNOPSIS int svm_range_is_valid (struct kfd_process *p , uint64_t start , uint64_t size ); ARGUMENTS p current kfd_process start range start address, in pages size range size, in pages DESCRIPTION Valid virtual a...
svm_range_list_lock_and_flush_work(9)
NAME svm_range_list_lock_and_flush_work - flush pending deferred work SYNOPSIS void svm_range_list_lock_and_flush_work (struct svm_range_list *svms , struct mm_struct *mm ); ARGUMENTS svms the svm range list mm the mm structure CONTEXT Returns with mmap write lock held, pending deferred work ...
svm_range_split(9)
NAME svm_range_split - split a range in 2 ranges SYNOPSIS int svm_range_split (struct svm_range *prange , uint64_t start , uint64_t last , struct svm_range **new ); ARGUMENTS prange the svm range to split start the remaining range start address in pages last the remaining range last ...
svm_range_split_adjust(9)
NAME svm_range_split_adjust - split range and adjust SYNOPSIS int svm_range_split_adjust (struct svm_range *new , struct svm_range *old , uint64_t start , uint64_t last ); ARGUMENTS new new range old the old range start the old range adjust to start address in pages last ...
svm_range_unlink(9)
NAME svm_range_unlink - unlink svm_range from lists and interval tree SYNOPSIS void svm_range_unlink (struct svm_range *prange ); ARGUMENTS prange svm range structure to be removed DESCRIPTION Remove the svm_range from the svms and svm_bo lists and the svms interval tree. CONTEXT The caller must hold svms->loc...
svsm_vtpm_cmd_request_fill(9)
NAME svsm_vtpm_cmd_request_fill - Fill a TPM_SEND_COMMAND request to be sent to SVSM SYNOPSIS int svsm_vtpm_cmd_request_fill (struct svsm_vtpm_cmd_request *req , u8 locality , const u8 *buf , size_t len ); ARGUMENTS req The struct svsm_vtpm_cmd_request to fill locality The locality buf ...
svsm_vtpm_cmd_response_parse(9)
NAME svsm_vtpm_cmd_response_parse - Parse a TPM_SEND_COMMAND response received from SVSM SYNOPSIS int svsm_vtpm_cmd_response_parse (const struct svsm_vtpm_cmd_response *resp , u8 *buf , size_t len ); ARGUMENTS resp The struct svsm_vtpm_cmd_response to parse buf The buffer where to copy the resp...
sw842_compress(9)
NAME sw842_compress - SYNOPSIS int sw842_compress (const u8 *in , unsigned int ilen , u8 *out , unsigned int *olen , void *wmem ); ARGUMENTS in -- undescribed -- ilen -- undescribed -- out -- undescribed -- olen -- undescribed -- wmem -- undescribe...
sw842_decompress(9)
NAME sw842_decompress - SYNOPSIS int sw842_decompress (const u8 *in , unsigned int ilen , u8 *out , unsigned int *olen ); ARGUMENTS in -- undescribed -- ilen -- undescribed -- out -- undescribed -- olen -- undescribed -- DESCRIPTION Decompress the 842-compresse...
sw_block_addr(9)
NAME sw_block_addr - block certain packets from the host port SYNOPSIS void sw_block_addr (struct ksz_hw *hw ); ARGUMENTS hw The hardware instance. DESCRIPTION This routine blocks certain packets from reaching to the host port. SEE ALSO Kernel file ./drivers/net/ethernet/micrel/ksz884x.c struct ksz_hw_...
sw_cfg(9)
NAME sw_cfg - set switch register bits SYNOPSIS void sw_cfg (struct ksz_hw *hw , u32 addr , u16 bits , int set ); ARGUMENTS hw The hardware instance. addr The address of the switch register. bits The data bits to set. set The flag indicating whether the bits are ...
sw_cfg_broad_storm(9)
NAME sw_cfg_broad_storm - configure broadcast storm threshold SYNOPSIS void sw_cfg_broad_storm (struct ksz_hw *hw , u8 percent ); ARGUMENTS hw The hardware instance. percent Broadcast storm threshold in percent of transmit rate. DESCRIPTION This routine configures the broadcast storm threshold o...
sw_cfg_port_base_vlan(9)
NAME sw_cfg_port_base_vlan - configure port-based VLAN membership SYNOPSIS void sw_cfg_port_base_vlan (struct ksz_hw *hw , int port , u8 member ); ARGUMENTS hw The hardware instance. port The port index. member The port-based VLAN membership. DESCRIPTION This routine configures t...
sw_cfg_port_based(9)
NAME sw_cfg_port_based - configure switch port based priority SYNOPSIS void sw_cfg_port_based (struct ksz_hw *hw , int port , u8 prio ); ARGUMENTS hw The hardware instance. port The port index. prio The priority to set. DESCRIPTION This routine configures the port based priorit...
sw_cfg_replace_null_vid(9)
NAME sw_cfg_replace_null_vid - SYNOPSIS void sw_cfg_replace_null_vid (struct ksz_hw *hw , int set ); ARGUMENTS hw The hardware instance. set The flag to disable or enable. SEE ALSO Kernel file ./drivers/net/ethernet/micrel/ksz884x.c struct ksz_hw_desc(9), struct ksz_sw_desc(9), struct k...
sw_cfg_replace_vid(9)
NAME sw_cfg_replace_vid - enable switch 802.10 priority re-mapping SYNOPSIS void sw_cfg_replace_vid (struct ksz_hw *hw , int port , int set ); ARGUMENTS hw The hardware instance. port The port index. set The flag to disable or enable. DESCRIPTION This routine enables the 8...
sw_chk(9)
NAME sw_chk - check switch register bits SYNOPSIS int sw_chk (struct ksz_hw *hw , u32 addr , u16 bits ); ARGUMENTS hw The hardware instance. addr The address of the switch register. bits The data bits to check. DESCRIPTION This function checks whether the specified bits of the ...
sw_clr_sta_mac_table(9)
NAME sw_clr_sta_mac_table - clear static MAC table SYNOPSIS void sw_clr_sta_mac_table (struct ksz_hw *hw ); ARGUMENTS hw The hardware instance. DESCRIPTION This routine clears the static MAC table. SEE ALSO Kernel file ./drivers/net/ethernet/micrel/ksz884x.c struct ksz_hw_desc(9), struct ksz_sw_desc(9...
sw_dis_802_1p(9)
NAME sw_dis_802_1p - disable switch 802.1p priority SYNOPSIS void sw_dis_802_1p (struct ksz_hw *hw , int port ); ARGUMENTS hw The hardware instance. port The port index. DESCRIPTION This routine disables the 802.1p priority function of the switch. SEE ALSO Kernel file ./drivers/net/etherne...
sw_dis_broad_storm(9)
NAME sw_dis_broad_storm - disable broadstorm SYNOPSIS void sw_dis_broad_storm (struct ksz_hw *hw , int port ); ARGUMENTS hw The hardware instance. port The port index. DESCRIPTION This routine disables the broadcast storm limit function of the switch. SEE ALSO Kernel file ./drivers/net/eth...
sw_dis_diffserv(9)
NAME sw_dis_diffserv - disable switch DiffServ priority SYNOPSIS void sw_dis_diffserv (struct ksz_hw *hw , int port ); ARGUMENTS hw The hardware instance. port The port index. DESCRIPTION This routine disables the DiffServ priority function of the switch. SEE ALSO Kernel file ./drivers/net...
sw_dis_multi_queue(9)
NAME sw_dis_multi_queue - disable transmit multiple queues SYNOPSIS void sw_dis_multi_queue (struct ksz_hw *hw , int port ); ARGUMENTS hw The hardware instance. port The port index. DESCRIPTION This routine disables the transmit multiple queues selection of the switch port. Only single trans...
sw_dis_prio_rate(9)
NAME sw_dis_prio_rate - disable switch priority rate SYNOPSIS void sw_dis_prio_rate (struct ksz_hw *hw , int port ); ARGUMENTS hw The hardware instance. port The port index. DESCRIPTION This routine disables the priority rate function of the switch. SEE ALSO Kernel file ./drivers/net/ether...
sw_ena_broad_storm(9)
NAME sw_ena_broad_storm - enable broadcast storm SYNOPSIS void sw_ena_broad_storm (struct ksz_hw *hw , int port ); ARGUMENTS hw The hardware instance. port The port index. DESCRIPTION This routine enables the broadcast storm limit function of the switch. SEE ALSO Kernel file ./drivers/net/...
sw_enable(9)
NAME sw_enable - enable the switch SYNOPSIS void sw_enable (struct ksz_hw *hw , int enable ); ARGUMENTS hw The hardware instance. enable The flag to enable or disable the switch DESCRIPTION This routine is used to enable/disable the switch in KSZ8842. SEE ALSO Kernel file ./drivers/net/ether...
sw_get_broad_storm(9)
NAME sw_get_broad_storm - get broadcast storm threshold SYNOPSIS void sw_get_broad_storm (struct ksz_hw *hw , u8 *percent ); ARGUMENTS hw The hardware instance. percent Buffer to store the broadcast storm threshold percentage. DESCRIPTION This routine retrieves the broadcast storm threshold of t...
sw_init_broad_storm(9)
NAME sw_init_broad_storm - initialize broadcast storm SYNOPSIS void sw_init_broad_storm (struct ksz_hw *hw ); ARGUMENTS hw The hardware instance. DESCRIPTION This routine initializes the broadcast storm limit function of the switch. SEE ALSO Kernel file ./drivers/net/ethernet/micrel/ksz884x.c struct ks...
sw_init_prio(9)
NAME sw_init_prio - initialize switch priority SYNOPSIS void sw_init_prio (struct ksz_hw *hw ); ARGUMENTS hw The hardware instance. DESCRIPTION This routine initializes the switch QoS priority functions. SEE ALSO Kernel file ./drivers/net/ethernet/micrel/ksz884x.c struct ksz_hw_desc(9), struct ksz_sw_...
sw_init_prio_rate(9)
NAME sw_init_prio_rate - initialize switch priority rate SYNOPSIS void sw_init_prio_rate (struct ksz_hw *hw ); ARGUMENTS hw The hardware instance. DESCRIPTION This routine initializes the priority rate function of the switch. SEE ALSO Kernel file ./drivers/net/ethernet/micrel/ksz884x.c struct ksz_hw_de...
sw_init_stp(9)
NAME sw_init_stp - initialize switch spanning tree support SYNOPSIS void sw_init_stp (struct ksz_hw *hw ); ARGUMENTS hw The hardware instance. DESCRIPTION This routine initializes the spanning tree support of the switch. SEE ALSO Kernel file ./drivers/net/ethernet/micrel/ksz884x.c struct ksz_hw_desc(9)...
sw_init_vlan(9)
NAME sw_init_vlan - initialize switch VLAN SYNOPSIS void sw_init_vlan (struct ksz_hw *hw ); ARGUMENTS hw The hardware instance. DESCRIPTION This routine initializes the VLAN function of the switch. SEE ALSO Kernel file ./drivers/net/ethernet/micrel/ksz884x.c struct ksz_hw_desc(9), struct ksz_sw_desc(9...
sw_r_table(9)
NAME sw_r_table - read 4 bytes of data from switch table SYNOPSIS void sw_r_table (struct ksz_hw *hw , int table , u16 addr , u32 *data ); ARGUMENTS hw The hardware instance. table The table selector. addr The address of the table entry. data Buffer to store the re...
sw_r_vlan_table(9)
NAME sw_r_vlan_table - read from the VLAN table SYNOPSIS int sw_r_vlan_table (struct ksz_hw *hw , u16 addr , u16 *vid , u8 *fid , u8 *member ); ARGUMENTS hw The hardware instance. addr The address of the table entry. vid Buffer to store the VID. fid Buffer to st...
sw_set_addr(9)
NAME sw_set_addr - configure switch MAC address SYNOPSIS void sw_set_addr (struct ksz_hw *hw , u8 *mac_addr ); ARGUMENTS hw The hardware instance. mac_addr The MAC address. DESCRIPTION This function configures the MAC address of the switch. SEE ALSO Kernel file ./drivers/net/ethernet/micrel/ks...
sw_set_global_ctrl(9)
NAME sw_set_global_ctrl - set switch global control SYNOPSIS void sw_set_global_ctrl (struct ksz_hw *hw ); ARGUMENTS hw The hardware instance. DESCRIPTION This routine sets the global control of the switch function. SEE ALSO Kernel file ./drivers/net/ethernet/micrel/ksz884x.c struct ksz_hw_desc(9), st...
sw_setup(9)
NAME sw_setup - setup the switch SYNOPSIS void sw_setup (struct ksz_hw *hw ); ARGUMENTS hw The hardware instance. DESCRIPTION This routine setup the hardware switch engine for default operation. SEE ALSO Kernel file ./drivers/net/ethernet/micrel/ksz884x.c struct ksz_hw_desc(9), struct ksz_sw_desc(9), ...
sw_w_sta_mac_table(9)
NAME sw_w_sta_mac_table - write to the static MAC table SYNOPSIS void sw_w_sta_mac_table (struct ksz_hw *hw , u16 addr , u8 *mac_addr , u8 ports , int override , int valid , int use_fid , u8 fid ); ARGUMENTS hw The hardware instance. addr The address of the table entry. mac_addr The...
sw_w_table_64(9)
NAME sw_w_table_64 - write 8 bytes of data to the switch table SYNOPSIS void sw_w_table_64 (struct ksz_hw *hw , int table , u16 addr , u32 data_hi , u32 data_lo ); ARGUMENTS hw The hardware instance. table The table selector. addr The address of the table entry. data_hi ...
swab(3)
NAME swab - swap adjacent bytes LIBRARY Standard C library (libc, -lc) SYNOPSIS #define _XOPEN_SOURCE /* See feature_test_macros(7) */ #include <unistd.h> void swab(ssize_t n; const void from[restrict n], void to[restrict n], ssize_t n); DESCRIPTION The swab() functi...
swab(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 swab — swap bytes SYNOPSIS #include <unistd.h> void sw...
swait_active(9)
NAME swait_active - - locklessly test for waiters on the queue SYNOPSIS int swait_active (struct swait_queue_head *wq ); ARGUMENTS wq the waitqueue to test for waiters DESCRIPTION returns true if the wait list is not empty NOTE this function is lockless and requires care, incorrect usage _will_ le...
swait_event_idle_exclusive(9)
NAME swait_event_idle_exclusive - wait without system load contribution SYNOPSIS swait_event_idle_exclusive (wq , condition ); ARGUMENTS wq the waitqueue to wait on condition a C expression for the event to wait for DESCRIPTION The process is put to sleep (TASK_IDLE) until the condition eval...
swait_event_idle_timeout_exclusive(9)
NAME swait_event_idle_timeout_exclusive - wait up to timeout without load contribution SYNOPSIS swait_event_idle_timeout_exclusive (wq , condition , timeout ); ARGUMENTS wq the waitqueue to wait on condition a C expression for the event to wait for timeout timeout at which we'll give up...
swap(9)
NAME swap - swap values of @a and @b SYNOPSIS swap (a , b ); ARGUMENTS a first value b second value SEE ALSO Kernel file ./include/linux/minmax.h min(9), max(9), umin(9), umax(9), min3(9), max3(9), min_t(9), max_t(9), min_not_zero(9), clamp(9), clamp_t(9), clamp_val(9), min_array(9), max_...
swap_buf_le16(9)
NAME swap_buf_le16 - swap halves of 16-bit words in place SYNOPSIS void swap_buf_le16 (u16 *buf , unsigned int buf_words ); ARGUMENTS buf Buffer to swap buf_words Number of 16-bit words in buffer. DESCRIPTION Swap halves of 16-bit words if needed to convert from little-endian byte order to native c...
swap_bytes(9)
NAME swap_bytes - swap two elements a byte at a time SYNOPSIS void swap_bytes (void *a , void *b , size_t n ); ARGUMENTS a pointer to the first element to swap b pointer to the second element to swap n element size DESCRIPTION This is the fallback if alignment doesn't al...
swap_cache_add_folio(9)
NAME swap_cache_add_folio - Add a folio into the swap cache. SYNOPSIS int swap_cache_add_folio (struct folio *folio , swp_entry_t entry , void **shadowp ); ARGUMENTS folio The folio to be added. entry The swap entry corresponding to the folio. shadowp If a shadow is found, return the s...
swap_cache_alloc_folio(9)
NAME swap_cache_alloc_folio - Allocate folio for swapped out slot in swap cache. SYNOPSIS struct folio * swap_cache_alloc_folio (swp_entry_t entry , gfp_t gfp_mask , struct mempolicy *mpol , pgoff_t ilx , bool *new_page_allocated ); ARGUMENTS entry the swapped out swap entry to be binded to the folio. g...
swap_cache_del_folio(9)
NAME swap_cache_del_folio - Removes a folio from the swap cache. SYNOPSIS void swap_cache_del_folio (struct folio *folio ); ARGUMENTS folio The folio. DESCRIPTION Same as __swap_cache_del_folio, but handles lock and refcount. The caller must ensure the folio is either clean or has a swap count equal to zero, o...
swap_cache_get_folio(9)
NAME swap_cache_get_folio - Looks up a folio in the swap cache. SYNOPSIS struct folio * swap_cache_get_folio (swp_entry_t entry ); ARGUMENTS entry swap entry used for the lookup. DESCRIPTION A found folio will be returned unlocked and with its refcount increased. CONTEXT Caller must ensure entry is valid and ...
swap_cache_get_shadow(9)
NAME swap_cache_get_shadow - Looks up a shadow in the swap cache. SYNOPSIS void * swap_cache_get_shadow (swp_entry_t entry ); ARGUMENTS entry swap entry used for the lookup. CONTEXT Caller must ensure entry is valid and protect the swap device with reference count or locks. RETURN Returns either NULL or an XA...
swap_cache_has_folio(9)
NAME swap_cache_has_folio - Check if a swap slot has cache. SYNOPSIS bool swap_cache_has_folio (swp_entry_t entry ); ARGUMENTS entry swap entry indicating the slot. CONTEXT Caller must ensure entry is valid and protect the swap device with reference count or locks. SEE ALSO Kernel file ./mm/swap_state.c sw...
swap_cgroup_clear(9)
NAME swap_cgroup_clear - clear mem_cgroup for a set of swap entries. These entries must be being uncharged from swap. They either belongs to one single folio in the swap cache (swap in for cgroup v1), or no longer have any users (slot freeing). SYNOPSIS unsigned short swap_cgroup_clear (swp_entry_t ent , unsigned ...
swap_cgroup_record(9)
NAME swap_cgroup_record - record mem_cgroup for a set of swap entries. These entries must belong to one single folio, and that folio must be being charged for swap space (swap out), and these entries must not have been charged SYNOPSIS void swap_cgroup_record (struct folio *folio , unsigned short id , swp_entry_t ent ...
swap_cluster_lock(9)
NAME swap_cluster_lock - Lock and return the swap cluster of given offset. SYNOPSIS struct swap_cluster_info * swap_cluster_lock (struct swap_info_struct *si , unsigned long offset ); ARGUMENTS si swap device the cluster belongs to. offset the swap entry offset, pointing to a valid slot. CONTEX...
swap_cluster_readahead(9)
NAME swap_cluster_readahead - swap in pages in hope we need them soon SYNOPSIS struct folio * swap_cluster_readahead (swp_entry_t entry , gfp_t gfp_mask , struct mempolicy *mpol , pgoff_t ilx ); ARGUMENTS entry swap entry of this memory gfp_mask memory allocation flags mpol NUMA memory...
swap_entry_swapped(9)
NAME swap_entry_swapped - Check if the swap entry is swapped. SYNOPSIS bool swap_entry_swapped (struct swap_info_struct *si , swp_entry_t entry ); ARGUMENTS si the swap device. entry the swap entry. SEE ALSO Kernel file ./mm/swapfile.c swap_put_entries_cluster(9), folio_alloc_swap(9), folio_du...
swap_pte_batch(9)
NAME swap_pte_batch - detect a PTE batch for a set of contiguous swap entries SYNOPSIS int swap_pte_batch (pte_t *start_ptep , int max_nr , pte_t pte ); ARGUMENTS start_ptep Page table pointer for the first entry. max_nr The maximum number of table entries to consider. pte Page table ent...
swap_put_entries_cluster(9)
NAME swap_put_entries_cluster - Decrease the swap count of a set of slots. SYNOPSIS void swap_put_entries_cluster (struct swap_info_struct *si , unsigned long start , int nr , bool reclaim_cache ); ARGUMENTS si The swap device. start start offset of slots. nr number of slots. ...
swap_put_entries_direct(9)
NAME swap_put_entries_direct - Release reference on range of swap entries and reclaim their cache if no more references remain. SYNOPSIS void swap_put_entries_direct (swp_entry_t entry , int nr ); ARGUMENTS entry First entry of range. nr Number of entries in range. DESCRIPTION For each swap en...