Lines Matching refs:new_bucket
217 struct stack_map_bucket *bucket, *new_bucket, *old_bucket; in __bpf_get_stackid() local
242 new_bucket = (struct stack_map_bucket *) in __bpf_get_stackid()
244 if (unlikely(!new_bucket)) in __bpf_get_stackid()
246 new_bucket->nr = trace_nr; in __bpf_get_stackid()
248 (struct bpf_stack_build_id *)new_bucket->data, in __bpf_get_stackid()
252 memcmp(bucket->data, new_bucket->data, trace_len) == 0) { in __bpf_get_stackid()
253 pcpu_freelist_push(&smap->freelist, &new_bucket->fnode); in __bpf_get_stackid()
257 pcpu_freelist_push(&smap->freelist, &new_bucket->fnode); in __bpf_get_stackid()
267 new_bucket = (struct stack_map_bucket *) in __bpf_get_stackid()
269 if (unlikely(!new_bucket)) in __bpf_get_stackid()
271 memcpy(new_bucket->data, ips, trace_len); in __bpf_get_stackid()
274 new_bucket->hash = hash; in __bpf_get_stackid()
275 new_bucket->nr = trace_nr; in __bpf_get_stackid()
277 old_bucket = xchg(&smap->buckets[id], new_bucket); in __bpf_get_stackid()