Home
last modified time | relevance | path

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

12

/linux/lib/crypto/powerpc/
H A Dpoly1305.h34 if (!static_key_enabled(&have_p10)) in poly1305_block_init()
45 if (!static_key_enabled(&have_p10)) in poly1305_blocks()
64 if (!static_key_enabled(&have_p10)) in poly1305_emit()
/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.c253 if (!static_key_enabled(&mem_profiling_compressed)) in alloc_tag_sec_init()
289 if (!static_key_enabled(&mem_profiling_compressed)) { in alloc_tag_align()
301 if (!static_key_enabled(&mem_profiling_compressed)) { in ensure_alignment()
324 if (!static_key_enabled(&mem_profiling_compressed)) in tags_addressable()
742 if (compressed != static_key_enabled(&mem_profiling_compressed)) { in setup_early_mem_profiling()
755 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/include/linux/
H A Dpgalloc_tag.h107 if (static_key_enabled(&mem_profiling_compressed)) { in get_page_tag_ref()
135 if (!static_key_enabled(&mem_profiling_compressed)) in put_page_tag_ref()
141 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/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/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.c293 if (tp->ext && tp->ext->regfunc && !static_key_enabled(&tp->key)) { in tracepoint_add_func()
377 if (tp->ext && tp->ext->unregfunc && static_key_enabled(&tp->key)) in tracepoint_remove_func()
/linux/arch/powerpc/include/asm/
H A Dpercpu.h23 (static_key_enabled(&__percpu_first_chunk_is_paged.key))
/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.h67 if (static_key_enabled(&have_vec_crypto)) in crc32_optimizations_arch()
/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/crypto/x86/
H A Dsha256.h73 return static_key_enabled(&have_sha_ni); in sha256_finup_2x_is_optimized_arch()
/linux/lib/crypto/arm64/
H A Dsha256.h78 return static_key_enabled(&have_ce); in sha256_finup_2x_is_optimized_arch()
/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/arch/loongarch/kernel/
H A Dparavirt.c329 if (static_key_enabled(&virt_preempt_key)) in pv_time_init()
/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.c440 !static_key_enabled(&zoned_enabled.key)) in dm_set_zones_restrictions()
/linux/arch/x86/kernel/cpu/
H A Dbugs.c1879 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()
/linux/Documentation/staging/
H A Dstatic-keys.rst152 The state and the reference count can be retrieved with 'static_key_enabled()'
/linux/kernel/trace/
H A Dtrace_events_user.c1669 if (static_key_enabled(&tp->key)) { in update_enable_bit_for()
2273 if (likely(static_key_enabled(&tp->key))) { in user_events_write_core()

12