Home
last modified time | relevance | path

Searched refs:value_ptr (Results 1 – 13 of 13) sorted by relevance

/tools/testing/selftests/bpf/progs/
A Dtest_set_remove_xattr.c38 struct bpf_dynptr value_ptr; in BPF_PROG() local
50 bpf_dynptr_from_mem(read_value, sizeof(read_value), 0, &value_ptr); in BPF_PROG()
53 ret = bpf_get_dentry_xattr(dentry, xattr_bar, &value_ptr); in BPF_PROG()
57 bpf_dynptr_from_mem(value_bar, sizeof(value_bar), 0, &value_ptr); in BPF_PROG()
59 ret = bpf_set_dentry_xattr(dentry, xattr_bar, &value_ptr, 0); in BPF_PROG()
62 ret = bpf_set_dentry_xattr(dentry, xattr_selinux, &value_ptr, 0); in BPF_PROG()
94 struct bpf_dynptr value_ptr; in BPF_PROG() local
109 ret = bpf_get_dentry_xattr(dentry, xattr_bar, &value_ptr); in BPF_PROG()
113 bpf_dynptr_from_mem(value_bar, sizeof(value_bar), 0, &value_ptr); in BPF_PROG()
115 ret = bpf_set_dentry_xattr(dentry, xattr_bar, &value_ptr, 0); in BPF_PROG()
[all …]
A Dtest_get_xattr.c35 struct bpf_dynptr value_ptr; in BPF_PROG() local
43 bpf_dynptr_from_mem(value1, sizeof(value1), 0, &value_ptr); in BPF_PROG()
46 ret = bpf_get_file_xattr(f, xattr_names[i], &value_ptr); in BPF_PROG()
61 struct bpf_dynptr value_ptr; in BPF_PROG() local
69 bpf_dynptr_from_mem(value2, sizeof(value2), 0, &value_ptr); in BPF_PROG()
72 ret = bpf_get_dentry_xattr(dentry, xattr_names[i], &value_ptr); in BPF_PROG()
A Dread_cgroupfs_xattr.c25 struct bpf_dynptr value_ptr; in BPF_PROG() local
39 bpf_dynptr_from_mem(xattr_value, sizeof(xattr_value), 0, &value_ptr); in BPF_PROG()
44 &value_ptr); in BPF_PROG()
A Dcgroup_read_xattr.c17 struct bpf_dynptr value_ptr; in read_xattr() local
19 bpf_dynptr_from_mem(value, sizeof(value), 0, &value_ptr); in read_xattr()
21 &value_ptr); in read_xattr()
/tools/perf/util/
A Ddebug.c237 { .name = "verbose", .value_ptr = &verbose },
238 { .name = "ordered-events", .value_ptr = &debug_ordered_events},
239 { .name = "stderr", .value_ptr = &redirect_to_stderr},
240 { .name = "data-convert", .value_ptr = &debug_data_convert },
241 { .name = "perf-event-open", .value_ptr = &debug_peo_args },
242 { .name = "kmaps", .value_ptr = &debug_kmaps },
243 { .name = "type-profile", .value_ptr = &debug_type_profile },
275 *opt->value_ptr = -1; in perf_quiet_option()
A Dparse-sublevel-options.h6 int *value_ptr; member
A Dparse-sublevel-options.c40 *opt->value_ptr = v; in parse_one_sublevel_option()
/tools/tracing/rtla/src/
A Dtimerlat.bpf.c54 unsigned long long *value_ptr; in map_get() local
56 value_ptr = bpf_map_lookup_elem(map, &key); in map_get()
58 return !value_ptr ? 0 : *value_ptr; in map_get()
/tools/testing/selftests/bpf/
A Dbpf_kfuncs.h69 struct bpf_dynptr *value_ptr) __ksym;
89 struct bpf_dynptr *value_ptr) __ksym __weak;
/tools/perf/
A Dbuiltin-ftrace.c1670 { .name = "call-graph", .value_ptr = &ftrace->func_stack_trace }, in parse_func_tracer_opts()
1671 { .name = "irq-info", .value_ptr = &ftrace->func_irq_info }, in parse_func_tracer_opts()
1691 { .name = "args", .value_ptr = &ftrace->graph_args }, in parse_graph_tracer_opts()
1692 { .name = "retval", .value_ptr = &ftrace->graph_retval }, in parse_graph_tracer_opts()
1693 { .name = "retval-hex", .value_ptr = &ftrace->graph_retval_hex }, in parse_graph_tracer_opts()
1694 { .name = "retaddr", .value_ptr = &ftrace->graph_retaddr }, in parse_graph_tracer_opts()
1696 { .name = "noirqs", .value_ptr = &ftrace->graph_noirqs }, in parse_graph_tracer_opts()
1697 { .name = "verbose", .value_ptr = &ftrace->graph_verbose }, in parse_graph_tracer_opts()
1698 { .name = "thresh", .value_ptr = &ftrace->graph_thresh }, in parse_graph_tracer_opts()
1699 { .name = "depth", .value_ptr = &ftrace->graph_depth }, in parse_graph_tracer_opts()
[all …]
/tools/testing/selftests/mm/
A Dmlock2-tests.c98 char *value_ptr; in get_value_for_name() local
116 value_ptr = line + strlen(name); in get_value_for_name()
117 if (sscanf(value_ptr, "%lu kB", &value) < 1) { in get_value_for_name()
/tools/perf/trace/beauty/include/uapi/sound/
A Dasound.h1174 long *value_ptr; /* obsoleted */ member
1178 long long *value_ptr; /* obsoleted */ member
/tools/power/x86/turbostat/
A Dturbostat.c4531 …int read_perf_counter_info(const char *const path, const char *const parse_format, void *value_ptr) in read_perf_counter_info() argument
4556 if (sscanf(buf, parse_format, value_ptr) != 1) { in read_perf_counter_info()

Completed in 43 milliseconds