| /linux-6.15/lib/ |
| H A D | test_static_keys.c | 49 if (static_key_enabled(key)) in invert_key() 74 ret = static_key_enabled(keys[i].key); in verify_keys() 79 if (static_key_enabled(keys[i].key)) { in verify_keys()
|
| H A D | alloc_tag.c | 265 if (!static_key_enabled(&mem_profiling_compressed)) in alloc_tag_sec_init() 301 if (!static_key_enabled(&mem_profiling_compressed)) { in alloc_tag_align() 313 if (!static_key_enabled(&mem_profiling_compressed)) { in ensure_alignment() 336 if (!static_key_enabled(&mem_profiling_compressed)) in tags_addressable() 746 if (compressed != static_key_enabled(&mem_profiling_compressed)) { in setup_early_mem_profiling() 759 if (static_key_enabled(&mem_profiling_compressed)) in need_page_alloc_tagging()
|
| H A D | test_static_key_base.c | 36 if (static_key_enabled(key)) in invert_key()
|
| H A D | once.c | 19 BUG_ON(!static_key_enabled(work->key)); in once_deferred()
|
| /linux-6.15/include/linux/ |
| H A D | pgalloc_tag.h | 107 if (static_key_enabled(&mem_profiling_compressed)) { in get_page_tag_ref() 134 if (!static_key_enabled(&mem_profiling_compressed)) in put_page_tag_ref() 140 if (static_key_enabled(&mem_profiling_compressed)) { in update_page_tag_ref()
|
| H A D | jump_label.h | 354 #define jump_label_enabled static_key_enabled 421 #define static_key_enabled(x) \ macro 514 #define static_branch_likely(x) likely_notrace(static_key_enabled(&(x)->key)) 515 #define static_branch_unlikely(x) unlikely_notrace(static_key_enabled(&(x)->key))
|
| /linux-6.15/arch/x86/lib/ |
| H A D | crc32-glue.c | 102 if (static_key_enabled(&have_crc32)) in crc32_optimizations() 104 if (static_key_enabled(&have_pclmulqdq)) in crc32_optimizations()
|
| /linux-6.15/arch/powerpc/include/asm/ |
| H A D | percpu.h | 23 (static_key_enabled(&__percpu_first_chunk_is_paged.key))
|
| /linux-6.15/kernel/ |
| H A D | jump_label.c | 458 bool enabled = static_key_enabled(key); in jump_label_type() 931 WARN_ON(static_key_enabled(&sk_true.key) != true); in jump_label_test() 932 WARN_ON(static_key_enabled(&sk_false.key) != false); in jump_label_test() 942 WARN_ON(static_key_enabled(&sk_true.key) == true); in jump_label_test() 943 WARN_ON(static_key_enabled(&sk_false.key) == false); in jump_label_test()
|
| H A D | tracepoint.c | 284 if (tp->ext && tp->ext->regfunc && !static_key_enabled(&tp->key)) { in tracepoint_add_func() 368 if (tp->ext && tp->ext->unregfunc && static_key_enabled(&tp->key)) in tracepoint_remove_func()
|
| H A D | sysctl.c | 1578 val = static_key_enabled(key); in proc_do_static_key()
|
| /linux-6.15/arch/s390/lib/ |
| H A D | crc32-glue.c | 82 if (static_key_enabled(&have_vxrs)) in crc32_optimizations()
|
| /linux-6.15/arch/sparc/lib/ |
| H A D | crc32_glue.c | 86 if (static_key_enabled(&have_crc32c_opcode)) in crc32_optimizations()
|
| /linux-6.15/arch/powerpc/lib/ |
| H A D | crc32-glue.c | 84 if (static_key_enabled(&have_vec_crypto)) in crc32_optimizations()
|
| /linux-6.15/arch/loongarch/lib/ |
| H A D | crc32-loongarch.c | 126 if (static_key_enabled(&have_crc32)) in crc32_optimizations()
|
| /linux-6.15/drivers/net/ethernet/freescale/enetc/ |
| H A D | enetc_pci_mdio.c | 31 if (!static_key_enabled(&enetc_has_err050089.key)) in enetc_emdio_disable_err050089()
|
| /linux-6.15/arch/mips/lib/ |
| H A D | crc32-mips.c | 175 if (static_key_enabled(&have_crc32)) in crc32_optimizations()
|
| /linux-6.15/mm/ |
| H A D | page_reporting.c | 390 if (!static_key_enabled(&page_reporting_enabled)) { in page_reporting_register()
|
| /linux-6.15/drivers/md/ |
| H A D | dm-zone.c | 406 !static_key_enabled(&zoned_enabled.key)) in dm_set_zones_restrictions()
|
| H A D | dm-stats.c | 419 if (!static_key_enabled(&stats_enabled.key)) in dm_stats_create()
|
| H A D | dm-table.c | 769 if (ti->limit_swap_bios && !static_key_enabled(&swap_bios_enabled.key)) in dm_table_add_target()
|
| /linux-6.15/arch/x86/kernel/cpu/ |
| H A D | bugs.c | 1549 static_key_enabled(&switch_mm_always_ibpb) ? in spectre_v2_user_select_mitigation() 2972 if (static_key_enabled(&switch_to_cond_stibp)) in stibp_state() 2981 if (static_key_enabled(&switch_mm_always_ibpb)) in ibpb_state() 2983 if (static_key_enabled(&switch_mm_cond_ibpb)) in ibpb_state()
|
| /linux-6.15/Documentation/staging/ |
| H A D | static-keys.rst | 152 The state and the reference count can be retrieved with 'static_key_enabled()'
|
| /linux-6.15/drivers/net/ethernet/intel/ixgbe/ |
| H A D | ixgbe.h | 835 if (static_key_enabled(&ixgbe_xdp_locking_key)) in ixgbe_determine_xdp_q_idx()
|
| /linux-6.15/kernel/trace/ |
| H A D | trace_events_user.c | 1679 if (static_key_enabled(&tp->key)) { in update_enable_bit_for() 2283 if (likely(static_key_enabled(&tp->key))) { in user_events_write_core()
|