Home
last modified time | relevance | path

Searched refs:self (Results 1 – 25 of 25) sorted by relevance

/kernel/
Dkthread.c254 static void __kthread_parkme(struct kthread *self) in __kthread_parkme() argument
267 if (!test_bit(KTHREAD_SHOULD_PARK, &self->flags)) in __kthread_parkme()
276 complete(&self->parked); in __kthread_parkme()
296 struct kthread *self; in kthread() local
300 self = to_kthread(current); in kthread()
309 if (!self) { in kthread()
315 self->threadfn = threadfn; in kthread()
316 self->data = data; in kthread()
317 init_completion(&self->exited); in kthread()
318 init_completion(&self->parked); in kthread()
[all …]
Dexit.c503 struct core_thread self; in exit_mm() local
507 self.task = current; in exit_mm()
508 if (self.task->flags & PF_SIGNALED) in exit_mm()
509 self.next = xchg(&core_state->dumper.next, &self); in exit_mm()
511 self.task = NULL; in exit_mm()
521 if (!self.task) /* see coredump_finish() */ in exit_mm()
Dhung_task.c260 static int hungtask_pm_notify(struct notifier_block *self, in hungtask_pm_notify() argument
Dtracepoint.c702 static int tracepoint_module_notify(struct notifier_block *self, in tracepoint_module_notify() argument
Djump_label.c737 jump_label_module_notify(struct notifier_block *self, unsigned long val, in jump_label_module_notify() argument
Dkprobes.c1857 int __weak kprobe_exceptions_notify(struct notifier_block *self, in kprobe_exceptions_notify() argument
/kernel/cgroup/
Dcgroup.c491 return &cgrp->self; in cgroup_css()
532 return &cgrp->self; in cgroup_e_css_by_mask()
619 css_get(&cgrp->self); in cgroup_get_live()
671 return &cgrp->self; in of_css()
731 list_for_each_entry((child), &(cgrp)->self.children, self.sibling) \
1351 BUG_ON(!list_empty(&cgrp->self.children)); in cgroup_destroy_root()
1719 ret = cgroup_addrm_files(&cgrp->self, cgrp, cfts, true); in css_populate_dir()
1967 INIT_LIST_HEAD(&cgrp->self.sibling); in init_cgroup_housekeeping()
1968 INIT_LIST_HEAD(&cgrp->self.children); in init_cgroup_housekeeping()
1972 cgrp->self.cgroup = cgrp; in init_cgroup_housekeeping()
[all …]
Dcgroup-v1.c134 css_task_iter_start(&from->self, 0, &it); in cgroup_transfer_tasks()
355 css_task_iter_start(&cgrp->self, 0, &it); in pidlist_array_load()
737 css_task_iter_start(&cgrp->self, 0, &it); in cgroupstats_build()
767 !css_has_online_children(&cgrp->self) && !cgroup_is_dead(cgrp)) in cgroup1_check_for_release()
1103 if (!list_empty(&root->cgrp.self.children)) { in cgroup1_reconfigure()
1167 if (!percpu_ref_tryget_live(&ss->root->cgrp.self.refcnt)) in cgroup1_root_to_use()
1244 if (!ret && !percpu_ref_tryget_live(&ctx->root->cgrp.self.refcnt)) in cgroup1_get_tree()
1252 if (!ret && percpu_ref_is_dying(&ctx->root->cgrp.self.refcnt)) { in cgroup1_get_tree()
Dfreezer.c201 css_task_iter_start(&cgrp->self, 0, &it); in cgroup_do_freeze()
284 css_for_each_descendant_pre(css, &cgrp->self) { in cgroup_freeze()
Dcgroup-internal.h187 return !(cgrp->self.flags & CSS_ONLINE); in cgroup_is_dead()
Ddebug.c274 !css_has_online_children(&css->cgroup->self)); in releasable_read()
Dcpuset.c3441 static int cpuset_track_online_nodes(struct notifier_block *self, in cpuset_track_online_nodes() argument
/kernel/bpf/
Dcgroup.c337 css_for_each_descendant_pre(css, &cgrp->self) { in update_effective_progs()
338 struct cgroup *desc = container_of(css, struct cgroup, self); in update_effective_progs()
349 css_for_each_descendant_pre(css, &cgrp->self) { in update_effective_progs()
350 struct cgroup *desc = container_of(css, struct cgroup, self); in update_effective_progs()
370 css_for_each_descendant_pre(css, &cgrp->self) { in update_effective_progs()
371 struct cgroup *desc = container_of(css, struct cgroup, self); in update_effective_progs()
541 css_for_each_descendant_pre(css, &cgrp->self) { in replace_effective_prog()
542 struct cgroup *desc = container_of(css, struct cgroup, self); in replace_effective_prog()
692 css_for_each_descendant_pre(css, &cgrp->self) { in purge_effective_progs()
693 struct cgroup *desc = container_of(css, struct cgroup, self); in purge_effective_progs()
/kernel/trace/
Dtrace_printk.c88 static int module_trace_bprintk_format_notify(struct notifier_block *self, in module_trace_bprintk_format_notify() argument
174 module_trace_bprintk_format_notify(struct notifier_block *self, in module_trace_bprintk_format_notify() argument
Dtrace_events.c742 struct task_struct *self, in event_filter_pid_sched_process_fork() argument
749 trace_filter_add_remove_task(pid_list, self, task); in event_filter_pid_sched_process_fork()
752 trace_filter_add_remove_task(pid_list, self, task); in event_filter_pid_sched_process_fork()
2976 static int trace_module_notify(struct notifier_block *self, in trace_module_notify() argument
Dtrace.c576 struct task_struct *self, in trace_filter_add_remove_task() argument
583 if (self) { in trace_filter_add_remove_task()
584 if (!trace_find_filtered_pid(pid_list, self->pid)) in trace_filter_add_remove_task()
589 if (self) in trace_filter_add_remove_task()
9786 static int trace_module_notify(struct notifier_block *self, in trace_module_notify() argument
9884 static int trace_die_handler(struct notifier_block *self, in trace_die_handler() argument
DKconfig921 bool "Ring buffer startup self test"
924 Run a simple self test on the ring buffer on boot up. Late in the
Dtrace_events_hist.c1217 u64 *var_ref_vals, bool self) in resolve_var_refs() argument
1236 if ((self && var_data != hist_data) || in resolve_var_refs()
1237 (!self && var_data == hist_data)) in resolve_var_refs()
1251 if (self || !hist_field->read_once) in resolve_var_refs()
Dtrace.h682 struct task_struct *self,
Dtrace_uprobe.c1054 typedef bool (*filter_func_t)(struct uprobe_consumer *self,
Dftrace.c7139 struct task_struct *self, in ftrace_pid_follow_sched_process_fork() argument
7146 trace_filter_add_remove_task(pid_list, self, task); in ftrace_pid_follow_sched_process_fork()
7149 trace_filter_add_remove_task(pid_list, self, task); in ftrace_pid_follow_sched_process_fork()
/kernel/debug/
Ddebug_core.c888 static int module_event(struct notifier_block *self, unsigned long val, in module_event() argument
/kernel/rcu/
Dsrcutree.c1435 static int srcu_module_notify(struct notifier_block *self, in srcu_module_notify() argument
Drcutorture.c2412 static int rcutorture_oom_notify(struct notifier_block *self, in rcutorture_oom_notify() argument
Dtree.c4434 static int rcu_pm_notify(struct notifier_block *self, in rcu_pm_notify() argument