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()
341 void __weak __init_or_module arch_jump_label_transform_static(struct jump_entry *entry, in arch_jump_label_transform_static() argument
344 arch_jump_label_transform(entry, type); in arch_jump_label_transform_static()
393 static enum jump_label_type jump_label_type(struct jump_entry *entry) in jump_label_type() argument
395 struct static_key *key = jump_entry_key(entry); in jump_label_type()
397 bool branch = jump_entry_is_branch(entry); in jump_label_type()
403 static bool jump_label_can_update(struct jump_entry *entry, bool init) in jump_label_can_update() argument
408 if (!init && jump_entry_is_init(entry)) in jump_label_can_update()
411 if (!kernel_text_address(jump_entry_code(entry))) { in jump_label_can_update()
420 WARN_ONCE(!jump_entry_is_init(entry), in jump_label_can_update()
422 (void *)jump_entry_code(entry)); in jump_label_can_update()
431 struct jump_entry *entry, in __jump_label_update() argument
435 for (; (entry < stop) && (jump_entry_key(entry) == key); entry++) { in __jump_label_update()
436 if (jump_label_can_update(entry, init)) in __jump_label_update()
437 arch_jump_label_transform(entry, jump_label_type(entry)); in __jump_label_update()
442 struct jump_entry *entry, in __jump_label_update() argument
446 for (; (entry < stop) && (jump_entry_key(entry) == key); entry++) { in __jump_label_update()
448 if (!jump_label_can_update(entry, init)) in __jump_label_update()
451 if (!arch_jump_label_transform_queue(entry, jump_label_type(entry))) { in __jump_label_update()
456 BUG_ON(!arch_jump_label_transform_queue(entry, jump_label_type(entry))); in __jump_label_update()
510 static enum jump_label_type jump_label_init_type(struct jump_entry *entry) in jump_label_init_type() argument
512 struct static_key *key = jump_entry_key(entry); in jump_label_init_type()
514 bool branch = jump_entry_is_branch(entry); in jump_label_init_type()
807 struct jump_entry *entry; in jump_label_update() local
822 entry = static_key_entries(key); in jump_label_update()
824 if (entry) in jump_label_update()
825 __jump_label_update(key, entry, stop, in jump_label_update()