Home
last modified time | relevance | path

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

/kernel/
Dkthread.c230 static void __kthread_parkme(struct kthread *self) in __kthread_parkme() argument
243 if (!test_bit(KTHREAD_SHOULD_PARK, &self->flags)) in __kthread_parkme()
252 complete(&self->parked); in __kthread_parkme()
272 struct kthread *self; in kthread() local
275 self = kzalloc(sizeof(*self), GFP_KERNEL); in kthread()
276 set_kthread_struct(self); in kthread()
285 if (!self) { in kthread()
291 self->threadfn = threadfn; in kthread()
292 self->data = data; in kthread()
293 init_completion(&self->exited); in kthread()
[all …]
Dexit.c502 struct core_thread self; in exit_mm() local
506 self.task = current; in exit_mm()
507 if (self.task->flags & PF_SIGNALED) in exit_mm()
508 self.next = xchg(&core_state->dumper.next, &self); in exit_mm()
510 self.task = NULL; in exit_mm()
520 if (!self.task) /* see coredump_finish() */ in exit_mm()
Dhung_task.c259 static int hungtask_pm_notify(struct notifier_block *self, in hungtask_pm_notify() argument
Djump_label.c735 jump_label_module_notify(struct notifier_block *self, unsigned long val, in jump_label_module_notify() argument
Dtracepoint.c723 static int tracepoint_module_notify(struct notifier_block *self, in tracepoint_module_notify() argument
Dkprobes.c1940 int __weak kprobe_exceptions_notify(struct notifier_block *self, in kprobe_exceptions_notify() argument
/kernel/cgroup/
Dcgroup.c486 return &cgrp->self; in cgroup_css()
527 return &cgrp->self; in cgroup_e_css_by_mask()
607 css_get(&cgrp->self); in cgroup_get_live()
659 return &cgrp->self; in of_css()
719 list_for_each_entry((child), &(cgrp)->self.children, self.sibling) \
1344 BUG_ON(!list_empty(&cgrp->self.children)); in cgroup_destroy_root()
1711 ret = cgroup_addrm_files(&cgrp->self, cgrp, cfts, true); in css_populate_dir()
1952 INIT_LIST_HEAD(&cgrp->self.sibling); in init_cgroup_housekeeping()
1953 INIT_LIST_HEAD(&cgrp->self.children); in init_cgroup_housekeeping()
1957 cgrp->self.cgroup = cgrp; in init_cgroup_housekeeping()
[all …]
Dcgroup-v1.c130 css_task_iter_start(&from->self, 0, &it); in cgroup_transfer_tasks()
351 css_task_iter_start(&cgrp->self, 0, &it); in pidlist_array_load()
731 css_task_iter_start(&cgrp->self, 0, &it); in cgroupstats_build()
761 !css_has_online_children(&cgrp->self) && !cgroup_is_dead(cgrp)) in cgroup1_check_for_release()
1101 if (!list_empty(&root->cgrp.self.children)) { in cgroup1_reconfigure()
1165 if (!percpu_ref_tryget_live(&ss->root->cgrp.self.refcnt)) in cgroup1_root_to_use()
1242 if (!ret && !percpu_ref_tryget_live(&ctx->root->cgrp.self.refcnt)) in cgroup1_get_tree()
1250 if (!ret && percpu_ref_is_dying(&ctx->root->cgrp.self.refcnt)) { in cgroup1_get_tree()
Dfreezer.c196 css_task_iter_start(&cgrp->self, 0, &it); in cgroup_do_freeze()
279 css_for_each_descendant_pre(css, &cgrp->self) { in cgroup_freeze()
Dcgroup-internal.h188 return !(cgrp->self.flags & CSS_ONLINE); in cgroup_is_dead()
Ddebug.c274 !css_has_online_children(&css->cgroup->self)); in releasable_read()
Dcpuset.c3407 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()
534 css_for_each_descendant_pre(css, &cgrp->self) { in replace_effective_prog()
535 struct cgroup *desc = container_of(css, struct cgroup, self); in replace_effective_prog()
678 css_for_each_descendant_pre(css, &cgrp->self) { in purge_effective_progs()
679 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.c519 struct task_struct *self, in event_filter_pid_sched_process_fork() argument
526 trace_filter_add_remove_task(pid_list, self, task); in event_filter_pid_sched_process_fork()
529 trace_filter_add_remove_task(pid_list, self, task); in event_filter_pid_sched_process_fork()
2664 static int trace_module_notify(struct notifier_block *self, in trace_module_notify() argument
Dtrace.c577 struct task_struct *self, in trace_filter_add_remove_task() argument
584 if (self) { in trace_filter_add_remove_task()
585 if (!trace_find_filtered_pid(pid_list, self->pid)) in trace_filter_add_remove_task()
594 if (self) in trace_filter_add_remove_task()
9252 static int trace_module_notify(struct notifier_block *self, in trace_module_notify() argument
9348 static int trace_die_handler(struct notifier_block *self, in trace_die_handler() argument
DKconfig820 bool "Ring buffer startup self test"
823 Run a simple self test on the ring buffer on boot up. Late in the
Dtrace_events_hist.c1040 u64 *var_ref_vals, bool self) in resolve_var_refs() argument
1059 if ((self && var_data != hist_data) || in resolve_var_refs()
1060 (!self && var_data == hist_data)) in resolve_var_refs()
1074 if (self || !hist_field->read_once) in resolve_var_refs()
Dtrace.h820 struct task_struct *self,
Dtrace_uprobe.c1053 typedef bool (*filter_func_t)(struct uprobe_consumer *self,
Dftrace.c7146 struct task_struct *self, in ftrace_pid_follow_sched_process_fork() argument
7153 trace_filter_add_remove_task(pid_list, self, task); in ftrace_pid_follow_sched_process_fork()
7156 trace_filter_add_remove_task(pid_list, self, task); in ftrace_pid_follow_sched_process_fork()
/kernel/debug/
Ddebug_core.c892 static int module_event(struct notifier_block *self, unsigned long val, in module_event() argument
/kernel/rcu/
Dsrcutree.c1416 static int srcu_module_notify(struct notifier_block *self, in srcu_module_notify() argument
Drcutorture.c2091 static int rcutorture_oom_notify(struct notifier_block *self, in rcutorture_oom_notify() argument
Dtree.c4273 static int rcu_pm_notify(struct notifier_block *self, in rcu_pm_notify() argument