Searched refs:best_effort_dev (Results 1 – 1 of 1) sorted by relevance
287 struct pstore_device_info *best_effort_dev; in __best_effort_init() local300 best_effort_dev = kzalloc(sizeof(*best_effort_dev), GFP_KERNEL); in __best_effort_init()301 if (!best_effort_dev) in __best_effort_init()304 best_effort_dev->zone.read = psblk_generic_blk_read; in __best_effort_init()305 best_effort_dev->zone.write = psblk_generic_blk_write; in __best_effort_init()307 ret = __register_pstore_blk(best_effort_dev, in __best_effort_init()310 kfree(best_effort_dev); in __best_effort_init()313 blkdev, best_effort_dev->zone.total_size); in __best_effort_init()