Lines Matching refs:view
51 struct debug_view *view; /* used view of debug info */ member
81 struct debug_view *view, char *out_buf);
82 static int debug_input_level_fn(debug_info_t * id, struct debug_view *view,
86 struct debug_view *view, char *out_buf);
87 static int debug_input_pages_fn(debug_info_t * id, struct debug_view *view,
90 static int debug_input_flush_fn(debug_info_t * id, struct debug_view *view,
93 static int debug_hex_ascii_format_fn(debug_info_t * id, struct debug_view *view,
96 struct debug_view *view, char *out_buf,
98 static int debug_raw_header_fn(debug_info_t * id, struct debug_view *view,
101 static int debug_sprintf_format_fn(debug_info_t * id, struct debug_view *view,
458 struct debug_view *view = p_info->view; in debug_format_entry() local
463 if (view->prolog_proc) in debug_format_entry()
464 len += view->prolog_proc(id_snap,view,p_info->temp_buf); in debug_format_entry()
474 if (view->header_proc) in debug_format_entry()
475 len += view->header_proc(id_snap, view, p_info->act_area, in debug_format_entry()
477 if (view->format_proc) in debug_format_entry()
478 len += view->format_proc(id_snap, view, p_info->temp_buf + len, in debug_format_entry()
587 if (p_info->view->input_proc) in debug_input()
588 rc = p_info->view->input_proc(p_info->debug_info_org, in debug_input()
589 p_info->view, file, user_buf, in debug_input()
653 p_info->view = debug_info->views[i]; in debug_open()
1110 debug_register_view(debug_info_t * id, struct debug_view *view) in debug_register_view() argument
1121 if (!(view->prolog_proc || view->format_proc || view->header_proc)) in debug_register_view()
1123 if (!view->input_proc) in debug_register_view()
1125 pde = debugfs_create_file(view->name, mode, id->debugfs_root_entry, in debug_register_view()
1129 "memory\n", id->name,view->name); in debug_register_view()
1140 "number of views %i\n", id->name, view->name, i); in debug_register_view()
1144 id->views[i] = view; in debug_register_view()
1157 debug_unregister_view(debug_info_t * id, struct debug_view *view) in debug_unregister_view() argument
1167 if (id->views[i] == view) in debug_unregister_view()
1225 struct debug_view *view, char *out_buf) in debug_prolog_pages_fn() argument
1235 debug_input_pages_fn(debug_info_t * id, struct debug_view *view, in debug_input_pages_fn() argument
1276 debug_prolog_level_fn(debug_info_t * id, struct debug_view *view, char *out_buf) in debug_prolog_level_fn() argument
1294 debug_input_level_fn(debug_info_t * id, struct debug_view *view, in debug_input_level_fn() argument
1371 debug_input_flush_fn(debug_info_t * id, struct debug_view *view, in debug_input_flush_fn() argument
1411 debug_raw_header_fn(debug_info_t * id, struct debug_view *view, in debug_raw_header_fn() argument
1426 debug_raw_format_fn(debug_info_t * id, struct debug_view *view, in debug_raw_format_fn() argument
1441 debug_hex_ascii_format_fn(debug_info_t * id, struct debug_view *view, in debug_hex_ascii_format_fn() argument
1467 debug_dflt_header_fn(debug_info_t * id, struct debug_view *view, in debug_dflt_header_fn() argument
1498 debug_sprintf_format_fn(debug_info_t * id, struct debug_view *view, in debug_sprintf_format_fn() argument