Home
last modified time | relevance | path

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

/Linux-v4.19/samples/bpf/
Dxdp1_user.c37 const unsigned int nr_keys = 256; in poll_stats() local
38 __u64 values[nr_cpus], prev[nr_keys][nr_cpus]; in poll_stats()
47 for (key = 0; key < nr_keys; key++) { in poll_stats()
Dxdp_router_ipv4_user.c500 const unsigned int nr_keys = 256; in monitor_route() local
502 __u64 prev[nr_keys][nr_cpus]; in monitor_route()
553 for (key = 0; key < nr_keys; key++) { in monitor_route()
/Linux-v4.19/include/uapi/linux/
Dbcache.h124 static inline struct bkey *bkey_idx(const struct bkey *k, unsigned int nr_keys) in bkey_idx() argument
128 return (struct bkey *) (d + nr_keys); in bkey_idx()
/Linux-v4.19/tools/testing/selftests/bpf/
Dtest_maps.c429 unsigned int nr_keys = 2000; in test_arraymap_percpu_many_keys() local
433 sizeof(bpf_percpu(values, 0)), nr_keys, 0); in test_arraymap_percpu_many_keys()
443 for (key = 0; key < nr_keys; key++) in test_arraymap_percpu_many_keys()
446 for (key = 0; key < nr_keys; key++) { in test_arraymap_percpu_many_keys()