Home
last modified time | relevance | path

Searched refs:group (Results 1 – 20 of 20) sorted by relevance

/kernel/sched/
Dpsi.c194 static void group_init(struct psi_group *group) in group_init() argument
199 seqcount_init(&per_cpu_ptr(group->pcpu, cpu)->seq); in group_init()
200 group->avg_last_update = sched_clock(); in group_init()
201 group->avg_next_update = group->avg_last_update + psi_period; in group_init()
202 INIT_DELAYED_WORK(&group->avgs_work, psi_avgs_work); in group_init()
203 mutex_init(&group->avgs_lock); in group_init()
205 atomic_set(&group->poll_scheduled, 0); in group_init()
206 mutex_init(&group->trigger_lock); in group_init()
207 INIT_LIST_HEAD(&group->triggers); in group_init()
208 memset(group->nr_triggers, 0, sizeof(group->nr_triggers)); in group_init()
[all …]
Dtopology.c42 struct sched_group *group = sd->groups; in sched_domain_debug_one() local
55 if (group && !cpumask_test_cpu(cpu, sched_group_span(group))) { in sched_domain_debug_one()
76 if (!group) { in sched_domain_debug_one()
82 if (!cpumask_weight(sched_group_span(group))) { in sched_domain_debug_one()
89 cpumask_intersects(groupmask, sched_group_span(group))) { in sched_domain_debug_one()
95 cpumask_or(groupmask, groupmask, sched_group_span(group)); in sched_domain_debug_one()
98 group->sgc->id, in sched_domain_debug_one()
99 cpumask_pr_args(sched_group_span(group))); in sched_domain_debug_one()
102 !cpumask_equal(group_balance_mask(group), sched_group_span(group))) { in sched_domain_debug_one()
104 cpumask_pr_args(group_balance_mask(group))); in sched_domain_debug_one()
[all …]
Dfair.c1284 static inline unsigned long group_faults_cpu(struct numa_group *group, int nid) in group_faults_cpu() argument
1286 return group->faults_cpu[task_faults_idx(NUMA_MEM, nid, 0)] + in group_faults_cpu()
1287 group->faults_cpu[task_faults_idx(NUMA_MEM, nid, 1)]; in group_faults_cpu()
6269 find_idlest_group_cpu(struct sched_group *group, struct task_struct *p, int this_cpu) in find_idlest_group_cpu() argument
6279 if (group->group_weight == 1) in find_idlest_group_cpu()
6280 return cpumask_first(sched_group_span(group)); in find_idlest_group_cpu()
6283 for_each_cpu_and(i, sched_group_span(group), p->cpus_ptr) { in find_idlest_group_cpu()
6341 struct sched_group *group; in find_idlest_cpu() local
6350 group = find_idlest_group(sd, p, cpu); in find_idlest_cpu()
6351 if (!group) { in find_idlest_cpu()
[all …]
Dsched.h1265 struct sched_group *group) in sched_group_cookie_match() argument
1273 for_each_cpu_and(cpu, sched_group_span(group), p->cpus_ptr) { in sched_group_cookie_match()
1336 struct sched_group *group) in sched_group_cookie_match() argument
1892 static inline unsigned int group_first_cpu(struct sched_group *group) in group_first_cpu() argument
1894 return cpumask_first(sched_group_span(group)); in group_first_cpu()
/kernel/
Duid16.c23 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 …]
Dgen_kheaders.sh88 --owner=0 --group=0 --numeric-owner --no-recursion \
Daudit.c1601 static void audit_log_multicast(int group, const char *op, int err) in audit_log_multicast() argument
1628 audit_log_format(ab, " nl-mcgrp=%d op=%s res=%d", group, op, !err); in audit_log_multicast()
1633 static int audit_multicast_bind(struct net *net, int group) in audit_multicast_bind() argument
1639 audit_log_multicast(group, "connect", err); in audit_multicast_bind()
1643 static void audit_multicast_unbind(struct net *net, int group) in audit_multicast_unbind() argument
1645 audit_log_multicast(group, "disconnect", 0); in audit_multicast_unbind()
Duser_namespace.c85 kgid_t group = new->egid; in create_user_ns() local
113 !kgid_has_mapping(parent_ns, group)) in create_user_ns()
132 ns->group = group; in create_user_ns()
Daudit_fsnotify.c164 if (WARN_ON_ONCE(inode_mark->group != audit_fsnotify_group) || in audit_mark_handle_event()
Duser.c62 .group = GLOBAL_ROOT_GID,
Daudit_tree.c1042 struct fsnotify_group *group) in audit_tree_freeing_mark() argument
1046 mutex_lock(&mark->group->mark_mutex); in audit_tree_freeing_mark()
1051 mutex_unlock(&mark->group->mark_mutex); in audit_tree_freeing_mark()
DKconfig.preempt110 will execute a task from the same 'core group', forcing idle when no
Daudit_watch.c475 if (WARN_ON_ONCE(inode_mark->group != audit_watch_group) || in audit_watch_handle_event()
/kernel/trace/
Dtrace_boot.c468 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()
Dtrace_eprobe.c185 static struct trace_eprobe *alloc_event_probe(const char *group, in alloc_event_probe() argument
214 ret = trace_probe_init(&ep->tp, this_event, group, false); in alloc_event_probe()
909 const char *event = NULL, *group = EPROBE_EVENT_SYSTEM; in __trace_eprobe_create() local
926 ret = traceprobe_parse_event_name(&event, &group, buf1, in __trace_eprobe_create()
935 if (!is_good_name(event) || !is_good_name(group)) in __trace_eprobe_create()
948 ep = alloc_event_probe(group, event, event_call, argc - 2); in __trace_eprobe_create()
Dtrace_uprobe.c336 alloc_trace_uprobe(const char *group, const char *event, int nargs, bool is_ret) in alloc_trace_uprobe() argument
345 ret = trace_probe_init(&tu->tp, event, group, true); in alloc_trace_uprobe()
373 static struct trace_uprobe *find_probe_event(const char *event, const char *group) in find_probe_event() argument
380 strcmp(trace_probe_group_name(&tu->tp), group) == 0) in find_probe_event()
542 const char *event = NULL, *group = UPROBE_EVENT_SYSTEM; in __trace_uprobe_create() local
650 ret = traceprobe_parse_event_name(&event, &group, buf, in __trace_uprobe_create()
676 tu = alloc_trace_uprobe(group, event, argc, is_return); in __trace_uprobe_create()
1429 const char *group = event->tp_event->class->system; in bpf_get_uprobe_info() local
1433 tu = find_probe_event(pevent, group); in bpf_get_uprobe_info()
Dtrace_kprobe.c254 static struct trace_kprobe *alloc_trace_kprobe(const char *group, in alloc_trace_kprobe() argument
291 ret = trace_probe_init(&tk->tp, event, group, false); in alloc_trace_kprobe()
303 const char *group) in find_trace_kprobe() argument
310 strcmp(trace_probe_group_name(&tk->tp), group) == 0) in find_trace_kprobe()
773 const char *event = NULL, *group = KPROBE_EVENT_SYSTEM; in __trace_kprobe_create() local
898 ret = traceprobe_parse_event_name(&event, &group, buf, in __trace_kprobe_create()
915 tk = alloc_trace_kprobe(group, event, addr, symbol, offset, maxactive, in __trace_kprobe_create()
1665 const char *group = event->tp_event->class->system; in bpf_get_kprobe_info() local
1669 tk = find_trace_kprobe(pevent, group); in bpf_get_kprobe_info()
Dtrace_probe.c1042 const char *group, bool alloc_filter) in trace_probe_init() argument
1048 if (!event || !group) in trace_probe_init()
1072 tp->event->class.system = kstrdup(group, GFP_KERNEL); in trace_probe_init()
Dtrace_probe.h338 const char *group, bool alloc_filter);
/kernel/events/
Dcore.c4462 bool group; member
4511 if (data->group) in __perf_event_read()
4517 if (!data->group) { in __perf_event_read()
4634 static int perf_event_read(struct perf_event *event, bool group) in perf_event_read() argument
4661 .group = group, in perf_event_read()
4703 if (group) in perf_event_read()
12265 struct fd group = {NULL, 0}; in SYSCALL_DEFINE5() local
12337 err = perf_fget_light(group_fd, &group); in SYSCALL_DEFINE5()
12340 group_leader = group.file->private_data; in SYSCALL_DEFINE5()
12684 fdput(group); in SYSCALL_DEFINE5()
[all …]