Lines Matching refs:old_bucket
343 struct stack_map_bucket *bucket, *new_bucket, *old_bucket; in BPF_CALL_3() local
423 old_bucket = xchg(&smap->buckets[id], new_bucket); in BPF_CALL_3()
424 if (old_bucket) in BPF_CALL_3()
425 pcpu_freelist_push(&smap->freelist, &old_bucket->fnode); in BPF_CALL_3()
515 struct stack_map_bucket *bucket, *old_bucket; in bpf_stackmap_copy() local
529 old_bucket = xchg(&smap->buckets[id], bucket); in bpf_stackmap_copy()
530 if (old_bucket) in bpf_stackmap_copy()
531 pcpu_freelist_push(&smap->freelist, &old_bucket->fnode); in bpf_stackmap_copy()
574 struct stack_map_bucket *old_bucket; in stack_map_delete_elem() local
580 old_bucket = xchg(&smap->buckets[id], NULL); in stack_map_delete_elem()
581 if (old_bucket) { in stack_map_delete_elem()
582 pcpu_freelist_push(&smap->freelist, &old_bucket->fnode); in stack_map_delete_elem()