Sophie

Sophie

distrib > CentOS > 6 > i386 > by-pkgid > 2c51d8eb79f8810ada971ee8c30ce1e5 > files > 1519

kernel-doc-2.6.32-71.14.1.el6.noarch.rpm

<?xml version="1.0" encoding="ANSI_X3.4-1968" standalone="no"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"><head><meta http-equiv="Content-Type" content="text/html; charset=ANSI_X3.4-1968" /><title>The Linux Kernel API</title><meta name="generator" content="DocBook XSL Stylesheets V1.75.2" /><link rel="home" href="index.html" title="The Linux Kernel API" /><link rel="next" href="ch01.html" title="Chapter&#160;1.&#160;Data Types" /></head><body><div class="navheader"><table width="100%" summary="Navigation header"><tr><th colspan="3" align="center">The Linux Kernel API</th></tr><tr><td width="20%" align="left">&#160;</td><th width="60%" align="center">&#160;</th><td width="20%" align="right">&#160;<a accesskey="n" href="ch01.html">Next</a></td></tr></table><hr /></div><div class="book" title="The Linux Kernel API"><div class="titlepage"><div><div><h1 class="title"><a id="LinuxKernelAPI"></a>The Linux Kernel API</h1></div><div><div class="legalnotice" title="Legal Notice"><a id="id2603106"></a><p>
     This documentation is free software; you can redistribute
     it and/or modify it under the terms of the GNU General Public
     License as published by the Free Software Foundation; either
     version 2 of the License, or (at your option) any later
     version.
   </p><p>
     This program is distributed in the hope that it will be
     useful, but WITHOUT ANY WARRANTY; without even the implied
     warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
     See the GNU General Public License for more details.
   </p><p>
     You should have received a copy of the GNU General Public
     License along with this program; if not, write to the Free
     Software Foundation, Inc., 59 Temple Place, Suite 330, Boston,
     MA 02111-1307 USA
   </p><p>
     For more details see the file COPYING in the source
     distribution of Linux.
   </p></div></div></div><hr /></div><div class="toc"><p><b>Table of Contents</b></p><dl><dt><span class="chapter"><a href="ch01.html">1. Data Types</a></span></dt><dd><dl><dt><span class="sect1"><a href="ch01.html#id2573462">Doubly Linked Lists</a></span></dt></dl></dd><dt><span class="chapter"><a href="ch02.html">2. Basic C Library Functions</a></span></dt><dd><dl><dt><span class="sect1"><a href="ch02.html#id2621104">String Conversions</a></span></dt><dt><span class="sect1"><a href="ch02s02.html">String Manipulation</a></span></dt><dt><span class="sect1"><a href="ch02s03.html">Bit Operations</a></span></dt></dl></dd><dt><span class="chapter"><a href="ch03.html">3. Basic Kernel Library Functions</a></span></dt><dd><dl><dt><span class="sect1"><a href="ch03.html#id2630756">Bitmap Operations</a></span></dt><dt><span class="sect1"><a href="ch03s02.html">Command-line Parsing</a></span></dt><dt><span class="sect1"><a href="ch03s03.html">CRC Functions</a></span></dt></dl></dd><dt><span class="chapter"><a href="ch04.html">4. Memory Management in Linux</a></span></dt><dd><dl><dt><span class="sect1"><a href="ch04.html#id2636427">The Slab Cache</a></span></dt><dt><span class="sect1"><a href="ch04s02.html">User Space Memory Access</a></span></dt><dt><span class="sect1"><a href="ch04s03.html">More Memory Management Functions</a></span></dt></dl></dd><dt><span class="chapter"><a href="ch05.html">5. Kernel IPC facilities</a></span></dt><dd><dl><dt><span class="sect1"><a href="ch05.html#id2654382">IPC utilities</a></span></dt></dl></dd><dt><span class="chapter"><a href="ch06.html">6. FIFO Buffer</a></span></dt><dd><dl><dt><span class="sect1"><a href="ch06.html#id2657917">kfifo interface</a></span></dt></dl></dd><dt><span class="chapter"><a href="ch07.html">7. relay interface support</a></span></dt><dd><dl><dt><span class="sect1"><a href="ch07.html#id2659585">relay interface</a></span></dt></dl></dd><dt><span class="chapter"><a href="ch08.html">8. Module Support</a></span></dt><dd><dl><dt><span class="sect1"><a href="ch08.html#id2663273">Module Loading</a></span></dt><dt><span class="sect1"><a href="ch08s02.html">Inter Module support</a></span></dt></dl></dd><dt><span class="chapter"><a href="ch09.html">9. Hardware Interfaces</a></span></dt><dd><dl><dt><span class="sect1"><a href="ch09.html#id2664173">Interrupt Handling</a></span></dt><dt><span class="sect1"><a href="ch09s02.html">DMA Channels</a></span></dt><dt><span class="sect1"><a href="ch09s03.html">Resources Management</a></span></dt><dt><span class="sect1"><a href="ch09s04.html">MTRR Handling</a></span></dt><dt><span class="sect1"><a href="ch09s05.html">PCI Support Library</a></span></dt><dt><span class="sect1"><a href="ch09s06.html">PCI Hotplug Support Library</a></span></dt><dt><span class="sect1"><a href="ch09s07.html">MCA Architecture</a></span></dt><dd><dl><dt><span class="sect2"><a href="ch09s07.html#id2685453">MCA Device Functions</a></span></dt><dt><span class="sect2"><a href="ch09s07.html#id2685468">MCA Bus DMA</a></span></dt></dl></dd></dl></dd><dt><span class="chapter"><a href="ch10.html">10. Firmware Interfaces</a></span></dt><dd><dl><dt><span class="sect1"><a href="ch10.html#id2686550">DMI Interfaces</a></span></dt><dt><span class="sect1"><a href="ch10s02.html">EDD Interfaces</a></span></dt></dl></dd><dt><span class="chapter"><a href="ch11.html">11. Security Framework</a></span></dt><dd><dl><dt><span class="refentrytitle"><a href="re457.html"><span>security_init</span></a></span><span class="refpurpose"> &#8212; 
  initializes the security framework
 </span></dt><dt><span class="refentrytitle"><a href="re458.html"><span>security_module_enable</span></a></span><span class="refpurpose"> &#8212; 
     Load given security module on boot ?
 </span></dt><dt><span class="refentrytitle"><a href="re459.html"><span>register_security</span></a></span><span class="refpurpose"> &#8212; 
     registers a security framework with the kernel
 </span></dt><dt><span class="refentrytitle"><a href="re460.html"><span>securityfs_create_file</span></a></span><span class="refpurpose"> &#8212; 
  create a file in the securityfs filesystem
 </span></dt><dt><span class="refentrytitle"><a href="re461.html"><span>securityfs_create_dir</span></a></span><span class="refpurpose"> &#8212; 
     create a directory in the securityfs filesystem
 </span></dt><dt><span class="refentrytitle"><a href="re462.html"><span>securityfs_remove</span></a></span><span class="refpurpose"> &#8212; 
     removes a file or directory from the securityfs filesystem
 </span></dt></dl></dd><dt><span class="chapter"><a href="ch12.html">12. Audit Interfaces</a></span></dt><dd><dl><dt><span class="refentrytitle"><a href="re463.html"><span>audit_log_start</span></a></span><span class="refpurpose"> &#8212; 
  obtain an audit buffer
 </span></dt><dt><span class="refentrytitle"><a href="re464.html"><span>audit_log_format</span></a></span><span class="refpurpose"> &#8212; 
     format a message into the audit buffer.
 </span></dt><dt><span class="refentrytitle"><a href="re465.html"><span>audit_log_end</span></a></span><span class="refpurpose"> &#8212; 
     end one audit record
 </span></dt><dt><span class="refentrytitle"><a href="re466.html"><span>audit_log</span></a></span><span class="refpurpose"> &#8212; 
     Log an audit record
 </span></dt><dt><span class="refentrytitle"><a href="re467.html"><span>audit_alloc</span></a></span><span class="refpurpose"> &#8212; 
  allocate an audit context block for a task
 </span></dt><dt><span class="refentrytitle"><a href="re468.html"><span>audit_free</span></a></span><span class="refpurpose"> &#8212; 
     free a per-task audit context
 </span></dt><dt><span class="refentrytitle"><a href="re469.html"><span>audit_syscall_entry</span></a></span><span class="refpurpose"> &#8212; 
     fill in an audit record at syscall entry
 </span></dt><dt><span class="refentrytitle"><a href="re470.html"><span>audit_syscall_exit</span></a></span><span class="refpurpose"> &#8212; 
     deallocate audit context after a system call
 </span></dt><dt><span class="refentrytitle"><a href="re471.html"><span>__audit_getname</span></a></span><span class="refpurpose"> &#8212; 
     add a name to the list
 </span></dt><dt><span class="refentrytitle"><a href="re472.html"><span>__audit_inode</span></a></span><span class="refpurpose"> &#8212; 
     store the inode and device from a lookup
 </span></dt><dt><span class="refentrytitle"><a href="re473.html"><span>auditsc_get_stamp</span></a></span><span class="refpurpose"> &#8212; 
     get local copies of audit_context values
 </span></dt><dt><span class="refentrytitle"><a href="re474.html"><span>audit_set_loginuid</span></a></span><span class="refpurpose"> &#8212; 
     set a task's audit_context loginuid
 </span></dt><dt><span class="refentrytitle"><a href="re475.html"><span>__audit_mq_open</span></a></span><span class="refpurpose"> &#8212; 
     record audit data for a POSIX MQ open
 </span></dt><dt><span class="refentrytitle"><a href="re476.html"><span>__audit_mq_sendrecv</span></a></span><span class="refpurpose"> &#8212; 
     record audit data for a POSIX MQ timed send/receive
 </span></dt><dt><span class="refentrytitle"><a href="re477.html"><span>__audit_mq_notify</span></a></span><span class="refpurpose"> &#8212; 
     record audit data for a POSIX MQ notify
 </span></dt><dt><span class="refentrytitle"><a href="re478.html"><span>__audit_mq_getsetattr</span></a></span><span class="refpurpose"> &#8212; 
     record audit data for a POSIX MQ get/set attribute
 </span></dt><dt><span class="refentrytitle"><a href="re479.html"><span>__audit_ipc_obj</span></a></span><span class="refpurpose"> &#8212; 
     record audit data for ipc object
 </span></dt><dt><span class="refentrytitle"><a href="re480.html"><span>__audit_ipc_set_perm</span></a></span><span class="refpurpose"> &#8212; 
     record audit data for new ipc permissions
 </span></dt><dt><span class="refentrytitle"><a href="re481.html"><span>audit_socketcall</span></a></span><span class="refpurpose"> &#8212; 
     record audit data for sys_socketcall
 </span></dt><dt><span class="refentrytitle"><a href="re482.html"><span>__audit_fd_pair</span></a></span><span class="refpurpose"> &#8212; 
     record audit data for pipe and socketpair
 </span></dt><dt><span class="refentrytitle"><a href="re483.html"><span>audit_sockaddr</span></a></span><span class="refpurpose"> &#8212; 
     record audit data for sys_bind, sys_connect, sys_sendto
 </span></dt><dt><span class="refentrytitle"><a href="re484.html"><span>__audit_signal_info</span></a></span><span class="refpurpose"> &#8212; 
     record signal info for shutting down audit subsystem
 </span></dt><dt><span class="refentrytitle"><a href="re485.html"><span>__audit_log_bprm_fcaps</span></a></span><span class="refpurpose"> &#8212; 
     store information about a loading bprm and relevant fcaps
 </span></dt><dt><span class="refentrytitle"><a href="re486.html"><span>__audit_log_capset</span></a></span><span class="refpurpose"> &#8212; 
     store information about the arguments to the capset syscall
 </span></dt><dt><span class="refentrytitle"><a href="re487.html"><span>audit_core_dumps</span></a></span><span class="refpurpose"> &#8212; 
     record information about processes that end abnormally
 </span></dt><dt><span class="refentrytitle"><a href="re488.html"><span>audit_receive_filter</span></a></span><span class="refpurpose"> &#8212; 
  apply all rules to the specified message type
 </span></dt></dl></dd><dt><span class="chapter"><a href="ch13.html">13. Accounting Framework</a></span></dt><dd><dl><dt><span class="refentrytitle"><a href="re489.html"><span>sys_acct</span></a></span><span class="refpurpose"> &#8212; 
  enable/disable process accounting
 </span></dt><dt><span class="refentrytitle"><a href="re490.html"><span>acct_auto_close_mnt</span></a></span><span class="refpurpose"> &#8212; 
     turn off a filesystem's accounting if it is on
 </span></dt><dt><span class="refentrytitle"><a href="re491.html"><span>acct_auto_close</span></a></span><span class="refpurpose"> &#8212; 
     turn off a filesystem's accounting if it is on
 </span></dt><dt><span class="refentrytitle"><a href="re492.html"><span>acct_init_pacct</span></a></span><span class="refpurpose"> &#8212; 
     initialize a new pacct_struct
 </span></dt><dt><span class="refentrytitle"><a href="re493.html"><span>acct_collect</span></a></span><span class="refpurpose"> &#8212; 
     collect accounting information into pacct_struct
 </span></dt><dt><span class="refentrytitle"><a href="re494.html"><span>acct_process</span></a></span><span class="refpurpose"> &#8212; 
     now just a wrapper around acct_process_in_ns, which in turn is a wrapper around do_acct_process.
 </span></dt></dl></dd><dt><span class="chapter"><a href="ch14.html">14. Block Devices</a></span></dt><dd><dl><dt><span class="refentrytitle"><a href="re495.html"><span>blk_get_backing_dev_info</span></a></span><span class="refpurpose"> &#8212; 
  get the address of a queue's backing_dev_info
 </span></dt><dt><span class="refentrytitle"><a href="re496.html"><span>blk_plug_device_unlocked</span></a></span><span class="refpurpose"> &#8212; 
     plug a device without queue lock held
 </span></dt><dt><span class="refentrytitle"><a href="re497.html"><span>generic_unplug_device</span></a></span><span class="refpurpose"> &#8212; 
     fire a request queue
 </span></dt><dt><span class="refentrytitle"><a href="re498.html"><span>blk_start_queue</span></a></span><span class="refpurpose"> &#8212; 
     restart a previously stopped queue
 </span></dt><dt><span class="refentrytitle"><a href="re499.html"><span>blk_stop_queue</span></a></span><span class="refpurpose"> &#8212; 
     stop a queue
 </span></dt><dt><span class="refentrytitle"><a href="re500.html"><span>blk_sync_queue</span></a></span><span class="refpurpose"> &#8212; 
     cancel any pending callbacks on a queue
 </span></dt><dt><span class="refentrytitle"><a href="re501.html"><span>__blk_run_queue</span></a></span><span class="refpurpose"> &#8212; 
     run a single device queue
 </span></dt><dt><span class="refentrytitle"><a href="re502.html"><span>blk_run_queue</span></a></span><span class="refpurpose"> &#8212; 
     run a single device queue
 </span></dt><dt><span class="refentrytitle"><a href="re503.html"><span>blk_init_queue</span></a></span><span class="refpurpose"> &#8212; 
     prepare a request queue for use with a block device
 </span></dt><dt><span class="refentrytitle"><a href="re504.html"><span>blk_make_request</span></a></span><span class="refpurpose"> &#8212; 
     given a bio, allocate a corresponding struct request.
 </span></dt><dt><span class="refentrytitle"><a href="re505.html"><span>blk_requeue_request</span></a></span><span class="refpurpose"> &#8212; 
     put a request back on queue
 </span></dt><dt><span class="refentrytitle"><a href="re506.html"><span>blk_insert_request</span></a></span><span class="refpurpose"> &#8212; 
     insert a special request into a request queue
 </span></dt><dt><span class="refentrytitle"><a href="re507.html"><span>part_round_stats</span></a></span><span class="refpurpose"> &#8212; 
     Round off the performance stats on a struct disk_stats.
 </span></dt><dt><span class="refentrytitle"><a href="re508.html"><span>blk_add_request_payload</span></a></span><span class="refpurpose"> &#8212; 
     add a payload to a request
 </span></dt><dt><span class="refentrytitle"><a href="re509.html"><span>submit_bio</span></a></span><span class="refpurpose"> &#8212; 
     submit a bio to the block device layer for I/O
 </span></dt><dt><span class="refentrytitle"><a href="re510.html"><span>blk_rq_check_limits</span></a></span><span class="refpurpose"> &#8212; 
     Helper function to check a request for the queue limit
 </span></dt><dt><span class="refentrytitle"><a href="re511.html"><span>blk_insert_cloned_request</span></a></span><span class="refpurpose"> &#8212; 
     Helper for stacking drivers to submit a request
 </span></dt><dt><span class="refentrytitle"><a href="re512.html"><span>blk_rq_err_bytes</span></a></span><span class="refpurpose"> &#8212; 
     determine number of bytes till the next failure boundary
 </span></dt><dt><span class="refentrytitle"><a href="re513.html"><span>blk_peek_request</span></a></span><span class="refpurpose"> &#8212; 
     peek at the top of a request queue
 </span></dt><dt><span class="refentrytitle"><a href="re514.html"><span>blk_start_request</span></a></span><span class="refpurpose"> &#8212; 
     start request processing on the driver
 </span></dt><dt><span class="refentrytitle"><a href="re515.html"><span>blk_fetch_request</span></a></span><span class="refpurpose"> &#8212; 
     fetch a request from a request queue
 </span></dt><dt><span class="refentrytitle"><a href="re516.html"><span>blk_update_request</span></a></span><span class="refpurpose"> &#8212; 
     Special helper function for request stacking drivers
 </span></dt><dt><span class="refentrytitle"><a href="re517.html"><span>blk_unprep_request</span></a></span><span class="refpurpose"> &#8212; 
     unprepare a request
 </span></dt><dt><span class="refentrytitle"><a href="re518.html"><span>blk_end_request</span></a></span><span class="refpurpose"> &#8212; 
     Helper function for drivers to complete the request.
 </span></dt><dt><span class="refentrytitle"><a href="re519.html"><span>blk_end_request_all</span></a></span><span class="refpurpose"> &#8212; 
     Helper function for drives to finish the request.
 </span></dt><dt><span class="refentrytitle"><a href="re520.html"><span>blk_end_request_cur</span></a></span><span class="refpurpose"> &#8212; 
     Helper function to finish the current request chunk.
 </span></dt><dt><span class="refentrytitle"><a href="re521.html"><span>blk_end_request_err</span></a></span><span class="refpurpose"> &#8212; 
     Finish a request till the next failure boundary.
 </span></dt><dt><span class="refentrytitle"><a href="re522.html"><span>__blk_end_request</span></a></span><span class="refpurpose"> &#8212; 
     Helper function for drivers to complete the request.
 </span></dt><dt><span class="refentrytitle"><a href="re523.html"><span>__blk_end_request_all</span></a></span><span class="refpurpose"> &#8212; 
     Helper function for drives to finish the request.
 </span></dt><dt><span class="refentrytitle"><a href="re524.html"><span>__blk_end_request_cur</span></a></span><span class="refpurpose"> &#8212; 
     Helper function to finish the current request chunk.
 </span></dt><dt><span class="refentrytitle"><a href="re525.html"><span>__blk_end_request_err</span></a></span><span class="refpurpose"> &#8212; 
     Finish a request till the next failure boundary.
 </span></dt><dt><span class="refentrytitle"><a href="re526.html"><span>blk_lld_busy</span></a></span><span class="refpurpose"> &#8212; 
     Check if underlying low-level drivers of a device are busy
 </span></dt><dt><span class="refentrytitle"><a href="re527.html"><span>blk_rq_unprep_clone</span></a></span><span class="refpurpose"> &#8212; 
     Helper function to free all bios in a cloned request
 </span></dt><dt><span class="refentrytitle"><a href="re528.html"><span>blk_rq_prep_clone</span></a></span><span class="refpurpose"> &#8212; 
     Helper function to setup clone request
 </span></dt><dt><span class="refentrytitle"><a href="re529.html"><span>__generic_make_request</span></a></span><span class="refpurpose"> &#8212; 
  hand a buffer to its device driver for I/O
 </span></dt><dt><span class="refentrytitle"><a href="re530.html"><span>blk_end_bidi_request</span></a></span><span class="refpurpose"> &#8212; 
     Complete a bidi request
 </span></dt><dt><span class="refentrytitle"><a href="re531.html"><span>__blk_end_bidi_request</span></a></span><span class="refpurpose"> &#8212; 
     Complete a bidi request with queue lock held
 </span></dt><dt><span class="refentrytitle"><a href="re532.html"><span>blk_rq_map_user</span></a></span><span class="refpurpose"> &#8212; 
  map user data to a request, for REQ_TYPE_BLOCK_PC usage
 </span></dt><dt><span class="refentrytitle"><a href="re533.html"><span>blk_rq_map_user_iov</span></a></span><span class="refpurpose"> &#8212; 
     map user data to a request, for REQ_TYPE_BLOCK_PC usage
 </span></dt><dt><span class="refentrytitle"><a href="re534.html"><span>blk_rq_unmap_user</span></a></span><span class="refpurpose"> &#8212; 
     unmap a request with user data
 </span></dt><dt><span class="refentrytitle"><a href="re535.html"><span>blk_rq_map_kern</span></a></span><span class="refpurpose"> &#8212; 
     map kernel data to a request, for REQ_TYPE_BLOCK_PC usage
 </span></dt><dt><span class="refentrytitle"><a href="re536.html"><span>blk_release_queue</span></a></span><span class="refpurpose"> &#8212; 
  release a <span class="structname">struct request_queue</span> when it is no longer needed
 </span></dt><dt><span class="refentrytitle"><a href="re537.html"><span>blk_queue_prep_rq</span></a></span><span class="refpurpose"> &#8212; 
  set a prepare_request function for queue
 </span></dt><dt><span class="refentrytitle"><a href="re538.html"><span>blk_queue_unprep_rq</span></a></span><span class="refpurpose"> &#8212; 
     set an unprepare_request function for queue
 </span></dt><dt><span class="refentrytitle"><a href="re539.html"><span>blk_queue_merge_bvec</span></a></span><span class="refpurpose"> &#8212; 
     set a merge_bvec function for queue
 </span></dt><dt><span class="refentrytitle"><a href="re540.html"><span>blk_set_default_limits</span></a></span><span class="refpurpose"> &#8212; 
     reset limits to default values
 </span></dt><dt><span class="refentrytitle"><a href="re541.html"><span>blk_queue_make_request</span></a></span><span class="refpurpose"> &#8212; 
     define an alternate make_request function for a device
 </span></dt><dt><span class="refentrytitle"><a href="re542.html"><span>blk_queue_bounce_limit</span></a></span><span class="refpurpose"> &#8212; 
     set bounce buffer limit for queue
 </span></dt><dt><span class="refentrytitle"><a href="re543.html"><span>blk_queue_max_hw_sectors</span></a></span><span class="refpurpose"> &#8212; 
     set max sectors for a request for this queue
 </span></dt><dt><span class="refentrytitle"><a href="re544.html"><span>blk_queue_max_discard_sectors</span></a></span><span class="refpurpose"> &#8212; 
     set max sectors for a single discard
 </span></dt><dt><span class="refentrytitle"><a href="re545.html"><span>blk_queue_max_segments</span></a></span><span class="refpurpose"> &#8212; 
     set max hw segments for a request for this queue
 </span></dt><dt><span class="refentrytitle"><a href="re546.html"><span>blk_queue_max_segment_size</span></a></span><span class="refpurpose"> &#8212; 
     set max segment size for blk_rq_map_sg
 </span></dt><dt><span class="refentrytitle"><a href="re547.html"><span>blk_queue_logical_block_size</span></a></span><span class="refpurpose"> &#8212; 
     set logical block size for the queue
 </span></dt><dt><span class="refentrytitle"><a href="re548.html"><span>blk_queue_physical_block_size</span></a></span><span class="refpurpose"> &#8212; 
     set physical block size for the queue
 </span></dt><dt><span class="refentrytitle"><a href="re549.html"><span>blk_queue_alignment_offset</span></a></span><span class="refpurpose"> &#8212; 
     set physical block alignment offset
 </span></dt><dt><span class="refentrytitle"><a href="re550.html"><span>blk_limits_io_min</span></a></span><span class="refpurpose"> &#8212; 
     set minimum request size for a device
 </span></dt><dt><span class="refentrytitle"><a href="re551.html"><span>blk_queue_io_min</span></a></span><span class="refpurpose"> &#8212; 
     set minimum request size for the queue
 </span></dt><dt><span class="refentrytitle"><a href="re552.html"><span>blk_limits_io_opt</span></a></span><span class="refpurpose"> &#8212; 
     set optimal request size for a device
 </span></dt><dt><span class="refentrytitle"><a href="re553.html"><span>blk_queue_io_opt</span></a></span><span class="refpurpose"> &#8212; 
     set optimal request size for the queue
 </span></dt><dt><span class="refentrytitle"><a href="re554.html"><span>blk_queue_stack_limits</span></a></span><span class="refpurpose"> &#8212; 
     inherit underlying queue limits for stacked drivers
 </span></dt><dt><span class="refentrytitle"><a href="re555.html"><span>blk_stack_limits</span></a></span><span class="refpurpose"> &#8212; 
     adjust queue_limits for stacked devices
 </span></dt><dt><span class="refentrytitle"><a href="re556.html"><span>bdev_stack_limits</span></a></span><span class="refpurpose"> &#8212; 
     adjust queue limits for stacked drivers
 </span></dt><dt><span class="refentrytitle"><a href="re557.html"><span>disk_stack_limits</span></a></span><span class="refpurpose"> &#8212; 
     adjust queue limits for stacked drivers
 </span></dt><dt><span class="refentrytitle"><a href="re558.html"><span>blk_queue_dma_pad</span></a></span><span class="refpurpose"> &#8212; 
     set pad mask
 </span></dt><dt><span class="refentrytitle"><a href="re559.html"><span>blk_queue_update_dma_pad</span></a></span><span class="refpurpose"> &#8212; 
     update pad mask
 </span></dt><dt><span class="refentrytitle"><a href="re560.html"><span>blk_queue_dma_drain</span></a></span><span class="refpurpose"> &#8212; 
     Set up a drain buffer for excess dma.
 </span></dt><dt><span class="refentrytitle"><a href="re561.html"><span>blk_queue_segment_boundary</span></a></span><span class="refpurpose"> &#8212; 
     set boundary rules for segment merging
 </span></dt><dt><span class="refentrytitle"><a href="re562.html"><span>blk_queue_dma_alignment</span></a></span><span class="refpurpose"> &#8212; 
     set dma length and memory alignment
 </span></dt><dt><span class="refentrytitle"><a href="re563.html"><span>blk_queue_update_dma_alignment</span></a></span><span class="refpurpose"> &#8212; 
     update dma length and memory alignment
 </span></dt><dt><span class="refentrytitle"><a href="re564.html"><span>blk_execute_rq_nowait</span></a></span><span class="refpurpose"> &#8212; 
  insert a request into queue for execution
 </span></dt><dt><span class="refentrytitle"><a href="re565.html"><span>blk_execute_rq</span></a></span><span class="refpurpose"> &#8212; 
     insert a request into queue for execution
 </span></dt><dt><span class="refentrytitle"><a href="re566.html"><span>blk_queue_ordered</span></a></span><span class="refpurpose"> &#8212; 
  does this queue support ordered writes
 </span></dt><dt><span class="refentrytitle"><a href="re567.html"><span>blkdev_issue_flush</span></a></span><span class="refpurpose"> &#8212; 
     queue a flush
 </span></dt><dt><span class="refentrytitle"><a href="re568.html"><span>blkdev_issue_discard</span></a></span><span class="refpurpose"> &#8212; 
     queue a discard
 </span></dt><dt><span class="refentrytitle"><a href="re569.html"><span>blk_queue_find_tag</span></a></span><span class="refpurpose"> &#8212; 
  find a request by its tag and queue
 </span></dt><dt><span class="refentrytitle"><a href="re570.html"><span>blk_free_tags</span></a></span><span class="refpurpose"> &#8212; 
     release a given set of tag maintenance info
 </span></dt><dt><span class="refentrytitle"><a href="re571.html"><span>blk_queue_free_tags</span></a></span><span class="refpurpose"> &#8212; 
     release tag maintenance info
 </span></dt><dt><span class="refentrytitle"><a href="re572.html"><span>blk_init_tags</span></a></span><span class="refpurpose"> &#8212; 
     initialize the tag info for an external tag map
 </span></dt><dt><span class="refentrytitle"><a href="re573.html"><span>blk_queue_init_tags</span></a></span><span class="refpurpose"> &#8212; 
     initialize the queue tag info
 </span></dt><dt><span class="refentrytitle"><a href="re574.html"><span>blk_queue_resize_tags</span></a></span><span class="refpurpose"> &#8212; 
     change the queueing depth
 </span></dt><dt><span class="refentrytitle"><a href="re575.html"><span>blk_queue_end_tag</span></a></span><span class="refpurpose"> &#8212; 
     end tag operations for a request
 </span></dt><dt><span class="refentrytitle"><a href="re576.html"><span>blk_queue_start_tag</span></a></span><span class="refpurpose"> &#8212; 
     find a free tag and assign it
 </span></dt><dt><span class="refentrytitle"><a href="re577.html"><span>blk_queue_invalidate_tags</span></a></span><span class="refpurpose"> &#8212; 
     invalidate all pending tags
 </span></dt><dt><span class="refentrytitle"><a href="re578.html"><span>__blk_free_tags</span></a></span><span class="refpurpose"> &#8212; 
  release a given set of tag maintenance info
 </span></dt><dt><span class="refentrytitle"><a href="re579.html"><span>__blk_queue_free_tags</span></a></span><span class="refpurpose"> &#8212; 
     release tag maintenance info
 </span></dt><dt><span class="refentrytitle"><a href="re580.html"><span>blk_rq_count_integrity_sg</span></a></span><span class="refpurpose"> &#8212; 
  Count number of integrity scatterlist elements
 </span></dt><dt><span class="refentrytitle"><a href="re581.html"><span>blk_rq_map_integrity_sg</span></a></span><span class="refpurpose"> &#8212; 
     Map integrity metadata into a scatterlist
 </span></dt><dt><span class="refentrytitle"><a href="re582.html"><span>blk_integrity_compare</span></a></span><span class="refpurpose"> &#8212; 
     Compare integrity profile of two disks
 </span></dt><dt><span class="refentrytitle"><a href="re583.html"><span>blk_integrity_register</span></a></span><span class="refpurpose"> &#8212; 
     Register a gendisk as being integrity-capable
 </span></dt><dt><span class="refentrytitle"><a href="re584.html"><span>blk_integrity_unregister</span></a></span><span class="refpurpose"> &#8212; 
     Remove block integrity profile
 </span></dt><dt><span class="refentrytitle"><a href="re585.html"><span>blk_trace_ioctl</span></a></span><span class="refpurpose"> &#8212; 
  handle the ioctls associated with tracing
 </span></dt><dt><span class="refentrytitle"><a href="re586.html"><span>blk_trace_shutdown</span></a></span><span class="refpurpose"> &#8212; 
     stop and cleanup trace structures
 </span></dt><dt><span class="refentrytitle"><a href="re587.html"><span>blk_add_trace_rq</span></a></span><span class="refpurpose"> &#8212; 
     Add a trace for a request oriented action
 </span></dt><dt><span class="refentrytitle"><a href="re588.html"><span>blk_add_trace_bio</span></a></span><span class="refpurpose"> &#8212; 
     Add a trace for a bio oriented action
 </span></dt><dt><span class="refentrytitle"><a href="re589.html"><span>blk_add_trace_remap</span></a></span><span class="refpurpose"> &#8212; 
     Add a trace for a remap operation
 </span></dt><dt><span class="refentrytitle"><a href="re590.html"><span>blk_add_trace_rq_remap</span></a></span><span class="refpurpose"> &#8212; 
     Add a trace for a request-remap operation
 </span></dt><dt><span class="refentrytitle"><a href="re591.html"><span>blk_mangle_minor</span></a></span><span class="refpurpose"> &#8212; 
  scatter minor numbers apart
 </span></dt><dt><span class="refentrytitle"><a href="re592.html"><span>blk_alloc_devt</span></a></span><span class="refpurpose"> &#8212; 
     allocate a dev_t for a partition
 </span></dt><dt><span class="refentrytitle"><a href="re593.html"><span>blk_free_devt</span></a></span><span class="refpurpose"> &#8212; 
     free a dev_t
 </span></dt><dt><span class="refentrytitle"><a href="re594.html"><span>get_gendisk</span></a></span><span class="refpurpose"> &#8212; 
     get partitioning information for a given device
 </span></dt><dt><span class="refentrytitle"><a href="re595.html"><span>disk_replace_part_tbl</span></a></span><span class="refpurpose"> &#8212; 
     replace disk-&gt;part_tbl in RCU-safe way
 </span></dt><dt><span class="refentrytitle"><a href="re596.html"><span>disk_expand_part_tbl</span></a></span><span class="refpurpose"> &#8212; 
     expand disk-&gt;part_tbl
 </span></dt><dt><span class="refentrytitle"><a href="re597.html"><span>disk_get_part</span></a></span><span class="refpurpose"> &#8212; 
  get partition
 </span></dt><dt><span class="refentrytitle"><a href="re598.html"><span>disk_part_iter_init</span></a></span><span class="refpurpose"> &#8212; 
     initialize partition iterator
 </span></dt><dt><span class="refentrytitle"><a href="re599.html"><span>disk_part_iter_next</span></a></span><span class="refpurpose"> &#8212; 
     proceed iterator to the next partition and return it
 </span></dt><dt><span class="refentrytitle"><a href="re600.html"><span>disk_part_iter_exit</span></a></span><span class="refpurpose"> &#8212; 
     finish up partition iteration
 </span></dt><dt><span class="refentrytitle"><a href="re601.html"><span>disk_map_sector_rcu</span></a></span><span class="refpurpose"> &#8212; 
     map sector to partition
 </span></dt><dt><span class="refentrytitle"><a href="re602.html"><span>register_blkdev</span></a></span><span class="refpurpose"> &#8212; 
     register a new block device
 </span></dt><dt><span class="refentrytitle"><a href="re603.html"><span>add_disk</span></a></span><span class="refpurpose"> &#8212; 
     add partitioning information to kernel list
 </span></dt><dt><span class="refentrytitle"><a href="re604.html"><span>bdget_disk</span></a></span><span class="refpurpose"> &#8212; 
     do <code class="function">bdget</code> by gendisk and partition number
 </span></dt></dl></dd><dt><span class="chapter"><a href="ch15.html">15. Char devices</a></span></dt><dd><dl><dt><span class="refentrytitle"><a href="re605.html"><span>register_chrdev_region</span></a></span><span class="refpurpose"> &#8212; 
  register a range of device numbers
 </span></dt><dt><span class="refentrytitle"><a href="re606.html"><span>alloc_chrdev_region</span></a></span><span class="refpurpose"> &#8212; 
     register a range of char device numbers
 </span></dt><dt><span class="refentrytitle"><a href="re607.html"><span>__register_chrdev</span></a></span><span class="refpurpose"> &#8212; 
     create and register a cdev occupying a range of minors
 </span></dt><dt><span class="refentrytitle"><a href="re608.html"><span>unregister_chrdev_region</span></a></span><span class="refpurpose"> &#8212; 
     return a range of device numbers
 </span></dt><dt><span class="refentrytitle"><a href="re609.html"><span>__unregister_chrdev</span></a></span><span class="refpurpose"> &#8212; 
     unregister and destroy a cdev
 </span></dt><dt><span class="refentrytitle"><a href="re610.html"><span>cdev_add</span></a></span><span class="refpurpose"> &#8212; 
     add a char device to the system
 </span></dt><dt><span class="refentrytitle"><a href="re611.html"><span>cdev_del</span></a></span><span class="refpurpose"> &#8212; 
     remove a cdev from the system
 </span></dt><dt><span class="refentrytitle"><a href="re612.html"><span>cdev_alloc</span></a></span><span class="refpurpose"> &#8212; 
     allocate a cdev structure
 </span></dt><dt><span class="refentrytitle"><a href="re613.html"><span>cdev_init</span></a></span><span class="refpurpose"> &#8212; 
     initialize a cdev structure
 </span></dt></dl></dd><dt><span class="chapter"><a href="ch16.html">16. Miscellaneous Devices</a></span></dt><dd><dl><dt><span class="refentrytitle"><a href="re614.html"><span>misc_register</span></a></span><span class="refpurpose"> &#8212; 
  register a miscellaneous device
 </span></dt><dt><span class="refentrytitle"><a href="re615.html"><span>misc_deregister</span></a></span><span class="refpurpose"> &#8212; 
     unregister a miscellaneous device
 </span></dt></dl></dd><dt><span class="chapter"><a href="ch17.html">17. Clock Framework</a></span></dt><dd><dl><dt><span class="refentrytitle"><a href="re616.html"><span>clk_get</span></a></span><span class="refpurpose"> &#8212; 
  lookup and obtain a reference to a clock producer.
 </span></dt><dt><span class="refentrytitle"><a href="re617.html"><span>clk_enable</span></a></span><span class="refpurpose"> &#8212; 
     inform the system when the clock source should be running.
 </span></dt><dt><span class="refentrytitle"><a href="re618.html"><span>clk_disable</span></a></span><span class="refpurpose"> &#8212; 
     inform the system when the clock source is no longer required.
 </span></dt><dt><span class="refentrytitle"><a href="re619.html"><span>clk_get_rate</span></a></span><span class="refpurpose"> &#8212; 
     obtain the current clock rate (in Hz) for a clock source. This is only valid once the clock source has been enabled.
 </span></dt><dt><span class="refentrytitle"><a href="re620.html"><span>clk_put</span></a></span><span class="refpurpose"> &#8212; 
     "free" the clock source
 </span></dt><dt><span class="refentrytitle"><a href="re621.html"><span>clk_round_rate</span></a></span><span class="refpurpose"> &#8212; 
     adjust a rate to the exact rate a clock can provide
 </span></dt><dt><span class="refentrytitle"><a href="re622.html"><span>clk_set_rate</span></a></span><span class="refpurpose"> &#8212; 
     set the clock rate for a clock source
 </span></dt><dt><span class="refentrytitle"><a href="re623.html"><span>clk_set_parent</span></a></span><span class="refpurpose"> &#8212; 
     set the parent clock source for this clock
 </span></dt><dt><span class="refentrytitle"><a href="re624.html"><span>clk_get_parent</span></a></span><span class="refpurpose"> &#8212; 
     get the parent clock source for this clock
 </span></dt><dt><span class="refentrytitle"><a href="re625.html"><span>clk_get_sys</span></a></span><span class="refpurpose"> &#8212; 
     get a clock based upon the device name
 </span></dt><dt><span class="refentrytitle"><a href="re626.html"><span>clk_add_alias</span></a></span><span class="refpurpose"> &#8212; 
     add a new clock alias
 </span></dt></dl></dd></dl></div></div><div class="navfooter"><hr /><table width="100%" summary="Navigation footer"><tr><td width="40%" align="left">&#160;</td><td width="20%" align="center">&#160;</td><td width="40%" align="right">&#160;<a accesskey="n" href="ch01.html">Next</a></td></tr><tr><td width="40%" align="left" valign="top">&#160;</td><td width="20%" align="center">&#160;</td><td width="40%" align="right" valign="top">&#160;Chapter&#160;1.&#160;Data Types</td></tr></table></div></body></html>