Lines Matching refs:entry
309 static int addr_conflict(struct jump_entry *entry, void *start, void *end) in addr_conflict() argument
311 if (jump_entry_code(entry) <= (unsigned long)end && in addr_conflict()
312 jump_entry_code(entry) + JUMP_LABEL_NOP_SIZE > (unsigned long)start) in addr_conflict()
339 void __weak __init_or_module arch_jump_label_transform_static(struct jump_entry *entry, in arch_jump_label_transform_static() argument
342 arch_jump_label_transform(entry, type); in arch_jump_label_transform_static()
391 static enum jump_label_type jump_label_type(struct jump_entry *entry) in jump_label_type() argument
393 struct static_key *key = jump_entry_key(entry); in jump_label_type()
395 bool branch = jump_entry_is_branch(entry); in jump_label_type()
401 static bool jump_label_can_update(struct jump_entry *entry, bool init) in jump_label_can_update() argument
406 if (!init && jump_entry_is_init(entry)) in jump_label_can_update()
409 if (!kernel_text_address(jump_entry_code(entry))) { in jump_label_can_update()
410 WARN_ONCE(!jump_entry_is_init(entry), in jump_label_can_update()
412 (void *)jump_entry_code(entry)); in jump_label_can_update()
421 struct jump_entry *entry, in __jump_label_update() argument
425 for (; (entry < stop) && (jump_entry_key(entry) == key); entry++) { in __jump_label_update()
426 if (jump_label_can_update(entry, init)) in __jump_label_update()
427 arch_jump_label_transform(entry, jump_label_type(entry)); in __jump_label_update()
432 struct jump_entry *entry, in __jump_label_update() argument
436 for (; (entry < stop) && (jump_entry_key(entry) == key); entry++) { in __jump_label_update()
438 if (!jump_label_can_update(entry, init)) in __jump_label_update()
441 if (!arch_jump_label_transform_queue(entry, jump_label_type(entry))) { in __jump_label_update()
446 BUG_ON(!arch_jump_label_transform_queue(entry, jump_label_type(entry))); in __jump_label_update()
500 static enum jump_label_type jump_label_init_type(struct jump_entry *entry) in jump_label_init_type() argument
502 struct static_key *key = jump_entry_key(entry); in jump_label_init_type()
504 bool branch = jump_entry_is_branch(entry); in jump_label_init_type()
790 struct jump_entry *entry; in jump_label_update() local
805 entry = static_key_entries(key); in jump_label_update()
807 if (entry) in jump_label_update()
808 __jump_label_update(key, entry, stop, in jump_label_update()