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.c123 * Get xattr *name__str* of *dentry* and store the output in *value_ptr*.
133 struct bpf_dynptr_kern *value_ptr = (struct bpf_dynptr_kern *)value_p; in bpf_get_dentry_xattr()
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()
156 * Get xattr *name__str* of *file* and store the output in *value_ptr*.
193 * Set xattr *name__str* of *dentry* to the value in *value_ptr*.
206 const struct bpf_dynptr_kern *value_ptr = (struct bpf_dynptr_kern *)value_p; in bpf_set_dentry_xattr_locked()
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()
280 * Set xattr *name__str* of *dentry* to the value in *value_ptr*
132 struct bpf_dynptr_kern *value_ptr = (struct bpf_dynptr_kern *)value_p; bpf_get_dentry_xattr() local
205 const struct bpf_dynptr_kern *value_ptr = (struct bpf_dynptr_kern *)value_p; bpf_set_dentry_xattr_locked() local
347 struct bpf_dynptr_kern *value_ptr = (struct bpf_dynptr_kern *)value_p; bpf_cgroup_read_xattr() local
380 struct bpf_dynptr_kern *value_ptr = (struct bpf_dynptr_kern *)value_p; bpf_sock_read_xattr() local
[all...]
/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( 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(paren in shadow_child()
[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/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/perf/
H A Dbuiltin-ftrace.c1678 { .name = "call-graph", .value_ptr = &ftrace->func_stack_trace }, in parse_func_tracer_opts()
1679 { .name = "irq-info", .value_ptr = &ftrace->func_irq_info }, in parse_func_tracer_opts()
1699 { .name = "args", .value_ptr = &ftrace->graph_args }, in parse_graph_tracer_opts()
1700 { .name = "retval", .value_ptr = &ftrace->graph_retval }, in parse_graph_tracer_opts()
1701 { .name = "retval-hex", .value_ptr = &ftrace->graph_retval_hex }, in parse_graph_tracer_opts()
1702 { .name = "retaddr", .value_ptr = &ftrace->graph_retaddr }, in parse_graph_tracer_opts()
1703 { .name = "nosleep-time", .value_ptr = &ftrace->graph_nosleep_time }, in parse_graph_tracer_opts()
1704 { .name = "noirqs", .value_ptr = &ftrace->graph_noirqs }, in parse_graph_tracer_opts()
1705 { .name = "verbose", .value_ptr = &ftrace->graph_verbose }, in parse_graph_tracer_opts()
1706 { .name = "thresh", .value_ptr in parse_graph_tracer_opts()
[all...]
/linux/tools/testing/selftests/mm/
H A Dmlock2-tests.c99 char *value_ptr; in get_value_for_name()
117 value_ptr = line + strlen(name); in get_value_for_name()
118 if (sscanf(value_ptr, "%lu kB", &value) < 1) { in get_value_for_name()
98 char *value_ptr; get_value_for_name() local
/linux/tools/include/uapi/sound/
H A Dasound.h
/linux/tools/perf/trace/beauty/include/uapi/sound/
H A Dasound.h1194 long *value_ptr; /* obsoleted */
1198 long long *value_ptr; /* obsoleted */
1174 long *value_ptr; /* obsoleted */ global() member
1178 long long *value_ptr; /* obsoleted */ global() 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.c548 static ssize_t btrfs_show_u64(u64 *value_ptr, spinlock_t *lock, char *buf) in btrfs_discard_iops_limit_store()
553 val = *value_ptr; in btrfs_discard_iops_limit_store()
661 btrfs_show_u64(u64 * value_ptr,spinlock_t * lock,char * buf) btrfs_show_u64() argument
/linux/tools/power/x86/turbostat/
H A Dturbostat.c4691 static int read_perf_counter_info(const char *const path, const char *const parse_format, void *value_ptr) in read_perf_counter_info()
4716 if (sscanf(buf, parse_format, value_ptr) != 1) { in read_perf_counter_info()
4679 read_perf_counter_info(const char * const path,const char * const parse_format,void * value_ptr) read_perf_counter_info() argument