Searched refs:queue_stats_fd (Results 1 - 1 of 1) sorted by relevance
/linux-master/samples/bpf/ |
H A D | hbm.c | 72 static int queue_stats_fd; variable 148 queue_stats_fd = bpf_object__find_map_fd_by_name(obj, "queue_stats"); 149 if (queue_stats_fd < 0) { 193 if (bpf_map_update_elem(queue_stats_fd, &key, &qstats, BPF_ANY)) { 224 bpf_map_lookup_elem(queue_stats_fd, &key, &qstats); 253 bpf_map_lookup_elem(queue_stats_fd, &key, &qstats); 300 if (bpf_map_update_elem(queue_stats_fd, &key, &qstats, BPF_ANY)) 307 if (stats_flag && bpf_map_lookup_elem(queue_stats_fd, &key, &qstats)) {
|
Completed in 232 milliseconds