Lines Matching refs:enum
280 * Enum-based - patch instruction with enum related information, e.g.
282 value of a specific enum literal in the target kernel.
284 The complete list of relocation kinds is represented by the following enum:
288 enum bpf_core_relo_kind {
299 BPF_CORE_ENUMVAL_EXISTS = 10, /* enum value existence in target kernel */
300 BPF_CORE_ENUMVAL_VALUE = 11, /* enum value integer value */
340 * size has to match (but enum may match enum64 and vice versa);
358 enum bpf_core_relo_kind kind;
405 * for enum value-based relocations, string contains an index of enum
406 value within its enum type;
408 * ``kind`` - one of ``enum bpf_core_relo_kind``.
427 enum bar { U, V };
535 *g = __builtin_preserve_enum_value(*(enum bar *)U, 0 /* enum literal existence */);
536 *g = __builtin_preserve_enum_value(*(enum bar *)V, 1 /* enum literal value */);
541 f0: CO-RE <enumval_exists> [16] enum bar::U = 0
544 108: CO-RE <enumval_value> [16] enum bar::V = 1