/linux-6.14.4/tools/testing/selftests/bpf/progs/ |
D | verifier_array_access.c | 549 __u32 __attribute__((aligned(8))) key = 1; in an_array_with_a_constant_no_nullness() local 550 struct test_val *val; in an_array_with_a_constant_no_nullness() local 565 __u32 __attribute__((aligned(8))) key = 1; in multiple_array_with_a_constant_no_nullness() local 567 struct test_val *val, *val2; in multiple_array_with_a_constant_no_nullness() local 587 struct test_val *val; in an_array_with_a_32bit_constant_0_no_nullness() local 588 __u32 key = 0; in an_array_with_a_32bit_constant_0_no_nullness() local 602 __u32 __attribute__((aligned(8))) key = 1; in a_pcpu_array_with_a_constant_no_nullness() local 603 struct test_val *val; in a_pcpu_array_with_a_constant_no_nullness() local 617 __u32 __attribute__((aligned(8))) key = 3; in an_array_with_a_constant_no_nullness_out_of_bounds() local 618 struct test_val *val; in an_array_with_a_constant_no_nullness_out_of_bounds() local [all …]
|
D | test_map_ops.c | 32 static u64 callback(u64 map, u64 key, u64 val, u64 ctx, u64 flags) in callback() 40 const int key = 0; in map_update() local 41 const int val = 1; in map_update() local 54 const int key = 0; in map_delete() local 67 const int val = 1; in map_push() local 80 int val; in map_pop() local 93 int val; in map_peek() local 106 const int key = 0; in map_for_each_pass() local 107 const int val = 1; in map_for_each_pass() local 124 const int key = 0; in map_for_each_fail() local [all …]
|
D | wq_failures.c | 31 static int wq_callback(void *map, int *key, void *value) in wq_callback() 38 static int wq_cb_sleepable(void *map, int *key, void *value) in wq_cb_sleepable() 55 struct elem *val; in __flag() local 56 int key = 0; in __flag() local 80 struct elem *val; in __flag() local 81 int key = 0; in __flag() local 104 int key = 0; in test_wrong_wq_pointer() local 130 int key = 0; in test_wrong_wq_pointer_offset() local
|
D | wq.c | 56 static int test_elem_callback(void *map, int *key, in test_elem_callback() 59 struct elem init = {}, *val; in test_elem_callback() local 89 static int test_hmap_elem_callback(void *map, int *key, in test_hmap_elem_callback() 92 struct hmap_elem init = {}, *val; in test_hmap_elem_callback() local 120 static int wq_callback(void *map, int *key, void *value) in wq_callback() 128 static int wq_cb_sleepable(void *map, int *key, void *value) in wq_cb_sleepable() 146 int key = 0; in test_call_array_sleepable() local 156 int key = 1; in test_syscall_array_sleepable() local 166 int key = 2; in test_call_hash_sleepable() local 176 int key = 3; in test_call_hash_malloc_sleepable() local [all …]
|
D | for_each_array_map_elem.c | 29 unused_subprog(struct bpf_map *map, __u32 *key, __u64 *val, in unused_subprog() 37 check_array_elem(struct bpf_map *map, __u32 *key, __u64 *val, in check_array_elem() 50 check_percpu_elem(struct bpf_map *map, __u32 *key, __u64 *val, in check_percpu_elem()
|
D | timer.c | 73 static int timer_cb1(void *map, int *key, struct bpf_timer *timer) in timer_cb1() 168 static int timer_cb2(void *map, int *key, struct hmap_elem *val) in timer_cb2() 230 struct hmap_elem *val; in bpf_timer_test() local 231 int key = HTAB, key_malloc = HTAB_MALLOC; in bpf_timer_test() local 253 struct hmap_elem init = {}, *val; in BPF_PROG2() local 254 int key = HTAB, key_malloc = HTAB_MALLOC; in BPF_PROG2() local 301 static int timer_cb3(void *map, int *key, struct bpf_timer *timer) in timer_cb3() 320 int key = 0; in BPF_PROG2() local 338 static int timer_cb_pinned(void *map, int *key, struct bpf_timer *timer) in timer_cb_pinned() 351 int key = 0; in test_pinned_timer() local
|
D | sock_destroy_prog.c | 31 int key = 0; in sock_connect() local 53 __u64 *val; in iter_tcp6_client() local 54 int key = 0; in iter_tcp6_client() local 109 __u64 sock_cookie = 0, *val; in iter_udp6_client() local 110 int key = 0; in iter_udp6_client() local
|
D | timer_mim.c | 41 static int timer_cb2(void *map, int *key, struct hmap_elem *val) in timer_cb2() 52 static int timer_cb1(void *map, int *key, struct hmap_elem *val) in timer_cb1() 69 struct hmap_elem *val; in BPF_PROG() local
|
/linux-6.14.4/include/linux/ |
D | btree-128.h | 24 u64 key[2] = {k1, k2}; in btree_lookup128() local 31 u64 key[2] = {*k1, *k2}; in btree_get_prev128() local 32 void *val; in btree_get_prev128() local 42 void *val, gfp_t gfp) in btree_insert128() 44 u64 key[2] = {k1, k2}; in btree_insert128() local 50 void *val) in btree_update128() 52 u64 key[2] = {k1, k2}; in btree_update128() local 59 u64 key[2] = {k1, k2}; in btree_remove128() local 65 u64 key[2]; in btree_last128() local 66 void *val; in btree_last128() local [all …]
|
D | btree.h | 216 #define btree_for_each_safel(head, key, val) \ argument 227 #define btree_for_each_safe32(head, key, val) \ argument 239 #define btree_for_each_safe64(head, key, val) \ argument
|
/linux-6.14.4/lib/ |
D | btree.c | 134 static void dec_key(struct btree_geo *geo, unsigned long *key) in dec_key() 136 unsigned long val; in dec_key() local 158 unsigned long *key) in setkey() 164 void *val) in setval() 207 unsigned long *key) in btree_last() 224 unsigned long *key) in keycmp() 229 static int keyzero(struct btree_geo *geo, unsigned long *key) in keyzero() 241 unsigned long *key) in btree_lookup_node() 263 unsigned long *key) in btree_lookup() 280 unsigned long *key, void *val) in btree_update() [all …]
|
/linux-6.14.4/tools/perf/util/ |
D | bpf_lock_contention.c | 26 static size_t slab_cache_hash(long key, void *ctx __maybe_unused) in slab_cache_hash() 66 long key, *prev_key; in run_slab_cache_iter() local 218 u8 val = 1; in lock_contention_prepare() local 230 u8 val = 1; in lock_contention_prepare() local 242 u8 val = 1; in lock_contention_prepare() local 249 u8 val = 1; in lock_contention_prepare() local 258 u8 val = 1; in lock_contention_prepare() local 267 u8 val = 1; in lock_contention_prepare() local 286 u8 val = 1; in lock_contention_prepare() local 288 long key, *prev_key; in lock_contention_prepare() local [all …]
|
/linux-6.14.4/drivers/power/supply/ |
D | test_power.c | 46 union power_supply_propval *val) in test_power_get_ac_property() 60 union power_supply_propval *val) in test_power_get_usb_property() 74 union power_supply_propval *val) in test_power_get_battery_property() 148 const union power_supply_propval *val) in test_power_set_battery_property() 253 union power_supply_propval *val) in test_power_battery_extget_property() 272 const union power_supply_propval *val) in test_power_battery_extset_property() 380 char const *key; member 423 static int map_get_value(struct battery_property_map *map, const char *key, in map_get_value() 465 static int param_set_ac_online(const char *key, const struct kernel_param *kp) in param_set_ac_online() 478 static int param_set_usb_online(const char *key, const struct kernel_param *kp) in param_set_usb_online() [all …]
|
/linux-6.14.4/tools/testing/selftests/bpf/prog_tests/ |
D | lookup_and_delete.c | 15 __u64 key, value = START_VALUE; in fill_values() local 29 __u64 key, value[nr_cpus]; in fill_values_percpu() local 78 static int trigger_tp(struct test_lookup_and_delete *skel, __u64 key, in trigger_tp() 101 __u64 key, value; in test_lookup_and_delete_hash() local 137 __u64 key, val, value[nr_cpus]; in test_lookup_and_delete_percpu_hash() local 177 __u64 key, value; in test_lookup_and_delete_lru_hash() local 223 __u64 key, val, value[nr_cpus]; in test_lookup_and_delete_lru_percpu_hash() local
|
D | for_each.c | 18 __u32 key, num_cpus; in test_hash_map() local 19 __u64 val; in test_hash_map() local 80 __u32 key, num_cpus, max_entries; in test_array_map() local 85 __u64 val, expected_total; in test_array_map() local 150 __u64 val, array_total, hash_total; in test_multi_maps() local 151 __u32 key, max_entries; in test_multi_maps() local
|
D | sockmap_helpers.h | 10 #define xbpf_map_delete_elem(fd, key) \ argument 18 #define xbpf_map_lookup_elem(fd, key, val) \ argument 26 #define xbpf_map_update_elem(fd, key, val, flags) \ argument 72 u32 key; in add_to_sockmap() local
|
/linux-6.14.4/drivers/net/ethernet/netronome/nfp/nfpcore/ |
D | nfp_mutex.c | 19 u32 key; member 32 static u32 nfp_mutex_owner(u32 val) in nfp_mutex_owner() 37 static bool nfp_mutex_is_locked(u32 val) in nfp_mutex_is_locked() 42 static bool nfp_mutex_is_unlocked(u32 val) in nfp_mutex_is_unlocked() 87 int target, unsigned long long address, u32 key) in nfp_cpp_mutex_init() 124 unsigned long long address, u32 key) in nfp_cpp_mutex_alloc() 222 u32 key, value; in nfp_cpp_mutex_unlock() local 268 u32 key, value, tmp; in nfp_cpp_mutex_trylock() local
|
/linux-6.14.4/arch/powerpc/boot/ |
D | planetcore.c | 38 const char *planetcore_get_key(const char *table, const char *key) in planetcore_get_key() 52 int planetcore_get_decimal(const char *table, const char *key, u64 *val) in planetcore_get_decimal() 62 int planetcore_get_hex(const char *table, const char *key, u64 *val) in planetcore_get_hex()
|
/linux-6.14.4/include/net/ |
D | arp.h | 15 u32 key = *(const u32 *)pkey; in arp_hashfn() local 16 u32 val = key ^ hash32_ptr(dev); in arp_hashfn() local 22 static inline struct neighbour *__ipv4_neigh_lookup_noref(struct net_device *dev, u32 key) in __ipv4_neigh_lookup_noref() 31 struct neighbour *__ipv4_neigh_lookup_noref(struct net_device *dev, u32 key) in __ipv4_neigh_lookup_noref() 37 static inline struct neighbour *__ipv4_neigh_lookup(struct net_device *dev, u32 key) in __ipv4_neigh_lookup() 50 static inline void __ipv4_confirm_neigh(struct net_device *dev, u32 key) in __ipv4_confirm_neigh()
|
/linux-6.14.4/samples/bpf/ |
D | tracex6.bpf.c | 31 u32 key = bpf_get_smp_processor_id(); in bpf_prog1() local 32 u64 count, *val; in bpf_prog1() local 58 u32 key = bpf_get_smp_processor_id(); in BPF_KPROBE() local 59 struct bpf_perf_event_value *val, buf; in BPF_KPROBE() local
|
/linux-6.14.4/drivers/acpi/x86/ |
D | apple.c | 69 union acpi_object *key = &props->package.elements[i * 2]; in acpi_extract_apple_properties() local 70 union acpi_object *val = &props->package.elements[i * 2 + 1]; in acpi_extract_apple_properties() local 107 union acpi_object *key = &props->package.elements[i * 2]; in acpi_extract_apple_properties() local 108 union acpi_object *val = &props->package.elements[i * 2 + 1]; in acpi_extract_apple_properties() local
|
/linux-6.14.4/kernel/ |
D | jump_label.c | 104 int static_key_count(struct static_key *key) in static_key_count() 127 bool static_key_fast_inc_not_disabled(struct static_key *key) in static_key_fast_inc_not_disabled() 151 bool static_key_slow_inc_cpuslocked(struct static_key *key) in static_key_slow_inc_cpuslocked() 186 bool static_key_slow_inc(struct static_key *key) in static_key_slow_inc() 197 void static_key_enable_cpuslocked(struct static_key *key) in static_key_enable_cpuslocked() 220 void static_key_enable(struct static_key *key) in static_key_enable() 228 void static_key_disable_cpuslocked(struct static_key *key) in static_key_disable_cpuslocked() 245 void static_key_disable(struct static_key *key) in static_key_disable() 253 static bool static_key_dec_not_one(struct static_key *key) in static_key_dec_not_one() 292 static void __static_key_slow_dec_cpuslocked(struct static_key *key) in __static_key_slow_dec_cpuslocked() [all …]
|
/linux-6.14.4/drivers/crypto/intel/qat/qat_common/ |
D | adf_gen4_config.c | 16 char key[ADF_CFG_MAX_KEY_LEN_IN_BYTES]; in adf_crypto_dev_config() local 19 unsigned long bank, val; in adf_crypto_dev_config() local 122 char key[ADF_CFG_MAX_KEY_LEN_IN_BYTES]; in adf_comp_dev_config() local 125 unsigned long val; in adf_comp_dev_config() local 192 unsigned long val; in adf_no_dev_config() local
|
D | adf_gen2_config.c | 15 char key[ADF_CFG_MAX_KEY_LEN_IN_BYTES]; in adf_gen2_crypto_dev_config() local 18 unsigned long val; in adf_gen2_crypto_dev_config() local 114 char key[ADF_CFG_MAX_KEY_LEN_IN_BYTES]; in adf_gen2_comp_dev_config() local 117 unsigned long val; in adf_gen2_comp_dev_config() local
|
/linux-6.14.4/net/mac80211/ |
D | michael.c | 13 static void michael_block(struct michael_mic_ctx *mctx, u32 val) in michael_block() 27 static void michael_mic_hdr(struct michael_mic_ctx *mctx, const u8 *key, in michael_mic_hdr() 53 void michael_mic(const u8 *key, struct ieee80211_hdr *hdr, in michael_mic() 56 u32 val; in michael_mic() local
|