Home
last modified time | relevance | path

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

12

/kernel/
Dcpu.c67 enum cpuhp_state target; member
181 trace_cpuhp_enter(cpu, st->target, state, cb); in cpuhp_invoke_callback()
193 trace_cpuhp_multi_enter(cpu, st->target, state, cbm, node); in cpuhp_invoke_callback()
205 trace_cpuhp_multi_enter(cpu, st->target, state, cbm, node); in cpuhp_invoke_callback()
230 trace_cpuhp_multi_enter(cpu, st->target, state, cbm, node); in cpuhp_invoke_callback()
465 cpuhp_set_state(struct cpuhp_cpu_state *st, enum cpuhp_state target) in cpuhp_set_state() argument
472 st->target = target; in cpuhp_set_state()
474 st->bringup = st->state < target; in cpuhp_set_state()
495 st->target = prev_state; in cpuhp_reset_state()
502 if (!st->single && st->state == st->target) in __cpuhp_kick_ap()
[all …]
Dregset.c6 static int __regset_get(struct task_struct *target, in __regset_get() argument
23 res = regset->regset_get(target, regset, in __regset_get()
33 int regset_get(struct task_struct *target, in regset_get() argument
38 return __regset_get(target, regset, size, &data); in regset_get()
42 int regset_get_alloc(struct task_struct *target, in regset_get_alloc() argument
48 return __regset_get(target, regset, size, data); in regset_get_alloc()
61 int copy_regset_to_user(struct task_struct *target, in copy_regset_to_user() argument
71 ret = regset_get_alloc(target, regset, size, &buf); in copy_regset_to_user()
Dtest_kprobes.c18 static u32 (*target)(u32 value); variable
66 ret = target(rand1); in test_kprobe()
125 ret = target(rand1); in test_kprobes()
206 ret = target(rand1); in test_kretprobe()
254 ret = target(rand1); in test_kretprobes()
275 target = kprobe_target; in init_test_probes()
Dcapability.c122 struct task_struct *target; in cap_get_target_pid() local
126 target = find_task_by_vpid(pid); in cap_get_target_pid()
127 if (!target) in cap_get_target_pid()
130 ret = security_capget(target, pEp, pIp, pPp); in cap_get_target_pid()
Djump_label.c71 jea->target = jeb->target - delta; in jump_label_swap()
75 jeb->target = tmp.target + delta; in jump_label_swap()
Dworkqueue.c2682 struct work_struct *target, struct worker *worker) in insert_wq_barrier() argument
2696 init_completion_map(&barr->done, &target->lockdep_map); in insert_wq_barrier()
2707 unsigned long *bits = work_data_bits(target); in insert_wq_barrier()
2709 head = target->entry.next; in insert_wq_barrier()
Dmodule.c877 use->target = b; in add_module_usage()
911 struct module *i = use->target; in module_unload_free()
1789 sysfs_remove_link(use->target->holders_dir, mod->name); in del_usage_links()
1802 ret = sysfs_create_link(use->target->holders_dir, in add_usage_links()
/kernel/gcov/
Dfs.c305 char *target; in link_target() local
316 target = kasprintf(GFP_KERNEL, "%s/%s.%s", dir, copy, ext); in link_target()
318 target = kasprintf(GFP_KERNEL, "%s.%s", copy, ext); in link_target()
321 return target; in link_target()
369 char *target; in add_links() local
379 target = get_link_target( in add_links()
382 if (!target) in add_links()
384 basename = kbasename(target); in add_links()
385 if (basename == target) in add_links()
388 parent, target); in add_links()
[all …]
/kernel/trace/
Dtrace_events_filter.c101 int target; member
122 t = prog[N].target; in update_preds()
123 s = prog[t].target; in update_preds()
125 prog[t].target = N; in update_preds()
126 prog[N].target = s; in update_preds()
475 prog[N].target = N-1; in predicate_parse()
555 prog[N].target = 1; /* TRUE */ in predicate_parse()
557 prog[N+1].target = 0; /* FALSE */ in predicate_parse()
558 prog[N-1].target = N; in predicate_parse()
563 int target = prog[i].target; in predicate_parse() local
[all …]
Dtrace_uprobe.c1212 if (event->hw.target->mm == mm) in __uprobe_perf_filter()
1223 return __uprobe_perf_filter(filter, event->hw.target->mm); in trace_uprobe_filter_event()
1232 if (event->hw.target) { in trace_uprobe_filter_remove()
1235 (event->hw.target->flags & PF_EXITING) || in trace_uprobe_filter_remove()
1253 if (event->hw.target) { in trace_uprobe_filter_add()
Dtrace_kprobe.c1978 int (*target)(int, int, int, int, int, int); in kprobe_trace_self_tests_init() local
1988 target = kprobe_trace_selftest_target; in kprobe_trace_self_tests_init()
2039 ret = target(1, 2, 3, 4, 5, 6); in kprobe_trace_self_tests_init()
/kernel/events/
Dhw_breakpoint.c107 struct task_struct *tsk = bp->hw.target; in task_bp_pinned()
112 if (iter->hw.target == tsk && in task_bp_pinned()
144 if (!bp->hw.target) in fetch_bp_busy_slots()
201 if (!bp->hw.target) { in toggle_bp_slot()
Dcore.c4381 event->hw.target != current) { in perf_event_read_local()
4921 if (event->hw.target) in _free_event()
4922 put_task_struct(event->hw.target); in _free_event()
11335 event->hw.target = get_task_struct(task); in perf_event_alloc()
11485 if (event->hw.target) in perf_event_alloc()
11486 put_task_struct(event->hw.target); in perf_event_alloc()
11639 if (output_event->cpu == -1 && output_event->hw.target != event->hw.target) in perf_event_set_output()
/kernel/bpf/
Dmap_iter.c92 .target = "bpf_map",
169 .target = "bpf_map_elem",
Dtask_iter.c320 .target = "task",
337 .target = "task_file",
Dbpf_iter.c333 if (!strcmp(attach_fname + prefix_len, tinfo->reg_info->target)) { in bpf_iter_prog_supported()
402 iter_link->tinfo->reg_info->target); in bpf_iter_link_show_fdinfo()
423 target_name = iter_link->tinfo->reg_info->target; in bpf_iter_link_fill_link_info()
Dprog_iter.c92 .target = "bpf_prog",
Dinode.c385 const char *target) in bpf_symlink() argument
387 char *link = kstrdup(target, GFP_USER | __GFP_NOWARN); in bpf_symlink()
Dbtf.c342 void *target; /* target of show operation (seq file, buffer) */ member
5350 seq_vprintf((struct seq_file *)show->target, fmt, args); in btf_seq_show()
5358 sseq.target = m; in btf_type_seq_show_flags()
5387 len = vsnprintf(show->target, ssnprintf->len_left, fmt, args); in btf_snprintf_show()
5399 show->target += len; in btf_snprintf_show()
5408 ssnprintf.show.target = buf; in btf_type_snprintf_show()
/kernel/sched/
Dfair.c6107 int target = nr_cpumask_bits; in wake_affine() local
6110 target = wake_affine_idle(this_cpu, prev_cpu, sync); in wake_affine()
6112 if (sched_feat(WA_WEIGHT) && target == nr_cpumask_bits) in wake_affine()
6113 target = wake_affine_weight(sd, p, this_cpu, prev_cpu, sync); in wake_affine()
6116 if (target == nr_cpumask_bits) in wake_affine()
6121 return target; in wake_affine()
6294 static int select_idle_core(struct task_struct *p, struct sched_domain *sd, int target) in select_idle_core() argument
6302 if (!test_idle_cores(target, false)) in select_idle_core()
6307 for_each_cpu_wrap(core, cpus, target) { in select_idle_core()
6325 set_idle_cores(target, 0); in select_idle_core()
[all …]
Drt.c1571 int target = find_lowest_rq(p); in select_task_rq_rt() local
1577 if (!test && target != -1 && !rt_task_fits_capacity(p, target)) in select_task_rq_rt()
1586 if (target != -1 && in select_task_rq_rt()
1588 p->prio < cpu_rq(target)->rt.highest_prio.curr)) in select_task_rq_rt()
1589 cpu = target; in select_task_rq_rt()
Ddeadline.c1713 int target = find_later_rq(p); in select_task_rq_dl() local
1715 if (target != -1 && in select_task_rq_dl()
1717 cpu_rq(target)->dl.earliest_dl.curr) || in select_task_rq_dl()
1718 (cpu_rq(target)->dl.dl_nr_running == 0))) in select_task_rq_dl()
1719 cpu = target; in select_task_rq_dl()
/kernel/locking/
Dlockdep.c1812 print_circular_bug_entry(struct lock_list *target, int depth) in print_circular_bug_entry() argument
1817 print_lock_name(target->class); in print_circular_bug_entry()
1819 print_lock_trace(target->trace, 6); in print_circular_bug_entry()
1828 struct lock_class *target = hlock_class(tgt); in print_circular_lock_scenario() local
1850 __print_lock_name(target); in print_circular_lock_scenario()
1858 __print_lock_name(target); in print_circular_lock_scenario()
1864 __print_lock_name(target); in print_circular_lock_scenario()
1967 struct lock_list *target, in print_circular_bug() argument
1983 depth = get_lock_depth(target); in print_circular_bug()
1985 print_circular_bug_header(target, depth, check_src, check_tgt); in print_circular_bug()
[all …]
/kernel/bpf/preload/iterators/
DMakefile43 $(Q)$(CLANG) -g -O2 -target bpf $(INCLUDES) \
/kernel/dma/
Dswiotlb.c670 enum dma_sync_target target) in swiotlb_tbl_sync_single() argument
681 switch (target) { in swiotlb_tbl_sync_single()

12