1<html><head><meta http-equiv="Content-Type" content="text/html; charset=ANSI_X3.4-1968"><title>Resources Management</title><meta name="generator" content="DocBook XSL Stylesheets V1.78.1"><link rel="home" href="index.html" title="The Linux Kernel API"><link rel="up" href="hardware.html" title="Chapter 9. Hardware Interfaces"><link rel="prev" href="API-free-dma.html" title="free_dma"><link rel="next" href="API-request-resource-conflict.html" title="request_resource_conflict"></head><body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"><div class="navheader"><table width="100%" summary="Navigation header"><tr><th colspan="3" align="center">Resources Management</th></tr><tr><td width="20%" align="left"><a accesskey="p" href="API-free-dma.html">Prev</a> </td><th width="60%" align="center">Chapter 9. Hardware Interfaces</th><td width="20%" align="right"> <a accesskey="n" href="API-request-resource-conflict.html">Next</a></td></tr></table><hr></div><div class="sect1"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="idp1125861804"></a>Resources Management</h2></div></div></div><div class="toc"><dl class="toc"><dt><span class="refentrytitle"><a href="API-request-resource-conflict.html"><span class="phrase">request_resource_conflict</span></a></span><span class="refpurpose"> — 2 request and reserve an I/O or memory resource 3 </span></dt><dt><span class="refentrytitle"><a href="API-reallocate-resource.html"><span class="phrase">reallocate_resource</span></a></span><span class="refpurpose"> — 4 allocate a slot in the resource tree given range & alignment. The resource will be relocated if the new size cannot be reallocated in the current location. 5 </span></dt><dt><span class="refentrytitle"><a href="API-lookup-resource.html"><span class="phrase">lookup_resource</span></a></span><span class="refpurpose"> — 6 find an existing resource by a resource start address 7 </span></dt><dt><span class="refentrytitle"><a href="API-insert-resource-conflict.html"><span class="phrase">insert_resource_conflict</span></a></span><span class="refpurpose"> — 8 Inserts resource in the resource tree 9 </span></dt><dt><span class="refentrytitle"><a href="API-insert-resource.html"><span class="phrase">insert_resource</span></a></span><span class="refpurpose"> — 10 Inserts a resource in the resource tree 11 </span></dt><dt><span class="refentrytitle"><a href="API-insert-resource-expand-to-fit.html"><span class="phrase">insert_resource_expand_to_fit</span></a></span><span class="refpurpose"> — 12 Insert a resource into the resource tree 13 </span></dt><dt><span class="refentrytitle"><a href="API-resource-alignment.html"><span class="phrase">resource_alignment</span></a></span><span class="refpurpose"> — 14 calculate resource's alignment 15 </span></dt><dt><span class="refentrytitle"><a href="API-release-mem-region-adjustable.html"><span class="phrase">release_mem_region_adjustable</span></a></span><span class="refpurpose"> — 16 release a previously reserved memory region 17 </span></dt><dt><span class="refentrytitle"><a href="API-request-resource.html"><span class="phrase">request_resource</span></a></span><span class="refpurpose"> — 18 request and reserve an I/O or memory resource 19 </span></dt><dt><span class="refentrytitle"><a href="API-release-resource.html"><span class="phrase">release_resource</span></a></span><span class="refpurpose"> — 20 release a previously reserved resource 21 </span></dt><dt><span class="refentrytitle"><a href="API-allocate-resource.html"><span class="phrase">allocate_resource</span></a></span><span class="refpurpose"> — 22 allocate empty slot in the resource tree given range & alignment. The resource will be reallocated with a new size if it was already allocated 23 </span></dt><dt><span class="refentrytitle"><a href="API-adjust-resource.html"><span class="phrase">adjust_resource</span></a></span><span class="refpurpose"> — 24 modify a resource's start and size 25 </span></dt><dt><span class="refentrytitle"><a href="API---request-region.html"><span class="phrase">__request_region</span></a></span><span class="refpurpose"> — 26 create a new busy resource region 27 </span></dt><dt><span class="refentrytitle"><a href="API---release-region.html"><span class="phrase">__release_region</span></a></span><span class="refpurpose"> — 28 release a previously reserved resource region 29 </span></dt><dt><span class="refentrytitle"><a href="API-devm-request-resource.html"><span class="phrase">devm_request_resource</span></a></span><span class="refpurpose"> — 30 request and reserve an I/O or memory resource 31 </span></dt><dt><span class="refentrytitle"><a href="API-devm-release-resource.html"><span class="phrase">devm_release_resource</span></a></span><span class="refpurpose"> — 32 release a previously requested resource 33 </span></dt></dl></div></div><div class="navfooter"><hr><table width="100%" summary="Navigation footer"><tr><td width="40%" align="left"><a accesskey="p" href="API-free-dma.html">Prev</a> </td><td width="20%" align="center"><a accesskey="u" href="hardware.html">Up</a></td><td width="40%" align="right"> <a accesskey="n" href="API-request-resource-conflict.html">Next</a></td></tr><tr><td width="40%" align="left" valign="top"><span class="phrase">free_dma</span> </td><td width="20%" align="center"><a accesskey="h" href="index.html">Home</a></td><td width="40%" align="right" valign="top"> <span class="phrase">request_resource_conflict</span></td></tr></table></div></body></html> 34