Home
last modified time | relevance | path

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

12

/tools/testing/selftests/bpf/progs/
Dtest_ksyms_btf_write_check.c13 int *active; in handler1() local
17 active = (int *)bpf_per_cpu_ptr(&bpf_prog_active, cpu); in handler1()
18 if (active) { in handler1()
23 *(volatile int *)active = -1; in handler1()
37 int *active; in handler2() local
39 active = bpf_this_cpu_ptr(&bpf_prog_active); in handler2()
40 write_active(active); in handler2()
Dtest_ksyms_btf.c26 int *active; in handler() local
38 active = (int *)bpf_per_cpu_ptr(&bpf_prog_active, cpu); in handler()
39 if (active) in handler()
40 out__bpf_prog_active = *active; in handler()
49 active = (int *)bpf_this_cpu_ptr(&bpf_prog_active); in handler()
50 out__this_bpf_prog_active = *active; in handler()
Dtest_d_path_check_rdonly_mem.c14 void *active; in BPF_PROG() local
18 active = (void *)bpf_per_cpu_ptr(&bpf_prog_active, cpu); in BPF_PROG()
19 if (active) { in BPF_PROG()
23 bpf_d_path(path, active, sizeof(int)); in BPF_PROG()
Dtest_ksyms_btf_null_check.c15 int *active; in handler() local
20 active = (int *)bpf_per_cpu_ptr(&bpf_prog_active, cpu); in handler()
21 if (active) { in handler()
23 *(volatile int *)active; in handler()
Dtest_d_path_check_types.c18 void *active; in BPF_PROG() local
22 active = (void *)bpf_per_cpu_ptr(&bpf_prog_active, cpu); in BPF_PROG()
23 if (active) { in BPF_PROG()
27 bpf_ringbuf_submit(active, 0); in BPF_PROG()
Dkfunc_call_test_subprog.c12 int *active; in f1() local
21 active = (int *)bpf_per_cpu_ptr(&bpf_prog_active, in f1()
23 if (active) in f1()
24 active_res = *active; in f1()
Dtest_tcp_hdr_options.c246 if (hdr_stg->active) in fin_opt_len()
273 if (hdr_stg->active) in write_fin_opt()
417 .active = true, in handle_active_estab()
584 if (hdr_stg->active) in handle_parse_hdr()
/tools/testing/selftests/sync/
Dsync_wait.c36 int valid, active, signaled, ret; in test_fence_multi_timeline_wait() local
53 active = sync_fence_count_with_status(merged, FENCE_STATUS_ACTIVE); in test_fence_multi_timeline_wait()
54 ASSERT(active == 3, "Fence signaled too early!\n"); in test_fence_multi_timeline_wait()
61 active = sync_fence_count_with_status(merged, FENCE_STATUS_ACTIVE); in test_fence_multi_timeline_wait()
63 ASSERT(active == 2 && signaled == 1, in test_fence_multi_timeline_wait()
67 active = sync_fence_count_with_status(merged, FENCE_STATUS_ACTIVE); in test_fence_multi_timeline_wait()
69 ASSERT(active == 1 && signaled == 2, in test_fence_multi_timeline_wait()
73 active = sync_fence_count_with_status(merged, FENCE_STATUS_ACTIVE); in test_fence_multi_timeline_wait()
75 ASSERT(active == 0 && signaled == 3, in test_fence_multi_timeline_wait()
Dsync_stress_consumer.c42 int error, active; in busy_wait_on_fence() local
47 active = sync_fence_count_with_status(fence, in busy_wait_on_fence()
49 } while (active); in busy_wait_on_fence()
/tools/power/cpupower/utils/helpers/
Dhelpers.h126 extern int amd_pci_get_num_boost_states(int *active, int *states);
143 int *active, int * states);
148 int *support, int *active);
190 int *active, int * states) in cpufreq_has_boost_support() argument
196 int *active) in amd_pstate_boost_init() argument
Dmisc.c18 int cpufreq_has_boost_support(unsigned int cpu, int *support, int *active, in cpufreq_has_boost_support() argument
24 *support = *active = *states = 0; in cpufreq_has_boost_support()
37 *active = 1; in cpufreq_has_boost_support()
40 ret = amd_pci_get_num_boost_states(active, states); in cpufreq_has_boost_support()
45 amd_pstate_boost_init(cpu, support, active); in cpufreq_has_boost_support()
47 *support = *active = 1; in cpufreq_has_boost_support()
Damd.c149 int amd_pci_get_num_boost_states(int *active, int *states) in amd_pci_get_num_boost_states() argument
155 *active = *states = 0; in amd_pci_get_num_boost_states()
164 *active = 1; in amd_pci_get_num_boost_states()
166 *active = 0; in amd_pci_get_num_boost_states()
198 void amd_pstate_boost_init(unsigned int cpu, int *support, int *active) in amd_pstate_boost_init() argument
213 *active = cpuinfo_max == amd_pstate_max ? 1 : 0; in amd_pstate_boost_init()
/tools/testing/selftests/gpio/
Dgpio-mockup.sh124 active-low)
127 active-high)
212 set_line input active-high
239 set_line active-low
248 set_line active-high 0
258 set_line active-low 0
Dgpio-mockup-sysfs.sh50 active-high)
53 active-low)
/tools/cgroup/
Diocost_monitor.py150 self.active = iocg.active.value_() / WEIGHT_ONE
166 ioc.period_us.value_()) if self.active else 0
180 'weight_active' : self.active,
/tools/perf/tests/shell/
Dtest_intel_pt.sh170 active = 1
174 active = 0
178 $0 ~ perf_event_open && active {
190 $0 ~ mmapping && active {
203 $0 ~ set_output && active {
/tools/bpf/bpftool/Documentation/
Dbpftool-link.rst37 Show information about active links. If *LINK* is specified show
39 active on the system.
/tools/net/ynl/
Dethtool.py230 active = bits_to_dict(reply['active']).keys()
235 if f in active:
244 if f in active:
/tools/bootconfig/scripts/
Dftrace2bconf.sh116 grep -v "^#" $evdir/trigger | while read action active; do
/tools/testing/selftests/drivers/net/bonding/
Dbond-eth-type-change.sh43 ip link set dev "$devbond0" type bond mode active-backup
Dbond_topo_2d1c.sh61 ip -n ${s_ns} link add bond0 type bond mode active-backup miimon 100
/tools/testing/selftests/bpf/
Dtest_tcp_hdr_options.h30 bool active; member
/tools/power/cpupower/utils/
Dcpufreq-info.c128 int support, active, b_states = 0, ret, pstate_no, i; in get_boost_mode_x86() local
132 ret = cpufreq_has_boost_support(cpu, &support, &active, &b_states); in get_boost_mode_x86()
147 printf(_(" Active: %s\n"), active ? _("yes") : _("no")); in get_boost_mode_x86()
/tools/testing/selftests/bpf/prog_tests/
Dtcp_hdr_options.c26 static struct hdr_stg exp_active_hdr_stg = { .active = true, };
57 prefix ? : "", hdr_stg->active, hdr_stg->resend_syn, in print_hdr_stg()
286 exp_active_hdr_stg.active = true; in reset_test()
/tools/mm/
Dslabinfo.c1155 char *active = NULL; in alias() local
1166 if (active) { in alias()
1167 if (strcmp(a->slab->name, active) == 0) { in alias()
1173 active = a->slab->name; in alias()
1178 if (active) in alias()

12