hc
2024-05-13 9d77db3c730780c8ef5ccd4b66403ff5675cfe4e
kernel/kernel/bpf/map_in_map.h
....@@ -1,8 +1,5 @@
1
+/* SPDX-License-Identifier: GPL-2.0-only */
12 /* 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.
63 */
74 #ifndef __MAP_IN_MAP_H__
85 #define __MAP_IN_MAP_H__
....@@ -14,8 +11,6 @@
1411
1512 struct bpf_map *bpf_map_meta_alloc(int inner_map_ufd);
1613 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);
1914 void *bpf_map_fd_get_ptr(struct bpf_map *map, struct file *map_file,
2015 int ufd);
2116 void bpf_map_fd_put_ptr(void *ptr);