Home
last modified time | relevance | path

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

/linux-6.15/tools/testing/selftests/bpf/progs/
H 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 …]
H 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()
/linux-6.15/tools/perf/util/
H A Ddebug.c229 { .name = "verbose", .value_ptr = &verbose },
230 { .name = "ordered-events", .value_ptr = &debug_ordered_events},
231 { .name = "stderr", .value_ptr = &redirect_to_stderr},
232 { .name = "data-convert", .value_ptr = &debug_data_convert },
233 { .name = "perf-event-open", .value_ptr = &debug_peo_args },
234 { .name = "kmaps", .value_ptr = &debug_kmaps },
235 { .name = "type-profile", .value_ptr = &debug_type_profile },
267 *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-6.15/fs/
H A Dbpf_fs_kfuncs.c132 struct bpf_dynptr_kern *value_ptr = (struct bpf_dynptr_kern *)value_p; in bpf_get_dentry_xattr() local
138 value_len = __bpf_dynptr_size(value_ptr); in bpf_get_dentry_xattr()
139 value = __bpf_dynptr_data_rw(value_ptr, value_len); in bpf_get_dentry_xattr()
205 struct bpf_dynptr_kern *value_ptr = (struct bpf_dynptr_kern *)value_p; in bpf_set_dentry_xattr_locked() local
211 value_len = __bpf_dynptr_size(value_ptr); in bpf_set_dentry_xattr_locked()
212 value = __bpf_dynptr_data(value_ptr, value_len); in bpf_set_dentry_xattr_locked()
/linux-6.15/drivers/md/persistent-data/
H A Ddm-btree-remove.c72 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()
142 memmove(value_ptr(n, index), in delete_at()
143 value_ptr(n, index + 1), in delete_at()
623 value_ptr(n, index), 1); in dm_btree_remove()
[all …]
H A Ddm-btree.c83 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()
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()
1300 value_ptr(n, index), in insert()
1303 value_ptr(n, index), 1); in insert()
1305 memcpy_disk(value_ptr(n, index), in insert()
[all …]
H A Ddm-btree-internal.h119 static inline void *value_ptr(struct btree_node *n, uint32_t index) in value_ptr() function
H A Ddm-space-map-common.c577 v_ptr = value_ptr(n, index); in __sm_ll_inc_overflow()
598 v_ptr = value_ptr(n, index); in sm_ll_inc_overflow()
792 v_ptr = value_ptr(n, index); in __sm_ll_dec_overflow()
819 v_ptr = value_ptr(n, index); in sm_ll_dec_overflow()
/linux-6.15/tools/tracing/rtla/src/
H A Dtimerlat.bpf.c49 unsigned long long *value_ptr; in map_get() local
51 value_ptr = bpf_map_lookup_elem(map, &key); in map_get()
53 return !value_ptr ? 0 : *value_ptr; in map_get()
/linux-6.15/drivers/gpu/drm/radeon/
H A Dradeon_kms.c236 uint32_t *value, value_tmp, *value_ptr, value_size; in radeon_info_ioctl() local
242 value_ptr = (uint32_t *)((unsigned long)info->value); in radeon_info_ioctl()
264 if (copy_from_user(value, value_ptr, sizeof(uint32_t))) { in radeon_info_ioctl()
321 if (copy_from_user(value, value_ptr, sizeof(uint32_t))) { in radeon_info_ioctl()
333 if (copy_from_user(value, value_ptr, sizeof(uint32_t))) { in radeon_info_ioctl()
469 if (copy_from_user(value, value_ptr, sizeof(uint32_t))) { in radeon_info_ioctl()
594 if (copy_from_user(value, value_ptr, sizeof(uint32_t))) { in radeon_info_ioctl()
611 if (copy_to_user(value_ptr, (char *)value, value_size)) { in radeon_info_ioctl()
/linux-6.15/tools/testing/selftests/bpf/
H A Dbpf_kfuncs.h69 struct bpf_dynptr *value_ptr) __ksym;
89 struct bpf_dynptr *value_ptr) __ksym __weak;
/linux-6.15/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-6.15/tools/perf/
H A Dbuiltin-ftrace.c1516 { .name = "call-graph", .value_ptr = &ftrace->func_stack_trace }, in parse_func_tracer_opts()
1517 { .name = "irq-info", .value_ptr = &ftrace->func_irq_info }, in parse_func_tracer_opts()
1537 { .name = "nosleep-time", .value_ptr = &ftrace->graph_nosleep_time }, in parse_graph_tracer_opts()
1538 { .name = "noirqs", .value_ptr = &ftrace->graph_noirqs }, in parse_graph_tracer_opts()
1539 { .name = "verbose", .value_ptr = &ftrace->graph_verbose }, in parse_graph_tracer_opts()
1540 { .name = "thresh", .value_ptr = &ftrace->graph_thresh }, in parse_graph_tracer_opts()
1541 { .name = "depth", .value_ptr = &ftrace->graph_depth }, in parse_graph_tracer_opts()
1542 { .name = "tail", .value_ptr = &ftrace->graph_tail }, in parse_graph_tracer_opts()
/linux-6.15/tools/perf/trace/beauty/include/uapi/sound/
H A Dasound.h1174 long *value_ptr; /* obsoleted */ member
1178 long long *value_ptr; /* obsoleted */ member
/linux-6.15/include/uapi/sound/
H A Dasound.h1174 long *value_ptr; /* obsoleted */ member
1178 long long *value_ptr; /* obsoleted */ member
/linux-6.15/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-6.15/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-6.15/fs/btrfs/
H A Dsysfs.c655 static ssize_t btrfs_show_u64(u64 *value_ptr, spinlock_t *lock, char *buf) in btrfs_show_u64() argument
660 val = *value_ptr; in btrfs_show_u64()
/linux-6.15/tools/power/x86/turbostat/
H A Dturbostat.c4235 …int read_perf_counter_info(const char *const path, const char *const parse_format, void *value_ptr) in read_perf_counter_info() argument
4260 if (sscanf(buf, parse_format, value_ptr) != 1) { in read_perf_counter_info()