Home
last modified time | relevance | path

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

/kernel/
Dptrace.c60 void __ptrace_link(struct task_struct *child, struct task_struct *new_parent, in __ptrace_link() argument
63 BUG_ON(!list_empty(&child->ptrace_entry)); in __ptrace_link()
64 list_add(&child->ptrace_entry, &new_parent->ptraced); in __ptrace_link()
65 child->parent = new_parent; in __ptrace_link()
66 child->ptracer_cred = get_cred(ptracer_cred); in __ptrace_link()
75 static void ptrace_link(struct task_struct *child, struct task_struct *new_parent) in ptrace_link() argument
78 __ptrace_link(child, new_parent, __task_cred(new_parent)); in ptrace_link()
110 void __ptrace_unlink(struct task_struct *child) in __ptrace_unlink() argument
113 BUG_ON(!child->ptrace); in __ptrace_unlink()
115 clear_tsk_thread_flag(child, TIF_SYSCALL_TRACE); in __ptrace_unlink()
[all …]
Dresource.c69 if (p->child) in next_resource()
70 return p->child; in next_resource()
93 for (p = p->child; p && l < *pos; p = r_next(m, p, &l)) in r_start()
229 p = &root->child; in __request_resource()
249 p = &old->parent->child; in __release_resource()
255 if (release_child || !(tmp->child)) { in __release_resource()
258 for (chd = tmp->child;; chd = chd->sibling) { in __release_resource()
263 *p = tmp->child; in __release_resource()
279 p = r->child; in __release_child_resources()
280 r->child = NULL; in __release_child_resources()
[all …]
Dseccomp.c234 struct seccomp_filter *child) in is_ancestor() argument
239 for (; child; child = child->prev) in is_ancestor()
240 if (child == parent) in is_ancestor()
Dcgroup_freezer.c260 struct freezer *child = css_freezer(pos); in update_if_frozen() local
262 if ((child->state & CGROUP_FREEZER_ONLINE) && in update_if_frozen()
263 !(child->state & CGROUP_FROZEN)) { in update_if_frozen()
Dsysctl.c242 .child = kern_table,
247 .child = vm_table,
252 .child = fs_table,
257 .child = debug_table,
262 .child = dev_table,
785 .child = random_table,
790 .child = usermodehelper_table,
1166 .child = key_sysctls,
1826 .child = inotify_table,
1833 .child = epoll_table,
[all …]
Dcgroup.c593 #define cgroup_for_each_live_child(child, cgrp) \ argument
594 list_for_each_entry((child), &(cgrp)->self.children, self.sibling) \
596 cgroup_is_dead(child); })) \
3387 struct cgroup *cgrp, *child; in cgroup_subtree_control_write() local
3442 cgroup_for_each_live_child(child, cgrp) { in cgroup_subtree_control_write()
3443 if (child->subtree_control & (1 << ssid)) { in cgroup_subtree_control_write()
4163 struct cgroup_subsys_state *child; in css_has_online_children() local
4167 css_for_each_child(child, css) { in css_has_online_children()
4168 if (child->flags & CSS_ONLINE) { in css_has_online_children()
5893 void cgroup_fork(struct task_struct *child) in cgroup_fork() argument
[all …]
Dutsname_sysctl.c114 .child = uts_kern_table,
Dfork.c1050 static int wait_for_vfork_done(struct task_struct *child, in wait_for_vfork_done() argument
1060 task_lock(child); in wait_for_vfork_done()
1061 child->vfork_done = NULL; in wait_for_vfork_done()
1062 task_unlock(child); in wait_for_vfork_done()
1065 put_task_struct(child); in wait_for_vfork_done()
Dsysctl_binary.c46 const struct bin_table *child; member
1257 if (table->child) { in get_sysctl()
1259 table = table->child; in get_sysctl()
/kernel/sched/
Ddebug.c208 .child = sd_ctl_dir,
232 if (entry->child) in sd_free_ctl_entry()
233 sd_free_ctl_entry(&entry->child); in sd_free_ctl_entry()
295 table->child = sd_alloc_ctl_energy_table((struct sched_group_energy *)sg->sge); in sd_alloc_ctl_group_table()
359 entry->child = sd_alloc_ctl_group_table(sg); in sd_alloc_ctl_domain_table()
385 entry->child = sd_alloc_ctl_domain_table(sd); in sd_alloc_ctl_cpu_table()
399 WARN_ON(sd_ctl_dir[0].child); in register_sched_domain_sysctl()
400 sd_ctl_dir[0].child = entry; in register_sched_domain_sysctl()
409 entry->child = sd_alloc_ctl_cpu_table(i); in register_sched_domain_sysctl()
422 if (sd_ctl_dir[0].child) in unregister_sched_domain_sysctl()
[all …]
Dcore.c717 struct task_group *parent, *child; in walk_tg_tree_from() local
726 list_for_each_entry_rcu(child, &parent->children, siblings) { in walk_tg_tree_from()
727 parent = child; in walk_tg_tree_from()
737 child = parent; in walk_tg_tree_from()
6193 parent->parent->child = tmp; in cpu_attach_domain()
6211 sd->child = NULL; in cpu_attach_domain()
6282 if (!sibling->child) in build_group_mask()
6286 if (!cpumask_equal(sg_span, sched_domain_span(sibling->child))) in build_group_mask()
6336 if (sibling->child) in build_overlap_sched_groups()
6337 cpumask_copy(sg_span, sched_domain_span(sibling->child)); in build_overlap_sched_groups()
[all …]
Dfair.c5785 if (sd->child && group_first_cpu(sg) != cpu) in compute_energy()
5800 if (!sd->child) { in compute_energy()
6389 sd = sd->child; in find_idlest_cpu()
6395 sd = sd->child; in find_idlest_cpu()
6402 sd = sd->child; in find_idlest_cpu()
8446 struct sched_domain *child = sd->child; in update_group_capacity() local
8455 if (!child) { in update_group_capacity()
8464 if (child->flags & SD_OVERLAP) { in update_group_capacity()
8501 group = child->groups; in update_group_capacity()
8509 } while (group != child->groups); in update_group_capacity()
[all …]
Dsched.h896 #define for_each_lower_domain(sd) for (; sd; sd = sd->child)
/kernel/events/
Dcore.c1770 struct perf_event *child; in pmu_filter_match() local
1775 list_for_each_entry(child, &event->sibling_list, group_entry) { in pmu_filter_match()
1776 if (!__pmu_filter_match(child)) in pmu_filter_match()
4191 struct perf_event *child, *tmp; in perf_event_release_kernel() local
4229 list_for_each_entry(child, &event->child_list, child_list) { in perf_event_release_kernel()
4235 ctx = lockless_dereference(child->ctx); in perf_event_release_kernel()
4262 if (tmp == child) { in perf_event_release_kernel()
4263 perf_remove_from_context(child, DETACH_GROUP); in perf_event_release_kernel()
4264 list_del(&child->child_list); in perf_event_release_kernel()
4265 free_event(child); in perf_event_release_kernel()
[all …]
/kernel/irq/
Dirqdomain.c991 struct irq_data *child) in irq_domain_insert_irq_data() argument
996 irq_data_get_node(child)); in irq_domain_insert_irq_data()
998 child->parent_data = irq_data; in irq_domain_insert_irq_data()
999 irq_data->irq = child->irq; in irq_domain_insert_irq_data()
1000 irq_data->common = child->common; in irq_domain_insert_irq_data()
/kernel/locking/
Dlockdep.c953 static inline struct lock_list *get_lock_parent(struct lock_list *child) in get_lock_parent() argument
955 return child->parent; in get_lock_parent()
958 static inline int get_lock_depth(struct lock_list *child) in get_lock_depth() argument
963 while ((parent = get_lock_parent(child))) { in get_lock_depth()
964 child = parent; in get_lock_depth()
/kernel/trace/
Dtrace_events.c715 struct dentry *child; in remove_event_file_dir() local
719 list_for_each_entry(child, &dir->d_subdirs, d_child) { in remove_event_file_dir()
720 if (d_really_is_positive(child)) /* probably unneeded */ in remove_event_file_dir()
721 d_inode(child)->i_private = NULL; in remove_event_file_dir()