Lines Matching refs:new_bucket
343 struct stack_map_bucket *bucket, *new_bucket, *old_bucket; in BPF_CALL_3() local
388 new_bucket = (struct stack_map_bucket *) in BPF_CALL_3()
390 if (unlikely(!new_bucket)) in BPF_CALL_3()
392 new_bucket->nr = trace_nr; in BPF_CALL_3()
394 (struct bpf_stack_build_id *)new_bucket->data, in BPF_CALL_3()
398 memcmp(bucket->data, new_bucket->data, trace_len) == 0) { in BPF_CALL_3()
399 pcpu_freelist_push(&smap->freelist, &new_bucket->fnode); in BPF_CALL_3()
403 pcpu_freelist_push(&smap->freelist, &new_bucket->fnode); in BPF_CALL_3()
413 new_bucket = (struct stack_map_bucket *) in BPF_CALL_3()
415 if (unlikely(!new_bucket)) in BPF_CALL_3()
417 memcpy(new_bucket->data, ips, trace_len); in BPF_CALL_3()
420 new_bucket->hash = hash; in BPF_CALL_3()
421 new_bucket->nr = trace_nr; in BPF_CALL_3()
423 old_bucket = xchg(&smap->buckets[id], new_bucket); in BPF_CALL_3()