Lines Matching defs:value

156  *			Look up the value of a spin-locked map without
166 * Create or update an element (key/value pair) in a specified map.
560 * Look up and delete the value of a spin-locked map
624 * and value size of the map *map_fd*. The *keys* buffer must be
632 * Look up the value of a spin-locked map without
675 * and value size of the map *map_fd*. The *keys* buffer must be
680 * value in the corresponding index in *values*. The *in_batch*
694 * specified if the map value contains a spinlock.
736 * Look up the value of a spin-locked map without
1241 * insn[1].imm: offset into value
1379 __u32 value_size; /* size of value in bytes */
1392 __u32 btf_value_type_id; /* BTF type_id of the value */
1395 * map value
1410 __aligned_u64 value;
1424 * input: # of key/value
1621 /* black box user-provided value passed through
1637 /* black box user-provided value passed through
1738 * Map value associated to *key*, or **NULL** if no entry was
1741 * long bpf_map_update_elem(struct bpf_map *map, const void *key, const void *value, u64 flags)
1743 * Add or update the value of the entry associated to *key* in
1744 * *map* with *value*. *flags* is one of:
1753 * Flag value **BPF_NOEXIST** cannot be used for maps of types
1818 * * ``0x00000001`` is a fake value used by BPF for the
1852 * A random 32-bit unsigned value.
1884 * must know the former value of the header field that was
1885 * modified (*from*), the new value of this field (*to*), and the
1909 * helper must know the former value of the header field that was
1910 * modified (*from*), the new value of this field (*to*), and the
1920 * for updates resulting in a null checksum the value is set to
1973 * value in *flags* is used to make the distinction (ingress path
2168 * Read the value of a perf event counter. This helper relies on a
2172 * is the number of available CPUs, and each cell contains a value
2173 * relative to one CPU. The value to retrieve is indicated by
2176 * **BPF_F_CURRENT_CPU** to indicate that the value for the
2185 * quirks where error and counter value are used as a return code
2192 * The value of the perf event counter read from the map, or a
2203 * for redirection. The **BPF_F_INGRESS** value in *flags* is used
2251 * the value must be put, masked with **BPF_F_INDEX_MASK**.
2256 * The value to write, of *size*, is passed through eBPF stack and
2341 * # sysctl kernel.perf_event_max_stack=<new value>
2351 * (same remark). An optional *seed* can be added to the value
2460 * The return value depends on the result of the test, and can be:
2513 * The return value depends on the result of the test, and can be:
2547 * from *skb* readable and writable. If a zero value is passed for
2637 * it is possible to use a negative value for *delta*. This helper
2660 * value.
2703 * time-wait or a request socket instead), **overflowuid** value
2705 * UID value for the socket).
2710 * to value *hash*.
2720 * The option value of length *optlen* is pointed by *optval*.
2817 * the map lookup fails. This is so that the return value can be
2829 * **XDP_REDIRECT** on success, or the value of the two lower bits
2837 * **BPF_F_INGRESS** value in *flags* is used to make the
2846 * *skops* is used as a new value for the entry associated to
2893 * Read the value of a perf event counter, and store it into *buf*
2898 * available CPUs, and each cell contains a value relative to one
2899 * CPU. The value to retrieve is indicated by *flags*, that
2902 * **BPF_F_CURRENT_CPU** to indicate that the value for the
2907 * just returning the value observed, it fills the *buf*
2920 * multiplexing happens, the number of samples or counter value
2923 * Typically, the counter value should be normalized before
2937 * value and do the calculation inside the eBPF program.
2944 * value of the event counter associated to *ctx* and store it in
2958 * The retrieved value is stored in the structure pointed by
2978 * the return value of the probed function, and to set it to *rc*.
2986 * value.
3002 * Attempt to set the value of the **bpf_sock_ops_cb_flags** field
3009 * code. A program of the same type can change its value, per
3052 * **BPF_F_INGRESS** value in *flags* is used to make the
3087 * a non-zero value, this is not a problem because data is not
3178 * The retrieved value is stored in the **struct bpf_xfrm_state**
3227 * # sysctl kernel.perf_event_max_stack=<new value>
3305 * The *skops* is used as a new value for the entry associated to
3329 * **BPF_F_INGRESS** value in *flags* is used to make the
3343 * **BPF_F_INGRESS** value in *flags* is used to make the
3469 * *toggle* value in the given *protocol*. The scancode will be
3548 * associated with *skb*, then return value will be same as that
3563 * network namespace *netns*. The return value must be checked,
3581 * If *netns* is any other signed 32-bit value greater than or
3600 * network namespace *netns*. The return value must be checked,
3618 * If *netns* is any other signed 32-bit value greater than or
3642 * long bpf_map_push_elem(struct bpf_map *map, const void *value, u64 flags)
3644 * Push an element *value* in *map*. *flags* is one of:
3652 * long bpf_map_pop_elem(struct bpf_map *map, void *value)
3658 * long bpf_map_peek_elem(struct bpf_map *map, void *value)
3688 * payload and/or *pop* value being to large.
3709 * stored as part of a value of a map. Taking the lock allows to
3710 * safely update the rest of the fields in that value. The
3735 * of the map value must be a struct and have **struct
3738 * * The **struct bpf_spin_lock** *lock* field in a map value must
3739 * be aligned on a multiple of 4 bytes in that value.
3780 * to **CE** (Congestion Encountered) if current value is **ECT**
3798 * network namespace *netns*. The return value must be checked,
3848 * Get current value of sysctl as it is presented in /proc/sys
3852 * The whole value is copied, no matter what file position user
3862 * **-EINVAL** if current value was unavailable, e.g. because
3867 * Get new value being written by user space to sysctl (before
3871 * User space may write new value at file position > 0.
3884 * Override new value being written by user space to sysctl with
3885 * value provided by program in buffer *buf* of size *buf_len*.
3890 * User space may write new value at file position > 0. To override
3891 * the whole sysctl value file position should be set to zero.
3921 * **-ERANGE** if resulting value was out of range.
3944 * **-ERANGE** if resulting value was out of range.
3946 * void *bpf_sk_storage_get(struct bpf_map *map, void *sk, void *value, u64 flags)
3950 * Logically, it could be thought of getting the value from
3957 * Underneath, the value is stored locally at *sk* instead of
3967 * created if one does not exist. *value* can be used
3969 * the initial value of a bpf-local-storage. If *value* is
4015 * followed by 16 bits which hold the MSS value for that cookie,
4018 * On failure, the returned value is one of the following:
4037 * the value must be put, masked with **BPF_F_INDEX_MASK**.
4042 * The value to write, of *size*, is passed through eBPF stack and
4103 * **->mm->env_start**: using this helper and the return value,
4108 * value.
4116 * the trailing NUL character. On error, a negative value.
4153 * negative value.
4185 * the value must be put, masked with **BPF_F_INDEX_MASK**.
4190 * The value to write, of *size*, is passed through eBPF stack and
4219 * associated with the current task, then return value will be the
4376 * associated with *sk*, then return value will be same as that
4456 * Requested value, or 0, if *flags* are not recognized.
4550 * # sysctl kernel.perf_event_max_stack=<new value>
4599 * The return value is the total length copied. On failure, a
4628 * and setting the 4 bytes aligned value to th->doff.
4673 * void *bpf_inode_storage_get(struct bpf_map *map, void *inode, void *value, u64 flags)
4677 * Logically, it could be thought of as getting the value from
4684 * Underneath, the value is stored locally at *inode* instead of
4691 * created if one does not exist. *value* can be used
4693 * the initial value of a bpf_local_storage. If *value* is
4719 * value.
4731 * using *ptr*->type_id. This value should specify the type
4814 * bpf_per_cpu_ptr() must check the returned value.
4847 * void *bpf_task_storage_get(struct bpf_map *map, struct task_struct *task, void *value, u64 flags)
4851 * Logically, it could be thought of as getting the value from
4858 * Underneath, the value is stored locally at *task* instead of
4865 * created if one does not exist. *value* can be used
4867 * the initial value of a bpf_local_storage. If *value* is
4949 * reject BPF program. If the value *mtu_len* is initialized to
4950 * zero then the ctx packet size is use. When value *mtu_len* is
4953 * this value is L3 as this correlate to MTU and IP-header tot_len
4978 * On return *mtu_len* pointer contains the MTU value of the net
4982 * MTU value in your BPF-code.
4985 * * 0 on success, and populate MTU value in *mtu_len* pointer.
4990 * value in *mtu_len* pointer, as this can be needed for
5012 * long (\*callback_fn)(struct bpf_map \*map, const void \*key, void \*value, void \*ctx);
5014 * For per_cpu maps, the map_value is the value on the cpu where the
5018 * element. If return value is 1, the helper will skip the rest of
5047 * the trailing zero character. If the return value is greater than
5117 * different maps if key/value layout matches across maps.
5123 * Start the timer in absolute expire value instead of the
5157 * Get bpf_cookie value provided (optionally) during the program
5191 * negative value.
5218 * On success, zero. On error, a negative value.
5263 * loop. If return value is 1, the helper will skip the rest of
5281 * long bpf_get_func_arg(void *ctx, u32 n, u64 *value)
5284 * returned in **value**.
5290 * long bpf_get_func_ret(void *ctx, u64 *value)
5292 * Get return value of the traced function (for tracing programs)
5293 * in **value**.
5309 * Get the BPF program's return value that will be returned to the upper layers.
5312 * where BPF program's return value is returned to the userspace via errno.
5314 * The BPF program's return value.
5318 * Set the BPF program's return value that will be returned to the upper layers.
5321 * where BPF program's return value is returned to the userspace via errno.
5329 * In this case, the BPF program's return value will use helper's -EPERM. This
5373 * the tstamp value can be directly written to __sk_buff->tstamp
5410 * old value. *ptr* can be NULL, otherwise it must be a referenced
5413 * The old value of kptr (which can be NULL). The returned pointer
5423 * Map value associated to *key* on *cpu*, or **NULL** if no entry
5436 * *data* must be a ptr to a map value.
5510 * *len* must be a statically known value. The returned data slice
5533 * followed by 16 bits which hold the MSS value for that cookie,
5536 * On failure, the returned value is one of the following:
5553 * followed by 16 bits which hold the MSS value for that cookie,
5556 * On failure, the returned value is one of the following:
5573 * On failure, the returned value is one of the following:
5588 * On failure, the returned value is one of the following:
5614 * BPF_MAX_USER_RINGBUF_SAMPLES samples. If the return value is 1,
5629 * On failure, the returned value is one of the following:
5643 * void *bpf_cgrp_storage_get(struct bpf_map *map, struct cgroup *cgroup, void *value, u64 flags)
5647 * Logically, it could be thought of as getting the value from
5654 * In reality, the local-storage value is embedded directly inside of the
5656 * **BPF_MAP_TYPE_CGRP_STORAGE** map. When the local-storage value is
5659 * *cgroup* object until the local-storage value for the *map* is found.
5663 * created if one does not exist. *value* can be used
5665 * the initial value of a bpf_local_storage. If *value* is
5897 * know or care about integer value that is now passed as second argument
5899 #define __BPF_FUNC_MAPPER_APPLY(name, value, FN) FN(name),
5902 /* integer value in 'imm' field of BPF_CALL instruction selects which helper
6340 /* DEVMAP map-value layout
6342 * The struct data-layout of map-value is a configuration interface.
6353 /* CPUMAP map-value layout
6355 * The struct data-layout of map-value is a configuration interface.
6770 BPF_SOCK_OPS_TIMEOUT_INIT, /* Should return SYN-RTO value to use or
6771 * -1 if default value should be used
6775 * value should be used
6791 BPF_SOCK_OPS_BASE_RTT, /* Get base RTT. The correct value is
6799 * Arg1: value of icsk_retransmits
6800 * Arg2: value of icsk_rto
6806 * Arg3: return value of
6945 /* args[0] value during BPF_SOCK_OPS_HDR_OPT_LEN_CB and
7028 /* output: MTU value */
7261 /* bpf_core_relo_kind encodes which aspect of captured field/type/enum value
7276 BPF_CORE_ENUMVAL_EXISTS = 10, /* enum value existence in target kernel */
7277 BPF_CORE_ENUMVAL_VALUE = 11, /* enum value integer value */
7297 * - for enum value-based relocations, string contains an index of enum
7298 * value within its enum type;