Lines Matching +full:pre +full:- +full:programs
1 .. SPDX-License-Identifier: GPL-2.0-only
9 - ``BPF_MAP_TYPE_HASH`` was introduced in kernel version 3.19
10 - ``BPF_MAP_TYPE_PERCPU_HASH`` was introduced in version 4.6
11 - Both ``BPF_MAP_TYPE_LRU_HASH`` and ``BPF_MAP_TYPE_LRU_PERCPU_HASH``
19 to the max_entries limit that you specify. Hash maps use pre-allocation
21 used to disable pre-allocation when it is too memory expensive.
24 CPU. The per-cpu values are stored internally in an array.
44 - ``BPF_ANY`` will create a new element or update an existing element
45 - ``BPF_NOEXIST`` will create a new element only if one did not already
47 - ``BPF_EXIST`` will update an existing element
67 --------------
82 -----------
85 programs running on different CPUs. Since Kernel version 5.1, the BPF
90 ---------
99 current key. ``bpf_map_get_next_key()`` returns 0 on success, -ENOENT if
117 .. code-block:: c
141 .. code-block:: c
151 __sync_fetch_and_add(&value->packets, 1);
152 __sync_fetch_and_add(&value->bytes, bytes);
162 .. code-block:: c