Lines Matching +full:enabled +full:- +full:strings
1 /* SPDX-License-Identifier: (LGPL-2.1 OR BSD-2-Clause) */
48 * On error, error-code-encoded-as-pointer is returned, not a NULL. To extract
50 * `libbpf_set_strict_mode(LIBBPF_STRICT_CLEAN_PTRS)` is enabled, NULL is
51 * returned on error instead. In both cases thread-local `errno` variable is
68 * creates non-split BTF.
70 * On error, error-code-encoded-as-pointer is returned, not a NULL. To extract
72 * `libbpf_set_strict_mode(LIBBPF_STRICT_CLEAN_PTRS)` is enabled, NULL is
73 * returned on error instead. In both cases thread-local `errno` variable is
84 * On error, error-code-encoded-as-pointer is returned, not a NULL. To extract
86 * `libbpf_set_strict_mode(LIBBPF_STRICT_CLEAN_PTRS)` is enabled, NULL is
87 * returned on error instead. In both cases thread-local `errno` variable is
100 * `btf__new_empty()` and creates non-split BTF.
102 * On error, error-code-encoded-as-pointer is returned, not a NULL. To extract
104 * `libbpf_set_strict_mode(LIBBPF_STRICT_CLEAN_PTRS)` is enabled, NULL is
105 * returned on error instead. In both cases thread-local `errno` variable is
155 * @param btf BTF object which all the BTF types and strings are added to
156 * @param src_btf BTF object which all BTF types and referenced strings are copied from
162 * Only strings referenced from BTF types are copied over and deduplicated, so
163 * if there were some unused strings in *src_btf*, those won't be copied over,
169 * semantics and the operation as a whole is all-or-nothing.
171 * *src_btf* has to be non-split BTF, as of now copying types from split BTF
172 * is not supported and will result in -ENOTSUP error code returned.
256 * - struct my_struct <FNAME>
257 * - void (*<FNAME>)(int)
258 * - char (*<FNAME>)[123]
261 /* extra indentation level (in number of tabs) to emit for multi-line
286 bool emit_zeroes; /* show 0-valued fields */
318 #define BTF_KIND_ENUM64 19 /* Enum for up-to 64bit values */
322 return BTF_INFO_KIND(t->info); in btf_kind()
327 return BTF_INFO_VLEN(t->info); in btf_vlen()
332 return BTF_INFO_KFLAG(t->info); in btf_kflag()
499 * bleeding-edge. Here we are avoiding relying on struct btf_enum64 in btf_enum64_value()
501 * of system-wide kernel headers. in btf_enum64_value()
506 * a three-element array of u32 and access second (lo32) and third in btf_enum64_value()
534 return kflag ? BTF_MEMBER_BIT_OFFSET(m->offset) : m->offset; in btf_member_bit_offset()
546 return kflag ? BTF_MEMBER_BITFIELD_SIZE(m->offset) : 0; in btf_member_bitfield_size()