Home
last modified time | relevance | path

Searched refs:value_buf (Results 1 – 4 of 4) sorted by relevance

/linux-6.6.21/samples/bpf/
Dtrace_event_kern.c45 struct bpf_perf_event_value value_buf; in bpf_prog1() local
62 ret = bpf_perf_prog_read_value(ctx, (void *)&value_buf, sizeof(struct bpf_perf_event_value)); in bpf_prog1()
64 bpf_trace_printk(time_fmt1, sizeof(time_fmt1), value_buf.enabled, value_buf.running); in bpf_prog1()
/linux-6.6.21/fs/btrfs/
Dprops.c155 char *value_buf = NULL; in iterate_object_props() local
226 kfree(value_buf); in iterate_object_props()
228 value_buf = kmalloc(data_len, GFP_NOFS); in iterate_object_props()
229 if (!value_buf) { in iterate_object_props()
234 read_extent_buffer(leaf, value_buf, data_ptr, data_len); in iterate_object_props()
236 iterator(ctx, handler, value_buf, data_len); in iterate_object_props()
250 kfree(value_buf); in iterate_object_props()
/linux-6.6.21/kernel/bpf/
Darraymap.c646 void *value_buf; in bpf_iter_init_array_map() local
651 value_buf = kmalloc(buf_size, GFP_USER | __GFP_NOWARN); in bpf_iter_init_array_map()
652 if (!value_buf) in bpf_iter_init_array_map()
655 seq_info->percpu_value_buf = value_buf; in bpf_iter_init_array_map()
Dhashtab.c2115 void *value_buf; in bpf_iter_init_hash_map() local
2121 value_buf = kmalloc(buf_size, GFP_USER | __GFP_NOWARN); in bpf_iter_init_hash_map()
2122 if (!value_buf) in bpf_iter_init_hash_map()
2125 seq_info->percpu_value_buf = value_buf; in bpf_iter_init_hash_map()