cdev 556 arch/x86/kernel/cpu/common.c struct cpu_dev **cdev; cdev 560 arch/x86/kernel/cpu/common.c for (cdev = __x86_cpu_dev_start; cdev < __x86_cpu_dev_end; cdev++) { cdev 561 arch/x86/kernel/cpu/common.c struct cpu_dev *cpudev = *cdev; cdev 1056 block/bsg.c static struct cdev bsg_cdev; cdev 58 fs/char_dev.c struct cdev *cdev; /* will die */ cdev 269 fs/char_dev.c struct cdev *cdev; cdev 277 fs/char_dev.c cdev = cdev_alloc(); cdev 278 fs/char_dev.c if (!cdev) cdev 281 fs/char_dev.c cdev->owner = fops->owner; cdev 282 fs/char_dev.c cdev->ops = fops; cdev 283 fs/char_dev.c kobject_set_name(&cdev->kobj, "%s", name); cdev 284 fs/char_dev.c for (s = strchr(kobject_name(&cdev->kobj),'/'); s; s = strchr(s, '/')) cdev 287 fs/char_dev.c err = cdev_add(cdev, MKDEV(cd->major, 0), 256); cdev 291 fs/char_dev.c cd->cdev = cdev; cdev 295 fs/char_dev.c kobject_put(&cdev->kobj); cdev 327 fs/char_dev.c if (cd && cd->cdev) cdev 328 fs/char_dev.c cdev_del(cd->cdev); cdev 361 fs/char_dev.c struct cdev *p; cdev 362 fs/char_dev.c struct cdev *new = NULL; cdev 374 fs/char_dev.c new = container_of(kobj, struct cdev, kobj); cdev 415 fs/char_dev.c while (!list_empty(&cdev->list)) { cdev 417 fs/char_dev.c inode = container_of(cdev->list.next, struct inode, i_devices); cdev 435 fs/char_dev.c struct cdev *p = data; cdev 441 fs/char_dev.c struct cdev *p = data; cdev 483 fs/char_dev.c struct cdev *p = container_of(kobj, struct cdev, kobj); cdev 489 fs/char_dev.c struct cdev *p = container_of(kobj, struct cdev, kobj); cdev 507 fs/char_dev.c struct cdev *cdev_alloc(void) cdev 509 fs/char_dev.c struct cdev *p = kzalloc(sizeof(struct cdev), GFP_KERNEL); cdev 527 fs/char_dev.c memset(cdev, 0, sizeof *cdev); cdev 528 fs/char_dev.c INIT_LIST_HEAD(&cdev->list); cdev 529 fs/char_dev.c kobject_init(&cdev->kobj, &ktype_cdev_default); cdev 530 fs/char_dev.c cdev->ops = fops; cdev 1714 fs/ubifs/super.c sb->s_dev = c->vi.cdev; cdev 1797 fs/ubifs/super.c sb = sget(fs_type, &sb_test, &sb_set, &vi.cdev); cdev 227 include/acpi/processor.h struct thermal_cooling_device *cdev; cdev 23 include/linux/cdev.h struct cdev *cdev_alloc(void); cdev 85 include/linux/enclosure.h struct device cdev; cdev 113 include/linux/enclosure.h return container_of(dev, struct enclosure_component, cdev); cdev 663 include/linux/fs.h struct cdev *i_cdev; cdev 112 include/linux/mtd/ubi.h dev_t cdev; cdev 132 include/linux/mtd/ubi.h dev_t cdev; cdev 167 include/linux/rtc.h struct cdev char_dev; cdev 274 include/linux/tty_driver.h struct cdev cdev; cdev 217 include/linux/usb/composite.h struct usb_composite_dev *cdev; cdev 42 include/media/v4l2-dev.h struct cdev cdev; /* character device */ cdev 15 net/atm/atm_sysfs.c struct atm_dev *adev = to_atm_dev(cdev); cdev 23 net/atm/atm_sysfs.c struct atm_dev *adev = to_atm_dev(cdev); cdev 38 net/atm/atm_sysfs.c struct atm_dev *adev = to_atm_dev(cdev); cdev 64 net/atm/atm_sysfs.c struct atm_dev *adev = to_atm_dev(cdev); cdev 76 net/atm/atm_sysfs.c struct atm_dev *adev = to_atm_dev(cdev); cdev 118 net/atm/atm_sysfs.c if (!cdev) cdev 121 net/atm/atm_sysfs.c adev = to_atm_dev(cdev); cdev 133 net/atm/atm_sysfs.c struct atm_dev *adev = to_atm_dev(cdev); cdev 146 net/atm/atm_sysfs.c struct device *cdev = &adev->class_dev; cdev 149 net/atm/atm_sysfs.c cdev->class = &atm_class; cdev 150 net/atm/atm_sysfs.c dev_set_drvdata(cdev, adev); cdev 152 net/atm/atm_sysfs.c snprintf(cdev->bus_id, BUS_ID_SIZE, "%s%d", adev->type, adev->number); cdev 153 net/atm/atm_sysfs.c err = device_register(cdev); cdev 158 net/atm/atm_sysfs.c err = device_create_file(cdev, atm_attrs[i]); cdev 167 net/atm/atm_sysfs.c device_remove_file(cdev, atm_attrs[j]); cdev 168 net/atm/atm_sysfs.c device_del(cdev); cdev 174 net/atm/atm_sysfs.c struct device *cdev = &adev->class_dev; cdev 176 net/atm/atm_sysfs.c device_del(cdev);