| /tools/testing/selftests/bpf/progs/ |
| D | test_ksyms_btf_write_check.c | 13 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()
|
| D | test_ksyms_btf.c | 26 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()
|
| D | test_d_path_check_rdonly_mem.c | 14 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()
|
| D | test_ksyms_btf_null_check.c | 15 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()
|
| D | test_d_path_check_types.c | 18 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()
|
| D | kfunc_call_test_subprog.c | 12 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()
|
| D | test_tcp_hdr_options.c | 246 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/ |
| D | sync_wait.c | 36 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()
|
| D | sync_stress_consumer.c | 42 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/ |
| D | helpers.h | 126 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
|
| D | misc.c | 18 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()
|
| D | amd.c | 149 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/ |
| D | gpio-mockup.sh | 124 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
|
| D | gpio-mockup-sysfs.sh | 50 active-high) 53 active-low)
|
| /tools/cgroup/ |
| D | iocost_monitor.py | 150 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/ |
| D | test_intel_pt.sh | 170 active = 1 174 active = 0 178 $0 ~ perf_event_open && active { 190 $0 ~ mmapping && active { 203 $0 ~ set_output && active {
|
| /tools/bpf/bpftool/Documentation/ |
| D | bpftool-link.rst | 37 Show information about active links. If *LINK* is specified show 39 active on the system.
|
| /tools/net/ynl/ |
| D | ethtool.py | 230 active = bits_to_dict(reply['active']).keys() 235 if f in active: 244 if f in active:
|
| /tools/bootconfig/scripts/ |
| D | ftrace2bconf.sh | 116 grep -v "^#" $evdir/trigger | while read action active; do
|
| /tools/testing/selftests/drivers/net/bonding/ |
| D | bond-eth-type-change.sh | 43 ip link set dev "$devbond0" type bond mode active-backup
|
| D | bond_topo_2d1c.sh | 61 ip -n ${s_ns} link add bond0 type bond mode active-backup miimon 100
|
| /tools/testing/selftests/bpf/ |
| D | test_tcp_hdr_options.h | 30 bool active; member
|
| /tools/power/cpupower/utils/ |
| D | cpufreq-info.c | 128 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/ |
| D | tcp_hdr_options.c | 26 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/ |
| D | slabinfo.c | 1155 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()
|