Home
last modified time | relevance | path

Searched refs:g (Results 1 – 22 of 22) sorted by relevance

/kernel/livepatch/
Dtransition.c74 struct task_struct *g, *task; in klp_complete_transition() local
111 for_each_process_thread(g, task) { in klp_complete_transition()
346 struct task_struct *g, *task; in klp_send_signals() local
352 for_each_process_thread(g, task) { in klp_send_signals()
390 struct task_struct *g, *task; in klp_try_complete_transition() local
406 for_each_process_thread(g, task) in klp_try_complete_transition()
464 struct task_struct *g, *task; in klp_start_transition() local
479 for_each_process_thread(g, task) in klp_start_transition()
505 struct task_struct *g, *task; in klp_init_transition() local
529 for_each_process_thread(g, task) { in klp_init_transition()
[all …]
/kernel/trace/
Dtrace_events_filter_test.h12 TP_PROTO(int a, int b, int c, int d, int e, int f, int g, int h),
14 TP_ARGS(a, b, c, d, e, f, g, h),
23 __field(int, g)
34 __entry->g = g;
40 __entry->e, __entry->f, __entry->g, __entry->h)
Dfgraph.c374 struct task_struct *g, *t; in alloc_retstack_tasklist() local
390 for_each_process_thread(g, t) { in alloc_retstack_tasklist()
Dftrace.c3890 static int ftrace_match(char *str, struct ftrace_glob *g) in ftrace_match() argument
3895 str = arch_ftrace_match_adjust(str, g->search); in ftrace_match()
3897 switch (g->type) { in ftrace_match()
3899 if (strcmp(str, g->search) == 0) in ftrace_match()
3903 if (strncmp(str, g->search, g->len) == 0) in ftrace_match()
3907 if (strstr(str, g->search)) in ftrace_match()
3912 if (slen >= g->len && in ftrace_match()
3913 memcmp(str + slen - g->len, g->search, g->len) == 0) in ftrace_match()
3917 if (glob_match(g->search, str)) in ftrace_match()
DKconfig469 ftrace interface, e.g.:
591 Tracing also is possible using the ftrace interface, e.g.:
976 However, it should be safe to use on e.g. unused portion of VRAM.
Dtrace_events_filter.c2180 .e = ve, .f = vf, .g = vg, .h = vh }, \
/kernel/power/
Dprocess.c35 struct task_struct *g, *p; in try_to_freeze_tasks() local
54 for_each_process_thread(g, p) { in try_to_freeze_tasks()
106 for_each_process_thread(g, p) { in try_to_freeze_tasks()
200 struct task_struct *g, *p; in thaw_processes() local
219 for_each_process_thread(g, p) { in thaw_processes()
238 struct task_struct *g, *p; in thaw_kernel_threads() local
246 for_each_process_thread(g, p) { in thaw_kernel_threads()
Dhibernate.c1251 static struct attribute *g[] = { variable
1262 .attrs = g,
Dmain.c889 static struct attribute * g[] = { variable
923 .attrs = g,
DKconfig9 suspend-to-RAM state (e.g. the ACPI S3 state).
266 notification of APM "events" (e.g. battery status change).
/kernel/
Dhung_task.c157 static bool rcu_lock_break(struct task_struct *g, struct task_struct *t) in rcu_lock_break() argument
161 get_task_struct(g); in rcu_lock_break()
166 can_cont = pid_alive(g) && pid_alive(t); in rcu_lock_break()
168 put_task_struct(g); in rcu_lock_break()
182 struct task_struct *g, *t; in check_hung_uninterruptible_tasks() local
194 for_each_process_thread(g, t) { in check_hung_uninterruptible_tasks()
198 if (!rcu_lock_break(g, t)) in check_hung_uninterruptible_tasks()
Dcred.c635 int g; in cred_fscmp() local
662 for (g = 0; g < ga->ngroups; g++) { in cred_fscmp()
663 if (gid_lt(ga->gid[g], gb->gid[g])) in cred_fscmp()
665 if (gid_gt(ga->gid[g], gb->gid[g])) in cred_fscmp()
Dsys.c214 struct task_struct *g, *p; in SYSCALL_DEFINE3() local
261 do_each_thread(g, p) { in SYSCALL_DEFINE3()
264 } while_each_thread(g, p); in SYSCALL_DEFINE3()
284 struct task_struct *g, *p; in SYSCALL_DEFINE2() local
329 do_each_thread(g, p) { in SYSCALL_DEFINE2()
335 } while_each_thread(g, p); in SYSCALL_DEFINE2()
1115 struct task_struct *g; in SYSCALL_DEFINE2() local
1118 g = pid_task(pgrp, PIDTYPE_PGID); in SYSCALL_DEFINE2()
1119 if (!g || task_session(g) != task_session(group_leader)) in SYSCALL_DEFINE2()
Dexit.c396 struct task_struct *c, *g, *p = current; in mm_update_next_owner() local
435 for_each_process(g) { in mm_update_next_owner()
436 if (g->flags & PF_KTHREAD) in mm_update_next_owner()
438 for_each_thread(g, c) { in mm_update_next_owner()
/kernel/rcu/
Dtasks.h306 struct task_struct *g, *t; in rcu_tasks_wait_gp() local
322 for_each_process_thread(g, t) in rcu_tasks_wait_gp()
1141 struct task_struct *g, *t; in check_all_holdout_tasks_trace() local
1146 list_for_each_entry_safe(t, g, hop, trc_holdout_list) { in check_all_holdout_tasks_trace()
1178 struct task_struct *g, *t; in rcu_tasks_trace_postgp() local
1207 for_each_process_thread(g, t) in rcu_tasks_trace_postgp()
1212 list_for_each_entry_safe(t, g, &holdouts, trc_holdout_list) { in rcu_tasks_trace_postgp()
/kernel/debug/kdb/
Dkdb_bt.c139 struct task_struct *g, *p; in kdb_bt() local
152 for_each_process_thread(g, p) { in kdb_bt()
Dkdb_main.c2329 const struct task_struct *p, *g; in kdb_ps_suppressed() local
2335 for_each_process_thread(g, p) { in kdb_ps_suppressed()
2389 struct task_struct *g, *p; in kdb_ps() local
2409 for_each_process_thread(g, p) { in kdb_ps()
/kernel/gcov/
DKconfig12 This option enables gcov-based code profiling (e.g. for code coverage
22 For a single file (e.g. main.o):
/kernel/debug/
Dgdbstub.c697 struct task_struct *g; in gdb_cmd_query() local
725 for_each_process_thread(g, p) { in gdb_cmd_query()
/kernel/sched/
Ddebug.c562 struct task_struct *g, *p; in print_rq() local
572 for_each_process_thread(g, p) { in print_rq()
Dcore.c1426 struct task_struct *g, *p; in uclamp_sync_util_min_rt_default() local
1446 for_each_process_thread(g, p) in uclamp_sync_util_min_rt_default()
8845 struct task_struct *g, *p; in show_state_filter() local
8848 for_each_process_thread(g, p) { in show_state_filter()
9463 struct task_struct *g, *p; in dump_rq_tasks() local
9469 for_each_process_thread(g, p) { in dump_rq_tasks()
9896 struct task_struct *g, *p; in normalize_rt_tasks() local
9902 for_each_process_thread(g, p) { in normalize_rt_tasks()
/kernel/locking/
Dlockdep.c6450 struct task_struct *g, *p; in debug_show_all_locks() local
6459 for_each_process_thread(g, p) { in debug_show_all_locks()