Lines Matching refs:entry
120 static int addr_conflict(struct jump_entry *entry, void *start, void *end) in addr_conflict() argument
122 if (entry->code <= (unsigned long)end && in addr_conflict()
123 entry->code + JUMP_LABEL_NOP_SIZE > (unsigned long)start) in addr_conflict()
150 void __weak __init_or_module arch_jump_label_transform_static(struct jump_entry *entry, in arch_jump_label_transform_static() argument
153 arch_jump_label_transform(entry, type); in arch_jump_label_transform_static()
166 static inline struct static_key *jump_entry_key(struct jump_entry *entry) in jump_entry_key() argument
168 return (struct static_key *)((unsigned long)entry->key & ~1UL); in jump_entry_key()
171 static bool jump_entry_branch(struct jump_entry *entry) in jump_entry_branch() argument
173 return (unsigned long)entry->key & 1UL; in jump_entry_branch()
176 static enum jump_label_type jump_label_type(struct jump_entry *entry) in jump_label_type() argument
178 struct static_key *key = jump_entry_key(entry); in jump_label_type()
180 bool branch = jump_entry_branch(entry); in jump_label_type()
187 struct jump_entry *entry, in __jump_label_update() argument
190 for (; (entry < stop) && (jump_entry_key(entry) == key); entry++) { in __jump_label_update()
196 if (entry->code && kernel_text_address(entry->code)) in __jump_label_update()
197 arch_jump_label_transform(entry, jump_label_type(entry)); in __jump_label_update()
237 static enum jump_label_type jump_label_init_type(struct jump_entry *entry) in jump_label_init_type() argument
239 struct static_key *key = jump_entry_key(entry); in jump_label_init_type()
241 bool branch = jump_entry_branch(entry); in jump_label_init_type()
468 struct jump_entry *entry = static_key_entries(key); in jump_label_update() local
481 if (entry) in jump_label_update()
482 __jump_label_update(key, entry, stop); in jump_label_update()