Home
last modified time | relevance | path

Searched refs:static_key_enabled (Results 1 – 25 of 37) sorted by relevance

12

/linux/lib/crypto/powerpc/ !
H A Dpoly1305-p10-glue.c36 if (!static_key_enabled(&have_p10)) in poly1305_block_init_arch()
48 if (!static_key_enabled(&have_p10)) in poly1305_blocks_arch()
69 if (!static_key_enabled(&have_p10)) in poly1305_emit_arch()
77 return static_key_enabled(&have_p10); in poly1305_is_arch_optimized()
H A Dchacha-p10-glue.c81 return static_key_enabled(&have_p10); in chacha_is_arch_optimized()
/linux/include/linux/ !
H A Dpgalloc_tag.h107 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 Djump_label.h354 #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/lib/ !
H A Dtest_static_keys.c49 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 Dalloc_tag.c250 if (!static_key_enabled(&mem_profiling_compressed)) in alloc_tag_sec_init()
286 if (!static_key_enabled(&mem_profiling_compressed)) { in alloc_tag_align()
298 if (!static_key_enabled(&mem_profiling_compressed)) { in ensure_alignment()
321 if (!static_key_enabled(&mem_profiling_compressed)) in tags_addressable()
738 if (compressed != static_key_enabled(&mem_profiling_compressed)) { in setup_early_mem_profiling()
751 if (static_key_enabled(&mem_profiling_compressed)) in need_page_alloc_tagging()
H A Dtest_static_key_base.c36 if (static_key_enabled(key)) in invert_key()
H A Donce.c19 BUG_ON(!static_key_enabled(work->key)); in once_deferred()
/linux/lib/crc/x86/ !
H A Dcrc32.h132 if (static_key_enabled(&have_crc32)) in crc32_optimizations_arch()
134 if (static_key_enabled(&have_pclmulqdq)) in crc32_optimizations_arch()
/linux/arch/powerpc/include/asm/ !
H A Dpercpu.h23 (static_key_enabled(&__percpu_first_chunk_is_paged.key))
/linux/kernel/ !
H A Djump_label.c458 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 Dtracepoint.c284 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()
/linux/lib/crc/sparc/ !
H A Dcrc32.h64 if (static_key_enabled(&have_crc32c_opcode)) in crc32_optimizations_arch()
/linux/lib/crc/powerpc/ !
H A Dcrc32.h66 if (static_key_enabled(&have_vec_crypto)) in crc32_optimizations_arch()
/linux/lib/crypto/riscv/ !
H A Dchacha-riscv64-glue.c55 return static_key_enabled(&use_zvkb); in chacha_is_arch_optimized()
/linux/lib/crypto/arm64/ !
H A Dchacha-neon-glue.c100 return static_key_enabled(&have_neon); in chacha_is_arch_optimized()
/linux/drivers/net/ethernet/intel/libeth/ !
H A Dxdp.c25 warn = !static_key_enabled(&libeth_xdpsq_share); in __libeth_xdpsq_get()
38 if (!static_key_enabled(&libeth_xdpsq_share) && net_ratelimit()) in __libeth_xdpsq_put()
/linux/lib/crc/loongarch/ !
H A Dcrc32.h112 if (static_key_enabled(&have_crc32)) in crc32_optimizations_arch()
/linux/drivers/net/ethernet/freescale/enetc/ !
H A Denetc_pci_mdio.c31 if (!static_key_enabled(&enetc_has_err050089.key)) in enetc_emdio_disable_err050089()
/linux/lib/crc/mips/ !
H A Dcrc32.h159 if (static_key_enabled(&have_crc32)) in crc32_optimizations_arch()
/linux/lib/crypto/x86/ !
H A Dpoly1305_glue.c146 return static_key_enabled(&poly1305_use_avx); in poly1305_is_arch_optimized()
H A Dchacha_glue.c165 return static_key_enabled(&chacha_use_simd); in chacha_is_arch_optimized()
/linux/mm/ !
H A Dpage_reporting.c390 if (!static_key_enabled(&page_reporting_enabled)) { in page_reporting_register()
/linux/drivers/md/ !
H A Ddm-zone.c429 !static_key_enabled(&zoned_enabled.key)) in dm_set_zones_restrictions()
/linux/arch/x86/kernel/cpu/ !
H A Dbugs.c2025 static_key_enabled(&switch_mm_always_ibpb) ? in spectre_v2_user_apply_mitigation()
3454 if (static_key_enabled(&switch_to_cond_stibp)) in stibp_state()
3463 if (static_key_enabled(&switch_mm_always_ibpb)) in ibpb_state()
3465 if (static_key_enabled(&switch_mm_cond_ibpb)) in ibpb_state()

12