Home
last modified time | relevance | path

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

/linux-6.12.1/tools/testing/selftests/bpf/progs/
Dtest_get_xattr.c23 struct bpf_dynptr value_ptr; in BPF_PROG() local
31 bpf_dynptr_from_mem(value1, sizeof(value1), 0, &value_ptr); in BPF_PROG()
33 ret = bpf_get_file_xattr(f, "user.kfuncs", &value_ptr); in BPF_PROG()
45 struct bpf_dynptr value_ptr; in BPF_PROG() local
53 bpf_dynptr_from_mem(value2, sizeof(value2), 0, &value_ptr); in BPF_PROG()
55 ret = bpf_get_dentry_xattr(dentry, "user.kfuncs", &value_ptr); in BPF_PROG()
/linux-6.12.1/tools/perf/util/
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()
Dparse-sublevel-options.h6 int *value_ptr; member
Dparse-sublevel-options.c40 *opt->value_ptr = v; in parse_one_sublevel_option()
/linux-6.12.1/drivers/md/persistent-data/
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 …]
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 …]
Ddm-btree-internal.h119 static inline void *value_ptr(struct btree_node *n, uint32_t index) in value_ptr() function
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.12.1/fs/
Dbpf_fs_kfuncs.c111 struct bpf_dynptr_kern *value_ptr = (struct bpf_dynptr_kern *)value_p; in bpf_get_dentry_xattr() local
123 value_len = __bpf_dynptr_size(value_ptr); in bpf_get_dentry_xattr()
124 value = __bpf_dynptr_data_rw(value_ptr, value_len); in bpf_get_dentry_xattr()
/linux-6.12.1/tools/testing/selftests/kvm/
Ddirty_log_test.c552 uint64_t *value_ptr; in vm_dirty_log_verify() local
556 value_ptr = host_test_mem + page * host_page_size; in vm_dirty_log_verify()
577 matched = (*value_ptr == iteration || in vm_dirty_log_verify()
578 *value_ptr == iteration - 1); in vm_dirty_log_verify()
581 if (*value_ptr == iteration - 2 && min_iter <= iteration - 2) { in vm_dirty_log_verify()
628 page, *value_ptr, iteration); in vm_dirty_log_verify()
650 TEST_ASSERT(*value_ptr <= iteration, in vm_dirty_log_verify()
653 page, *value_ptr, iteration); in vm_dirty_log_verify()
654 if (*value_ptr == iteration) { in vm_dirty_log_verify()
/linux-6.12.1/drivers/gpu/drm/radeon/
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.12.1/tools/testing/selftests/bpf/
Dbpf_kfuncs.h69 struct bpf_dynptr *value_ptr) __ksym;
89 struct bpf_dynptr *value_ptr) __ksym __weak;
/linux-6.12.1/tools/perf/
Dbuiltin-ftrace.c1428 { .name = "call-graph", .value_ptr = &ftrace->func_stack_trace }, in parse_func_tracer_opts()
1429 { .name = "irq-info", .value_ptr = &ftrace->func_irq_info }, in parse_func_tracer_opts()
1449 { .name = "nosleep-time", .value_ptr = &ftrace->graph_nosleep_time }, in parse_graph_tracer_opts()
1450 { .name = "noirqs", .value_ptr = &ftrace->graph_noirqs }, in parse_graph_tracer_opts()
1451 { .name = "verbose", .value_ptr = &ftrace->graph_verbose }, in parse_graph_tracer_opts()
1452 { .name = "thresh", .value_ptr = &ftrace->graph_thresh }, in parse_graph_tracer_opts()
1453 { .name = "depth", .value_ptr = &ftrace->graph_depth }, in parse_graph_tracer_opts()
1454 { .name = "tail", .value_ptr = &ftrace->graph_tail }, in parse_graph_tracer_opts()
/linux-6.12.1/tools/testing/selftests/mm/
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.12.1/tools/perf/trace/beauty/include/uapi/sound/
Dasound.h1170 long *value_ptr; /* obsoleted */ member
1174 long long *value_ptr; /* obsoleted */ member
/linux-6.12.1/include/uapi/sound/
Dasound.h1170 long *value_ptr; /* obsoleted */ member
1174 long long *value_ptr; /* obsoleted */ member
/linux-6.12.1/drivers/misc/altera-stapl/
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.12.1/drivers/target/iscsi/
Discsi_target_parameters.c809 static int iscsi_check_numerical_value(struct iscsi_param *param, char *value_ptr) in iscsi_check_numerical_value() argument
814 value = simple_strtoul(value_ptr, &tmpptr, 0); in iscsi_check_numerical_value()
/linux-6.12.1/fs/btrfs/
Dsysfs.c654 static ssize_t btrfs_show_u64(u64 *value_ptr, spinlock_t *lock, char *buf) in btrfs_show_u64() argument
659 val = *value_ptr; in btrfs_show_u64()
/linux-6.12.1/tools/power/x86/turbostat/
Dturbostat.c3958 …int read_perf_counter_info(const char *const path, const char *const parse_format, void *value_ptr) in read_perf_counter_info() argument
3983 if (sscanf(buf, parse_format, value_ptr) != 1) { in read_perf_counter_info()