/linux/kernel/ |
H A D | jump_label.c | 37 const struct jump_entry *jea = a; in jump_label_cmp() 38 const struct jump_entry *jeb = b; in jump_label_cmp() 66 struct jump_entry *jea = a; in jump_label_swap() 67 struct jump_entry *jeb = b; in jump_label_swap() 68 struct jump_entry tmp = *jea; in jump_label_swap() 80 jump_label_sort_entries(struct jump_entry *start, struct jump_entry *stop) in jump_label_sort_entries() 89 / sizeof(struct jump_entry)); in jump_label_sort_entries() 90 sort(start, size, sizeof(struct jump_entry), jump_label_cmp, swapfn); in jump_label_sort_entries() 375 static int addr_conflict(struct jump_entry *entry, void *start, void *end) in addr_conflict() 384 static int __jump_label_text_reserved(struct jump_entry *iter_start, in __jump_label_text_reserved() [all …]
|
/linux/include/linux/ |
H A D | jump_label.h | 103 struct jump_entry *entries; 117 struct jump_entry { struct 123 static inline unsigned long jump_entry_code(const struct jump_entry *entry) in jump_entry_code() argument 128 static inline unsigned long jump_entry_target(const struct jump_entry *entry) in jump_entry_target() 133 static inline struct static_key *jump_entry_key(const struct jump_entry *entry) in jump_entry_key() 142 static inline unsigned long jump_entry_code(const struct jump_entry *entry) in jump_entry_code() 147 static inline unsigned long jump_entry_target(const struct jump_entry *entry) in jump_entry_target() 152 static inline struct static_key *jump_entry_key(const struct jump_entry *entry) in jump_entry_key() 159 static inline bool jump_entry_is_branch(const struct jump_entry *entry) in jump_entry_is_branch() 164 static inline bool jump_entry_is_init(const struct jump_entry *entry) in jump_entry_is_init() [all …]
|
H A D | module.h | 525 struct jump_entry *jump_entries;
|
/linux/arch/s390/kernel/ |
H A D | jump_label.c | 19 static void jump_label_make_nop(struct jump_entry *entry, struct insn *insn) in jump_label_make_nop() 26 static void jump_label_make_branch(struct jump_entry *entry, struct insn *insn) in jump_label_make_branch() 33 static void jump_label_bug(struct jump_entry *entry, struct insn *expected, in jump_label_bug() 47 static void jump_label_transform(struct jump_entry *entry, in jump_label_transform() 65 void arch_jump_label_transform(struct jump_entry *entry, in arch_jump_label_transform() 72 bool arch_jump_label_transform_queue(struct jump_entry *entry, in arch_jump_label_transform_queue()
|
/linux/arch/x86/kernel/ |
H A D | jump_label.c | 20 int arch_jump_entry_size(struct jump_entry *entry) in arch_jump_entry_size() 36 __jump_label_patch(struct jump_entry *entry, enum jump_label_type type) in __jump_label_patch() 83 __jump_label_transform(struct jump_entry *entry, in __jump_label_transform() 108 static void __ref jump_label_transform(struct jump_entry *entry, in jump_label_transform() 117 void arch_jump_label_transform(struct jump_entry *entry, in arch_jump_label_transform() 123 bool arch_jump_label_transform_queue(struct jump_entry *entry, in arch_jump_label_transform_queue()
|
/linux/arch/mips/kernel/ |
H A D | jump_label.c | 38 void arch_jump_label_transform(struct jump_entry *e, in arch_jump_label_transform() 95 struct jump_entry *iter_start = mod->jump_entries; in jump_label_apply_nops() 96 struct jump_entry *iter_stop = iter_start + mod->num_jump_entries; in jump_label_apply_nops() 97 struct jump_entry *iter; in jump_label_apply_nops()
|
/linux/arch/csky/kernel/ |
H A D | jump_label.c | 14 void arch_jump_label_transform(struct jump_entry *entry, in arch_jump_label_transform() 43 void arch_jump_label_transform_static(struct jump_entry *entry, in arch_jump_label_transform_static()
|
/linux/arch/loongarch/kernel/ |
H A D | jump_label.c | 11 void arch_jump_label_transform(struct jump_entry *entry, enum jump_label_type type) in arch_jump_label_transform()
|
/linux/arch/csky/include/asm/ |
H A D | jump_label.h | 47 void arch_jump_label_transform_static(struct jump_entry *entry,
|
/linux/arch/sparc/include/asm/ |
H A D | jump_label.h | 45 struct jump_entry { struct
|
/linux/arch/xtensa/include/asm/ |
H A D | jump_label.h | 58 struct jump_entry { struct
|
/linux/arch/arc/include/asm/ |
H A D | jump_label.h | 65 struct jump_entry { struct
|
/linux/arch/arm/include/asm/ |
H A D | jump_label.h | 46 struct jump_entry { struct
|
/linux/arch/sparc/kernel/ |
H A D | jump_label.c | 12 void arch_jump_label_transform(struct jump_entry *entry, in arch_jump_label_transform()
|
/linux/arch/x86/include/asm/ |
H A D | jump_label.h | 56 extern int arch_jump_entry_size(struct jump_entry *entry);
|
/linux/arch/mips/include/asm/ |
H A D | jump_label.h | 73 struct jump_entry { struct
|
/linux/arch/xtensa/kernel/ |
H A D | jump_label.c | 74 void arch_jump_label_transform(struct jump_entry *e, in arch_jump_label_transform()
|
/linux/arch/arc/kernel/ |
H A D | jump_label.c | 82 void arch_jump_label_transform(struct jump_entry *entry, in arch_jump_label_transform()
|
/linux/Documentation/staging/ |
H A D | static-keys.rst | 186 struct jump_entry table must be at least 4-byte aligned because the 201 * ``void arch_jump_label_transform(struct jump_entry *entry, enum jump_label_type type)``, 204 * ``struct jump_entry``,
|