Lines Matching refs:old_bucket
350 struct stack_map_bucket *bucket, *new_bucket, *old_bucket; in BPF_CALL_3() local
430 old_bucket = xchg(&smap->buckets[id], new_bucket); in BPF_CALL_3()
431 if (old_bucket) in BPF_CALL_3()
432 pcpu_freelist_push(&smap->freelist, &old_bucket->fnode); in BPF_CALL_3()
522 struct stack_map_bucket *bucket, *old_bucket; in bpf_stackmap_copy() local
536 old_bucket = xchg(&smap->buckets[id], bucket); in bpf_stackmap_copy()
537 if (old_bucket) in bpf_stackmap_copy()
538 pcpu_freelist_push(&smap->freelist, &old_bucket->fnode); in bpf_stackmap_copy()
581 struct stack_map_bucket *old_bucket; in stack_map_delete_elem() local
587 old_bucket = xchg(&smap->buckets[id], NULL); in stack_map_delete_elem()
588 if (old_bucket) { in stack_map_delete_elem()
589 pcpu_freelist_push(&smap->freelist, &old_bucket->fnode); in stack_map_delete_elem()