Searched refs:enum_value (Results 1 – 2 of 2) sorted by relevance
| /linux/tools/lib/bpf/ |
| H A D | bpf_core_read.h | 272 #define bpf_core_enum_value_exists(enum_type, enum_value) \ argument 273 __builtin_preserve_enum_value(*(typeof(enum_type) *)enum_value, BPF_ENUMVAL_EXISTS) 275 #define bpf_core_enum_value_exists(enum_type, enum_value) \ argument 276 __builtin_preserve_enum_value(___bpf_typeof(enum_type), enum_value, BPF_ENUMVAL_EXISTS) 288 #define bpf_core_enum_value(enum_type, enum_value) \ argument 289 __builtin_preserve_enum_value(*(typeof(enum_type) *)enum_value, BPF_ENUMVAL_VALUE) 291 #define bpf_core_enum_value(enum_type, enum_value) \ argument 292 __builtin_preserve_enum_value(___bpf_typeof(enum_type), enum_value, BPF_ENUMVAL_VALUE)
|
| /linux/drivers/firmware/coreboot/ |
| H A D | coreboot-cfr.c | 772 const struct lb_cfr_enum_value *enum_value; in coreboot_cfr_copy_enum_values() local 796 if (entry->size < sizeof(*enum_value)) in coreboot_cfr_copy_enum_values() 799 enum_value = (const struct lb_cfr_enum_value *)entry; in coreboot_cfr_copy_enum_values() 800 label = coreboot_cfr_child_string(enum_value + 1, in coreboot_cfr_copy_enum_values() 801 enum_value->size - sizeof(*enum_value), in coreboot_cfr_copy_enum_values() 818 value->value = enum_value->value; in coreboot_cfr_copy_enum_values()
|