Home
last modified time | relevance | path

Searched refs:NULL (Results 1 – 25 of 1421) sorted by relevance

12345678910>>...57

/tools/perf/util/
A Ddwarf-regs-csky.c21 "%pc", NULL, NULL, NULL, "%hi", "%lo", NULL, NULL,
22 NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL,
23 NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL,
24 NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL,
25 NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL,
36 NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL,
37 NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL,
38 NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL,
39 NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL,
40 NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL,
[all …]
A Dprint-events.c59 sdtlist = strlist__new(NULL, NULL); in print_sdt_events()
122 /*topic=*/NULL, in print_sdt_events()
130 /*desc=*/NULL, in print_sdt_events()
150 if (tmap == NULL) in is_event_supported()
246 struct strlist *evt_name_list = strlist__new(NULL, NULL); in print_symbol_events()
289 /*desc=*/NULL, in print_symbol_events()
329 return NULL; in mep_new()
361 return NULL; in mep_lookup()
442 /*topic=*/NULL, in print_events()
450 /*desc=*/NULL, in print_events()
[all …]
A Dexpr.y184 $$.ids = NULL;
202 $$.ids = NULL;
209 $$.ids = NULL;
215 $$.ids = NULL;
223 $$.ids = NULL;
253 $$.ids = NULL;
282 $$.ids = NULL;
300 $$.ids = NULL;
305 $$.ids = NULL;
320 $$.ids = NULL;
[all …]
/tools/perf/arch/x86/util/
A Dmem-events.c15 E(NULL, NULL, NULL, false, 0),
21 E(NULL, NULL, NULL, false, 0),
25 E(NULL, NULL, NULL, false, 0),
26 E(NULL, NULL, NULL, false, 0),
27 E("mem-ldst", "%s//", NULL, false, 0),
31 E(NULL, NULL, NULL, false, 0),
32 E(NULL, NULL, NULL, false, 0),
33 E("mem-ldst", "%s/ldlat=%u/", NULL, true, 0),
/tools/perf/
A Dbuiltin-bench.c43 { NULL, NULL, NULL }
52 { NULL, NULL, NULL }
61 { NULL, NULL, NULL },
69 { NULL, NULL, NULL }
80 { NULL, NULL, NULL }
88 { NULL, NULL, NULL }
98 { NULL, NULL, NULL }
105 { NULL, NULL, NULL },
114 { NULL, NULL, NULL },
138 { NULL, NULL, NULL }
[all …]
/tools/perf/tests/
A Dkmod-path.c64 T("/xxxx/xxxx/x.ko.gz", false , true, 1 , NULL ); in test__kmod_path__parse()
66 T("/xxxx/xxxx/x.ko.gz", false , true, 1 , NULL ); in test__kmod_path__parse()
73 T("/xxxx/xxxx/x.gz", false , false, 1 , NULL ); in test__kmod_path__parse()
82 T("x.gz", false , false, 1 , NULL ); in test__kmod_path__parse()
84 T("x.gz", false , false, 1 , NULL ); in test__kmod_path__parse()
91 T("x.ko.gz", false , true, 1 , NULL ); in test__kmod_path__parse()
93 T("x.ko.gz", false , true, 1 , NULL ); in test__kmod_path__parse()
119 T("[vdso]", false , false, false, NULL ); in test__kmod_path__parse()
121 T("[vdso]", false , false, false, NULL ); in test__kmod_path__parse()
127 T("[vdso32]", false , false, false, NULL ); in test__kmod_path__parse()
[all …]
A Ddemangle-ocaml-test.c12 char *buf = NULL; in test__demangle_ocaml()
19 NULL }, in test__demangle_ocaml()
29 buf = dso__demangle_sym(/*dso=*/NULL, /*kmodule=*/0, test_cases[i].mangled); in test__demangle_ocaml()
30 if ((buf == NULL && test_cases[i].demangled != NULL) in test__demangle_ocaml()
31 || (buf != NULL && test_cases[i].demangled == NULL) in test__demangle_ocaml()
32 || (buf != NULL && strcmp(buf, test_cases[i].demangled))) { in test__demangle_ocaml()
34 buf == NULL ? "(null)" : buf, in test__demangle_ocaml()
35 test_cases[i].demangled == NULL ? "(null)" : test_cases[i].demangled); in test__demangle_ocaml()
/tools/testing/selftests/timers/
A Dposix_timers.c29 char *ret_str = NULL; in __fatal_error()
115 if (gettimeofday(&start, NULL) < 0) in check_itimer()
128 if (gettimeofday(&end, NULL) < 0) in check_itimer()
150 if (gettimeofday(&start, NULL) < 0) in check_timer_create()
158 if (gettimeofday(&end, NULL) < 0) in check_timer_create()
199 return NULL; in ctd_thread_func()
208 fatal_error(NULL, "signal()"); in check_timer_distribution()
210 if (pthread_create(&ctd_thread, NULL, ctd_thread_func, NULL)) in check_timer_distribution()
254 return NULL; in ignore_thread()
277 if (sigaction(SIGUSR1, &sa, NULL)) in check_sig_ign()
[all …]
/tools/usb/usbip/src/
A Dusbip.c45 .help = NULL,
46 .usage = NULL
51 .help = NULL,
52 .usage = NULL
88 .usage = NULL
90 { NULL, NULL, NULL, NULL }
100 for (i = 0; cmds[i].name != NULL; i++) in usbip_help()
111 if (cmd->help != NULL) in usbip_help()
139 { NULL, 0, NULL, 0 } in main()
177 for (i = 0; cmds[i].name != NULL; i++) in main()
[all …]
/tools/testing/selftests/filesystems/overlayfs/
A Dset_layers_via_fds.c51 char *line = NULL; in TEST_F()
55 ASSERT_EQ(sys_mount(NULL, "/", NULL, MS_SLAVE | MS_REC, NULL), 0); in TEST_F()
60 ASSERT_EQ(sys_fsconfig(fd_context, FSCONFIG_CMD_CREATE, NULL, NULL, 0), 0); in TEST_F()
122 ASSERT_EQ(sys_fsconfig(fd_context, FSCONFIG_CMD_CREATE, NULL, NULL, 0), 0); in TEST_F()
172 ASSERT_EQ(sys_mount(NULL, "/", NULL, MS_SLAVE | MS_REC, NULL), 0); in TEST_F()
239 ASSERT_EQ(sys_mount(NULL, "/", NULL, MS_SLAVE | MS_REC, NULL), 0); in TEST_F()
384 ASSERT_EQ(sys_mount(NULL, "/", NULL, MS_SLAVE | MS_REC, NULL), 0); in TEST_F()
458 ASSERT_EQ(sys_mount(NULL, "/", NULL, MS_SLAVE | MS_REC, NULL), 0); in TEST_F()
535 ASSERT_EQ(sys_mount(NULL, "/", NULL, MS_SLAVE | MS_REC, NULL), 0); in TEST_F()
600 char *line = NULL; in TEST_F()
[all …]
/tools/testing/selftests/mm/
A Dhugetlb_madv_vs_map.c41 return NULL; in touch()
49 return NULL; in madv()
62 ptr = mmap(NULL, mmap_size, PROT_READ | PROT_WRITE, in map_extra()
74 return NULL; in map_extra()
99 huge_ptr = mmap(NULL, mmap_size, PROT_READ | PROT_WRITE, in main()
108 pthread_create(&thread1, NULL, madv, NULL); in main()
109 pthread_create(&thread2, NULL, touch, NULL); in main()
110 pthread_create(&thread3, NULL, map_extra, NULL); in main()
112 pthread_join(thread1, NULL); in main()
113 pthread_join(thread2, NULL); in main()
A Dhugetlb_fault_after_madv.c36 return NULL; in touch()
41 return NULL; in touch()
51 return NULL; in madv()
87 huge_ptr = mmap(NULL, huge_page_size, PROT_READ | PROT_WRITE, in main()
94 pthread_create(&thread1, NULL, madv, NULL); in main()
95 pthread_create(&thread2, NULL, touch, NULL); in main()
97 pthread_join(thread1, NULL); in main()
98 pthread_join(thread2, NULL); in main()
/tools/testing/selftests/prctl/
A Dset-process-name.c21 res = prctl(PR_SET_NAME, name, NULL, NULL, NULL); in set_name()
33 res = prctl(PR_GET_NAME, name, NULL, NULL, NULL); in check_is_name_correct()
43 char *name = NULL; in check_null_pointer()
46 res = prctl(PR_GET_NAME, name, NULL, NULL, NULL); in check_null_pointer()
57 FILE *fptr = NULL; in check_name()
72 int res = prctl(PR_GET_NAME, name, NULL, NULL, NULL); in check_name()
/tools/perf/arch/
A Dcommon.c16 NULL
28 NULL
34 NULL
43 NULL
50 NULL
57 NULL
63 NULL
69 NULL
76 NULL
90 NULL
[all …]
/tools/testing/selftests/bpf/prog_tests/
A Dbloom_filter_map.c20 fd = bpf_map_create(BPF_MAP_TYPE_BLOOM_FILTER, NULL, 4, sizeof(value), 100, NULL); in test_fail_cases()
25 fd = bpf_map_create(BPF_MAP_TYPE_BLOOM_FILTER, NULL, 0, 0, 100, NULL); in test_fail_cases()
30 fd = bpf_map_create(BPF_MAP_TYPE_BLOOM_FILTER, NULL, 0, INT32_MAX, 100, NULL); in test_fail_cases()
35 fd = bpf_map_create(BPF_MAP_TYPE_BLOOM_FILTER, NULL, 0, sizeof(value), 0, NULL); in test_fail_cases()
45 fd = bpf_map_create(BPF_MAP_TYPE_BLOOM_FILTER, NULL, 0, sizeof(value), 100, NULL); in test_fail_cases()
50 err = bpf_map_update_elem(fd, NULL, &value, -1); in test_fail_cases()
87 err = bpf_map_lookup_elem(fd, NULL, &value); in test_success_cases()
117 nr_rand_vals, NULL); in test_inner_map()
158 __u32 *rand_vals = NULL; in setup_progs()
207 __u32 *rand_vals = NULL, nr_rand_vals = 0; in test_bloom_filter_map()
[all …]
A Dbtf_distill.c16 struct btf *btf1 = NULL, *btf2 = NULL, *btf3 = NULL, *btf4 = NULL; in test_distilled_base()
300 struct btf *btf1 = NULL, *btf2 = NULL, *btf3 = NULL, *btf4 = NULL; in test_distilled_base_multi()
354 struct btf *btf1 = NULL, *btf2 = NULL, *btf3 = NULL, *btf4 = NULL, *btf5 = NULL; in test_distilled_base_missing_err()
408 struct btf *btf1 = NULL, *btf2 = NULL, *btf3 = NULL, *btf4 = NULL; in test_distilled_base_multi_err()
453 struct btf *btf1 = NULL, *btf2 = NULL, *btf3 = NULL, *btf4 = NULL, *btf5 = NULL; in test_distilled_base_multi_err2()
503 struct btf *split_btf = NULL, *vmlinux_btf = btf__load_vmlinux_btf(); in test_distilled_base_vmlinux()
504 struct btf *split_dist = NULL, *base_dist = NULL; in test_distilled_base_vmlinux()
541 struct btf *base = NULL, *split = NULL, *new_base = NULL, *new_split = NULL; in test_distilled_endianness()
542 struct btf *new_base1 = NULL, *new_split1 = NULL; in test_distilled_endianness()
610 struct btf *btf1 = NULL, *btf2 = NULL, *btf3 = NULL, *btf4 = NULL, *btf5 = NULL; in test_distilled_base_embedded_err()
/tools/testing/scatterlist/
A Dmain.c56 { -EINVAL, 1, pfn(0), NULL, PAGE_SIZE, 0, 1 }, in main()
57 { 0, 1, pfn(0), NULL, PAGE_SIZE, PAGE_SIZE + 1, 1 }, in main()
58 { 0, 1, pfn(0), NULL, PAGE_SIZE, sgmax, 1 }, in main()
59 { 0, 1, pfn(0), NULL, 1, sgmax, 1 }, in main()
60 { 0, 2, pfn(0, 1), NULL, 2 * PAGE_SIZE, sgmax, 1 }, in main()
61 { 0, 2, pfn(1, 0), NULL, 2 * PAGE_SIZE, sgmax, 2 }, in main()
62 { 0, 3, pfn(0, 1, 2), NULL, 3 * PAGE_SIZE, sgmax, 1 }, in main()
63 { 0, 3, pfn(0, 1, 2), NULL, 3 * PAGE_SIZE, sgmax, 1 }, in main()
76 { 0, 6, pfn(0, 1, 2, 3, 4, 5), NULL, 6 * PAGE_SIZE, in main()
78 { 0, 6, pfn(0, 2, 3, 4, 5, 6), NULL, 6 * PAGE_SIZE, in main()
[all …]
/tools/perf/arch/x86/tests/
A Dinsn-x86.c23 {{0x0f, 0x01, 0xee}, 3, 0, NULL, NULL, "0f 01 ee \trdpkru"},
24 {{0x0f, 0x01, 0xef}, 3, 0, NULL, NULL, "0f 01 ef \twrpkru"},
25 {{0}, 0, 0, NULL, NULL, NULL},
30 {{0x0f, 0x01, 0xee}, 3, 0, NULL, NULL, "0f 01 ee \trdpkru"},
31 {{0x0f, 0x01, 0xef}, 3, 0, NULL, NULL, "0f 01 ef \twrpkru"},
34 {{0}, 0, 0, NULL, NULL, NULL},
56 {NULL, 0}, in get_op()
83 {NULL, 0}, in get_branch()
/tools/testing/radix-tree/
A Diteration_check.c60 return NULL; in add_entries_fn()
93 return NULL; in tagged_iteration_fn()
126 return NULL; in untagged_iteration_fn()
150 return NULL; in remove_entries_fn()
161 return NULL; in tag_entries_fn()
178 if (pthread_create(&threads[0], NULL, tagged_iteration_fn, NULL)) { in iteration_test()
182 if (pthread_create(&threads[1], NULL, untagged_iteration_fn, NULL)) { in iteration_test()
186 if (pthread_create(&threads[2], NULL, add_entries_fn, NULL)) { in iteration_test()
190 if (pthread_create(&threads[3], NULL, remove_entries_fn, NULL)) { in iteration_test()
194 if (pthread_create(&threads[4], NULL, tag_entries_fn, NULL)) { in iteration_test()
[all …]
A Dregression4.c38 return NULL; in reader_fn()
55 return NULL; in writer_fn()
65 pthread_barrier_init(&worker_barrier, NULL, 2); in regression4_test()
67 if (pthread_create(&reader, NULL, reader_fn, NULL) || in regression4_test()
68 pthread_create(&writer, NULL, writer_fn, NULL)) { in regression4_test()
73 if (pthread_join(reader, NULL) || pthread_join(writer, NULL)) { in regression4_test()
/tools/perf/scripts/python/Perf-Trace-Util/
A DContext.c42 return NULL; in get_args()
58 return NULL; in perf_trace_context_common_pc()
69 return NULL; in perf_trace_context_common_flags()
80 return NULL; in perf_trace_context_common_lock_depth()
91 return NULL; in perf_sample_insn()
113 return NULL; in perf_set_itrace_options()
134 char *srcfile = NULL; in perf_sample_src()
135 char *srccode = NULL; in perf_sample_src()
143 return NULL; in perf_sample_src()
180 return NULL; in __perf_config_get()
[all …]
/tools/perf/arch/arm/util/
A Dauxtrace.c24 struct perf_pmu **arm_spe_pmus = NULL; in find_all_arm_spe_pmus()
33 return NULL; in find_all_arm_spe_pmus()
41 return NULL; in find_all_arm_spe_pmus()
62 DIR *dir = NULL; in find_all_hisi_ptt_pmus()
70 return NULL; in find_all_hisi_ptt_pmus()
108 return NULL; in find_pmu_for_event()
115 return NULL; in find_pmu_for_event()
125 struct perf_pmu *found_etm = NULL; in auxtrace_record__init()
133 return NULL; in auxtrace_record__init()
165 return NULL; in auxtrace_record__init()
[all …]
/tools/testing/selftests/x86/
A Dfsgsbase.c293 syscall(SYS_futex, &ftx, FUTEX_WAKE, 0, NULL, NULL, 0); in test_wrbase()
295 syscall(SYS_futex, &ftx, FUTEX_WAIT, 1, NULL, NULL, 0); in test_wrbase()
332 syscall(SYS_futex, &ftx, FUTEX_WAKE, 0, NULL, NULL, 0); in threadproc()
379 syscall(SYS_futex, &ftx, FUTEX_WAKE, 0, NULL, NULL, 0); in set_gs_and_switch_to()
381 syscall(SYS_futex, &ftx, FUTEX_WAIT, 1, NULL, NULL, 0); in set_gs_and_switch_to()
413 syscall(SYS_futex, &ftx, FUTEX_WAKE, 0, NULL, NULL, 0); in test_unexpected_base()
415 syscall(SYS_futex, &ftx, FUTEX_WAIT, 1, NULL, NULL, 0); in test_unexpected_base()
443 if (ptrace(PTRACE_TRACEME, 0, NULL, NULL) != 0) in test_ptrace_write_gs_read_base()
483 ptrace(PTRACE_CONT, child, NULL, NULL); in test_ptrace_write_gs_read_base()
503 if (ptrace(PTRACE_TRACEME, 0, NULL, NULL) != 0) in test_ptrace_write_gsbase()
[all …]
/tools/testing/selftests/net/tcp_ao/
A Dunsigned-md5.c66 before_cnt = netstat_get_one(cnt_name, NULL); in try_accept()
87 sk = accept(lsk, NULL, NULL); in try_accept()
105 after_cnt = netstat_get_one(cnt_name, NULL); in try_accept()
143 0, NULL, 0, 0, 0, 0, 0, NULL, 0, 1, 0); in server_add_fail_tests()
181 NULL, 0, 0, 0, 0, 0, NULL, 0, 1, 0); in server_fn()
208 100, 100, 0, NULL, 0, 1, 0); in server_fn()
243 return NULL; in server_fn()
741 port++, NULL, 0, NULL, 0, 100, 100, 0, 0, 1, &client3); in client_fn()
745 port++, NULL, 0, NULL, 0, 100, 100, 0, FAULT_TIMEOUT, in client_fn()
750 port++, NULL, 0, NULL, 0, 100, 100, 0, FAULT_TIMEOUT, in client_fn()
[all …]
/tools/testing/selftests/watchdog/
A Dwatchdog-test.c32 {"bootstatus", no_argument, NULL, 'b'},
33 {"disable", no_argument, NULL, 'd'},
34 {"enable", no_argument, NULL, 'e'},
35 {"help", no_argument, NULL, 'h'},
42 {"gettimeleft", no_argument, NULL, 'L'},
44 {"info", no_argument, NULL, 'i'},
45 {NULL, no_argument, NULL, 0x0}
182 setbuf(stdout, NULL); in main()
246 ping_rate = strtoul(optarg, NULL, 0); in main()
267 flags = strtoul(optarg, NULL, 0); in main()
[all …]

Completed in 43 milliseconds

12345678910>>...57