Home
last modified time | relevance | path

Searched defs:ret (Results 1 – 25 of 669) sorted by relevance

12345678910>>...27

/tools/testing/selftests/powerpc/ptrace/
Dptrace.h62 int ret; in start_trace() local
79 int ret; in stop_trace() local
91 int ret; in cont_trace() local
105 long ret; in ptrace_read_regs() local
125 long ret; in ptrace_write_regs() local
144 int ret; in show_tar_registers() local
190 int ret; in write_tar_registers() local
233 int ret; in show_tm_checkpointed_state() local
281 int ret; in write_ckpt_tar_registers() local
324 int ret, i; in show_fpr() local
[all …]
Dptrace-perf-hwbreak.c120 int ret; in child() local
159 int ret = 0; in test1() local
184 int ret = 0; in test2() local
213 int ret = 0; in test3() local
238 int ret = 0; in test4() local
268 int ret = 0; in test5() local
306 int ret = 0; in test6() local
344 int ret = 0; in test7() local
369 int ret = 0; in test8() local
399 int ret = 0; in test9() local
[all …]
Dchild.h62 int ret; in init_child_sync() local
87 int ret; in wait_child() local
101 int ret; in prod_child() local
115 int ret; in wait_parent() local
129 int ret; in prod_parent() local
/tools/testing/selftests/bpf/progs/
Dtest_tunnel_kern.c24 #define ERROR(ret) do {\ argument
48 int ret; in _gre_set_tunnel() local
70 int ret; in _gre_get_tunnel() local
88 int ret; in _ip6gretap_set_tunnel() local
113 int ret; in _ip6gretap_get_tunnel() local
133 int ret; in _erspan_set_tunnel() local
178 int ret; in _erspan_get_tunnel() local
217 int ret; in _ip4ip6erspan_set_tunnel() local
263 int ret; in _ip4ip6erspan_get_tunnel() local
301 int ret; in _vxlan_set_tunnel() local
[all …]
/tools/power/x86/intel-speed-select/
Disst-core.c12 int ret; in isst_write_pm_config() local
32 int ret; in isst_read_pm_config() local
50 int ret; in isst_get_ctdp_levels() local
79 int ret; in isst_get_ctdp_control() local
113 int ret; in isst_get_tdp_info() local
136 int ret; in isst_get_pwr_info() local
158 int ret; in isst_get_uncore_p0_p1_info() local
180 int ret; in isst_get_p1_info() local
203 int ret; in isst_get_uncore_mem_freq() local
236 int ret; in isst_get_tjmax_info() local
[all …]
/tools/testing/selftests/vm/
Dmadv_populate.c34 int ret; in pagemap_get_entry() local
60 int ret; in sense_support() local
81 int ret; in test_prot_read() local
102 int ret; in test_prot_write() local
123 int ret; in test_holes() local
165 bool ret = true; in range_is_populated() local
179 bool ret = true; in range_is_not_populated() local
193 int ret; in test_populate_read() local
215 int ret; in test_populate_write() local
237 bool ret = true; in range_is_softdirty() local
[all …]
Dhmm-tests.c106 int ret = close(self->fd); in FIXTURE_TEARDOWN() local
114 int ret = close(self->fd0); in FIXTURE_TEARDOWN() local
130 int ret; in hmm_dmirror_cmd() local
231 int ret; in TEST_F() local
295 int ret; in TEST_F() local
354 int ret; in TEST_F() local
402 int ret; in TEST_F() local
470 int ret; in TEST_F() local
548 int ret; in TEST_F() local
625 int ret; in TEST_F() local
[all …]
Dmlock2-tests.c22 int ret = 1; in get_vm_area() local
77 bool ret = false; in is_vmflag_set() local
194 int ret = 1; in test_mlock_lock() local
257 int ret = 1; in test_mlock_onfault() local
299 int ret = 1; in test_lock_onfault_of_present() local
335 int ret = 1; in test_munlockall() local
412 int ret = 1; in test_vma_management() local
498 int ret = 1; in test_mlockall() local
512 int ret = 0; in main() local
/tools/include/nolibc/
Dnolibc.h419 long ret; in sys_stat() local
515 void *ret = sys_brk(addr); in brk() local
533 int ret = sys_chdir(path); in chdir() local
545 int ret = sys_chmod(path, mode); in chmod() local
557 int ret = sys_chown(path, owner, group); in chown() local
569 int ret = sys_chroot(path); in chroot() local
581 int ret = sys_close(fd); in close() local
593 int ret = sys_dup(fd); in dup() local
605 int ret = sys_dup2(old, new); in dup2() local
618 int ret = sys_dup3(old, new, flags); in dup3() local
[all …]
/tools/testing/selftests/filesystems/
Ddevpts_pts.c18 int ret; in terminal_dup2() local
44 int ret; in login_pty() local
64 int status, ret; in wait_for_pid() local
84 int ret; in resolve_procfd_symlink() local
102 int ret; in do_tiocgptpeer() local
190 int ret = -1; in verify_non_standard_devpts_mount() local
236 int ret; in verify_ptmx_bind_mount() local
254 int ret; in verify_invalid_ptmx_bind_mount() local
282 int ret; in main() local
/tools/testing/selftests/arm64/fp/
Dvec-syscfg.c61 int ret; in stdio_read_integer() local
78 int read_vl, ret; in get_child_rdvl() local
164 int ret; in file_read_integer() local
183 int ret; in file_write_integer() local
210 int default_vl, child_vl, ret; in proc_read_default() local
233 int ret, new_default, child_vl; in proc_write_min() local
268 int ret, new_default, child_vl; in proc_write_max() local
304 int ret; in prctl_get() local
329 int ret; in prctl_set_same() local
349 int ret; in prctl_set() local
[all …]
/tools/testing/selftests/cgroup/
Dtest_freezer.c62 int fd, ret = -1; in cg_enter_and_wait_for_frozen() local
95 int fd, ret = -1; in cg_freeze_wait() local
138 int ret = KSFT_FAIL; in test_cgfreezer_simple() local
191 int ret = KSFT_FAIL; in test_cgfreezer_tree() local
362 int ret = KSFT_FAIL; in test_cgfreezer_forkbomb() local
401 int ret = KSFT_FAIL; in test_cgfreezer_mkdir() local
455 int ret = KSFT_FAIL; in test_cgfreezer_rmdir() local
510 int ret = KSFT_FAIL; in test_cgfreezer_migrate() local
585 int ret = KSFT_FAIL; in test_cgfreezer_ptrace() local
667 int pid, ret = KSFT_FAIL; in test_cgfreezer_stopped() local
[all …]
Dtest_memcontrol.c30 int ret = KSFT_FAIL; in test_memcg_subtree_control() local
94 int ret = -1; in alloc_anon_50M_check() local
123 int ret = -1; in alloc_pagecache_50M_check() local
159 int ret = KSFT_FAIL; in test_memcg_current() local
266 int ret = KSFT_FAIL; in test_memcg_min() local
422 int ret = KSFT_FAIL; in test_memcg_low() local
559 int ret = -1; in alloc_pagecache_max_30M() local
589 int ret = KSFT_FAIL; in test_memcg_high() local
638 int ret = KSFT_FAIL; in test_memcg_max() local
688 int ret = -1; in alloc_anon_50M_check_swap() local
[all …]
Dtest_core.c31 ssize_t ret = read(fd, pos, size); in touch_anon() local
80 int ret = KSFT_FAIL; in test_cgcore_destroy() local
142 int ret = KSFT_FAIL; in test_cgcore_populated() local
275 int ret = KSFT_FAIL; in test_cgcore_invalid_domain() local
337 int ret = KSFT_FAIL; in test_cgcore_parent_becomes_threaded() local
376 int ret = KSFT_FAIL; in test_cgcore_no_internal_process_constraint_on_threads() local
428 int ret = KSFT_FAIL; in test_cgcore_top_down_constraint_enable() local
463 int ret = KSFT_FAIL; in test_cgcore_top_down_constraint_disable() local
504 int ret = KSFT_FAIL; in test_cgcore_internal_process_constraint() local
550 int ret = KSFT_FAIL; in test_cgcore_proc_migration() local
[all …]
/tools/testing/selftests/bpf/
Dtest_offload.py767 ret, progs = bpftool("prog", fail=False) variable
776 ret, out = cmd("modprobe netdevsim", fail=False) variable
787 ret, out = cmd("ls %s/%s" % (bpf_test_dir, s), fail=False) variable
821 ret, _ = sim.cls_bpf_add_filter(obj, skip_hw=True, fail=False) variable
825 ret, _ = sim.cls_bpf_add_filter(obj, fail=False) variable
832 ret, _, err = sim.cls_bpf_add_filter(obj, skip_sw=True, variable
842 ret, _ = sim.cls_bpf_add_filter(obj, fail=False) variable
852 ret, _ = sim.cls_bpf_add_filter(bytecode, fail=False) variable
863 ret, _, err = sim.cls_bpf_add_filter(bytecode, skip_sw=True, variable
871 ret, _, err = sim.cls_bpf_add_filter(obj, chain=1, prio=1, handle=1, variable
[all …]
/tools/testing/selftests/filesystems/binderfs/
Dbinderfs_test.c41 int ret; in change_mountns() local
58 int fd, ret, saved_errno, result = 1; in __do_binderfs_test() local
188 int status, ret; in wait_for_pid() local
225 ssize_t ret; in read_nointr() local
236 ssize_t ret; in write_nointr() local
249 int ret; in write_id_mapping() local
295 int ret; in change_userns() local
325 int ret; in change_idmaps() local
362 int ret; in binder_version_thread() local
383 int fd, ret; in TEST() local
[all …]
/tools/gpio/
Dgpio-utils.c66 int ret; in gpiotools_request_line() local
113 int ret; in gpiotools_set_values() local
137 int ret; in gpiotools_get_values() local
160 int ret; in gpiotools_release_line() local
182 int ret; in gpiotools_get() local
209 int ret; in gpiotools_gets() local
266 int ret, i; in gpiotools_sets() local
/tools/testing/selftests/uevent/
Duevent_filtering.c32 ssize_t ret; in read_nointr() local
44 ssize_t ret; in write_nointr() local
56 int status, ret; in wait_for_pid() local
79 int sk_fd, ret; in uevent_listener() local
195 int fd, ret; in trigger_uevent() local
220 int ret; in set_death_signal() local
243 int ret; in do_test() local
350 int ret, sync_fd; in TEST() local
/tools/testing/selftests/kvm/aarch64/
Dvgic_init.c55 int ret = _vcpu_ioctl(vm, vcpuid, KVM_RUN, NULL); in run_vcpu() local
85 int ret; in subtest_dist_rdist() local
151 int ret; in subtest_redist_regions() local
255 int ret, i; in test_vgic_then_vcpus() local
276 int ret; in test_vcpus_then_vgic() local
293 int ret; in test_new_redist_regions() local
346 int ret, i; in test_typer_accesses() local
426 int ret; in test_last_bit_redist_regions() local
475 int ret; in test_last_bit_single_rdist() local
509 int ret, fd; in test_kvm_device() local
/tools/wmi/
Ddell-smbios-example.c45 int ret; in run_wmi_smbios_cmd() local
59 int ret; in find_token() local
97 int ret; in token_is_active() local
113 int ret; in query_token() local
128 int ret; in activate_token() local
158 int ret; in main() local
/tools/perf/tests/
Dexpand-cgroup.c19 int i, ret = TEST_FAIL; in test_expand_events() local
102 int ret; in expand_default_events() local
116 int ret; in expand_group_events() local
144 int ret; in expand_libpfm_events() local
177 int ret; in expand_metric_events() local
225 int ret; in test__expand_cgroup_events() local
/tools/testing/selftests/kvm/lib/
Dkvm_util.c80 int ret; in kvm_check_cap() local
107 int ret; in vm_enable_cap() local
426 int ret = ioctl(vmp->fd, KVM_SET_USER_MEMORY_REGION, &region->region); in kvm_vm_restart() local
441 int ret; in kvm_vm_get_dirty_log() local
454 int ret; in kvm_vm_clear_dirty_log() local
579 int ret; in vm_vcpu_rm() local
602 int ret; in kvm_vm_release() local
620 int ret; in __vm_mem_region_delete() local
724 int ret = memcmp((void *)ptr1, (void *)ptr2, amt); in kvm_memcmp_hva_gva() local
814 int ret; in vm_userspace_mem_region_add() local
[all …]
/tools/perf/util/
Dprobe-event.c59 int ret; in e_snprintf() local
74 int ret; in init_probe_symbol_maps() local
196 int ret; in convert_exec_to_group() local
246 bool ret = false; in kprobe_warn_out_range() local
329 int ret = 0; in kernel_get_module_dso() local
374 int ret = -ENOENT; in find_alternative_probe_point() local
423 int ret; in get_alternative_probe_event() local
443 int ret, len = 0; in get_alternative_line_range() local
468 struct debuginfo *ret = NULL; in open_from_debuginfod() local
511 struct debuginfo *ret = NULL; in open_debuginfo() local
[all …]
/tools/testing/selftests/seccomp/
Dseccomp_bpf.c317 int ret; in TEST() local
327 long ret; in TEST() local
338 long ret; in TEST_SIGNAL() local
354 long ret; in TEST() local
365 long ret; in TEST() local
387 long ret; in TEST() local
416 long ret; in TEST() local
453 long ret; in TEST() local
493 long ret; in TEST() local
516 long ret; in TEST() local
[all …]
/tools/testing/selftests/dmabuf-heaps/
Ddmabuf-heap.c26 int ret; in check_vgem() local
71 int ret; in import_vgem_fd() local
90 int ret, fd; in dmabuf_heap_open() local
114 int ret; in dmabuf_heap_alloc_fdflags() local
149 int ret; in test_alloc_and_import() local
224 int i, j, ret; in test_alloc_zeroed() local
303 int ret; in dmabuf_heap_alloc_older() local
331 int ret; in dmabuf_heap_alloc_newer() local
367 int ret; in test_alloc_compat() local
403 int ret; in test_alloc_errors() local
[all …]

12345678910>>...27