Home
last modified time | relevance | path

Searched refs:percpu_value_buf (Results 1 – 2 of 2) sorted by relevance

/linux-6.1.9/kernel/bpf/
Darraymap.c556 void *percpu_value_buf; member
574 if (info->percpu_value_buf) in bpf_array_map_seq_start()
593 if (info->percpu_value_buf) in bpf_array_map_seq_next()
620 if (!info->percpu_value_buf) { in __bpf_array_map_seq_show()
626 copy_map_value_long(map, info->percpu_value_buf + off, in __bpf_array_map_seq_show()
628 check_and_init_map_value(map, info->percpu_value_buf + off); in __bpf_array_map_seq_show()
631 ctx.value = info->percpu_value_buf; in __bpf_array_map_seq_show()
664 seq_info->percpu_value_buf = value_buf; in bpf_iter_init_array_map()
681 kfree(seq_info->percpu_value_buf); in bpf_iter_fini_array_map()
Dhashtab.c1951 void *percpu_value_buf; // non-zero means percpu hash member
2054 if (!info->percpu_value_buf) { in __bpf_hash_map_seq_show()
2060 bpf_long_memcpy(info->percpu_value_buf + off, in __bpf_hash_map_seq_show()
2065 ctx.value = info->percpu_value_buf; in __bpf_hash_map_seq_show()
2102 seq_info->percpu_value_buf = value_buf; in bpf_iter_init_hash_map()
2116 kfree(seq_info->percpu_value_buf); in bpf_iter_fini_hash_map()