Home
last modified time | relevance | path

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

/kernel/sched/
Dpsi.c182 static void group_init(struct psi_group *group) in group_init() argument
187 seqcount_init(&per_cpu_ptr(group->pcpu, cpu)->seq); in group_init()
188 group->avg_last_update = sched_clock(); in group_init()
189 group->avg_next_update = group->avg_last_update + psi_period; in group_init()
190 INIT_DELAYED_WORK(&group->avgs_work, psi_avgs_work); in group_init()
191 mutex_init(&group->avgs_lock); in group_init()
193 atomic_set(&group->poll_scheduled, 0); in group_init()
194 mutex_init(&group->trigger_lock); in group_init()
195 INIT_LIST_HEAD(&group->triggers); in group_init()
196 memset(group->nr_triggers, 0, sizeof(group->nr_triggers)); in group_init()
[all …]
Dtopology.c31 struct sched_group *group = sd->groups; in sched_domain_debug_one() local
50 if (group && !cpumask_test_cpu(cpu, sched_group_span(group))) { in sched_domain_debug_one()
56 if (!group) { in sched_domain_debug_one()
62 if (!cpumask_weight(sched_group_span(group))) { in sched_domain_debug_one()
69 cpumask_intersects(groupmask, sched_group_span(group))) { in sched_domain_debug_one()
75 cpumask_or(groupmask, groupmask, sched_group_span(group)); in sched_domain_debug_one()
78 group->sgc->id, in sched_domain_debug_one()
79 cpumask_pr_args(sched_group_span(group))); in sched_domain_debug_one()
82 !cpumask_equal(group_balance_mask(group), sched_group_span(group))) { in sched_domain_debug_one()
84 cpumask_pr_args(group_balance_mask(group))); in sched_domain_debug_one()
[all …]
Dfair.c1256 static inline unsigned long group_faults_cpu(struct numa_group *group, int nid) in group_faults_cpu() argument
1258 return group->faults_cpu[task_faults_idx(NUMA_MEM, nid, 0)] + in group_faults_cpu()
1259 group->faults_cpu[task_faults_idx(NUMA_MEM, nid, 1)]; in group_faults_cpu()
5573 struct sched_group *idlest = NULL, *group = sd->groups; in find_idlest_group() local
5590 if (!cpumask_intersects(sched_group_span(group), in find_idlest_group()
5595 sched_group_span(group)); in find_idlest_group()
5605 for_each_cpu(i, sched_group_span(group)) { in find_idlest_group()
5619 group->sgc->capacity; in find_idlest_group()
5621 group->sgc->capacity; in find_idlest_group()
5635 idlest = group; in find_idlest_group()
[all …]
Dsched.h1449 static inline unsigned int group_first_cpu(struct sched_group *group) in group_first_cpu() argument
1451 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 …]
Daudit_fsnotify.c155 static int audit_mark_handle_event(struct fsnotify_group *group, in audit_mark_handle_event() argument
167 BUG_ON(group != audit_fsnotify_group); in audit_mark_handle_event()
Dgen_kheaders.sh79 --owner=0 --group=0 --numeric-owner --no-recursion \
Daudit_tree.c1040 static int audit_tree_handle_event(struct fsnotify_group *group, in audit_tree_handle_event() argument
1050 struct fsnotify_group *group) in audit_tree_freeing_mark() argument
1054 mutex_lock(&mark->group->mark_mutex); in audit_tree_freeing_mark()
1059 mutex_unlock(&mark->group->mark_mutex); in audit_tree_freeing_mark()
Duser_namespace.c73 kgid_t group = new->egid; in create_user_ns() local
101 !kgid_has_mapping(parent_ns, group)) in create_user_ns()
119 ns->group = group; in create_user_ns()
Daudit_watch.c469 static int audit_watch_handle_event(struct fsnotify_group *group, in audit_watch_handle_event() argument
481 BUG_ON(group != audit_watch_group); in audit_watch_handle_event()
Duser.c61 .group = GLOBAL_ROOT_GID,
Daudit.c1523 static int audit_bind(struct net *net, int group) in audit_bind() argument
/kernel/trace/
Dtrace_uprobe.c352 alloc_trace_uprobe(const char *group, const char *event, int nargs, bool is_ret) in alloc_trace_uprobe() argument
361 ret = trace_probe_init(&tu->tp, event, group, in alloc_trace_uprobe()
390 static struct trace_uprobe *find_probe_event(const char *event, const char *group) in find_probe_event() argument
397 strcmp(trace_probe_group_name(&tu->tp), group) == 0) in find_probe_event()
551 const char *event = NULL, *group = UPROBE_EVENT_SYSTEM; in trace_uprobe_create() local
645 ret = traceprobe_parse_event_name(&event, &group, buf, in trace_uprobe_create()
671 tu = alloc_trace_uprobe(group, event, argc, is_return); in trace_uprobe_create()
1417 const char *group = event->tp_event->class->system; in bpf_get_uprobe_info() local
1421 tu = find_probe_event(pevent, group); in bpf_get_uprobe_info()
Dtrace_kprobe.c256 static struct trace_kprobe *alloc_trace_kprobe(const char *group, in alloc_trace_kprobe() argument
293 ret = trace_probe_init(&tk->tp, event, group, 0); 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()
740 const char *event = NULL, *group = KPROBE_EVENT_SYSTEM; in trace_kprobe_create() local
824 ret = traceprobe_parse_event_name(&event, &group, buf, in trace_kprobe_create()
841 tk = alloc_trace_kprobe(group, event, addr, symbol, offset, maxactive, in trace_kprobe_create()
1459 const char *group = event->tp_event->class->system; in bpf_get_kprobe_info() local
1463 tk = find_trace_kprobe(pevent, group); in bpf_get_kprobe_info()
Dtrace_probe.c987 const char *group, size_t event_data_size) in trace_probe_init() argument
992 if (!event || !group) in trace_probe_init()
1014 tp->event->class.system = kstrdup(group, GFP_KERNEL); in trace_probe_init()
Dtrace_probe.h326 const char *group, size_t event_data_size);
/kernel/events/
Dcore.c3926 bool group; member
3975 if (data->group) in __perf_event_read()
3981 if (!data->group) { in __perf_event_read()
4086 static int perf_event_read(struct perf_event *event, bool group) in perf_event_read() argument
4113 .group = group, in perf_event_read()
4155 if (group) in perf_event_read()
10912 struct fd group = {NULL, 0}; in SYSCALL_DEFINE5() local
10984 err = perf_fget_light(group_fd, &group); in SYSCALL_DEFINE5()
10987 group_leader = group.file->private_data; in SYSCALL_DEFINE5()
11319 fdput(group); in SYSCALL_DEFINE5()
[all …]