Home
last modified time | relevance | path

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

/kernel/
Duid16.c19 SYSCALL_DEFINE3(chown16, const char __user *, filename, old_uid_t, user, old_gid_t, group) in SYSCALL_DEFINE3() argument
21 return sys_chown(filename, low2highuid(user), low2highgid(group)); in SYSCALL_DEFINE3()
24 SYSCALL_DEFINE3(lchown16, const char __user *, filename, old_uid_t, user, old_gid_t, group) in SYSCALL_DEFINE3() argument
26 return sys_lchown(filename, low2highuid(user), low2highgid(group)); in SYSCALL_DEFINE3()
29 SYSCALL_DEFINE3(fchown16, unsigned int, fd, old_uid_t, user, old_gid_t, group) in SYSCALL_DEFINE3() argument
31 return sys_fchown(fd, low2highuid(user), low2highgid(group)); in SYSCALL_DEFINE3()
116 old_gid_t group; in groups16_to_user() local
121 group = high2lowgid(from_kgid_munged(user_ns, kgid)); in groups16_to_user()
122 if (put_user(group, grouplist+i)) in groups16_to_user()
134 old_gid_t group; in groups16_from_user() local
[all …]
Daudit_fsnotify.c167 static int audit_mark_handle_event(struct fsnotify_group *group, in audit_mark_handle_event() argument
179 BUG_ON(group != audit_fsnotify_group); in audit_mark_handle_event()
Dsignal.c880 static void complete_signal(int sig, struct task_struct *p, int group) in complete_signal() argument
893 else if (!group || thread_group_empty(p)) in complete_signal()
983 int group, int from_ancestor_ns) in __send_signal() argument
997 pending = group ? &t->signal->shared_pending : &t->pending; in __send_signal()
1080 complete_signal(sig, t, group); in __send_signal()
1082 trace_signal_generate(sig, info, t, group, result); in __send_signal()
1087 int group) in send_signal() argument
1096 return __send_signal(sig, info, t, group, from_ancestor_ns); in send_signal()
1145 bool group) in do_send_sig_info() argument
1151 ret = send_signal(sig, info, p, group); in do_send_sig_info()
[all …]
Duser_namespace.c75 kgid_t group = new->egid; in create_user_ns() local
103 !kgid_has_mapping(parent_ns, group)) in create_user_ns()
121 ns->group = group; in create_user_ns()
Daudit_tree.c262 if (fsnotify_add_mark(&new->mark, new->mark.group, new->mark.inode, NULL, 1)) { in untag_chunk()
399 if (fsnotify_add_mark(chunk_entry, chunk_entry->group, chunk_entry->inode, NULL, 1)) { in tag_chunk()
947 static int audit_tree_handle_event(struct fsnotify_group *group, in audit_tree_handle_event() argument
957 static void audit_tree_freeing_mark(struct fsnotify_mark *entry, struct fsnotify_group *group) in audit_tree_freeing_mark() argument
Daudit_watch.c473 static int audit_watch_handle_event(struct fsnotify_group *group, in audit_watch_handle_event() argument
485 BUG_ON(group != audit_watch_group); in audit_watch_handle_event()
Duser.c53 .group = GLOBAL_ROOT_GID,
Daudit.c1138 static int audit_bind(struct net *net, int group) in audit_bind() argument
/kernel/sched/
Dtune.c234 } group[BOOSTGROUPS_COUNT]; member
252 boost_max = bg->group[0].boost; in schedtune_cpu_update()
258 if (bg->group[idx].tasks == 0) in schedtune_cpu_update()
261 boost_max = max(boost_max, bg->group[idx].boost); in schedtune_cpu_update()
288 old_boost = bg->group[idx].boost; in schedtune_boostgroup_update()
291 bg->group[idx].boost = boost; in schedtune_boostgroup_update()
294 if (boost > cur_boost_max && bg->group[idx].tasks) { in schedtune_boostgroup_update()
320 int tasks = bg->group[idx].tasks + task_count; in schedtune_tasks_update()
323 bg->group[idx].tasks = max(0, tasks); in schedtune_tasks_update()
326 bg->group[idx].boost, bg->boost_max); in schedtune_tasks_update()
[all …]
Dfair.c1203 static inline unsigned long group_faults_cpu(struct numa_group *group, int nid) in group_faults_cpu() argument
1205 return group->faults_cpu[task_faults_idx(NUMA_MEM, nid, 0)] + in group_faults_cpu()
1206 group->faults_cpu[task_faults_idx(NUMA_MEM, nid, 1)]; in group_faults_cpu()
6195 struct sched_group *idlest = NULL, *group = sd->groups; in find_idlest_group() local
6216 if (!cpumask_intersects(sched_group_cpus(group), in find_idlest_group()
6221 sched_group_cpus(group)); in find_idlest_group()
6231 for_each_cpu(i, sched_group_cpus(group)) { in find_idlest_group()
6250 group->sgc->capacity; in find_idlest_group()
6252 group->sgc->capacity; in find_idlest_group()
6266 idlest = group; in find_idlest_group()
[all …]
Dcore.c5763 struct sched_group *group = sd->groups; in sched_domain_debug_one() local
5781 if (!cpumask_test_cpu(cpu, sched_group_cpus(group))) { in sched_domain_debug_one()
5788 if (!group) { in sched_domain_debug_one()
5794 if (!cpumask_weight(sched_group_cpus(group))) { in sched_domain_debug_one()
5801 cpumask_intersects(groupmask, sched_group_cpus(group))) { in sched_domain_debug_one()
5807 cpumask_or(groupmask, groupmask, sched_group_cpus(group)); in sched_domain_debug_one()
5810 cpumask_pr_args(sched_group_cpus(group))); in sched_domain_debug_one()
5811 if (group->sgc->capacity != SCHED_CAPACITY_SCALE) { in sched_domain_debug_one()
5813 group->sgc->capacity); in sched_domain_debug_one()
5816 group = group->next; in sched_domain_debug_one()
[all …]
Dsched.h992 static inline unsigned int group_first_cpu(struct sched_group *group) in group_first_cpu() argument
994 return cpumask_first(sched_group_cpus(group)); in group_first_cpu()
/kernel/trace/
Dtrace_uprobe.c243 alloc_trace_uprobe(const char *group, const char *event, int nargs, bool is_ret) in alloc_trace_uprobe() argument
250 if (!group || !is_good_name(group)) in alloc_trace_uprobe()
262 tu->tp.class.system = kstrdup(group, GFP_KERNEL); in alloc_trace_uprobe()
295 static struct trace_uprobe *find_probe_event(const char *event, const char *group) in find_probe_event() argument
301 strcmp(tu->tp.call.class->system, group) == 0) in find_probe_event()
363 char *arg, *event, *group, *filename; in create_trace_uprobe() local
375 group = NULL; in create_trace_uprobe()
392 group = event; in create_trace_uprobe()
396 if (strlen(group) == 0) { in create_trace_uprobe()
406 if (!group) in create_trace_uprobe()
[all …]
Dtrace_kprobe.c267 static struct trace_kprobe *alloc_trace_kprobe(const char *group, in alloc_trace_kprobe() argument
309 if (!group || !is_good_name(group)) { in alloc_trace_kprobe()
314 tk->tp.class.system = kstrdup(group, GFP_KERNEL); in alloc_trace_kprobe()
344 const char *group) in find_trace_kprobe() argument
350 strcmp(tk->tp.call.class->system, group) == 0) in find_trace_kprobe()
608 char *symbol = NULL, *event = NULL, *group = NULL; in create_trace_kprobe() local
630 group = event; in create_trace_kprobe()
631 event = strchr(group, '/') + 1; in create_trace_kprobe()
633 if (strlen(group) == 0) { in create_trace_kprobe()
643 if (!group) in create_trace_kprobe()
[all …]
/kernel/events/
Dcore.c3491 bool group; member
3543 if (!data->group) { in __perf_event_read()
3631 static int perf_event_read(struct perf_event *event, bool group) in perf_event_read() argument
3642 .group = group, in perf_event_read()
3680 if (group) in perf_event_read()
9642 struct fd group = {NULL, 0}; in SYSCALL_DEFINE5() local
9695 err = perf_fget_light(group_fd, &group); in SYSCALL_DEFINE5()
9698 group_leader = group.file->private_data; in SYSCALL_DEFINE5()
10016 fdput(group); in SYSCALL_DEFINE5()
10045 fdput(group); in SYSCALL_DEFINE5()