Lines Matching refs:pstore_device_info
73 static struct pstore_device_info *pstore_device_info; variable
97 static int __register_pstore_device(struct pstore_device_info *dev) in __register_pstore_device()
121 if (pstore_device_info) in __register_pstore_device()
141 pstore_device_info = dev; in __register_pstore_device()
154 int register_pstore_device(struct pstore_device_info *dev) in register_pstore_device()
166 static void __unregister_pstore_device(struct pstore_device_info *dev) in __unregister_pstore_device()
169 if (pstore_device_info && pstore_device_info == dev) { in __unregister_pstore_device()
171 pstore_device_info = NULL; in __unregister_pstore_device()
180 void unregister_pstore_device(struct pstore_device_info *dev) in unregister_pstore_device()
205 static int __register_pstore_blk(struct pstore_device_info *dev, in __register_pstore_blk()
287 struct pstore_device_info *best_effort_dev; in __best_effort_init()
327 struct pstore_device_info *dev = pstore_device_info; in __best_effort_exit()
353 __unregister_pstore_device(pstore_device_info); in pstore_blk_exit()