devcd 47 drivers/base/devcoredump.c struct devcd_entry *devcd = dev_to_devcd(dev); devcd 49 drivers/base/devcoredump.c devcd->free(devcd->data); devcd 50 drivers/base/devcoredump.c module_put(devcd->owner); devcd 56 drivers/base/devcoredump.c if (devcd->failing_dev->kobj.sd) devcd 57 drivers/base/devcoredump.c sysfs_delete_link(&devcd->failing_dev->kobj, &dev->kobj, devcd 60 drivers/base/devcoredump.c put_device(devcd->failing_dev); devcd 61 drivers/base/devcoredump.c kfree(devcd); devcd 66 drivers/base/devcoredump.c struct devcd_entry *devcd; devcd 68 drivers/base/devcoredump.c devcd = container_of(wk, struct devcd_entry, del_wk.work); devcd 70 drivers/base/devcoredump.c device_del(&devcd->devcd_dev); devcd 71 drivers/base/devcoredump.c put_device(&devcd->devcd_dev); devcd 79 drivers/base/devcoredump.c struct devcd_entry *devcd = dev_to_devcd(dev); devcd 81 drivers/base/devcoredump.c return devcd->read(buffer, offset, count, devcd->data, devcd->datalen); devcd 89 drivers/base/devcoredump.c struct devcd_entry *devcd = dev_to_devcd(dev); devcd 91 drivers/base/devcoredump.c mod_delayed_work(system_wq, &devcd->del_wk, 0); devcd 117 drivers/base/devcoredump.c struct devcd_entry *devcd = dev_to_devcd(dev); devcd 119 drivers/base/devcoredump.c flush_delayed_work(&devcd->del_wk); devcd 194 drivers/base/devcoredump.c struct devcd_entry *devcd = dev_to_devcd(dev); devcd 196 drivers/base/devcoredump.c return devcd->failing_dev == failing; devcd 259 drivers/base/devcoredump.c struct devcd_entry *devcd; devcd 275 drivers/base/devcoredump.c devcd = kzalloc(sizeof(*devcd), gfp); devcd 276 drivers/base/devcoredump.c if (!devcd) devcd 279 drivers/base/devcoredump.c devcd->owner = owner; devcd 280 drivers/base/devcoredump.c devcd->data = data; devcd 281 drivers/base/devcoredump.c devcd->datalen = datalen; devcd 282 drivers/base/devcoredump.c devcd->read = read; devcd 283 drivers/base/devcoredump.c devcd->free = free; devcd 284 drivers/base/devcoredump.c devcd->failing_dev = get_device(dev); devcd 286 drivers/base/devcoredump.c device_initialize(&devcd->devcd_dev); devcd 288 drivers/base/devcoredump.c dev_set_name(&devcd->devcd_dev, "devcd%d", devcd 290 drivers/base/devcoredump.c devcd->devcd_dev.class = &devcd_class; devcd 292 drivers/base/devcoredump.c if (device_add(&devcd->devcd_dev)) devcd 295 drivers/base/devcoredump.c if (sysfs_create_link(&devcd->devcd_dev.kobj, &dev->kobj, devcd 299 drivers/base/devcoredump.c if (sysfs_create_link(&dev->kobj, &devcd->devcd_dev.kobj, devcd 303 drivers/base/devcoredump.c INIT_DELAYED_WORK(&devcd->del_wk, devcd_del); devcd 304 drivers/base/devcoredump.c schedule_delayed_work(&devcd->del_wk, DEVCD_TIMEOUT); devcd 308 drivers/base/devcoredump.c put_device(&devcd->devcd_dev);