| .. | .. |
|---|
| 1 | +/* SPDX-License-Identifier: GPL-2.0-only */ |
|---|
| 1 | 2 | /* Copyright (c) 2017 Facebook |
|---|
| 2 | | - * |
|---|
| 3 | | - * This program is free software; you can redistribute it and/or |
|---|
| 4 | | - * modify it under the terms of version 2 of the GNU General Public |
|---|
| 5 | | - * License as published by the Free Software Foundation. |
|---|
| 6 | 3 | */ |
|---|
| 7 | 4 | #ifndef __MAP_IN_MAP_H__ |
|---|
| 8 | 5 | #define __MAP_IN_MAP_H__ |
|---|
| .. | .. |
|---|
| 14 | 11 | |
|---|
| 15 | 12 | struct bpf_map *bpf_map_meta_alloc(int inner_map_ufd); |
|---|
| 16 | 13 | void bpf_map_meta_free(struct bpf_map *map_meta); |
|---|
| 17 | | -bool bpf_map_meta_equal(const struct bpf_map *meta0, |
|---|
| 18 | | - const struct bpf_map *meta1); |
|---|
| 19 | 14 | void *bpf_map_fd_get_ptr(struct bpf_map *map, struct file *map_file, |
|---|
| 20 | 15 | int ufd); |
|---|
| 21 | 16 | void bpf_map_fd_put_ptr(void *ptr); |
|---|