Home
last modified time | relevance | path

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

12345678910>>...20

/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 …]
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
Dcore-pkey.c77 int ret; in increase_core_file_limit() local
114 int *ptr, ret; in child() local
178 int ret; in try_core_file() local
203 int ret; in check_core_file() local
259 int fd, i, ret, status; in parent() local
351 size_t len = strlen(core_pattern), ret; in write_core_pattern() local
371 int ret; in setup_core_pattern() local
421 int ret; in core_pkey() 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_get_ctdp_levels() local
34 int ret; in isst_get_ctdp_control() local
59 int ret; in isst_get_tdp_info() local
80 int ret; in isst_get_pwr_info() local
102 int ret; in isst_get_tjmax_info() local
122 int i, ret; in isst_get_coremask_info() local
155 int ret; in isst_get_get_trl() local
193 int ret; in isst_get_trl_bucket_info() local
212 int ret; in isst_set_tdp_level_msr() local
236 int ret; in isst_set_tdp_level() 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/cgroup/
Dtest_freezer.c62 int fd, ret = -1; in cg_prepare_for_wait() local
87 int ret = -1; in cg_wait_for() local
119 int fd, ret = -1; in cg_enter_and_wait_for_frozen() local
152 int fd, ret = -1; in cg_freeze_wait() local
195 int ret = KSFT_FAIL; in test_cgfreezer_simple() local
248 int ret = KSFT_FAIL; in test_cgfreezer_tree() local
419 int ret = KSFT_FAIL; in test_cgfreezer_forkbomb() local
458 int ret = KSFT_FAIL; in test_cgfreezer_mkdir() local
512 int ret = KSFT_FAIL; in test_cgfreezer_rmdir() local
567 int ret = KSFT_FAIL; in test_cgfreezer_migrate() 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.c29 int ret = KSFT_FAIL; in test_cgcore_populated() local
111 int ret = KSFT_FAIL; in test_cgcore_invalid_domain() local
163 int ret = KSFT_FAIL; in test_cgcore_parent_becomes_threaded() local
202 int ret = KSFT_FAIL; in test_cgcore_no_internal_process_constraint_on_threads() local
254 int ret = KSFT_FAIL; in test_cgcore_top_down_constraint_enable() local
289 int ret = KSFT_FAIL; in test_cgcore_top_down_constraint_disable() local
330 int ret = KSFT_FAIL; in test_cgcore_internal_process_constraint() local
369 int ret = KSFT_FAIL; in test_cgcore_lesser_euid_open() local
452 int ret = KSFT_FAIL; in test_cgcore_lesser_ns_open() local
542 int i, ret = EXIT_SUCCESS; in main() local
/tools/testing/selftests/seccomp/
Dseccomp_bpf.c230 long ret; in TEST() local
241 long ret; in TEST_SIGNAL() local
257 long ret; in TEST() local
268 long ret; in TEST() local
290 long ret; in TEST() local
319 long ret; in TEST() local
356 long ret; in TEST() local
396 long ret; in TEST() local
419 long ret; in TEST() local
444 long ret; in TEST() local
[all …]
/tools/testing/selftests/bpf/
Dtest_offload.py760 ret, progs = bpftool("prog", fail=False) variable
766 ret, out = cmd("modprobe netdevsim", fail=False) variable
777 ret, out = cmd("ls %s/%s" % (bpf_test_dir, s), fail=False) variable
811 ret, _ = sim.cls_bpf_add_filter(obj, skip_hw=True, fail=False) variable
815 ret, _ = sim.cls_bpf_add_filter(obj, fail=False) variable
822 ret, _, err = sim.cls_bpf_add_filter(obj, skip_sw=True, variable
832 ret, _ = sim.cls_bpf_add_filter(obj, fail=False) variable
842 ret, _ = sim.cls_bpf_add_filter(bytecode, fail=False) variable
853 ret, _, err = sim.cls_bpf_add_filter(bytecode, skip_sw=True, variable
861 ret, _, err = sim.cls_bpf_add_filter(obj, chain=1, prio=1, handle=1, variable
[all …]
/tools/testing/selftests/kvm/lib/
Dkvm_util.c49 int ret; in kvm_check_cap() local
79 int ret; in vm_enable_cap() local
265 int ret = ioctl(vmp->fd, KVM_SET_USER_MEMORY_REGION, &region->region); in kvm_vm_restart() local
280 int ret; in kvm_vm_get_dirty_log() local
293 int ret; in kvm_vm_clear_dirty_log() local
409 int ret; in vm_vcpu_rm() local
429 int ret; in kvm_vm_release() local
448 int ret; in kvm_vm_free() local
541 int ret = memcmp((void *)ptr1, (void *)ptr2, amt); in kvm_memcmp_hva_gva() local
580 int ret; in vm_userspace_mem_region_add() local
[all …]
/tools/testing/selftests/uevent/
Duevent_filtering.c33 ssize_t ret; in read_nointr() local
45 ssize_t ret; in write_nointr() local
57 int status, ret; in wait_for_pid() local
80 int sk_fd, ret; in uevent_listener() local
196 int fd, ret; in trigger_uevent() local
221 int ret; in set_death_signal() local
244 int ret; in do_test() local
351 int ret, sync_fd; in TEST() 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/testing/selftests/vm/
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/perf/util/
Dprobe-event.c55 int ret; in e_snprintf() local
70 int ret; in init_probe_symbol_maps() local
192 int ret; in convert_exec_to_group() local
242 bool ret = false; in kprobe_warn_out_range() local
325 int ret = 0; in kernel_get_module_dso() local
368 int ret = -ENOENT; in find_alternative_probe_point() local
414 int ret; in get_alternative_probe_event() local
434 int ret, len = 0; in get_alternative_line_range() local
459 struct debuginfo *ret = NULL; in open_debuginfo() local
541 int fd, ret = -ENOENT; in get_text_start_address() local
[all …]
Dprobe-file.c77 int ret; in open_trace_file() local
135 int ret, idx, fddup; in probe_file__get_rawlist() local
190 int ret = 0; in __probe_file__get_namelist() local
232 int ret = 0; in probe_file__add_event() local
258 int ret; in __del_trace_probe_event() local
294 int ret = -ENOENT; in probe_file__get_events() local
318 int ret = 0; in probe_file__del_strlist() local
332 int ret; in probe_file__del_events() local
389 int ret, i; in probe_cache_entry__get_event() local
417 int ret, fd; in probe_cache__open() local
[all …]
Dstrbuf.c75 int ret = strbuf_grow(sb, 1); in strbuf_addch() local
86 int ret = strbuf_grow(sb, len); in strbuf_add() local
96 int len, ret; in strbuf_addv() local
131 int ret; in strbuf_addf() local
143 int ret; in strbuf_read() local
Dprobe-finder.c176 int ret, ret2 = 0; in convert_variable_location() local
292 int ret; in convert_variable_type() local
409 int ret, tag; in convert_variable_fields() local
533 int ret; in convert_variable() local
565 int ret = 0; in find_variable() local
660 int ret; in call_probe_finder() local
774 int ret; in find_best_scope() local
790 int ret; in probe_point_line_walker() local
859 int ret; in probe_point_lazy_walker() local
887 int ret = 0; in find_probe_point_lazy() local
[all …]
/tools/gpio/
Dgpio-utils.c67 int ret; in gpiotools_request_linehandle() local
114 int ret; in gpiotools_set_values() local
138 int ret; in gpiotools_get_values() local
161 int ret; in gpiotools_release_linehandle() local
207 int ret; in gpiotools_gets() local
258 int ret; in gpiotools_sets() local
/tools/perf/
Dbuiltin-probe.c56 int ret; in parse_probe_event() local
84 int ret = 0; in params_add_filter() local
134 int i, len, ret, found_target; in parse_probe_event_argv() local
170 int ret = -ENOENT; in opt_set_target() local
205 int ret = -ENOENT; in opt_set_target_ns() local
236 int ret = 0; in opt_show_lines() local
257 int ret; in opt_show_vars() local
337 int ret; in perf_add_probe_events() local
399 int ret; in del_perf_probe_caches() local
422 int ret, ret2, ufd = -1, kfd = -1; in perf_del_probe_events() local
[all …]
/tools/testing/selftests/filesystems/binderfs/
Dbinderfs_test.c22 ssize_t ret; in write_nointr() local
35 ssize_t ret; in write_to_file() local
72 int ret; in change_to_userns() local
115 int ret; in change_to_mountns() local
137 int fd, ret, saved_errno; in __do_binderfs_test() local
/tools/perf/jvmti/
Dlibjvmti.c20 static void print_error(jvmtiEnv *jvmti, const char *msg, jvmtiError ret) in print_error()
41 jvmtiError ret; in do_get_line_numbers() local
72 jint nr, ret; in get_line_numbers() local
173 jvmtiError ret; in get_source_filename() local
223 jvmtiError ret; in fill_source_filenames() local
252 jvmtiError ret; in compiled_method_load_cb() local
344 int ret; in code_generated_cb() local
358 jint ret; in Agent_OnLoad() local
429 int ret; in Agent_OnUnload() local
/tools/testing/selftests/sparc64/drivers/
Dadi-test.c186 int ret, bytes_read = 0; in read_adi() local
211 int ret, i, bytes_read = 0; in pread_adi() local
242 int ret, bytes_written = 0; in write_adi() local
266 int ret, bytes_written = 0; in pwrite_adi() local
300 off_t ret; in seek_adi() local
324 int ret; in test0_prpw_aligned_1byte() local
359 int ret, i; in test1_prpw_aligned_4096bytes() local
399 int ret, i; in test2_prpw_aligned_10327bytes() local
439 int ret, i; in test3_prpw_unaligned_12541bytes() local
476 int ret; in test4_lseek() local
[all …]
/tools/iio/
Diio_utils.c34 int i, ret; in iioutils_break_up_name() local
91 int ret; in iioutils_get_type() local
221 int ret; in iioutils_get_param_float() local
319 int ret; in build_channel_array() local
559 int number, numstrlen, ret; in find_type_by_name() local
651 int ret = 0; in _write_sysfs_int() local
748 int ret = 0; in _write_sysfs_string() local
855 int ret; in read_sysfs_posint() local
902 int ret = 0; in read_sysfs_float() local
949 int ret = 0; in read_sysfs_string() local

12345678910>>...20