__class_create man page on Oracle

Printed from http://www.polarhome.com/service/man/?qf=__class_create&af=0&tf=2&of=Oracle

__CLASS_CREATE(9)	 Device drivers infrastructure	     __CLASS_CREATE(9)

NAME
       __class_create - create a struct class structure

SYNOPSIS
       struct class * __class_create(struct module * owner, const char * name,
				     struct lock_class_key * key);

ARGUMENTS
       owner
	   pointer to the module that is to “own” this struct class

       name
	   pointer to a string for the name of this class.

       key
	   the lock_class_key for this class; used by mutex lock debugging

DESCRIPTION
       This is used to create a struct class pointer that can then be used in
       calls to device_create.

       Returns struct class pointer on success, or ERR_PTR on error.

       Note, the pointer created here is to be destroyed when finished by
       making a call to class_destroy.

COPYRIGHT
Kernel Hackers Manual 3.8.	   June 2014		     __CLASS_CREATE(9)
[top]

List of man pages available for Oracle

Copyright (c) for man pages and the logo by the respective OS vendor.

For those who want to learn more, the polarhome community provides shell access and support.

[legal] [privacy] [GNU] [policy] [cookies] [netiquette] [sponsors] [FAQ]
Tweet
Polarhome, production since 1999.
Member of Polarhome portal.
Based on Fawad Halim's script.
....................................................................
Vote for polarhome
Free Shell Accounts :: the biggest list on the net