Lines Matching refs:entry

375 static int addr_conflict(struct jump_entry *entry, void *start, void *end)  in addr_conflict()  argument
377 if (jump_entry_code(entry) <= (unsigned long)end && in addr_conflict()
378 jump_entry_code(entry) + jump_entry_size(entry) > (unsigned long)start) in addr_conflict()
402 static void arch_jump_label_transform_static(struct jump_entry *entry, in arch_jump_label_transform_static() argument
455 static enum jump_label_type jump_label_type(struct jump_entry *entry) in jump_label_type() argument
457 struct static_key *key = jump_entry_key(entry); in jump_label_type()
459 bool branch = jump_entry_is_branch(entry); in jump_label_type()
465 static bool jump_label_can_update(struct jump_entry *entry, bool init) in jump_label_can_update() argument
470 if (!init && jump_entry_is_init(entry)) in jump_label_can_update()
473 if (!kernel_text_address(jump_entry_code(entry))) { in jump_label_can_update()
482 WARN_ONCE(!jump_entry_is_init(entry), in jump_label_can_update()
484 (void *)jump_entry_code(entry)); in jump_label_can_update()
493 struct jump_entry *entry, in __jump_label_update() argument
497 for (; (entry < stop) && (jump_entry_key(entry) == key); entry++) { in __jump_label_update()
498 if (jump_label_can_update(entry, init)) in __jump_label_update()
499 arch_jump_label_transform(entry, jump_label_type(entry)); in __jump_label_update()
504 struct jump_entry *entry, in __jump_label_update() argument
508 for (; (entry < stop) && (jump_entry_key(entry) == key); entry++) { in __jump_label_update()
510 if (!jump_label_can_update(entry, init)) in __jump_label_update()
513 if (!arch_jump_label_transform_queue(entry, jump_label_type(entry))) { in __jump_label_update()
518 BUG_ON(!arch_jump_label_transform_queue(entry, jump_label_type(entry))); in __jump_label_update()
612 enum jump_label_type jump_label_init_type(struct jump_entry *entry) in jump_label_init_type() argument
614 struct static_key *key = jump_entry_key(entry); in jump_label_init_type()
616 bool branch = jump_entry_is_branch(entry); in jump_label_init_type()
899 struct jump_entry *entry; in jump_label_update() local
916 entry = static_key_entries(key); in jump_label_update()
918 if (entry) in jump_label_update()
919 __jump_label_update(key, entry, stop, init); in jump_label_update()