kobject_init_and_add(9) centos man page | unix.com

Man Page: kobject_init_and_add

Operating Environment: centos

Section: 9

KOBJECT_INIT_AND_ADD(9) 					   Driver Basics					   KOBJECT_INIT_AND_ADD(9)

NAME
kobject_init_and_add - initialize a kobject structure and add it to the kobject hierarchy
SYNOPSIS
int kobject_init_and_add(struct kobject * kobj, struct kobj_type * ktype, struct kobject * parent, const char * fmt, ...);
ARGUMENTS
kobj pointer to the kobject to initialize ktype pointer to the ktype for this kobject. parent pointer to the parent of this kobject. fmt the name of the kobject. ... variable arguments
DESCRIPTION
This function combines the call to kobject_init and kobject_add. The same type of error handling after a call to kobject_add and kobject lifetime rules are the same here.
COPYRIGHT
Kernel Hackers Manual 3.10 June 2014 KOBJECT_INIT_AND_ADD(9)
Related Man Pages
debugfs_create_bool(9) - centos
debugfs_create_u8(9) - centos
device_create_with_groups(9) - centos
struct_device(9) - centos
device_create_vargs(9) - suse
Similar Topics in the Unix Linux Community
Set hard block limit for user using quota
Best performance UNIX just for HOST Virtualization?
DB2 convert digits to binary format
Controlling user input
[TIP] Processing YAML files with yq