/kernel/sched/ |
D | psi.c | 180 static void group_init(struct psi_group *group) in group_init() argument 184 group->enabled = true; in group_init() 186 seqcount_init(&per_cpu_ptr(group->pcpu, cpu)->seq); in group_init() 187 group->avg_last_update = sched_clock(); in group_init() 188 group->avg_next_update = group->avg_last_update + psi_period; in group_init() 189 INIT_DELAYED_WORK(&group->avgs_work, psi_avgs_work); in group_init() 190 mutex_init(&group->avgs_lock); in group_init() 192 atomic_set(&group->poll_scheduled, 0); in group_init() 193 mutex_init(&group->trigger_lock); in group_init() 194 INIT_LIST_HEAD(&group->triggers); in group_init() [all …]
|
D | topology.c | 41 struct sched_group *group = sd->groups; in sched_domain_debug_one() local 54 if (group && !cpumask_test_cpu(cpu, sched_group_span(group))) { in sched_domain_debug_one() 75 if (!group) { in sched_domain_debug_one() 81 if (cpumask_empty(sched_group_span(group))) { in sched_domain_debug_one() 88 cpumask_intersects(groupmask, sched_group_span(group))) { in sched_domain_debug_one() 94 cpumask_or(groupmask, groupmask, sched_group_span(group)); in sched_domain_debug_one() 97 group->sgc->id, in sched_domain_debug_one() 98 cpumask_pr_args(sched_group_span(group))); in sched_domain_debug_one() 101 !cpumask_equal(group_balance_mask(group), sched_group_span(group))) { in sched_domain_debug_one() 103 cpumask_pr_args(group_balance_mask(group))); in sched_domain_debug_one() [all …]
|
D | fair.c | 1301 static inline unsigned long group_faults_cpu(struct numa_group *group, int nid) in group_faults_cpu() argument 1303 return group->faults[task_faults_idx(NUMA_CPU, nid, 0)] + in group_faults_cpu() 1304 group->faults[task_faults_idx(NUMA_CPU, nid, 1)]; in group_faults_cpu() 6537 find_idlest_group_cpu(struct sched_group *group, struct task_struct *p, int this_cpu) in find_idlest_group_cpu() argument 6547 if (group->group_weight == 1) in find_idlest_group_cpu() 6548 return cpumask_first(sched_group_span(group)); in find_idlest_group_cpu() 6551 for_each_cpu_and(i, sched_group_span(group), p->cpus_ptr) { in find_idlest_group_cpu() 6609 struct sched_group *group; in find_idlest_cpu() local 6618 group = find_idlest_group(sd, p, cpu); in find_idlest_cpu() 6619 if (!group) { in find_idlest_cpu() [all …]
|
D | sched.h | 1314 struct sched_group *group) in sched_group_cookie_match() argument 1322 for_each_cpu_and(cpu, sched_group_span(group), p->cpus_ptr) { in sched_group_cookie_match() 1374 struct sched_group *group) in sched_group_cookie_match() argument
|
/kernel/trace/ |
D | trace_events_user.c | 105 struct user_event_group *group; member 133 struct user_event_group *group; member 149 static int user_event_parse(struct user_event_group *group, char *name, 172 static void user_event_group_destroy(struct user_event_group *group) in user_event_group_destroy() argument 174 if (group->register_page_data) in user_event_group_destroy() 175 set_page_reservations(group->register_page_data, false); in user_event_group_destroy() 177 if (group->pages) in user_event_group_destroy() 178 __free_pages(group->pages, MAX_PAGE_ORDER); in user_event_group_destroy() 180 kfree(group->system_name); in user_event_group_destroy() 181 kfree(group); in user_event_group_destroy() [all …]
|
D | trace_boot.c | 468 const char *p, *group, *event; in trace_boot_init_one_event() local 470 group = xbc_node_get_data(gnode); in trace_boot_init_one_event() 473 if (!strcmp(group, "kprobes")) in trace_boot_init_one_event() 476 if (!strcmp(group, "synthetic")) in trace_boot_init_one_event() 481 file = find_event_file(tr, group, event); in trace_boot_init_one_event() 483 pr_err("Failed to find event: %s:%s\n", group, event); in trace_boot_init_one_event() 511 group, event); in trace_boot_init_one_event()
|
D | trace_uprobe.c | 339 alloc_trace_uprobe(const char *group, const char *event, int nargs, bool is_ret) in alloc_trace_uprobe() argument 348 ret = trace_probe_init(&tu->tp, event, group, true); in alloc_trace_uprobe() 376 static struct trace_uprobe *find_probe_event(const char *event, const char *group) in find_probe_event() argument 383 strcmp(trace_probe_group_name(&tu->tp), group) == 0) in find_probe_event() 543 const char *event = NULL, *group = UPROBE_EVENT_SYSTEM; in __trace_uprobe_create() local 651 ret = traceprobe_parse_event_name(&event, &group, gbuf, in __trace_uprobe_create() 679 tu = alloc_trace_uprobe(group, event, argc, is_return); in __trace_uprobe_create() 1424 const char *group = event->tp_event->class->system; in bpf_get_uprobe_info() local 1428 tu = find_probe_event(pevent, group); in bpf_get_uprobe_info()
|
D | trace_kprobe.c | 256 static struct trace_kprobe *alloc_trace_kprobe(const char *group, in alloc_trace_kprobe() argument 293 ret = trace_probe_init(&tk->tp, event, group, false); in alloc_trace_kprobe() 305 const char *group) in find_trace_kprobe() argument 312 strcmp(trace_probe_group_name(&tk->tp), group) == 0) in find_trace_kprobe() 774 const char *event = NULL, *group = KPROBE_EVENT_SYSTEM; in __trace_kprobe_create() local 900 ret = traceprobe_parse_event_name(&event, &group, gbuf, in __trace_kprobe_create() 919 tk = alloc_trace_kprobe(group, event, addr, symbol, offset, maxactive, in __trace_kprobe_create() 1658 const char *group = event->tp_event->class->system; in bpf_get_kprobe_info() local 1662 tk = find_trace_kprobe(pevent, group); in bpf_get_kprobe_info()
|
D | trace_eprobe.c | 190 static struct trace_eprobe *alloc_event_probe(const char *group, in alloc_event_probe() argument 219 ret = trace_probe_init(&ep->tp, this_event, group, false); in alloc_event_probe() 980 const char *event = NULL, *group = EPROBE_EVENT_SYSTEM; in __trace_eprobe_create() local 998 ret = traceprobe_parse_event_name(&event, &group, gbuf, in __trace_eprobe_create() 1028 ep = alloc_event_probe(group, event, event_call, argc - 2); in __trace_eprobe_create()
|
D | trace_probe.c | 1046 const char *group, bool alloc_filter) in trace_probe_init() argument 1052 if (!event || !group) in trace_probe_init() 1076 tp->event->class.system = kstrdup(group, GFP_KERNEL); in trace_probe_init()
|
D | trace_probe.h | 337 const char *group, bool alloc_filter);
|
/kernel/ |
D | uid16.c | 23 SYSCALL_DEFINE3(chown16, const char __user *, filename, old_uid_t, user, old_gid_t, group) in SYSCALL_DEFINE3() argument 25 return ksys_chown(filename, low2highuid(user), low2highgid(group)); in SYSCALL_DEFINE3() 28 SYSCALL_DEFINE3(lchown16, const char __user *, filename, old_uid_t, user, old_gid_t, group) in SYSCALL_DEFINE3() argument 30 return ksys_lchown(filename, low2highuid(user), low2highgid(group)); in SYSCALL_DEFINE3() 33 SYSCALL_DEFINE3(fchown16, unsigned int, fd, old_uid_t, user, old_gid_t, group) in SYSCALL_DEFINE3() argument 35 return ksys_fchown(fd, low2highuid(user), low2highgid(group)); in SYSCALL_DEFINE3() 119 old_gid_t group; in groups16_to_user() local 124 group = high2lowgid(from_kgid_munged(user_ns, kgid)); in groups16_to_user() 125 if (put_user(group, grouplist+i)) in groups16_to_user() 137 old_gid_t group; in groups16_from_user() local [all …]
|
D | gen_kheaders.sh | 88 --owner=0 --group=0 --numeric-owner --no-recursion \
|
D | audit.c | 1599 static void audit_log_multicast(int group, const char *op, int err) in audit_log_multicast() argument 1626 audit_log_format(ab, " nl-mcgrp=%d op=%s res=%d", group, op, !err); in audit_log_multicast() 1631 static int audit_multicast_bind(struct net *net, int group) in audit_multicast_bind() argument 1637 audit_log_multicast(group, "connect", err); in audit_multicast_bind() 1641 static void audit_multicast_unbind(struct net *net, int group) in audit_multicast_unbind() argument 1643 audit_log_multicast(group, "disconnect", 0); in audit_multicast_unbind()
|
D | user_namespace.c | 86 kgid_t group = new->egid; in create_user_ns() local 114 !kgid_has_mapping(parent_ns, group)) in create_user_ns() 137 ns->group = group; in create_user_ns()
|
D | audit_fsnotify.c | 164 if (WARN_ON_ONCE(inode_mark->group != audit_fsnotify_group)) in audit_mark_handle_event()
|
D | user.c | 62 .group = GLOBAL_ROOT_GID,
|
D | audit_tree.c | 1043 struct fsnotify_group *group) in audit_tree_freeing_mark() argument 1047 fsnotify_group_lock(mark->group); in audit_tree_freeing_mark() 1052 fsnotify_group_unlock(mark->group); in audit_tree_freeing_mark()
|
D | Kconfig.preempt | 125 will execute a task from the same 'core group', forcing idle when no
|
D | audit_watch.c | 476 if (WARN_ON_ONCE(inode_mark->group != audit_watch_group)) in audit_watch_handle_event()
|
/kernel/events/ |
D | core.c | 4381 bool group; member 4430 if (data->group) in __perf_event_read() 4436 if (!data->group) { in __perf_event_read() 4553 static int perf_event_read(struct perf_event *event, bool group) in perf_event_read() argument 4580 .group = group, in perf_event_read() 4622 if (group) in perf_event_read() 12276 struct fd group = {NULL, 0}; in SYSCALL_DEFINE5() local 12348 err = perf_fget_light(group_fd, &group); in SYSCALL_DEFINE5() 12351 group_leader = group.file->private_data; in SYSCALL_DEFINE5() 12695 fdput(group); in SYSCALL_DEFINE5() [all …]
|