Lines Matching refs:new_bucket
350 struct stack_map_bucket *bucket, *new_bucket, *old_bucket; in BPF_CALL_3() local
395 new_bucket = (struct stack_map_bucket *) in BPF_CALL_3()
397 if (unlikely(!new_bucket)) in BPF_CALL_3()
399 new_bucket->nr = trace_nr; in BPF_CALL_3()
401 (struct bpf_stack_build_id *)new_bucket->data, in BPF_CALL_3()
405 memcmp(bucket->data, new_bucket->data, trace_len) == 0) { in BPF_CALL_3()
406 pcpu_freelist_push(&smap->freelist, &new_bucket->fnode); in BPF_CALL_3()
410 pcpu_freelist_push(&smap->freelist, &new_bucket->fnode); in BPF_CALL_3()
420 new_bucket = (struct stack_map_bucket *) in BPF_CALL_3()
422 if (unlikely(!new_bucket)) in BPF_CALL_3()
424 memcpy(new_bucket->data, ips, trace_len); in BPF_CALL_3()
427 new_bucket->hash = hash; in BPF_CALL_3()
428 new_bucket->nr = trace_nr; in BPF_CALL_3()
430 old_bucket = xchg(&smap->buckets[id], new_bucket); in BPF_CALL_3()