suse man page for kobject_init

Query: kobject_init

OS: suse

Section: 9

Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar

KOBJECT_INIT(9) 						   Driver Basics						   KOBJECT_INIT(9)

NAME
kobject_init - initialize a kobject structure
SYNOPSIS
void kobject_init(struct kobject * kobj, struct kobj_type * ktype);
ARGUMENTS
kobj pointer to the kobject to initialize ktype pointer to the ktype for this kobject.
DESCRIPTION
This function will properly initialize a kobject such that it can then be passed to the kobject_add call. After this function is called, the kobject MUST be cleaned up by a call to kobject_put, not by a call to kfree directly to ensure that all of the memory is cleaned up properly.
COPYRIGHT
Kernel Hackers Manual 2.6. July 2010 KOBJECT_INIT(9)
Related Man Pages
device_create(9) - centos
blk_make_request(9) - suse
debugfs_create_file(9) - suse
device_create(9) - suse
utrace_prepare_examine(9) - suse
Similar Topics in the Unix Linux Community
Change directory error
Grant unprivileged user rights to see the output of echo|format but not modify disks
Tar Command
A (ksh) Library For and From UNIX.com
32 bit process addressing more than 4GB