kobject_create_and_add(9) centos man page | unix.com

Man Page: kobject_create_and_add

Operating Environment: centos

Section: 9

KOBJECT_CREATE_AND_A(9) 					   Driver Basics					   KOBJECT_CREATE_AND_A(9)

NAME
kobject_create_and_add - create a struct kobject dynamically and register it with sysfs
SYNOPSIS
struct kobject * kobject_create_and_add(const char * name, struct kobject * parent);
ARGUMENTS
name the name for the kobject parent the parent kobject of this kobject, if any.
DESCRIPTION
This function creates a kobject structure dynamically and registers it with sysfs. When you are finished with this structure, call kobject_put and the structure will be dynamically freed when it is no longer being used. If the kobject was not able to be created, NULL will be returned.
COPYRIGHT
Kernel Hackers Manual 3.10 June 2014 KOBJECT_CREATE_AND_A(9)
Related Man Pages
debugfs_create_u32(9) - centos
debugfs_create_u8(9) - centos
device_create(9) - centos
device_create_with_groups(9) - centos
device_create_vargs(9) - suse
Similar Topics in the Unix Linux Community
Set hard block limit for user using quota
Docker learning Phase-I
Shopt -s histappend
Controlling user input
[TIP] Processing YAML files with yq