Contributors: 3
Author |
Tokens |
Token Proportion |
Commits |
Commit Proportion |
Martin KaFai Lau |
120 |
96.00% |
1 |
33.33% |
Kui-Feng Lee |
4 |
3.20% |
1 |
33.33% |
Song Liu |
1 |
0.80% |
1 |
33.33% |
Total |
125 |
|
3 |
|
// SPDX-License-Identifier: GPL-2.0
/* Copyright (c) 2024 Meta Platforms, Inc. and affiliates. */
#include <vmlinux.h>
#include <bpf/bpf_helpers.h>
#include "uptr_test_common.h"
struct {
__uint(type, BPF_MAP_TYPE_TASK_STORAGE);
__uint(map_flags, BPF_F_NO_PREALLOC);
__type(key, int);
__type(value, struct large_uptr);
} large_uptr_map SEC(".maps");
struct {
__uint(type, BPF_MAP_TYPE_TASK_STORAGE);
__uint(map_flags, BPF_F_NO_PREALLOC);
__type(key, int);
__type(value, struct empty_uptr);
} empty_uptr_map SEC(".maps");
struct {
__uint(type, BPF_MAP_TYPE_TASK_STORAGE);
__uint(map_flags, BPF_F_NO_PREALLOC);
__type(key, int);
__type(value, struct kstruct_uptr);
} kstruct_uptr_map SEC(".maps");