class_pktcdvd     103 drivers/block/pktcdvd.c static struct class	*class_pktcdvd = NULL;    /* /sys/class/pktcdvd */
class_pktcdvd     316 drivers/block/pktcdvd.c 	if (class_pktcdvd) {
class_pktcdvd     317 drivers/block/pktcdvd.c 		pd->dev = device_create(class_pktcdvd, NULL, MKDEV(0, 0), NULL,
class_pktcdvd     336 drivers/block/pktcdvd.c 	if (class_pktcdvd)
class_pktcdvd     413 drivers/block/pktcdvd.c ATTRIBUTE_GROUPS(class_pktcdvd);
class_pktcdvd     423 drivers/block/pktcdvd.c 	class_pktcdvd = kzalloc(sizeof(*class_pktcdvd), GFP_KERNEL);
class_pktcdvd     424 drivers/block/pktcdvd.c 	if (!class_pktcdvd)
class_pktcdvd     426 drivers/block/pktcdvd.c 	class_pktcdvd->name = DRIVER_NAME;
class_pktcdvd     427 drivers/block/pktcdvd.c 	class_pktcdvd->owner = THIS_MODULE;
class_pktcdvd     428 drivers/block/pktcdvd.c 	class_pktcdvd->class_release = class_pktcdvd_release;
class_pktcdvd     429 drivers/block/pktcdvd.c 	class_pktcdvd->class_groups = class_pktcdvd_groups;
class_pktcdvd     430 drivers/block/pktcdvd.c 	ret = class_register(class_pktcdvd);
class_pktcdvd     432 drivers/block/pktcdvd.c 		kfree(class_pktcdvd);
class_pktcdvd     433 drivers/block/pktcdvd.c 		class_pktcdvd = NULL;
class_pktcdvd     442 drivers/block/pktcdvd.c 	if (class_pktcdvd)
class_pktcdvd     443 drivers/block/pktcdvd.c 		class_destroy(class_pktcdvd);
class_pktcdvd     444 drivers/block/pktcdvd.c 	class_pktcdvd = NULL;