Lines Matching refs:mtdoops_context
43 static struct mtdoops_context { struct
58 static void mark_page_used(struct mtdoops_context *cxt, int page) in mark_page_used() argument
63 static void mark_page_unused(struct mtdoops_context *cxt, int page) in mark_page_unused()
68 static int page_is_used(struct mtdoops_context *cxt, int page) in page_is_used()
73 static int mtdoops_erase_block(struct mtdoops_context *cxt, int offset) in mtdoops_erase_block()
101 static void mtdoops_inc_counter(struct mtdoops_context *cxt) in mtdoops_inc_counter()
122 struct mtdoops_context *cxt = in mtdoops_workfunc_erase()
123 container_of(work, struct mtdoops_context, work_erase); in mtdoops_workfunc_erase()
176 static void mtdoops_write(struct mtdoops_context *cxt, int panic) in mtdoops_write()
210 struct mtdoops_context *cxt = in mtdoops_workfunc_write()
211 container_of(work, struct mtdoops_context, work_write); in mtdoops_workfunc_write()
216 static void find_next_position(struct mtdoops_context *cxt) in find_next_position()
272 struct mtdoops_context *cxt = container_of(dumper, in mtdoops_do_dump()
273 struct mtdoops_context, dump); in mtdoops_do_dump()
293 struct mtdoops_context *cxt = &oops_cxt; in mtdoops_notify_add()
347 struct mtdoops_context *cxt = &oops_cxt; in mtdoops_notify_remove()
368 struct mtdoops_context *cxt = &oops_cxt; in mtdoops_init()
407 struct mtdoops_context *cxt = &oops_cxt; in mtdoops_exit()