Section9

From Linux Man Pages

Jump to: navigation, search

Kernel routines (Non standard)

Contents

_

__change_bit - Toggle a bit in memory
__fb_try_mode - test a video mode
__ffs - find first bit in word.
__get_lease - revoke all outstanding leases on file
__set_bit - Set a bit in memory
__submit_bh -
__test_and_clear_bit - Clear a bit and return its old value
__test_and_set_bit - Set a bit and return its old value
_devfs_alloc_entry - Allocate a devfs entry.
_devfs_append_entry - Append a devfs entry to a directory's child list.
_devfs_descend - Descend down a tree using the next component name.
_devfs_find_by_dev - Find a devfs entry in a directory.
_devfs_find_entry - Find a devfs entry.
_devfs_get_root_entry - Get the root devfs entry.
_devfs_get_vfs_inode - Get a VFS inode.
_devfs_search_dir - Search for a devfs entry in a directory.
_devfs_unhook - Unhook a device entry from its parents list
_devfs_unregister - Unregister a device entry from it's parent.

A

acquire_console_sem - lock the console system for exclusive use.
alloc_etherdev - Allocates and sets up an ethernet device
alloc_fcdev - Register fibre channel device
alloc_fddidev - Register FDDI device
alloc_hippi_dev - Register HIPPI device
alloc_trdev - Register token ring device
allow_console_wakeups - stop buffering printk output

B

bcopy - Copy one area of memory to another
blk_cleanup_queue - release a &request_queue_t when it is no longer needed
blk_init_queue - prepare a request queue for use with a block device
blk_queue_bounce_limit - set bounce buffer limit for queue
blk_queue_headactive - indicate whether head of request queue may be active
blk_queue_make_request - define an alternate make_request function for a device
blk_queue_ordered - does this queue support ordered writes
blk_queue_throttle_sectors - indicates you will call sector throttling funcs
block_console_wakeups - buffer printk output by skipping wake_ups

C

call_usermodehelper - start a usermode application
change_bit - Toggle a bit in memory
check_disc_changed - Check if a removable disc was changed.
clear_bit - Clears a bit in memory
console_getmode - get current mode
console_powermode - sets monitor power mode
console_setcmap - sets palette color map for console
console_setmode - sets current console mode

D

devfs_auto_unregister - Configure a devfs entry to be automatically unregistered.
devfs_d_delete - Callback for when all files for a dentry are closed.
devfs_d_iput - Callback for when a dentry loses its inode.
devfs_d_release - Callback for when a dentry is freed.
devfs_generate_path - Generate a pathname for an entry, relative to the devfs root.
devfs_get - Get a reference to a devfs entry.
devfs_get_first_child - Get the first leaf node in a directory.
devfs_get_flags - Get the flags for a devfs entry.
devfs_get_handle - Find the handle of a devfs entry.
devfs_get_handle_from_inode - Get the devfs handle for a VFS inode.
devfs_get_info - Get the info pointer written to private_data of @de upon open.
devfs_get_maj_min - Get the major and minor numbers for a devfs entry.
devfs_get_name - Get the name for a device entry in its parent directory.
devfs_get_next_sibling - Get the next sibling leaf node. for a device entry.
devfs_get_ops - Get the device operations for a devfs entry.
devfs_get_parent - Get the parent device entry.
devfs_get_unregister_slave - Get the slave entry which will be automatically unregistered.
devfs_mk_dir - Create a directory in the devfs namespace.
devfs_mk_symlink -
devfs_put - Put (release) a reference to a devfs entry.
devfs_put_ops - Put the device operations for a devfs entry.
devfs_register - Register a device entry.
devfs_register_blkdev - Optionally register a conventional block driver.
devfs_register_chrdev - Optionally register a conventional character driver.
devfs_set_file_size - Set the file size for a devfs regular file.
devfs_set_info - Set the info pointer written to private_data upon open.
devfs_setup - Process kernel boot options.
devfs_unregister - Unregister a device entry.
devfs_unregister_blkdev - Optionally unregister a conventional block driver.
devfs_unregister_chrdev - Optionally unregister a conventional character driver.
devfsd_notify - Notify the devfsd daemon of a change.
devfsd_notify_de - Notify the devfsd daemon of a change.
devfsd_queue_empty - Test if devfsd has work pending in its event queue.
disable_irq - disable an irq and wait for completion
disable_irq_nosync - disable an irq without waiting
do_set_multicast_list - set/clear multicast filter

E

ei_close - shut down network device
ei_interrupt - handle the interrupts from an 8390
ei_open - Open/initialize the board.
ei_receive - receive some packets
ei_rx_overrun - handle receiver overrun
ei_start_xmit - begin packet transmission
ei_tx_err - handle transmitter error
ei_tx_intr - transmit interrupt handler
ei_tx_timeout - handle transmit time out condition
enable_irq - enable handling of an irq
end_that_request_first - end I/O on one buffer.
ethdev_init - init rest of 8390 device struct

F

fb_alloc_cmap - allocate a colormap
fb_copy_cmap - copy a colormap
fb_default_cmap - get default colormap
fb_find_mode - finds a valid video mode
fb_get_cmap - get a colormap
fb_invert_cmaps - invert all defaults colormaps
fb_set_cmap - set the colormap
fbcon_find_font - find a font
fbcon_get_default_font - get default font
fbcon_redraw_bmove - copy area of screen to another area
fbcon_redraw_clear - clear area of the screen
fbgen_blank - blank the screen
fbgen_do_set_var - change the video mode
fbgen_get_cmap - get the colormap
fbgen_get_fix - get fixed part of display
fbgen_get_var - get user defined part of display
fbgen_install_cmap - install the current colormap
fbgen_pan_display - pan or wrap the display
fbgen_set_cmap - set the colormap
fbgen_set_disp - set generic display
fbgen_set_var - set the user defined part of display
fbgen_switch - switch to a different virtual console.
fbgen_update_var - update user defined part of display
fbmem_init - init frame buffer subsystem
fcntl_getlease - Enquire what lease is currently active
fcntl_setlease - sets a lease on an open file
ffs - find first bit set
ffz - find first zero in word.
find_first_bit - find the first set bit in a memory region
find_first_zero_bit - find the first zero bit in a memory region
find_next_bit - find the first set bit in a memory region
find_next_zero_bit - find the first zero bit in a memory region
free_dentry - Free the dentry for a device entry and invalidate inode.
free_irq - free an interrupt

G

generic_make_request -
get_locks_status - reports lock usage in /proc/locks
get_removable_partition - Get removable media partition.

H

hweight32 - returns the hamming weight of a N-bit word

I

init_etherdev - Register ethernet device
init_fcdev - Register fibre channel device
init_fddidev - Register FDDI device
init_hippi_dev - Register HIPPI device
init_trdev - Register token ring device
inter_module_get - return arbitrary userdata from another module.
inter_module_get_request - im get with automatic request_module.
inter_module_put - release use of data from another module.
inter_module_register - register a new set of inter module data.
inter_module_unregister - unregister a set of inter module data.
is_devfsd_or_child - Test if the current process is devfsd or one of its children.

L

lease_get_mtime -
ll_rw_block - level access to block devices
lock_may_read - checks that the region is free of locks
lock_may_write - checks that the region is free of locks

M

mac_find_mode - find a video mode
mac_map_monitor_sense - Convert monitor sense to vmode
mac_var_to_vmode - convert var structure to MacOS vmode/cmode pair
mac_vmode_to_var - converts vmode/cmode pair to var structure
mca_find_adapter - scan for adapters
mca_find_unused_adapter - scan for unused adapters
mca_get_adapter_name - get the adapter description
mca_is_adapter_used - check if claimed by driver
mca_isadapter - check if the slot holds an adapter
mca_isenabled - check if the slot holds an adapter
mca_mark_as_unused - release an MCA device
mca_mark_as_used - claim an MCA device
mca_read_pos - read POS register from card
mca_read_stored_pos - read POS register from boot data
mca_set_adapter_name - Set the description of the card
mca_set_adapter_procfn - Set the /proc callback
mca_write_pos - read POS register from card
memchr - Find a character in an area of memory.
memcmp - Compare two areas of memory
memcpy - Copy one area of memory to another
memmove - Copy one area of memory to another
memscan - Find a character in an area of memory.
memset - Fill a region of memory with the given value
misc_deregister - unregister a miscellaneous device
misc_register - register a miscellaneous device
mod_firmware_load - load sound driver firmware
mtrr_add - Add a memory type region
mtrr_add_page - Add a memory type region
mtrr_del - delete a memory type region
mtrr_del_page - delete a memory type region

N

NS8390_init - initialize 8390 hardware

P

pci_announce_device_to_drivers - tell the drivers a new device has appeared
pci_bus_read_config_byte - read a byte from a pci device
pci_bus_read_config_dword - read a dword from a pci device
pci_bus_read_config_word - read a word from a pci device
pci_bus_write_config_byte - write a byte to a pci device
pci_bus_write_config_dword - write a dword to a pci device
pci_bus_write_config_word - write a word to a pci device
pci_clear_mwi - disables Memory-Write-Invalidate for device dev
pci_dev_driver - get the pci_driver of a device
pci_disable_device - Disable PCI device after use
pci_enable_device - Initialize device before it's used by a driver.
pci_enable_device_bars - Initialize some of a device for use
pci_enable_wake - enable device to generate PME# when suspended
pci_find_capability - query for devices' capabilities
pci_find_class - begin or continue searching for a PCI device by class
pci_find_device - begin or continue searching for a PCI device by vendor/device id
pci_find_parent_resource - return resource region of parent bus of given region
pci_find_slot - locate PCI device from a given PCI slot
pci_find_subsys - begin or continue searching for a PCI device by vendor/subvendor/device/subdevice id
pci_hp_change_slot_info - changes the slot's information structure in the core
pci_hp_deregister - deregister a hotplug_slot with the PCI hotplug subsystem
pci_hp_register - register a hotplug_slot with the PCI hotplug subsystem
pci_insert_device - insert a hotplug device
pci_match_device - Tell if a PCI device structure has a matching PCI device id structure
pci_pool_alloc - get a block of consistent memory
pci_pool_create - Creates a pool of pci consistent memory blocks, for dma.
pci_pool_destroy - destroys a pool of pci memory blocks.
pci_pool_free - put block back into pci pool
pci_register_driver - register a new pci driver
pci_release_region - Release a PCI bar
pci_release_regions - Release reserved PCI I/O and memory resources
pci_remove_device - remove a hotplug device
pci_request_region - Reserved PCI I/O and memory resource
pci_request_regions - Reserved PCI I/O and memory resources
pci_restore_state - Restore the saved state of a PCI device
pci_save_state - save the PCI configuration space of a device before suspending
pci_set_master - enables bus-mastering for device dev
pci_set_mwi - enables memory-write-invalidate PCI transaction
pci_set_power_state - Set the power state of a PCI device
pci_setup_device - fill in class and map information of a device
pci_unregister_driver - unregister a pci driver
pcihpfs_create_by_name - create a file, given a name
pdev_set_mwi - arch helper function for pcibios_set_mwi
pm_find - find a device
pm_register - register a device with power management
pm_send - send request to a single device
pm_send_all - send request to all managed devices
pm_unregister - unregister a device with power management
pm_unregister_all - unregister all devices with matching callback
posix_block_lock - blocks waiting for a file lock
posix_lock_file -
posix_unblock_lock - stop waiting for a file lock
probe_irq_mask - scan a bitmap of interrupt lines
probe_irq_off - end an interrupt autodetect
probe_irq_on - begin an interrupt autodetect
PROC_CONSOLE - find the attached tty or visible console
proc_dointvec - read a vector of integers
proc_dointvec_jiffies - read a vector of integers as seconds
proc_dointvec_minmax - read a vector of integers with min/max values
proc_dostring - read a string sysctl
proc_doulongvec_minmax - read a vector of long integers with min/max values
proc_doulongvec_ms_jiffies_minmax - read a vector of millisecond values with min/max values

R

read_zsdata - Read the data port of a Z8530 channel
read_zsreg - Read a register from a Z85230
register_framebuffer - registers a frame buffer device
register_serial - configure a 16x50 serial port at runtime
register_sound_dsp - register a DSP device
register_sound_midi - register a midi device
register_sound_mixer - register a mixer device
register_sound_special - register a special sound node
register_sound_synth - register a synth device
register_sysctl_table - register a sysctl hierarchy
release_console_sem - unlock the console system
request_irq - allocate an interrupt line
request_module - try to load a kernel module

S

scan_dir_for_removable - Scan a directory for removable media devices and check media.
set_all_vcs - set all virtual consoles to match
set_bit - Atomically set a bit in memory
set_con2fb_map - map console to frame buffer device
simple_strtol - convert a string to a signed long
simple_strtoll - convert a string to a signed long long
simple_strtoul - convert a string to an unsigned long
simple_strtoull - convert a string to an unsigned long long
snprintf - Format a string and place it in a buffer
spans_boundary - Check a packet can be ISA DMA'd
sppp_attach - attach synchronous PPP/HDLC to a device
sppp_change_mtu - Change the link MTU
sppp_close - close down a synchronous PPP or Cisco HDLC link
sppp_detach - release PPP resources from a device
sppp_do_ioctl - Ioctl handler for ppp/hdlc
sppp_input - receive and process a WAN PPP frame
sppp_open - open a synchronous PPP or Cisco HDLC link
sppp_rcv - receive and process a WAN PPP frame
sppp_reopen - notify of physical link loss
sprintf - Format a string and place it in a buffer
sscanf - Unformat a buffer into a list of arguments
strcat - Append one %NUL-terminated string to another
strchr - Find the first occurrence of a character in a string
strcmp - Compare two strings
strcpy - Copy a %NUL terminated string
strlen - Find the length of a string
strncat - Append a length-limited, %NUL-terminated string to another
strncmp - Compare two length-limited strings
strncpy - Copy a length-limited, %NUL-terminated string
strnicmp - Case insensitive, length-limited string comparison
strnlen - Find the length of a length-limited string
strpbrk - Find the first occurrence of a set of characters
strrchr - Find the last occurrence of a character in a string
strsep - Split a string into tokens
strspn - Calculate the length of the initial substring of @s which only
strstr - Find the first substring in a %NUL terminated string
strtok - Split a string into tokens
sys_flock - flock() system call.
sys_sched_getaffinity - get the cpu affinity of a process
sys_sched_setaffinity - set the cpu affinity of a process

T

test_and_change_bit - Change a bit and return its new value
test_and_clear_bit - Clear a bit and return its old value
test_and_set_bit - Set a bit and return its old value
test_bit - Determine whether a bit is set
try_modload - Notify devfsd of an inode lookup by a non-devfsd process.
tty_write_message - write a message to a certain tty, not just the console.

U

unregister_framebuffer - releases a frame buffer device
unregister_serial - deconfigure a 16x50 serial port
unregister_sound_dsp - unregister a DSP device
unregister_sound_midi - unregister a midi device
unregister_sound_mixer - unregister a mixer
unregister_sound_special - unregister a special sound device
unregister_sound_synth - unregister a synth device
unregister_sysctl_table - unregister a sysctl table hierarchy
usb_alloc_bus - creates a new USB host controller structure
usb_alloc_urb - creates a new urb for a USB driver to use
usb_bulk_msg - Builds a bulk urb, sends it off and waits for completion
usb_control_msg - Builds a control urb, sends it off and waits for completion
usb_deregister - unregister a USB driver
usb_deregister_bus - deregisters the USB host controller
usb_free_bus - frees the memory used by a bus structure
usb_free_urb - frees the memory used by a urb
usb_match_id - find first usb_device_id matching device or interface
usb_register - register a USB driver
usb_register_bus - registers the USB host controller with the usb core
usb_scan_devices - scans all unclaimed USB interfaces

V

video_register_device - register video4linux devices
video_setup - process command line options
video_unregister_device - unregister a video4linux device
vsnprintf - Format a string and place it in a buffer
vsprintf - Format a string and place it in a buffer
vsscanf - Unformat a buffer into a list of arguments

W

wait_for_devfsd_finished - Wait for devfsd to finish processing its event queue.
write_zsctrl - Write to a Z8530 control register
write_zsdata - Write to a Z8530 control register
write_zsreg - Write to a Z8530 channel register

Y

yield - yield the current processor to other threads.

Z

z8530_channel_load - Load channel data
z8530_describe - Uniformly describe a Z8530 port
z8530_dma_rx - Handle a DMA RX event
z8530_dma_status - Handle a DMA status exception
z8530_dma_tx - Handle a DMA TX event
z8530_flush_fifo - Flush on chip RX FIFO
z8530_get_stats - Get network statistics
z8530_init - Initialise a Z8530 device
z8530_interrupt - Handle an interrupt from a Z8530
z8530_null_rx - Discard a packet
z8530_queue_xmit - Queue a packet
z8530_read_port - Architecture specific interface function
z8530_rtsdtr - Control the outgoing DTS/RTS line
z8530_rx - Handle a PIO receive event
z8530_rx_clear - Handle RX events from a stopped chip
z8530_rx_done - Receive completion callback
z8530_shutdown - Shutdown a Z8530 device
z8530_status - Handle a PIO status exception
z8530_status_clear - Handle status events from a stopped chip
z8530_sync_close - Close a PIO Z8530 channel
z8530_sync_dma_close - Close down DMA I/O
z8530_sync_dma_open - Open a Z8530 for DMA I/O
z8530_sync_open - Open a Z8530 channel for PIO
z8530_sync_txdma_close - Close down a TX driven DMA channel
z8530_sync_txdma_open - Open a Z8530 for TX driven DMA
z8530_tx - Handle a PIO transmit event
z8530_tx_begin - Begin packet transmission
z8530_tx_clear - Handle TX events from a stopped chip
z8530_tx_done - TX complete callback
z8530_write_port - Architecture specific interface function

Personal tools