9 Kernel routines
8,468 pages in section 9.
s3
-
s390_register adapter interrupt handlerregister_ adapter_ interrupt -
s390_unregister adapter interrupt handlerunregister_ adapter_ interrupt -
s3d_status of a buttonbut_ info -
s3d_event informationevt -
s3d_key event informationkey_ event -
s3d_object informationobj_ info -
s3dw_button of s3d widgetbutton -
s3dw_input field of s3d widgetinput -
s3dw_label of s3d widgetlabel -
s3dw_scrollbar of s3d widgetscrollbar -
s3dw_style of s3d widgetstyle -
s3dw_root of s3d widgetsurface -
s3dw_textbox of s3d widgettextbox -
s3dw_s3d widget informationwidget
sa
-
sample_Sample and Holdhold -
samplersample data from HAL in real time -
samples_Unit conversion of the size from samples to bytesto_ bytes -
sanitize_remove non-graphical chars from an INQUIRY result stringinquiry_ string -
sas_instantiate SAS transport templateattach_ transport -
sas_setting TLR flagsdisable_ tlr -
sas_setting TLR flagsenable_ tlr -
sas_allocate an rphy for an end deviceend_ device_ alloc -
sas_allocate an rphy for an end deviceexpander_ alloc -
sas_return the SAS address of the deviceget_ address -
sas_add a SAS PHY to the device hierarchyphy_ add -
sas_allocates and initialize a SAS PHY structurephy_ alloc -
sas_remove SAS PHYphy_ delete -
sas_free a SAS PHYphy_ free -
sas_add a SAS port to the device hierarchyport_ add -
sas_add another phy to a port to form a wide portport_ add_ phy -
sas_remove SAS PORTport_ delete -
sas_remove a phy from a port or wide portport_ delete_ phy -
sas_free a SAS PORTport_ free -
sas_try to take a reference on a port memberport_ get_ phy -
sas_release SAS transport template instancerelease_ transport -
sas_tear down a devices SAS data structuresremove_ children -
sas_tear down a Scsi_Host's SAS data structuresremove_ host -
sas_add a SAS remote PHY to the device hierarchyrphy_ add -
sas_remove and free SAS remote PHYrphy_ delete -
sas_free a SAS remote PHYrphy_ free -
sas_remove SAS remote PHYrphy_ remove -
sas_unlink SAS remote PHYrphy_ unlink -
sas_checking TLR bit in vpd 0x90tlr_ supported -
sata_adjust SATA spd limit downwarddown_ spd_ limit -
sata_debounce SATA phy statuslink_ debounce -
sata_reset link via SATA phy resetlink_ hardreset -
sata_Initialize link->sata_spd_limitlink_ init_ spd -
sata_resume SATA linklink_ resume -
sata_manipulate SControl IPM and SPM fieldslink_ scr_ lpm -
sata_test if PHY event should be ignoredlpm_ ignore_ phy_ events -
sata_debounce SATA phy statusphy_ debounce -
sata_Reset SATA bus.phy_ reset -
sata_resume SATA phyphy_ resume -
sata_Print SATA link statusprint_ link_ status -
sata_read SCR register of the specified portscr_ read -
sata_test whether SCRs are accessiblescr_ valid -
sata_write SCR register of the specified portscr_ write -
sata_write SCR register of the specified port and flushscr_ write_ flush -
sata_set SATA spd according to spd limitset_ spd -
sata_is SATA spd configuration neededset_ spd_ needed -
sata_COMRESET w/o waiting or classificationstd_ hardreset
sb
-
sb_drop write access to a superblock for internal fs purposesend_ intwrite -
sb_drop write access to a superblock from a page faultend_ pagefault -
sb_drop write access to a superblockend_ write -
sb_get write access to a superblock from a page faultstart_ pagefault -
sb_get write access to a superblockstart_ write -
sbintimeQ32.32 fixed point representation of time -
sbintime_Q32.32 fixed point representation of timegetsec -
sbinuptimeget the time elapsed since boot -
sbttobtQ32.32 fixed point representation of time -
sbttomsQ32.32 fixed point representation of time -
sbttonsQ32.32 fixed point representation of time -
sbttotsQ32.32 fixed point representation of time -
sbttotvQ32.32 fixed point representation of time -
sbttousQ32.32 fixed point representation of time -
sbufsafe string formatting -
sbuf_safe string formattingbcat -
sbuf_safe string formattingbcopyin -
sbuf_safe string formattingbcpy -
sbuf_safe string formattingcat -
sbuf_safe string formattingclear -
sbuf_safe string compositionclear_ flags -
sbuf_safe string formattingcopyin -
sbuf_safe string formattingcpy -
sbuf_safe string formattingdata -
sbuf_safe string formattingdelete -
sbuf_safe string formattingdone -
sbuf_safe string compositionend_ section -
sbuf_safe string compositionerror -
sbuf_safe string formattingfinish -
sbuf_safe string compositionget_ flags -
sbuf_safe string compositionhexdump -
sbuf_safe string formattinglen -
sbuf_safe string formattingnew -
sbuf_safe string compositionnew_ auto -
sbuf_safe string compositionnew_ for_ sysctl -
sbuf_safe string compositionnl_ terminate -
sbuf_safe string formattingoverflowed -
sbuf_safe string formattingprintf -
sbuf_safe string compositionprintf_ drain -
sbuf_safe string compositionputbuf -
sbuf_safe string formattingputc -
sbuf_safe string compositionset_ drain -
sbuf_safe string compositionset_ flags -
sbuf_safe string formattingsetpos -
sbuf_safe string compositionstart_ section -
sbuf_safe string formattingtrim -
sbuf_safe string formattingvprintf
sc
-
scaleLinuxCNC HAL component that applies a scale and offset to its input -
scaled_Sum of four inputs (each with a scale)s32_ sums -
scan_[GENERIC] Scan data+OOB region to bufferread_ oob -
scarakinskinematics definitions for LinuxCNC For additional information, see the Documents 'Advanced Topics': Kinematics 5-Axis Kinematics Switchable Kinematics -
sched_change the scheduling policy and/or RT priority of a thread.setscheduler -
sched_perform round-robin scheduling of runnable processessetup -
schedclockperform round-robin scheduling of runnable processes -
schedcpuperform round-robin scheduling of runnable processes -
schedule_put work task in global workqueue after delaydelayed_ work -
schedule_queue work in global workqueue on CPU after delaydelayed_ work_ on -
schedule_sleep until timeouthrtimeout -
schedule_sleep until timeouthrtimeout_ range -
schedule_sleep until timeouttimeout -
schedule_put work task in global workqueuework -
schedulerperform round-robin scheduling of runnable processes -
scnprintfFormat a string and place it in a buffer -
SCPNT_searches for a given scmd in the ScsiLookup[] array listTO_ LOOKUP_ IDX -
scsi_Get LBA and transfer length10_ lba_ len -
scsi_Get LBA and transfer length16_ lba_ len -
scsi_Get LBA and transfer length6_ lba_ len -
scsi_add a scsi hostadd_ host -
scsi_add a scsi host with dma deviceadd_ host_ with_ dma -
scsi_allocate and fully initialze a scsi_deviceadd_ lun -
scsi_Respond to user request to probe for/add deviceadd_ single_ device -
scsi_Let low level drivers change a device's queue depthadjust_ queue_ depth -
scsi_allocate and setup a scsi_Devicealloc_ sdev -
scsi_allocate a new or find an existing targetalloc_ target -
scsi_get a fully allocated SCSI commandallocate_ command -
scsi_Read PC partition table out of first sector of device.bios_ ptable -
scsi_Prevent cmds from being queued.block_ when_ processing_ errors -
scsi_build sense data in a bufferbuild_ sense_ buffer -
scsi_change a device's queue depthchange_ queue_ depth -
scsi_Examine scsi cmd sensecheck_ sense -
scsi_Assign a serial number to a commandcmd_ get_ serial -
scsi_Wait for asynchronous scans to completecomplete_ async_ scans -
scsi_add one dev_info list entry.dev_ info_ list_ add -
scsi_parse dev_list and add to the scsi_dev_info_list.dev_ info_ list_ add_ str -
scsi_find a matching dev_info list entry.dev_ info_ list_ find -
scsi_return sdev associated with a request_queuedevice_ from_ queue -
scsi_get an additional reference to a scsi_devicedevice_ get -
scsi_find a device given the hostdevice_ lookup -
scsi_find a device given the targetdevice_ lookup_ by_ target -
scsi_release a reference to a scsi_devicedevice_ put -
scsi_Block user issued commands.device_ quiesce -
scsi_Restart user issued commands to a quiesced device.device_ resume -
scsi_Take the given device through the device state model.device_ set_ state -
scsi_test if a device supports VPD pagesdevice_ supports_ vpd -
scsi_Return 17 char string indicating device type.device_ type -
scsi_perform DMA mapping against command's sg listsdma_ map -
scsi_unmap command's sg lists mapped by scsi_dma_mapdma_ unmap -
scsi_Handle a cmd that eh is finished with.eh_ finish_ cmd -
scsi_finish processed commands or retry them.eh_ flush_ done_ q -
scsi_Get device sense data.eh_ get_ sense -
scsi_Save a scsi command info as part of error recoveryeh_ prep_ cmnd -
scsi_check device ready state and recover if not.eh_ ready_ devs -
scsi_Restore a scsi command info as part of error recoveryeh_ restore_ cmnd -
scsi_insert request and wait for the resultexecute -
scsi_insert requestexecute_ async -
scsi_remove /proc/scsi/device_info & the scsi_dev_info_listexit_ devinfo -
scsi_Remove scsi/scsi and scsi from procfsexit_ procfs -
scsi_asynchronous scan has finishedfinish_ async_ scan -
scsi_cleanup and pass command back to upper layerfinish_ command -
scsi_Flush a Scsi_Host's workqueue.flush_ work -
scsi_free a command allocated by scsi_allocate_commandfree_ command -
scsi_receive message handler for GENERIC transport messagesgeneric_ msg_ handler -
scsi_Allocate and setup a scsi command blockget_ command -
scsi_get device specific flags from the dynamic device list.get_ device_ flags -
scsi_get information field from sense data (either fixed or descriptor format)get_ sense_ info_ fld -
scsi_Get Vital Product Data from a SCSI deviceget_ vpd_ page -
scsi_register a scsi host adapter instance.host_ alloc -
scsi_inc a Scsi_Host ref counthost_ get -
scsi_get a reference to a Scsi_Host by host nohost_ lookup -
scsi_dec a Scsi_Host ref counthost_ put -
scsi_Take the given host through the host state model.host_ set_ state -
scsi_set up the dynamic device list.init_ devinfo -
scsi_create scsi and scsi/scsi in procfsinit_ procfs -
scsi_print INQUIRY data from min to max index, strip trailing whitespaceinq_ str -
scsi_internal function to put a device temporarily into the SDEV_BLOCK stateinternal_ device_ block -
scsi_resume a device after a block requestinternal_ device_ unblock -
scsi_Dispatch ioctl to scsi deviceioctl -
scsi_ioctl_ reset -
scsi_check if a struct device represents a SAS PHYis_ sas_ phy -
scsi_check if a struct device represents a SAS portis_ sas_ port -
scsi_check if a struct device represents a SAS remote PHYis_ sas_ rphy -
scsi_find and atomically map an sg-elemntkmap_ atomic_ sg -
scsi_atomically unmap a virtual address, previously mapped with scsi_kmap_atomic_sgkunmap_ atomic_ sg -
scsi_issue a mode selectmode_ select -
scsi_issue a mode sense, falling back from 10 to six bytes if necessary.mode_ sense -
scsi_Called by SCSI subsystem to disable the SCSI transport netlink interfacenetlink_ exit -
scsi_Called by SCSI subsystem to initialize the SCSI transport netlink interfacenetlink_ init -
scsi_Event handler for a netlink socket.nl_ rcv_ event -
scsi_Receive message handler.nl_ rcv_ msg -
scsi_Handle SG_SCSI_RESETnonblockable_ ioctl -
scsi_normalize main elements from either fixed or descriptor sense data format into a common format.normalize_ sense -
scsi_Parse cylinders/heads/sectors from PC partition tablepartsize -
scsi_prepare for an async scanprep_ async_ scan -
scsi_print scsi status descriptionprint_ status -
scsi_probe a LUN, if a LUN is found add itprobe_ and_ add_ lun -
scsi_probe a single LUN using a SCSI INQUIRYprobe_ lun -
scsi_Add entry for this host to appropriate /proc dirproc_ host_ add -
scsi_remove this host's entry from /procproc_ host_ rm -
scsi_Create directory in /proc for a scsi hostproc_ hostdir_ add -
scsi_remove directory in /proc for a scsi hostproc_ hostdir_ rm -
scsi_Free a scsi command blockput_ command -
scsi_Queue work to the Scsi_Host workqueue.queue_ work -
scsi_unregister a device from the scsi busremove_ device -
scsi_remove a scsi hostremove_ host -
scsi_Respond to user request to remove a deviceremove_ single_ device -
scsi_try to remove a target and all its devicesremove_ target -
scsi_Scan using SCSI REPORT LUN resultsreport_ lun_ scan -
scsi_Find out if a given command opcode is supportedreport_ opcode -
scsi_- Request command recovery for the specified commandreq_ abort_ cmd -
scsi_schedule EH for SCSI hostschedule_ eh -
scsi_search for a given descriptor type in descriptor sense data format.sense_ desc_ find -
scsi_sequentially scan a SCSI targetsequential_ lun_ scan -
scsi_check to see if target is in use and destroy if nottarget_ reap -
scsi_remove target from visibilitytarget_ reap_ ref_ release -
scsi_test if unit is readytest_ unit_ ready -
scsi_track QUEUE_FULL events to adjust queue depthtrack_ queue_ full -
scsi_unlock device via a special MODE SENSE commandunlock_ floptical -
scsi_return a unique device identificationvpd_ lun_ id -
scsicam_Determine geometry of a disk in cylinders/heads/sectors.bios_ param
sd
-
sdev_allocate a new scsi eventevt_ alloc -
sdev_send asserted event to uevent threadevt_ send -
sdev_send asserted event to uevent threadevt_ send_ simple -
SDTa DTrace framework for adding statically-defined tracing probes -
SDT_a DTrace framework for adding statically-defined tracing probesPROBE -
SDT_a DTrace framework for adding statically-defined tracing probesPROBE_ DECLARE -
SDT_a DTrace framework for adding statically-defined tracing probesPROBE_ DEFINE -
SDT_a DTrace framework for adding statically-defined tracing probesPROVIDER_ DECLARE -
SDT_a DTrace framework for adding statically-defined tracing probesPROVIDER_ DEFINE
se
-
search_[GENERIC] scan the device for a specific bad block tablebbt -
search_[GENERIC] scan the device for bad block table(s)read_ bbts -
securelevel_test active securelevelge -
securelevel_test active securelevelgt -
security_initializes the security frameworkinit -
security_Load given security module on boot ?module_ enable -
securityfs_create a directory in the securityfs filesystemcreate_ dir -
securityfs_create a file in the securityfs filesystemcreate_ file -
securityfs_removes a file or directory from the securityfs filesystemremove -
seldrainrecord and wakeup select requests -
select88-bit binary match detector -
selrecordrecord and wakeup select requests -
selwakeuprecord and wakeup select requests -
semakernel counting semaphore -
sema_kernel counting semaphoredestroy -
sema_kernel counting semaphoreinit -
sema_kernel counting semaphorepost -
sema_kernel counting semaphoretimedwait -
sema_kernel counting semaphoretrywait -
sema_kernel counting semaphorevalue -
sema_kernel counting semaphorewait -
SendSend EventAck request to MPT adapter.Event Ack -
SendSend EventNotification (on or off) request to adapterEvent Notification -
SendSend IOCInit request to MPT adapter.Ioc Init -
SendSend IOCReset request to MPT adapter.Ioc Reset -
SendSend PortEnable request to MPT adapter port.Port Enable -
seq_print string into buffer, escaping some charactersescape -
seq_seq_file interface to print a pathname of a filefile_ path -
seq_move to the next position of the hlisthlist_ next -
seq_move to the next position of the percpu hlist arrayhlist_ next_ percpu -
seq_move to the next position of the hlist protected by RCUhlist_ next_ rcu -
seq_start an iteration of a hlisthlist_ start -
seq_start an iteration of a hlisthlist_ start_ head -
seq_start an iteration of a hlist protected by RCUhlist_ start_ head_ rcu -
seq_start an iteration of a percpu hlist arrayhlist_ start_ percpu -
seq_start an iteration of a hlist protected by RCUhlist_ start_ rcu -
seq_->llseek method for sequential files.lseek -
seq_initialize sequential fileopen -
seq_write padding spaces to bufferpad -
seq_seq_file interface to print a pathnamepath -
seq_->read method for sequential files.read -
seq_free the structures associated with sequential file.release -
seq_write arbitrary data to bufferwrite -
seqclockless read algorithm -
seqc_lockless read algorithmconsistent -
seqc_lockless read algorithmread -
seqc_lockless read algorithmwrite_ begin -
seqc_lockless read algorithmwrite_ end -
serial8250_register a serial portregister_ 8250_ port -
serial8250_register a serial portregister_ port -
serial8250_resume one serial portresume_ port -
serial8250_suspend one serial portsuspend_ port -
serial8250_remove a 16x50 serial port at runtimeunregister_ port -
serportHardware driver for the digital I/O bits of the 8250 and 16550 serial port. -
set_Atomically set a bit in memorybit -
set_change current->blocked maskcurrent_ blocked -
set_set the specified number of pages reserved in the first zonedma_ reserve -
SET_set device for 802.11 hardwareIEEE80211_ DEV -
SET_set the permanent MAC address for 802.11 hardwareIEEE80211_ PERM_ ADDR -
set_set the irq chip for an irqirq_ chip -
set_set irq chip data for an irqirq_ chip_ data -
set_set irq type data for an irqirq_ data -
set_set irq type data for an irqirq_ msi -
set_Set/Reset the IRQ_NESTED_THREAD flag of an irqirq_ nested_ thread -
set_set the irq trigger type for an irqirq_ type -
set_control irq power management wakeupirq_ wake -
set_directly set an inode's link countnlink -
set_Set the requested group of flags for a pageblock_nr_pages block of pagespageblock_ flags_ group -
set_Set the requested group of flags for a pageblock_nr_pages block of pagespfnblock_ flags_ mask -
set_set the allowed slack for a timertimer_ slack -
set_set device pointer for wiphywiphy_ dev -
setenvkernel environment variable functions -
setrunnableperform round-robin scheduling of runnable processes -
setrunqueuemanage the queue of runnable processes -
SETSETNEQkernel signal functions -
SETSETORkernel signal functions -
setsseriala utility for setting Smart Serial NVRAM parameters. NOTE: This rather clunky utility is no longer needed except for flashing new smart-serial remote firmware. Smart-serial remote parameters can now be set in the HAL file in the normal way. -
setup_setup an interruptirq -
setup_called when min_free_kbytes changes.per_ zone_ pages_ min -
setup_called when min_free_kbytes changes or when memory is hot-{added|removed}per_ zone_ wmarks -
setup_sets up the device files under device namespacesys_ fs_ device_ files
sf
-
sf_manage temporary kernel address space mapping for memory pagesbuf -
sf_manage temporary kernel address space mapping for memory pagesbuf_ alloc -
sf_manage temporary kernel address space mapping for memory pagesbuf_ free -
sf_manage temporary kernel address space mapping for memory pagesbuf_ kva -
sf_manage temporary kernel address space mapping for memory pagesbuf_ page
sg
-
sgetfind or create a superblock -
sget_find or create a superblockuserns -
sglistmanage a scatter/gather list of physical memory addresses -
sglist_manage a scatter/gather list of physical memory addressesalloc -
sglist_manage a scatter/gather list of physical memory addressesappend -
sglist_manage a scatter/gather list of physical memory addressesappend_ bio -
sglist_manage a scatter/gather list of physical memory addressesappend_ mbuf -
sglist_manage a scatter/gather list of physical memory addressesappend_ mbuf_ epg -
sglist_manage a scatter/gather list of physical memory addressesappend_ phys -
sglist_manage a scatter/gather list of physical memory addressesappend_ sglist -
sglist_manage a scatter/gather list of physical memory addressesappend_ single_ mbuf -
sglist_manage a scatter/gather list of physical memory addressesappend_ uio -
sglist_manage a scatter/gather list of physical memory addressesappend_ user -
sglist_manage a scatter/gather list of physical memory addressesappend_ vmpages -
sglist_manage a scatter/gather list of physical memory addressesbuild -
sglist_manage a scatter/gather list of physical memory addressesclone -
sglist_manage a scatter/gather list of physical memory addressesconsume_ uio -
sglist_manage a scatter/gather list of physical memory addressescount -
sglist_manage a scatter/gather list of physical memory addressescount_ mbuf_ epg -
sglist_manage a scatter/gather list of physical memory addressescount_ vmpages -
sglist_manage a scatter/gather list of physical memory addressesfree -
sglist_manage a scatter/gather list of physical memory addresseshold -
sglist_manage a scatter/gather list of physical memory addressesinit -
sglist_manage a scatter/gather list of physical memory addressesjoin -
sglist_manage a scatter/gather list of physical memory addresseslength -
sglist_manage a scatter/gather list of physical memory addressesreset -
sglist_manage a scatter/gather list of physical memory addressesslice -
sglist_manage a scatter/gather list of physical memory addressessplit
sh
-
sh64_Allocate a wired (locked-in) entry in the DTLBget_ wired_ dtlb_ entry -
sh64_Find the next available DTLB entrynext_ free_ dtlb_ entry -
sh64_Free a wired (locked-in) entry in the DTLB.put_ wired_ dtlb_ entry -
sh64_Load up a translation in a wired slot.setup_ tlb_ slot -
sh64_Teardown a translation.teardown_ tlb_ slot -
sh64_Perform initial setup for the DTLB and ITLB.tlb_ init -
shm_map shared memory objects into the kernel's address spacemap -
shm_map shared memory objects into the kernel's address spaceunmap -
shost_iterate over all devices of a hostfor_ each_ device -
should_functions for yielding execution of the current threadyield -
shrink_Shrink an existing registered range of PFNsactive_ range -
shrink_prune dcachedcache_ parent -
shrink_shrink dcache for a superblockdcache_ sb -
shutdown_reboot, halt, or power off the systemnice
si
-
SIG_kernel signal functionsCONTSIGMASK -
SIG_kernel signal functionsSTOPSIGMASK -
SIGADDSETkernel signal functions -
SIGDELSETkernel signal functions -
SIGEMPTYSETkernel signal functions -
sigexitkernel signal functions -
SIGFILLSETkernel signal functions -
siggensignal generator -
siginitkernel signal functions -
SIGISEMPTYkernel signal functions -
SIGISMEMBERkernel signal functions -
signalkernel signal functions -
signal_delivered -
SIGNOTEMPTYkernel signal functions -
signotifykernel signal functions -
SIGPENDINGkernel signal functions -
SIGSETANDkernel signal functions -
SIGSETCANTMASKkernel signal functions -
SIGSETEQkernel signal functions -
SIGSETNANDkernel signal functions -
sil_Apply device/host-specific errata fixupsdev_ config -
sil_wrap set_mode functionsset_ mode -
sim_A component to simulate home and limit switchesaxis_ hardware -
sim_simulated quadrature encoderencoder -
sim_Home switch simulatorhome_ switch -
sim_convert HAL pin inputs to keycodesmatrix_ kb -
sim_A component to simulate the pins of the hal_parport componentparport -
sim_Simulated spindle with index pulsespindle -
simple_convert a string to a signed longstrtol -
simple_convert a string to a signed long longstrtoll -
simple_convert a string to an unsigned longstrtoul -
simple_convert a string to an unsigned long longstrtoull -
simple_This component is a single axis simple trajectory planner, same as used for jogging in LinuxCNC.tp -
single_[GENERIC] NAND standard block erase command functionerase -
single_[GENERIC] NAND standard block erase command functionerase_ cmd