Lines Matching full: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,
93 static int debug_sprintf_format_fn(debug_info_t *id, struct debug_view *view,
421 struct debug_view *view = p_info->view; in debug_format_entry() local
427 if (view->prolog_proc) in debug_format_entry()
428 len += view->prolog_proc(id_snap, view, p_info->temp_buf); in debug_format_entry()
431 if (!id_snap->areas) /* this is true, if we have a prolog only view */ in debug_format_entry()
438 if (view->header_proc) in debug_format_entry()
439 len += view->header_proc(id_snap, view, p_info->act_area, in debug_format_entry()
441 if (view->format_proc) in debug_format_entry()
442 len += view->format_proc(id_snap, view, p_info->temp_buf + len, in debug_format_entry()
535 * - calls input function of view
545 if (p_info->view->input_proc) { in debug_input()
546 rc = p_info->view->input_proc(p_info->debug_info_org, in debug_input()
547 p_info->view, file, user_buf, in debug_input()
570 /* find debug view */ in debug_open()
575 goto found; /* found view ! */ in debug_open()
584 /* To copy all the areas is only needed, if we have a view which */ in debug_open()
605 p_info->view = debug_info->views[i]; in debug_open()
996 * counts arguments in format string for sprintf view
1081 * debug_register_view() - registers new debug view and creates debugfs
1085 * @view: pointer to debug view struct
1091 int debug_register_view(debug_info_t *id, struct debug_view *view) in debug_register_view() argument
1102 if (!(view->prolog_proc || view->format_proc || view->header_proc)) in debug_register_view()
1104 if (!view->input_proc) in debug_register_view()
1106 pde = debugfs_create_file(view->name, mode, id->debugfs_root_entry, in debug_register_view()
1114 pr_err("Registering view %s/%s would exceed the maximum " in debug_register_view()
1115 "number of views %i\n", id->name, view->name, i); in debug_register_view()
1118 id->views[i] = view; in debug_register_view()
1130 * debug_unregister_view() - unregisters debug view and removes debugfs
1134 * @view: pointer to debug view struct
1140 int debug_unregister_view(debug_info_t *id, struct debug_view *view) in debug_unregister_view() argument
1150 if (id->views[i] == view) in debug_unregister_view()
1207 static int debug_prolog_pages_fn(debug_info_t *id, struct debug_view *view, in debug_prolog_pages_fn() argument
1217 static int debug_input_pages_fn(debug_info_t *id, struct debug_view *view, in debug_input_pages_fn() argument
1256 static int debug_prolog_level_fn(debug_info_t *id, struct debug_view *view, in debug_prolog_level_fn() argument
1271 static int debug_input_level_fn(debug_info_t *id, struct debug_view *view, in debug_input_level_fn() argument
1339 * view function: flushes debug areas
1341 static int debug_input_flush_fn(debug_info_t *id, struct debug_view *view, in debug_input_flush_fn() argument
1380 static int debug_hex_ascii_format_fn(debug_info_t *id, struct debug_view *view, in debug_hex_ascii_format_fn() argument
1403 int debug_dflt_header_fn(debug_info_t *id, struct debug_view *view, in debug_dflt_header_fn() argument
1430 * debug_sprinf_event/exception calls must be used together with this view
1435 static int debug_sprintf_format_fn(debug_info_t *id, struct debug_view *view, in debug_sprintf_format_fn() argument