Home
last modified time | relevance | path

Searched refs:enums (Results 1 – 19 of 19) sorted by relevance

/linux/tools/bpf/bpftool/
H A Dbtf_dumper.c151 const struct btf_enum *enums = btf_enum(t); in btf_dumper_enum() local
173 if (value == enums[i].val) { in btf_dumper_enum()
176 enums[i].name_off)); in btf_dumper_enum()
189 const struct btf_enum64 *enums = btf_enum64(t); in btf_dumper_enum64() local
199 if (val_lo32 == enums[i].val_lo32 && val_hi32 == enums[i].val_hi32) { in btf_dumper_enum64()
202 enums[i].name_off)); in btf_dumper_enum64()
/linux/drivers/counter/
H A Dcounter-sysfs.c222 static int counter_find_enum(u32 *const enum_item, const u32 *const enums, in counter_find_enum() argument
229 *enum_item = enums[index]; in counter_find_enum()
265 err = counter_find_enum(&data, avail->enums, avail->num_items, in counter_comp_u32_store()
269 err = counter_find_enum(&data, avail->enums, avail->num_items, in counter_comp_u32_store()
397 err = counter_find_enum(&data, element->avail->enums, in counter_comp_array_u32_store()
479 static ssize_t enums_available_show(const u32 *const enums, in enums_available_show() argument
487 len += sysfs_emit_at(buf, len, "%s\n", strs[enums[index]]); in enums_available_show()
525 return enums_available_show(avail->enums, avail->num_items, in counter_comp_available_show()
/linux/arch/hexagon/
H A DMakefile11 KBUILD_CFLAGS += -fno-short-enums
/linux/Documentation/core-api/
H A Dnetlink.rst12 Attribute enums
20 Message enums
/linux/Documentation/doc-guide/
H A Dparse-headers.rst25 enums and defines and create cross-references to a Sphinx book.
133 for symbols defined within enums;
/linux/Documentation/userspace-api/media/dvb/
H A Ddvbapi.rst24 - digital TV data types (enums, structs, defines, etc);
H A Dfrontend.h.rst.exceptions42 # Those enums are defined at the frontend.h header, and not externally
/linux/drivers/comedi/drivers/ni_routing/
H A DREADME19 gain any sense of intuition of which values, or even enums one should use
21 name enums such that a user might know which enums should be used for
/linux/kernel/bpf/
H A Dbtf.c4494 const struct btf_enum *enums = btf_type_enum(t); in btf_enum_check_meta() local
4501 meta_needed = nr_enums * sizeof(*enums); in btf_enum_check_meta()
4525 if (!btf_name_offset_valid(btf, enums[i].name_off)) { in btf_enum_check_meta()
4527 enums[i].name_off); in btf_enum_check_meta()
4532 if (!enums[i].name_off || in btf_enum_check_meta()
4533 !btf_name_valid_identifier(btf, enums[i].name_off)) { in btf_enum_check_meta()
4542 __btf_name_by_offset(btf, enums[i].name_off), in btf_enum_check_meta()
4543 enums[i].val); in btf_enum_check_meta()
4559 const struct btf_enum *enums = btf_type_enum(t); in btf_enum_show() local
4571 if (v != enums[i].val) in btf_enum_show()
[all …]
/linux/Documentation/userspace-api/gpio/
H A Dchardev.rst94 This section contains the structs and enums that are referenced by the API v2,
/linux/Documentation/translations/zh_CN/
H A Dhow-to.rst98 structs, enums,...). This is known Sphinx bug. For more details, see:
/linux/tools/sched_ext/
H A DREADME.md211 error: static assertion failed due to requirement 'SCX_DSQ_FLAG_BUILTIN': bpftool generated vmlinux.h is missing high bits for 64bit enums, upgrade clang and pahole
/linux/Documentation/driver-api/
H A Dioctl.rst187 * Bitfields and enums generally work as one would expect them to,
H A Ddpll.rst527 Configuration pre-defined enums
/linux/Documentation/sound/designs/
H A Dcompress-offload.rst72 have existing enums/structures for each compressed format. This new
/linux/Documentation/kbuild/
H A Dgendwarfksyms.rst200 For enums, all enumerators and their values are included in calculating
/linux/Documentation/crypto/
H A Dasymmetric-keys.rst92 Three enums are defined there for representing public-key cryptography
/linux/Documentation/bpf/
H A Dllvm_reloc.rst335 * for enums:
/linux/kernel/trace/
H A DKconfig1047 used to show what enums/sizeof the kernel tried to convert.