Home
last modified time | relevance | path

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

/linux/tools/testing/selftests/bpf/progs/
H A Dtest_get_xattr.c35 struct bpf_dynptr value_ptr; in BPF_PROG()
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()
69 bpf_dynptr_from_mem(value2, sizeof(value2), 0, &value_ptr);
72 ret = bpf_get_dentry_xattr(dentry, xattr_names[i], &value_ptr);
23 struct bpf_dynptr value_ptr; BPF_PROG() local
45 struct bpf_dynptr value_ptr; BPF_PROG() local
H 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()
H 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()
/linux/fs/
H A Dbpf_fs_kfuncs.c133 struct bpf_dynptr_kern *value_ptr = (struct bpf_dynptr_kern *)value_p; in bpf_get_dentry_xattr() local
139 value_len = __bpf_dynptr_size(value_ptr); in bpf_get_dentry_xattr()
140 value = __bpf_dynptr_data_rw(value_ptr, value_len); in bpf_get_dentry_xattr()
206 struct bpf_dynptr_kern *value_ptr = (struct bpf_dynptr_kern *)value_p; in bpf_set_dentry_xattr_locked() local
212 value_len = __bpf_dynptr_size(value_ptr); in bpf_set_dentry_xattr_locked()
213 value = __bpf_dynptr_data(value_ptr, value_len); in bpf_set_dentry_xattr_locked()
342 struct bpf_dynptr_kern *value_ptr = (struct bpf_dynptr_kern *)value_p; in bpf_cgroup_read_xattr() local
350 value_len = __bpf_dynptr_size(value_ptr); in bpf_cgroup_read_xattr()
351 value = __bpf_dynptr_data_rw(value_ptr, value_len); in bpf_cgroup_read_xattr()
/linux/tools/perf/util/
H 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()
H A Dparse-sublevel-options.h6 int *value_ptr; member
H A Dparse-sublevel-options.c40 *opt->value_ptr = v; in parse_one_sublevel_option()
/linux/drivers/md/persistent-data/
H A Ddm-btree-remove.c68 BUG_ON((void *) key_ptr(n, shift) >= value_ptr(n, shift)); in node_shift()
72 memmove(value_ptr(n, 0), in node_shift()
73 value_ptr(n, shift), in node_shift()
80 memmove(value_ptr(n, shift), in node_shift()
81 value_ptr(n, 0), in node_shift()
107 memcpy(value_ptr(left, nr_left), in node_copy()
108 value_ptr(right, 0), in node_copy()
119 memcpy(value_ptr(right, 0), in node_copy()
120 value_ptr(left, nr_left - shift), in node_copy()
142 memmove(value_ptr(n, index), in delete_at()
[all …]
H A Ddm-btree.c80 dm_tm_with_runs(tm, value_ptr(n, 0), nr_entries, dm_tm_inc_range); in inc_children()
83 vt->inc(vt->context, value_ptr(n, 0), nr_entries); in inc_children()
326 value_ptr(f->n, 0), f->nr_children); in dm_btree_del()
369 memcpy(v, value_ptr(ro_node(s), i), value_size); in btree_lookup_raw()
463 memcpy(value_le, value_ptr(n, i), info->value_type.size); in dm_btree_lookup_next_single()
514 memcpy(value_ptr(dest, dest_offset), value_ptr(src, src_offset), count * value_size); in copy_entries()
528 memmove(value_ptr(dest, dest_offset), value_ptr(src, src_offset), count * value_size); in move_entries()
727 *((__le64 *) value_ptr(parent, index)) = in shadow_child()
866 memcpy(value_ptr(ln, 0), value_ptr(pn, 0), nr_left * size); in btree_split_beneath()
883 memcpy(value_ptr(rn, 0), value_ptr(pn, nr_left), in btree_split_beneath()
[all …]
H A Ddm-btree-internal.h119 static inline void *value_ptr(struct btree_node *n, uint32_t index) in value_ptr() function
/linux/tools/tracing/rtla/src/
H 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()
/linux/tools/testing/selftests/bpf/
H A Dbpf_kfuncs.h72 struct bpf_dynptr *value_ptr) __ksym;
92 struct bpf_dynptr *value_ptr) __ksym __weak;
/linux/tools/perf/
H 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()
1695 { .name = "nosleep-time", .value_ptr = &ftrace->graph_nosleep_time }, 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()
[all …]
/linux/tools/testing/selftests/mm/
H 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()
/linux/tools/include/uapi/sound/
H A Dasound.h
/linux/tools/perf/trace/beauty/include/uapi/sound/
H A Dasound.h1174 long *value_ptr; /* obsoleted */ member
1178 long long *value_ptr; /* obsoleted */ member
/linux/include/uapi/sound/
H A Dasound.h1174 long *value_ptr; /* obsoleted */ member
1178 long long *value_ptr; /* obsoleted */ member
/linux/drivers/misc/altera-stapl/
H A Daltera.c2111 char *value_ptr; in altera_get_note() local
2144 value_ptr = &p[note_strings + in altera_get_note()
2149 strscpy(value, value_ptr, vallen); in altera_get_note()
/linux/drivers/target/iscsi/
H A Discsi_target_parameters.c761 static int iscsi_check_numerical_value(struct iscsi_param *param, char *value_ptr) in iscsi_check_numerical_value() argument
766 value = simple_strtoul(value_ptr, &tmpptr, 0); in iscsi_check_numerical_value()
/linux/tools/power/x86/turbostat/
H A Dturbostat.c4470 …int read_perf_counter_info(const char *const path, const char *const parse_format, void *value_ptr) in read_perf_counter_info() argument
4495 if (sscanf(buf, parse_format, value_ptr) != 1) { in read_perf_counter_info()