/tools/lib/traceevent/ |
D | event-parse-api.c | 61 void tep_set_flag(struct tep_handle *tep, int flag) in tep_set_flag() argument 64 tep->flags |= flag; in tep_set_flag() 74 void tep_clear_flag(struct tep_handle *tep, enum tep_flag flag) in tep_clear_flag() argument 77 tep->flags &= ~flag; in tep_clear_flag() 88 bool tep_test_flag(struct tep_handle *tep, enum tep_flag flag) in tep_test_flag() argument 91 return tep->flags & flag; in tep_test_flag()
|
/tools/perf/tests/ |
D | bpf-script-example.c | 39 int *flag = bpf_map_lookup_elem(&flip_table, &ind); in bpf_func__SyS_epoll_pwait() local 41 if (!flag) in bpf_func__SyS_epoll_pwait() 44 new_flag = !*flag; in bpf_func__SyS_epoll_pwait()
|
/tools/perf/util/ |
D | trace-event-parse.c | 176 struct flag { struct 181 static const struct flag flags[] = { argument 197 unsigned long long eval_flag(const char *flag) in eval_flag() argument 206 if (isdigit(flag[0])) in eval_flag() 207 return strtoull(flag, NULL, 0); in eval_flag() 210 if (strcmp(flags[i].name, flag) == 0) in eval_flag()
|
D | cloexec.c | 14 static unsigned long flag = PERF_FLAG_FD_CLOEXEC; variable 100 flag = 0; in perf_event_open_cloexec_flag() 104 return flag; in perf_event_open_cloexec_flag()
|
D | probe-file.h | 41 int probe_file__open(int flag); 42 int probe_file__open_both(int *kfd, int *ufd, int flag);
|
D | probe-file.c | 103 int probe_file__open(int flag) in probe_file__open() argument 107 if (flag & PF_FL_UPROBE) in probe_file__open() 108 fd = open_uprobe_events(flag & PF_FL_RW); in probe_file__open() 110 fd = open_kprobe_events(flag & PF_FL_RW); in probe_file__open() 112 print_open_warning(fd, flag & PF_FL_UPROBE); in probe_file__open() 117 int probe_file__open_both(int *kfd, int *ufd, int flag) in probe_file__open_both() argument 122 *kfd = open_kprobe_events(flag & PF_FL_RW); in probe_file__open_both() 123 *ufd = open_uprobe_events(flag & PF_FL_RW); in probe_file__open_both()
|
D | dwarf-aux.c | 69 bool flag; in cu_getsrc_die() local 98 dwarf_linebeginstatement(line, &flag) != 0) in cu_getsrc_die() 102 } while (!flag); in cu_getsrc_die() 857 bool flag; in die_walk_lines() local 889 if (dwarf_lineendsequence(line, &flag) != 0 || flag) in die_walk_lines() 892 if (dwarf_linebeginstatement(line, &flag) != 0 || !flag) in die_walk_lines()
|
D | trace-event.h | 51 unsigned long long eval_flag(const char *flag);
|
/tools/perf/arch/x86/tests/ |
D | intel-cqm.c | 45 int i, fd[2], flag, ret; in test__intel_cqm_count_nmi_context() local 51 flag = perf_event_open_cloexec_flag(); in test__intel_cqm_count_nmi_context() 84 fd[0] = sys_perf_event_open(&pe, pid, -1, -1, flag); in test__intel_cqm_count_nmi_context() 96 fd[1] = sys_perf_event_open(&pe, pid, -1, fd[0], flag); in test__intel_cqm_count_nmi_context()
|
/tools/testing/selftests/pidfd/ |
D | pidfd_setns_test.c | 39 int flag; member 390 if (info->flag) { in TEST_F() 391 ASSERT_EQ(setns(self->child_pidfd1, info->flag), 0) { in TEST_F() 399 if (info->flag == CLONE_NEWPID) in TEST_F() 426 if (info->flag) { in TEST_F() 427 ASSERT_EQ(setns(self->child_nsfds1[i], info->flag), 0) { in TEST_F() 435 if (info->flag == CLONE_NEWPID) in TEST_F() 461 flags |= info->flag; in TEST_F() 480 if (info->flag == CLONE_NEWPID) in TEST_F() 504 flags |= info->flag; in TEST_F() [all …]
|
/tools/memory-model/ |
D | linux-kernel.bell | 56 flag ~empty Rcu-lock \ domain(rcu-rscs) as unbalanced-rcu-locking 57 flag ~empty Rcu-unlock \ range(rcu-rscs) as unbalanced-rcu-locking 72 flag ~empty Srcu-lock \ domain(srcu-rscs) as unbalanced-srcu-locking 73 flag ~empty Srcu-unlock \ range(srcu-rscs) as unbalanced-srcu-locking 76 flag ~empty rcu-rscs & (po ; [Sync-srcu] ; po) as invalid-sleep 79 flag ~empty different-values(srcu-rscs) as srcu-bad-nesting
|
D | lock.cat | 41 flag ~empty [M \ IW] ; loc ; [ALL-LOCKS] as mixed-lock-accesses 48 flag ~empty LKW \ range(lk-rmw) as unpaired-LKW 49 flag ~empty LKR \ domain(lk-rmw) as unpaired-LKR 58 flag ~empty [FW] ; loc ; [ALL-LOCKS] as lock-final 73 flag ~empty UL \ range(critical) as unmatched-unlock
|
/tools/testing/selftests/gpio/ |
D | gpio-mockup-chardev.c | 196 int gpio_pin_test(struct gpiochip_info *cinfo, int line, int flag, int value) in gpio_pin_test() argument 206 ret = gpiotools_request_linehandle(cinfo->name, lines, 1, flag, &data, in gpio_pin_test() 218 if (flag & GPIOHANDLE_REQUEST_INPUT) { in gpio_pin_test() 223 } else if (flag & GPIOHANDLE_REQUEST_OUTPUT) { in gpio_pin_test() 224 if (flag & GPIOHANDLE_REQUEST_ACTIVE_LOW) in gpio_pin_test() 237 cinfo->name, line, flag, value); in gpio_pin_test()
|
/tools/testing/selftests/sigaltstack/ |
D | sas.c | 34 int flag; member 53 p->flag = 1; in my_usr1() 68 if (!p->flag) { in my_usr1() 89 p->flag = 0; in my_usr2()
|
/tools/testing/selftests/powerpc/ptrace/ |
D | ptrace-tm-spr.c | 12 int flag; member 82 if (!cptr->flag) in tm_spr() 105 pptr->flag = 1; in trace_tm_spr()
|
/tools/testing/selftests/net/ |
D | fin_ack_lat.c | 34 int flag = 1; in client() local 52 &flag, sizeof(flag))) in client()
|
/tools/perf/tests/attr/ |
D | base-record | 4 # 0 or PERF_FLAG_FD_CLOEXEC flag
|
D | base-stat | 4 # 0 or PERF_FLAG_FD_CLOEXEC flag
|
/tools/gpio/ |
D | gpio-utils.c | 59 unsigned int num_lines, unsigned int flag, in gpiotools_request_linehandle() argument 84 req.flags = flag; in gpiotools_request_linehandle() 87 if (flag & GPIOHANDLE_REQUEST_OUTPUT) in gpiotools_request_linehandle()
|
D | gpio-utils.h | 28 unsigned int num_lines, unsigned int flag,
|
/tools/bpf/bpftool/skeleton/ |
D | profiler.bpf.c | 54 u32 flag = i; in BPF_PROG() local 56 ptrs[i] = bpf_map_lookup_elem(&fentry_readings, &flag); in BPF_PROG()
|
/tools/testing/selftests/powerpc/benchmarks/ |
D | mmap_bench.c | 73 if (options[option_index].flag != 0) in main()
|
/tools/perf/Documentation/ |
D | itrace.txt | 53 will not be reported. Each flag must be preceded by either '+' or '-'. 59 debug messages will or will not be logged. Each flag must be preceded
|
/tools/thermal/tmon/ |
D | tmon.h | 55 unsigned long flag; member
|
/tools/power/cpupower/ |
D | ToDo | 16 per_cpu_schedule flag is set.
|