/linux-6.6.21/kernel/ |
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() 337 static int addr_conflict(struct jump_entry *entry, void *start, void *end) in addr_conflict() 346 static int __jump_label_text_reserved(struct jump_entry *iter_start, in __jump_label_text_reserved() [all …]
|
/linux-6.6.21/include/linux/ |
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 …]
|
D | module.h | 515 struct jump_entry *jump_entries;
|
/linux-6.6.21/arch/s390/kernel/ |
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-6.6.21/arch/x86/kernel/ |
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-6.6.21/arch/mips/kernel/ |
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-6.6.21/arch/arm/kernel/ |
D | jump_label.c | 7 static void __arch_jump_label_transform(struct jump_entry *entry, in __arch_jump_label_transform() 25 void arch_jump_label_transform(struct jump_entry *entry, in arch_jump_label_transform()
|
/linux-6.6.21/arch/csky/kernel/ |
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-6.6.21/arch/powerpc/kernel/ |
D | jump_label.c | 11 void arch_jump_label_transform(struct jump_entry *entry, in arch_jump_label_transform()
|
/linux-6.6.21/arch/loongarch/kernel/ |
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-6.6.21/arch/arm64/kernel/ |
D | jump_label.c | 13 void arch_jump_label_transform(struct jump_entry *entry, in arch_jump_label_transform()
|
/linux-6.6.21/arch/csky/include/asm/ |
D | jump_label.h | 47 void arch_jump_label_transform_static(struct jump_entry *entry,
|
/linux-6.6.21/arch/xtensa/include/asm/ |
D | jump_label.h | 58 struct jump_entry { struct
|
/linux-6.6.21/arch/sparc/include/asm/ |
D | jump_label.h | 45 struct jump_entry { struct
|
/linux-6.6.21/arch/arm/include/asm/ |
D | jump_label.h | 42 struct jump_entry { struct
|
/linux-6.6.21/arch/arc/include/asm/ |
D | jump_label.h | 65 struct jump_entry { struct
|
/linux-6.6.21/arch/parisc/kernel/ |
D | jump_label.c | 21 void arch_jump_label_transform(struct jump_entry *entry, in arch_jump_label_transform()
|
/linux-6.6.21/arch/x86/include/asm/ |
D | jump_label.h | 65 extern int arch_jump_entry_size(struct jump_entry *entry);
|
/linux-6.6.21/arch/riscv/kernel/ |
D | jump_label.c | 17 void arch_jump_label_transform(struct jump_entry *entry, in arch_jump_label_transform()
|
/linux-6.6.21/arch/sparc/kernel/ |
D | jump_label.c | 12 void arch_jump_label_transform(struct jump_entry *entry, in arch_jump_label_transform()
|
/linux-6.6.21/arch/mips/include/asm/ |
D | jump_label.h | 70 struct jump_entry { struct
|
/linux-6.6.21/arch/xtensa/kernel/ |
D | jump_label.c | 74 void arch_jump_label_transform(struct jump_entry *e, in arch_jump_label_transform()
|
/linux-6.6.21/arch/arc/kernel/ |
D | jump_label.c | 82 void arch_jump_label_transform(struct jump_entry *entry, in arch_jump_label_transform()
|
/linux-6.6.21/Documentation/staging/ |
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``,
|