Lines Matching refs:view
52 struct debug_view *view; /* used view of debug info */ member
80 struct debug_view *view, char *out_buf);
81 static int debug_input_level_fn(debug_info_t *id, struct debug_view *view,
85 struct debug_view *view, char *out_buf);
86 static int debug_input_pages_fn(debug_info_t *id, struct debug_view *view,
89 static int debug_input_flush_fn(debug_info_t *id, struct debug_view *view,
92 static int debug_hex_ascii_format_fn(debug_info_t *id, struct debug_view *view,
94 static int debug_sprintf_format_fn(debug_info_t *id, struct debug_view *view,
389 struct debug_view *view = p_info->view; in debug_format_entry() local
395 if (view->prolog_proc) in debug_format_entry()
396 len += view->prolog_proc(id_snap, view, p_info->temp_buf); in debug_format_entry()
406 if (view->header_proc) in debug_format_entry()
407 len += view->header_proc(id_snap, view, p_info->act_area, in debug_format_entry()
409 if (view->format_proc) in debug_format_entry()
410 len += view->format_proc(id_snap, view, p_info->temp_buf + len, in debug_format_entry()
513 if (p_info->view->input_proc) { in debug_input()
514 rc = p_info->view->input_proc(p_info->debug_info_org, in debug_input()
515 p_info->view, file, user_buf, in debug_input()
573 p_info->view = debug_info->views[i]; in debug_open()
1189 int debug_register_view(debug_info_t *id, struct debug_view *view) in debug_register_view() argument
1200 if (!(view->prolog_proc || view->format_proc || view->header_proc)) in debug_register_view()
1202 if (!view->input_proc) in debug_register_view()
1204 pde = debugfs_create_file(view->name, mode, id->debugfs_root_entry, in debug_register_view()
1214 id->views[i] = view; in debug_register_view()
1220 "number of views %i\n", id->name, view->name, i); in debug_register_view()
1239 int debug_unregister_view(debug_info_t *id, struct debug_view *view) in debug_unregister_view() argument
1249 if (id->views[i] == view) in debug_unregister_view()
1306 static int debug_prolog_pages_fn(debug_info_t *id, struct debug_view *view, in debug_prolog_pages_fn() argument
1316 static int debug_input_pages_fn(debug_info_t *id, struct debug_view *view, in debug_input_pages_fn() argument
1355 static int debug_prolog_level_fn(debug_info_t *id, struct debug_view *view, in debug_prolog_level_fn() argument
1370 static int debug_input_level_fn(debug_info_t *id, struct debug_view *view, in debug_input_level_fn() argument
1440 static int debug_input_flush_fn(debug_info_t *id, struct debug_view *view, in debug_input_flush_fn() argument
1479 static int debug_hex_ascii_format_fn(debug_info_t *id, struct debug_view *view, in debug_hex_ascii_format_fn() argument
1502 int debug_dflt_header_fn(debug_info_t *id, struct debug_view *view, in debug_dflt_header_fn() argument
1534 static int debug_sprintf_format_fn(debug_info_t *id, struct debug_view *view, in debug_sprintf_format_fn() argument