Searched refs:key_cpu (Results 1 – 1 of 1) sorted by relevance
507 u32 key_cpu, struct bpf_cpu_map_entry *rcpu) in __cpu_map_entry_replace() argument511 old_rcpu = unrcu_pointer(xchg(&cmap->cpu_map[key_cpu], RCU_INITIALIZER(rcpu))); in __cpu_map_entry_replace()521 u32 key_cpu = *(u32 *)key; in cpu_map_delete_elem() local523 if (key_cpu >= map->max_entries) in cpu_map_delete_elem()527 __cpu_map_entry_replace(cmap, key_cpu, NULL); in cpu_map_delete_elem()538 u32 key_cpu = *(u32 *)key; in cpu_map_update_elem() local544 if (unlikely(key_cpu >= cmap->map.max_entries)) in cpu_map_update_elem()552 if (key_cpu >= nr_cpumask_bits || !cpu_possible(key_cpu)) in cpu_map_update_elem()559 rcpu = __cpu_map_entry_alloc(map, &cpumap_value, key_cpu); in cpu_map_update_elem()564 __cpu_map_entry_replace(cmap, key_cpu, rcpu); in cpu_map_update_elem()