Home
last modified time | relevance | path

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

/openbmc/linux/kernel/bpf/
H A Dcpumap.c502 u32 key_cpu, struct bpf_cpu_map_entry *rcpu) in __cpu_map_entry_replace() argument
506 old_rcpu = unrcu_pointer(xchg(&cmap->cpu_map[key_cpu], RCU_INITIALIZER(rcpu))); in __cpu_map_entry_replace()
516 u32 key_cpu = *(u32 *)key; in cpu_map_delete_elem() local
518 if (key_cpu >= map->max_entries) in cpu_map_delete_elem()
522 __cpu_map_entry_replace(cmap, key_cpu, NULL); in cpu_map_delete_elem()
533 u32 key_cpu = *(u32 *)key; in cpu_map_update_elem() local
539 if (unlikely(key_cpu >= cmap->map.max_entries)) in cpu_map_update_elem()
547 if (key_cpu >= nr_cpumask_bits || !cpu_possible(key_cpu)) in cpu_map_update_elem()
554 rcpu = __cpu_map_entry_alloc(map, &cpumap_value, key_cpu); in cpu_map_update_elem()
559 __cpu_map_entry_replace(cmap, key_cpu, rcpu); in cpu_map_update_elem()