/kernel/ |
D | lockdep_proc.c | 40 static void print_name(struct seq_file *m, struct lock_class *class) in print_name() argument 43 const char *name = class->name; in print_name() 46 name = __get_key_name(class->key, str); in print_name() 50 if (class->name_version > 1) in print_name() 51 seq_printf(m, "#%d", class->name_version); in print_name() 52 if (class->subclass) in print_name() 53 seq_printf(m, "/%d", class->subclass); in print_name() 59 struct lock_class *class = list_entry(v, struct lock_class, lock_entry); in l_show() local 68 seq_printf(m, "%p", class->key); in l_show() 70 seq_printf(m, " OPS:%8ld", class->ops); in l_show() [all …]
|
D | lockdep.c | 204 struct lock_class_stats lock_stats(struct lock_class *class) in lock_stats() argument 212 &per_cpu(cpu_lock_stats, cpu)[class - lock_classes]; in lock_stats() 233 void clear_lock_stats(struct lock_class *class) in clear_lock_stats() argument 239 &per_cpu(cpu_lock_stats, cpu)[class - lock_classes]; in clear_lock_stats() 243 memset(class->contention_point, 0, sizeof(class->contention_point)); in clear_lock_stats() 244 memset(class->contending_point, 0, sizeof(class->contending_point)); in clear_lock_stats() 247 static struct lock_class_stats *get_lock_stats(struct lock_class *class) in get_lock_stats() argument 249 return &get_cpu_var(cpu_lock_stats)[class - lock_classes]; in get_lock_stats() 352 static int class_filter(struct lock_class *class) in class_filter() argument 356 if (class->name_version == 1 && in class_filter() [all …]
|
D | auditfilter.c | 157 int __init audit_register_class(int class, unsigned *list) in audit_register_class() argument 170 if (class >= AUDIT_SYSCALL_CLASSES || classes[class]) { in audit_register_class() 174 classes[class] = p; in audit_register_class() 178 int audit_match_class(int class, unsigned syscall) in audit_match_class() argument 182 if (unlikely(class >= AUDIT_SYSCALL_CLASSES || !classes[class])) in audit_match_class() 184 return classes[class][AUDIT_WORD(syscall)] & AUDIT_BIT(syscall); in audit_match_class() 188 static inline int audit_match_class_bits(int class, u32 *mask) in audit_match_class_bits() argument 192 if (classes[class]) { in audit_match_class_bits() 194 if (mask[i] & classes[class][i]) in audit_match_class_bits() 274 __u32 *class; in audit_to_entry_common() local [all …]
|
D | lockdep_internals.h | 75 extern void get_usage_chars(struct lock_class *class, 101 lockdep_count_forward_deps(struct lock_class *class) in lockdep_count_forward_deps() argument 106 lockdep_count_backward_deps(struct lock_class *class) in lockdep_count_backward_deps() argument
|
D | audit.h | 233 extern int audit_match_class(int class, unsigned syscall);
|
/kernel/trace/ |
D | trace_event_perf.c | 85 ret = tp_event->class->reg(tp_event, TRACE_REG_PERF_REGISTER, NULL); in perf_trace_event_reg() 118 tp_event->class->reg(tp_event, TRACE_REG_PERF_UNREGISTER, NULL); in perf_trace_event_unreg() 142 return tp_event->class->reg(tp_event, TRACE_REG_PERF_OPEN, p_event); in perf_trace_event_open() 148 tp_event->class->reg(tp_event, TRACE_REG_PERF_CLOSE, p_event); in perf_trace_event_close() 182 tp_event->class && tp_event->class->reg && in perf_trace_init() 219 return tp_event->class->reg(tp_event, TRACE_REG_PERF_ADD, p_event); in perf_trace_add() 226 tp_event->class->reg(tp_event, TRACE_REG_PERF_DEL, p_event); in perf_trace_del()
|
D | trace_events.c | 60 if (!event_call->class->get_fields) in trace_get_fields() 61 return &event_call->class->fields; in trace_get_fields() 62 return event_call->class->get_fields(event_call); in trace_get_fields() 130 if (WARN_ON(!call->class)) in trace_define_field() 193 call->class->probe, in ftrace_event_reg() 197 call->class->probe, in ftrace_event_reg() 204 call->class->perf_probe, in ftrace_event_reg() 208 call->class->perf_probe, in ftrace_event_reg() 280 call->class->reg(call, TRACE_REG_UNREGISTER, file); in __ftrace_event_enable_disable() 313 ret = call->class->reg(call, TRACE_REG_REGISTER, file); in __ftrace_event_enable_disable() [all …]
|
D | trace_uprobe.c | 54 struct ftrace_event_class class; member 117 tu->call.class = &tu->class; in alloc_trace_uprobe() 122 tu->class.system = kstrdup(group, GFP_KERNEL); in alloc_trace_uprobe() 123 if (!tu->class.system) in alloc_trace_uprobe() 148 kfree(tu->call.class->system); in free_trace_uprobe() 160 strcmp(tu->call.class->system, group) == 0) in find_probe_event() 183 old_tp = find_probe_event(tu->call.name, tu->call.class->system); in register_trace_uprobe() 444 seq_printf(m, "%c:%s/%s", c, tu->call.class->system, tu->call.name); in probes_seq_show() 945 INIT_LIST_HEAD(&call->class->fields); in register_uprobe_event() 947 call->class->define_fields = uprobe_event_define_fields; in register_uprobe_event() [all …]
|
D | trace_kprobe.c | 36 struct ftrace_event_class class; member 138 tp->call.class = &tp->class; in alloc_trace_probe() 148 tp->class.system = kstrdup(group, GFP_KERNEL); in alloc_trace_probe() 149 if (!tp->class.system) in alloc_trace_probe() 168 kfree(tp->call.class->system); in free_trace_probe() 181 strcmp(tp->call.class->system, group) == 0) in find_trace_probe() 417 old_tp = find_trace_probe(tp->call.name, tp->call.class->system); in register_trace_probe() 715 seq_printf(m, ":%s/%s", tp->call.class->system, tp->call.name); in probes_seq_show() 1288 INIT_LIST_HEAD(&call->class->fields); in register_probe_event() 1291 call->class->define_fields = kretprobe_event_define_fields; in register_probe_event() [all …]
|
D | trace_export.c | 181 .class = &event_class_ftrace_##call, \
|
D | trace_events_filter.c | 829 if (strcmp(call->class->system, system->name) != 0) in filter_free_subsystem_preds() 842 if (strcmp(call->class->system, system->name) != 0) in filter_free_subsystem_filters() 1634 if (strcmp(call->class->system, system->name) != 0) in replace_system_preds() 1651 if (strcmp(call->class->system, system->name) != 0) in replace_system_preds()
|
/kernel/sched/ |
D | sched.h | 1015 #define for_each_class(class) \ argument 1016 for (class = sched_class_highest; class; class = class->next)
|
D | core.c | 954 const struct sched_class *class; in check_preempt_curr() local 959 for_each_class(class) { in check_preempt_curr() 960 if (class == rq->curr->sched_class) in check_preempt_curr() 962 if (class == p->sched_class) { in check_preempt_curr() 2891 const struct sched_class *class; in pick_next_task() local 2904 for_each_class(class) { in pick_next_task() 2905 p = class->pick_next_task(rq); in pick_next_task() 5167 const struct sched_class *class; in set_rq_online() local 5172 for_each_class(class) { in set_rq_online() 5173 if (class->rq_online) in set_rq_online() [all …]
|
/kernel/time/ |
D | alarmtimer.c | 111 alarmtimer_rtc_interface.class = rtc_class; in alarmtimer_rtc_interface_setup()
|