<?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>Kernel objects manipulation</title><meta name="generator" content="DocBook XSL Stylesheets V1.76.1" /><link rel="home" href="index.html" title="Linux Device Drivers" /><link rel="up" href="Basics.html" title="Chapter 1. Driver Basics" /><link rel="prev" href="API-flush-kthread-worker.html" title="flush_kthread_worker" /><link rel="next" href="API-kobject-get-path.html" title="kobject_get_path" /></head><body><div class="navheader"><table width="100%" summary="Navigation header"><tr><th colspan="3" align="center">Kernel objects manipulation</th></tr><tr><td width="20%" align="left"><a accesskey="p" href="API-flush-kthread-worker.html">Prev</a> </td><th width="60%" align="center">Chapter 1. Driver Basics</th><td width="20%" align="right"> <a accesskey="n" href="API-kobject-get-path.html">Next</a></td></tr></table><hr /></div><div class="sect1" title="Kernel objects manipulation"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a id="id3062223"></a>Kernel objects manipulation</h2></div></div></div><div class="toc"><dl><dt><span class="refentrytitle"><a href="API-kobject-get-path.html"><span>kobject_get_path</span></a></span><span class="refpurpose"> — generate and return the path associated with a given kobj and kset pair. </span></dt><dt><span class="refentrytitle"><a href="API-kobject-set-name.html"><span>kobject_set_name</span></a></span><span class="refpurpose"> — Set the name of a kobject </span></dt><dt><span class="refentrytitle"><a href="API-kobject-init.html"><span>kobject_init</span></a></span><span class="refpurpose"> — initialize a kobject structure </span></dt><dt><span class="refentrytitle"><a href="API-kobject-add.html"><span>kobject_add</span></a></span><span class="refpurpose"> — the main kobject add function </span></dt><dt><span class="refentrytitle"><a href="API-kobject-init-and-add.html"><span>kobject_init_and_add</span></a></span><span class="refpurpose"> — initialize a kobject structure and add it to the kobject hierarchy </span></dt><dt><span class="refentrytitle"><a href="API-kobject-rename.html"><span>kobject_rename</span></a></span><span class="refpurpose"> — change the name of an object </span></dt><dt><span class="refentrytitle"><a href="API-kobject-del.html"><span>kobject_del</span></a></span><span class="refpurpose"> — unlink kobject from hierarchy. </span></dt><dt><span class="refentrytitle"><a href="API-kobject-get.html"><span>kobject_get</span></a></span><span class="refpurpose"> — increment refcount for object. </span></dt><dt><span class="refentrytitle"><a href="API-kobject-put.html"><span>kobject_put</span></a></span><span class="refpurpose"> — decrement refcount for object. </span></dt><dt><span class="refentrytitle"><a href="API-kobject-create-and-add.html"><span>kobject_create_and_add</span></a></span><span class="refpurpose"> — create a struct kobject dynamically and register it with sysfs </span></dt><dt><span class="refentrytitle"><a href="API-kset-register.html"><span>kset_register</span></a></span><span class="refpurpose"> — initialize and add a kset. </span></dt><dt><span class="refentrytitle"><a href="API-kset-unregister.html"><span>kset_unregister</span></a></span><span class="refpurpose"> — remove a kset. </span></dt><dt><span class="refentrytitle"><a href="API-kset-create-and-add.html"><span>kset_create_and_add</span></a></span><span class="refpurpose"> — create a struct kset dynamically and add it to sysfs </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-flush-kthread-worker.html">Prev</a> </td><td width="20%" align="center"><a accesskey="u" href="Basics.html">Up</a></td><td width="40%" align="right"> <a accesskey="n" href="API-kobject-get-path.html">Next</a></td></tr><tr><td width="40%" align="left" valign="top"><span>flush_kthread_worker</span> </td><td width="20%" align="center"><a accesskey="h" href="index.html">Home</a></td><td width="40%" align="right" valign="top"> <span>kobject_get_path</span></td></tr></table></div></body></html>