kobject_init(9) centos man page | unix.com

Man Page: kobject_init

Operating Environment: centos

Section: 9

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 3.10 June 2014 KOBJECT_INIT(9)
Related Man Pages
device_create(9) - centos
device_create_with_groups(9) - centos
drm_fb_helper_initial_config(9) - centos
device_create(9) - suse
device_create_vargs(9) - suse
Similar Topics in the Unix Linux Community
Weird 'find' results
Set hard block limit for user using quota
Best performance UNIX just for HOST Virtualization?
Unsure why access time on a directory change isn't changing
Please Welcome Dave Munro to the Moderator Team!