aboutsummaryrefslogtreecommitdiffstats
path: root/kernel/bpf/map_in_map.h
blob: bcb7534afb3c0d073222a20bc7d38538e986ee27 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
/* SPDX-License-Identifier: GPL-2.0-only */
/* Copyright (c) 2017 Facebook
 */
#ifndef __MAP_IN_MAP_H__
#define __MAP_IN_MAP_H__

#include <linux/types.h>

struct file;
struct bpf_map;

struct bpf_map *bpf_map_meta_alloc(int inner_map_ufd);
void bpf_map_meta_free(struct bpf_map *map_meta);
void *bpf_map_fd_get_ptr(struct bpf_map *map, struct file *map_file,
			 int ufd);
void bpf_map_fd_put_ptr(void *ptr);
u32 bpf_map_fd_sys_lookup_elem(void *ptr);

#endif
td>pnfs: write: Set mds_offset in the generic layer - it is needed by all LDsBoaz Harrosh2-1/+2 2011-06-27Linux 3.0-rc5v3.0-rc5Linus Torvalds1-1/+1 2011-06-27drm/i915: more struct_mutex lockingHugh Dickins2-2/+6 2011-06-27drm/i915: use shmem_truncate_rangeHugh Dickins1-5/+2 2011-06-27drm/i915: use shmem_read_mapping_pageHugh Dickins2-17/+15 2011-06-27drm/ttm: use shmem_read_mapping_pageHugh Dickins1-2/+3 2011-06-27drivers/tty/serial/8250_pci.c: fix warningAndrew Morton1-1/+1 2011-06-27drivers/misc/ioc4.c: fix section mismatch / race conditionRalf Baechle1-1/+1 2011-06-27drivers/leds/leds-lp5523.c: fix section mismatchesRalf Baechle1-2/+2 2011-06-27drivers/leds/leds-lp5521.c: fix section mismatchesRalf Baechle1-2/+2 2011-06-27memcg: fix direct softlimit reclaim to be called in limit pathKAMEZAWA Hiroyuki1-12/+15 2011-06-27taskstats: don't allow duplicate entries in listener modeVasiliy Kulikov1-3/+12 2011-06-27mm: fix assertion mapping->nrpages == 0 in end_writeback()Jan Kara3-0/+13 2011-06-27mm/memory-failure.c: fix spinlock vs mutex orderPeter Zijlstra2-18/+8 2011-06-27drivers/misc/lkdtm.c: fix race when crashpoint is hit multiple times before c...Josh Hunt1-0/+8 2011-06-27include/linux/compat.h: declare compat_sys_sendmmsg()Chris Metcalf1-0/+2 2011-06-27romfs: fix romfs_get_unmapped_area() argument checkBob Liu1-2/+6