Home
last modified time | relevance | path

Searched refs:value_ptr (Results 1 – 21 of 21) 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/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.c65 unsigned long long *value_ptr; in map_set()
67 value_ptr = bpf_map_lookup_elem(map, &key);
69 return !value_ptr ? 0 : *value_ptr; in map_increment()
54 unsigned long long *value_ptr; map_get() local
/linux/drivers/gpu/drm/radeon/
H A Dradeon_kms.c234 uint32_t *value, value_tmp, *value_ptr, value_size; in radeon_info_ioctl() local
240 value_ptr = (uint32_t *)((unsigned long)info->value); in radeon_info_ioctl()
262 if (copy_from_user(value, value_ptr, sizeof(uint32_t))) { in radeon_info_ioctl()
319 if (copy_from_user(value, value_ptr, sizeof(uint32_t))) { in radeon_info_ioctl()
331 if (copy_from_user(value, value_ptr, sizeof(uint32_t))) { in radeon_info_ioctl()
467 if (copy_from_user(value, value_ptr, sizeof(uint32_t))) { in radeon_info_ioctl()
592 if (copy_from_user(value, value_ptr, sizeof(uint32_t))) { in radeon_info_ioctl()
609 if (copy_to_user(value_ptr, (char *)value, value_size)) { in radeon_info_ioctl()
/linux/tools/perf/
H A Dbuiltin-ftrace.c1675 { .name = "call-graph", .value_ptr = &ftrace->func_stack_trace }, in parse_func_tracer_opts()
1676 { .name = "irq-info", .value_ptr = &ftrace->func_irq_info }, in parse_func_tracer_opts()
1696 { .name = "args", .value_ptr = &ftrace->graph_args }, in parse_graph_tracer_opts()
1697 { .name = "retval", .value_ptr = &ftrace->graph_retval }, in parse_graph_tracer_opts()
1698 { .name = "retval-hex", .value_ptr = &ftrace->graph_retval_hex }, in parse_graph_tracer_opts()
1699 { .name = "retaddr", .value_ptr = &ftrace->graph_retaddr }, in parse_graph_tracer_opts()
1700 { .name = "nosleep-time", .value_ptr = &ftrace->graph_nosleep_time }, in parse_graph_tracer_opts()
1701 { .name = "noirqs", .value_ptr = &ftrace->graph_noirqs }, in parse_graph_tracer_opts()
1702 { .name = "verbose", .value_ptr = &ftrace->graph_verbose }, in parse_graph_tracer_opts()
1703 { .name = "thresh", .value_ptr = &ftrace->graph_thresh }, in parse_graph_tracer_opts()
[all …]
/linux/tools/testing/selftests/bpf/
H A Dbpf_kfuncs.h72 struct bpf_dynptr *value_ptr) __ksym;
89 struct bpf_dynptr *value_ptr) __ksym __weak;
/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/include/uapi/sound/
H A Dasound.h1174 long *value_ptr; /* obsoleted */ member
1178 long long *value_ptr; /* obsoleted */ member
/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/drivers/misc/altera-stapl/
H A Daltera.c2110 char *value_ptr; in altera_get_note() local
2143 value_ptr = &p[note_strings + in altera_get_note()
2148 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/fs/btrfs/
H A Dsysfs.c661 static ssize_t btrfs_show_u64(u64 *value_ptr, spinlock_t *lock, char *buf) in btrfs_show_u64() argument
666 val = *value_ptr; in btrfs_show_u64()
/linux/tools/power/x86/turbostat/
H A Dturbostat.c4621 …int read_perf_counter_info(const char *const path, const char *const parse_format, void *value_ptr) in read_perf_counter_info() argument
4646 if (sscanf(buf, parse_format, value_ptr) != 1) { in read_perf_counter_info()