kset_create_and_add(9) suse man page | unix.com

Man Page: kset_create_and_add

Operating Environment: suse

Section: 9

KSET_CREATE_AND_ADD(9)						   Driver Basics					    KSET_CREATE_AND_ADD(9)

NAME
kset_create_and_add - create a struct kset dynamically and add it to sysfs
SYNOPSIS
struct kset * kset_create_and_add(const char * name, const struct kset_uevent_ops * uevent_ops, struct kobject * parent_kobj);
ARGUMENTS
name the name for the kset uevent_ops a struct kset_uevent_ops for the kset parent_kobj the parent kobject of this kset, if any.
DESCRIPTION
This function creates a kset structure dynamically and registers it with sysfs. When you are finished with this structure, call kset_unregister and the structure will be dynamically freed when it is no longer being used. If the kset was not able to be created, NULL will be returned.
COPYRIGHT
Kernel Hackers Manual 2.6. July 2010 KSET_CREATE_AND_ADD(9)
Related Man Pages
device_create_vargs(9) - centos
device_create_with_groups(9) - centos
struct_class(9) - centos
debugfs_create_file(9) - suse
device_schedule_callback_owner(9) - suse
Similar Topics in the Unix Linux Community
How to restrict user to a specific directory in solaris 10
Grant unprivileged user rights to see the output of echo|format but not modify disks
Cut command on RHEL 6.8 compatibility issues
Update kernel Linux without reboot?!
SOCKS proxy & PAM configuration exposure