Lines Matching refs:view
51 struct debug_view *view; /* used view of debug info */ member
79 struct debug_view *view, char *out_buf);
80 static int debug_input_level_fn(debug_info_t *id, struct debug_view *view,
84 struct debug_view *view, char *out_buf);
85 static int debug_input_pages_fn(debug_info_t *id, struct debug_view *view,
88 static int debug_input_flush_fn(debug_info_t *id, struct debug_view *view,
91 static int debug_hex_ascii_format_fn(debug_info_t *id, struct debug_view *view,
94 struct debug_view *view, char *out_buf,
96 static int debug_raw_header_fn(debug_info_t *id, struct debug_view *view,
99 static int debug_sprintf_format_fn(debug_info_t *id, struct debug_view *view,
436 struct debug_view *view = p_info->view; in debug_format_entry() local
442 if (view->prolog_proc) in debug_format_entry()
443 len += view->prolog_proc(id_snap, view, p_info->temp_buf); in debug_format_entry()
453 if (view->header_proc) in debug_format_entry()
454 len += view->header_proc(id_snap, view, p_info->act_area, in debug_format_entry()
456 if (view->format_proc) in debug_format_entry()
457 len += view->format_proc(id_snap, view, p_info->temp_buf + len, in debug_format_entry()
560 if (p_info->view->input_proc) { in debug_input()
561 rc = p_info->view->input_proc(p_info->debug_info_org, in debug_input()
562 p_info->view, file, user_buf, in debug_input()
620 p_info->view = debug_info->views[i]; in debug_open()
1101 int debug_register_view(debug_info_t *id, struct debug_view *view) in debug_register_view() argument
1112 if (!(view->prolog_proc || view->format_proc || view->header_proc)) in debug_register_view()
1114 if (!view->input_proc) in debug_register_view()
1116 pde = debugfs_create_file(view->name, mode, id->debugfs_root_entry, in debug_register_view()
1125 "number of views %i\n", id->name, view->name, i); in debug_register_view()
1128 id->views[i] = view; in debug_register_view()
1150 int debug_unregister_view(debug_info_t *id, struct debug_view *view) in debug_unregister_view() argument
1160 if (id->views[i] == view) in debug_unregister_view()
1217 static int debug_prolog_pages_fn(debug_info_t *id, struct debug_view *view, in debug_prolog_pages_fn() argument
1227 static int debug_input_pages_fn(debug_info_t *id, struct debug_view *view, in debug_input_pages_fn() argument
1266 static int debug_prolog_level_fn(debug_info_t *id, struct debug_view *view, in debug_prolog_level_fn() argument
1281 static int debug_input_level_fn(debug_info_t *id, struct debug_view *view, in debug_input_level_fn() argument
1351 static int debug_input_flush_fn(debug_info_t *id, struct debug_view *view, in debug_input_flush_fn() argument
1390 static int debug_raw_header_fn(debug_info_t *id, struct debug_view *view, in debug_raw_header_fn() argument
1403 static int debug_raw_format_fn(debug_info_t *id, struct debug_view *view, in debug_raw_format_fn() argument
1416 static int debug_hex_ascii_format_fn(debug_info_t *id, struct debug_view *view, in debug_hex_ascii_format_fn() argument
1439 int debug_dflt_header_fn(debug_info_t *id, struct debug_view *view, in debug_dflt_header_fn() argument
1472 static int debug_sprintf_format_fn(debug_info_t *id, struct debug_view *view, in debug_sprintf_format_fn() argument