Home
last modified time | relevance | path

Searched refs:nr_keys (Results 1 - 8 of 8) sorted by relevance

/kernel/linux/linux-6.6/include/trace/events/
H A Dbcache.h233 __field(u32, nr_keys )
240 __entry->nr_keys = keys;
247 __entry->nr_keys)
/kernel/linux/linux-5.10/include/uapi/linux/
H A 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()
/kernel/linux/linux-6.6/drivers/md/bcache/
H A Dbcache_ondisk.h125 static inline struct bkey *bkey_idx(const struct bkey *k, unsigned int nr_keys) in bkey_idx() argument
129 return (struct bkey *) (d + nr_keys); in bkey_idx()
/kernel/linux/patches/linux-4.19/prebuilts/usr/include/linux/
H A Dbcache.h88 static inline struct bkey *bkey_idx(const struct bkey *k, unsigned int nr_keys) in bkey_idx() argument
91 return (struct bkey *) (d + nr_keys); in bkey_idx()
/kernel/linux/linux-5.10/include/trace/events/
H A Dbcache.h233 __field(u32, nr_keys )
240 __entry->nr_keys = keys;
247 __entry->nr_keys)
/kernel/linux/linux-5.10/samples/bpf/
H A Dxdp_router_ipv4_user.c518 const unsigned int nr_keys = 256; in monitor_route() local
520 __u64 prev[nr_keys][nr_cpus]; in monitor_route()
571 for (key = 0; key < nr_keys; key++) { in monitor_route()
/kernel/linux/linux-5.10/tools/testing/selftests/bpf/
H A Dtest_maps.c463 /* nr_keys is not too large otherwise the test stresses percpu in test_arraymap_percpu_many_keys()
466 unsigned int nr_keys = 2000; in test_arraymap_percpu_many_keys() local
470 sizeof(bpf_percpu(values, 0)), nr_keys, 0); in test_arraymap_percpu_many_keys()
480 for (key = 0; key < nr_keys; key++) in test_arraymap_percpu_many_keys()
483 for (key = 0; key < nr_keys; key++) { in test_arraymap_percpu_many_keys()
/kernel/linux/linux-6.6/tools/testing/selftests/bpf/
H A Dtest_maps.c478 /* nr_keys is not too large otherwise the test stresses percpu in test_arraymap_percpu_many_keys()
481 unsigned int nr_keys = 2000; in test_arraymap_percpu_many_keys() local
485 sizeof(bpf_percpu(values, 0)), nr_keys, NULL); in test_arraymap_percpu_many_keys()
495 for (key = 0; key < nr_keys; key++) in test_arraymap_percpu_many_keys()
498 for (key = 0; key < nr_keys; key++) { in test_arraymap_percpu_many_keys()

Completed in 10 milliseconds