Lines Matching +full:count +full:- +full:up
1 /* SPDX-License-Identifier: (LGPL-2.1 OR BSD-2-Clause) */
6 * Copyright (C) 2013-2015 Alexei Starovoitov <ast@kernel.org>
75 * -EAGAIN. This field determines how many attempts libbpf has to
182 * @param keys pointer to an array of *count* keys
183 * @param count input and output parameter; on input **count** represents the
185 * on output if a non-EFAULT error is returned, **count** represents the number of deleted
186 * elements if the output **count** value is not equal to the input **count** value
187 * If EFAULT is returned, **count** should not be trusted to be correct.
193 __u32 *count,
209 * hold *count* items based on the key and value size of the map *map_fd*. The *keys*
210 * buffer must be of *key_size* * *count*. The *values* buffer must be of
211 * *value_size* * *count*.
217 * @param keys pointer to an array large enough for *count* keys
218 * @param values pointer to an array large enough for *count* values
219 * @param count input and output parameter; on input it's the number of elements
222 * If a non-EFAULT error is returned, count will be set as the number of elements
224 * If EFAULT is returned, **count** should not be trusted to be correct.
230 void *keys, void *values, __u32 *count,
244 * @param keys pointer to an array of *count* keys
245 * @param values pointer to an array large enough for *count* values
246 * @param count input and output parameter; on input it's the number of elements
249 * If a non-**EFAULT** error code is returned and if the output **count** value
250 * is not equal to the input **count** value, up to **count** elements may
252 * if **EFAULT** is returned up to *count* elements may have been deleted without
260 void *values, __u32 *count,
268 * to hold *count* items based on the key and value size of the map.
275 * Note that *count* is an input and output parameter, where on output it
277 * **EFAULT** then *count* should not be trusted to be correct.
289 * Update spin_lock-ed map elements. This must be
293 * @param keys pointer to an array of *count* keys
294 * @param values pointer to an array of *count* values
295 * @param count input and output parameter; on input it's the number of elements
296 * in the map to update in batch; on output if a non-EFAULT error is returned,
297 * **count** represents the number of updated elements if the output **count**
298 * value is not equal to the input **count** value.
299 * If EFAULT is returned, **count** should not be trusted to be correct.
305 __u32 *count,
398 union bpf_iter_link_info; /* defined in up-to-date linux/bpf.h */
521 * Populates up to *info_len* bytes of *info* and updates *info_len* with the
523 * zero-initialized or initialized as expected by the requested *info*
524 * type. Failing to (zero-)initialize *info* under certain circumstances can
541 * Populates up to *info_len* bytes of *info* and updates *info_len* with the
543 * zero-initialized or initialized as expected by the requested *info*
544 * type. Failing to (zero-)initialize *info* under certain circumstances can
561 * Populates up to *info_len* bytes of *info* and updates *info_len* with the
563 * zero-initialized or initialized as expected by the requested *info*
564 * type. Failing to (zero-)initialize *info* under certain circumstances can
581 * Populates up to *info_len* bytes of *info* and updates *info_len* with the
583 * zero-initialized or initialized as expected by the requested *info*
584 * type. Failing to (zero-)initialize *info* under certain circumstances can
605 __u32 count;
647 /* forward-declaring enums in C++ isn't compatible with pure C enums, so
652 enum bpf_stats_type; /* defined in up-to-date linux/bpf.h */