Lines Matching +refs:dp +refs:get +refs:op

204 			struct _ddebug *dp = &dt->ddebugs[i];  in ddebug_change()  local
207 if (dp->class_id != valid_class) in ddebug_change()
212 !match_wildcard(query->filename, dp->filename) && in ddebug_change()
214 kbasename(dp->filename)) && in ddebug_change()
216 trim_prefix(dp->filename))) in ddebug_change()
221 !match_wildcard(query->function, dp->function)) in ddebug_change()
229 p = strstr(dp->format, query->format+1); in ddebug_change()
230 if (p != dp->format) in ddebug_change()
232 } else if (!strstr(dp->format, query->format)) in ddebug_change()
238 dp->lineno < query->first_lineno) in ddebug_change()
241 dp->lineno > query->last_lineno) in ddebug_change()
246 newflags = (dp->flags & modifiers->mask) | modifiers->flags; in ddebug_change()
247 if (newflags == dp->flags) in ddebug_change()
250 if (dp->flags & _DPRINTK_FLAGS_PRINT) { in ddebug_change()
252 static_branch_disable(&dp->key.dd_key_true); in ddebug_change()
254 static_branch_enable(&dp->key.dd_key_true); in ddebug_change()
258 trim_prefix(dp->filename), dp->lineno, in ddebug_change()
259 dt->mod_name, dp->function, in ddebug_change()
260 ddebug_describe_flags(dp->flags, &fbuf), in ddebug_change()
262 dp->flags = newflags; in ddebug_change()
490 int op, i; in ddebug_parse_flags() local
496 op = *str++; in ddebug_parse_flags()
502 v3pr_info("op='%c'\n", op); in ddebug_parse_flags()
519 switch (op) { in ddebug_parse_flags()
811 .get = param_get_dyndbg_classes,
1079 struct _ddebug *dp; in ddebug_proc_start() local
1088 dp = ddebug_iter_first(iter); in ddebug_proc_start()
1089 while (dp != NULL && --n > 0) in ddebug_proc_start()
1090 dp = ddebug_iter_next(iter); in ddebug_proc_start()
1091 return dp; in ddebug_proc_start()
1102 struct _ddebug *dp; in ddebug_proc_next() local
1105 dp = ddebug_iter_first(iter); in ddebug_proc_next()
1107 dp = ddebug_iter_next(iter); in ddebug_proc_next()
1109 return dp; in ddebug_proc_next()
1115 static const char *ddebug_class_name(struct ddebug_iter *iter, struct _ddebug *dp) in ddebug_class_name() argument
1120 if (class_in_range(dp->class_id, map)) in ddebug_class_name()
1121 return map->class_names[dp->class_id - map->base]; in ddebug_class_name()
1135 struct _ddebug *dp = p; in ddebug_proc_show() local
1146 trim_prefix(dp->filename), dp->lineno, in ddebug_proc_show()
1147 iter->table->mod_name, dp->function, in ddebug_proc_show()
1148 ddebug_describe_flags(dp->flags, &flags)); in ddebug_proc_show()
1149 seq_escape_str(m, dp->format, ESCAPE_SPACE, "\t\r\n\""); in ddebug_proc_show()
1152 if (dp->class_id != _DPRINTK_CLASS_DFLT) { in ddebug_proc_show()
1153 class = ddebug_class_name(iter, dp); in ddebug_proc_show()
1157 seq_printf(m, " class unknown, _id:%d", dp->class_id); in ddebug_proc_show()