Home
last modified time | relevance | path

Searched refs:cb (Results 1 – 25 of 39) sorted by relevance

12

/arch/s390/kernel/
Druntime_instr.c53 static void init_runtime_instr_cb(struct runtime_instr_cb *cb) in init_runtime_instr_cb() argument
55 cb->rla = 0xfff; in init_runtime_instr_cb()
56 cb->s = 1; in init_runtime_instr_cb()
57 cb->k = 1; in init_runtime_instr_cb()
58 cb->ps = 1; in init_runtime_instr_cb()
59 cb->pc = 1; in init_runtime_instr_cb()
60 cb->key = PAGE_DEFAULT_KEY >> 4; in init_runtime_instr_cb()
61 cb->v = 1; in init_runtime_instr_cb()
72 struct runtime_instr_cb *cb; in SYSCALL_DEFINE2() local
86 cb = kzalloc(sizeof(*cb), GFP_KERNEL); in SYSCALL_DEFINE2()
[all …]
Dptrace.c1162 static bool is_ri_cb_valid(struct runtime_instr_cb *cb) in is_ri_cb_valid() argument
1164 return (cb->rca & 0x1f) == 0 && in is_ri_cb_valid()
1165 (cb->roa & 0xfff) == 0 && in is_ri_cb_valid()
1166 (cb->rla & 0xfff) == 0xfff && in is_ri_cb_valid()
1167 cb->s == 1 && in is_ri_cb_valid()
1168 cb->k == 1 && in is_ri_cb_valid()
1169 cb->h == 0 && in is_ri_cb_valid()
1170 cb->reserved1 == 0 && in is_ri_cb_valid()
1171 cb->ps == 1 && in is_ri_cb_valid()
1172 cb->qs == 0 && in is_ri_cb_valid()
[all …]
/arch/x86/kernel/cpu/
Dscattered.c53 const struct cpuid_bit *cb; in init_scattered_cpuid_features() local
55 for (cb = cpuid_bits; cb->feature; cb++) { in init_scattered_cpuid_features()
58 max_level = cpuid_eax(cb->level & 0xffff0000); in init_scattered_cpuid_features()
59 if (max_level < cb->level || in init_scattered_cpuid_features()
60 max_level > (cb->level | 0xffff)) in init_scattered_cpuid_features()
63 cpuid_count(cb->level, cb->sub_leaf, &regs[CPUID_EAX], in init_scattered_cpuid_features()
67 if (regs[cb->reg] & (1 << cb->bit)) in init_scattered_cpuid_features()
68 set_cpu_cap(c, cb->feature); in init_scattered_cpuid_features()
/arch/arm64/kvm/hyp/include/nvhe/
Dmodules.h6 int __pkvm_register_host_smc_handler(bool (*cb)(struct kvm_cpu_context *));
7 int __pkvm_register_default_trap_handler(bool (*cb)(struct kvm_cpu_context *));
8 int __pkvm_register_illegal_abt_notifier(void (*cb)(struct kvm_cpu_context *));
9 int __pkvm_register_hyp_panic_notifier(void (*cb)(struct kvm_cpu_context *));
12 int __pkvm_register_psci_notifier(void (*cb)(enum pkvm_psci_notification, struct kvm_cpu_context *)…
Dmem_protect.h99 int hyp_register_host_perm_fault_handler(int (*cb)(struct kvm_cpu_context *ctxt, u64 esr, u64 addr)…
/arch/arm64/include/asm/
Dalternative-macros.h22 #define ALTINSTR_ENTRY_CB(feature, cb) \ argument
24 " .word " __stringify(cb) "- .\n" /* callback */ \
62 #define __ALTERNATIVE_CFG_CB(oldinstr, feature, cfg_enabled, cb) \ argument
68 ALTINSTR_ENTRY_CB(feature, cb) \
77 #define ALTERNATIVE_CB(oldinstr, cb) \ argument
78 __ALTERNATIVE_CFG_CB(oldinstr, ARM64_CB_PATCH, 1, cb)
145 .macro alternative_cb cb
148 altinstruction_entry 661f, \cb, ARM64_CB_PATCH, 662f-661f, 0
Dkvm_pkvm_module.h141 …int (*register_host_perm_fault_handler)(int (*cb)(struct kvm_cpu_context *ctxt, u64 esr, u64 addr)…
144 int (*register_host_smc_handler)(bool (*cb)(struct kvm_cpu_context *));
145 int (*register_default_trap_handler)(bool (*cb)(struct kvm_cpu_context *));
146 int (*register_illegal_abt_notifier)(void (*cb)(struct kvm_cpu_context *));
147 int (*register_psci_notifier)(void (*cb)(enum pkvm_psci_notification, struct kvm_cpu_context *));
148 int (*register_hyp_panic_notifier)(void (*cb)(struct kvm_cpu_context *host_ctxt));
/arch/s390/include/uapi/asm/
Druntime_instr.h62 static inline void load_runtime_instr_cb(struct runtime_instr_cb *cb) in load_runtime_instr_cb() argument
65 : : "Q" (*cb)); in load_runtime_instr_cb()
68 static inline void store_runtime_instr_cb(struct runtime_instr_cb *cb) in store_runtime_instr_cb() argument
71 : "=Q" (*cb) : : "cc"); in store_runtime_instr_cb()
/arch/mips/bcm63xx/
Dtimer.c26 void (*cb)(void *); member
45 if (!timer_data[i].cb) { in timer_interrupt()
50 timer_data[i].cb(timer_data[i].data); in timer_interrupt()
115 if (timer_data[id].cb) { in bcm63xx_timer_register()
120 timer_data[id].cb = callback; in bcm63xx_timer_register()
138 timer_data[id].cb = NULL; in bcm63xx_timer_unregister()
/arch/x86/xen/
Dmulticalls.c129 struct callback *cb = &b->callbacks[i]; in xen_mc_flush() local
131 (*cb->fn)(cb->data); in xen_mc_flush()
202 struct callback *cb; in xen_mc_callback() local
211 cb = &b->callbacks[b->cbidx++]; in xen_mc_callback()
212 cb->fn = fn; in xen_mc_callback()
213 cb->data = data; in xen_mc_callback()
/arch/arm64/kvm/hyp/nvhe/
Dserial.c66 int __pkvm_register_serial_driver(void (*cb)(char)) in __pkvm_register_serial_driver()
73 return cmpxchg_release(&__hyp_putc, NULL, cb) ? -EBUSY : 0; in __pkvm_register_serial_driver()
Dsetup.c307 .cb = pin_table_walker, in pin_host_tables()
318 .cb = fix_host_ownership_walker, in fix_host_ownership()
338 .cb = fix_hyp_pgtable_refcnt_walker, in fix_hyp_pgtable_refcnt()
Dpsci-relay.c36 int __pkvm_register_psci_notifier(void (*cb)(enum pkvm_psci_notification, struct kvm_cpu_context *)) in __pkvm_register_psci_notifier()
43 return cmpxchg_release(&pkvm_psci_notifier, NULL, cb) ? -EBUSY : 0; in __pkvm_register_psci_notifier()
Dswitch.c378 int __pkvm_register_hyp_panic_notifier(void (*cb)(struct kvm_cpu_context *host_ctxt)) in __pkvm_register_hyp_panic_notifier()
380 return cmpxchg(&hyp_panic_notifier, NULL, cb) ? -EBUSY : 0; in __pkvm_register_hyp_panic_notifier()
/arch/xtensa/include/asm/
Duaccess.h154 #define __put_user_asm(x_, addr_, err_, align, insn, cb)\ argument
170 :[err] "+r"(err_), [tmp] "=r"(cb), [mem] "=m"(*(addr_)) \
222 #define __get_user_asm(x_, addr_, err_, align, insn, cb) \ argument
240 :[err] "+r"(err_), [tmp] "=r"(cb), [x] "+r"(__x) \
/arch/arm64/kernel/
Dproton-pack.c273 bp_hardening_cb_t cb; in spectre_v2_enable_fw_mitigation() local
285 cb = call_hvc_arch_workaround_1; in spectre_v2_enable_fw_mitigation()
289 cb = call_smc_arch_workaround_1; in spectre_v2_enable_fw_mitigation()
300 cb = spectre_v2_get_sw_mitigation_cb() ?: cb; in spectre_v2_enable_fw_mitigation()
301 install_bp_hardening_cb(cb); in spectre_v2_enable_fw_mitigation()
/arch/um/include/shared/
Dnet_user.h28 extern void iter_addresses(void *d, void (*cb)(unsigned char *,
/arch/x86/include/asm/
Dmshyperv.h161 void set_hv_tscchange_cb(void (*cb)(void));
188 static inline void set_hv_tscchange_cb(void (*cb)(void)) {} in set_hv_tscchange_cb()
Dpgtable_types.h474 #define __pte2cm_idx(cb) \ argument
475 ((((cb) >> (_PAGE_BIT_PAT - 2)) & 4) | \
476 (((cb) >> (_PAGE_BIT_PCD - 1)) & 2) | \
477 (((cb) >> _PAGE_BIT_PWT) & 1))
/arch/arm64/kvm/hyp/
Dpgtable.c114 return walker->cb(addr, data->end, level, ptep, flag, walker->arg); in kvm_pgtable_visitor_cb()
245 .cb = leaf_walker, in kvm_pgtable_get_leaf()
384 .cb = hyp_map_walker, in kvm_pgtable_hyp_map()
450 .cb = hyp_unmap_walker, in kvm_pgtable_hyp_unmap()
500 .cb = hyp_free_walker, in kvm_pgtable_hyp_destroy()
973 .cb = stage2_map_walker, in kvm_pgtable_stage2_map()
1008 .cb = stage2_map_walker, in kvm_pgtable_stage2_annotate()
1073 .cb = stage2_unmap_walker, in kvm_pgtable_stage2_unmap()
1097 .cb = stage2_reclaim_leaf_walker, in kvm_pgtable_stage2_reclaim_leaves()
1162 .cb = stage2_attr_walker, in stage2_update_leaf_attrs()
[all …]
/arch/um/include/asm/
Dprocessor-generic.h45 } cb; member
/arch/parisc/include/asm/
Dpsw.h84 unsigned int cb:8; member
/arch/powerpc/crypto/
Daes-tab-4k.S77 .long R(d4, 6a, 6a, be), R(8d, cb, cb, 46)
133 .long R(cb, e8, e8, 23), R(a1, dd, dd, 7c)
159 .long R(7b, b0, b0, cb), R(a8, 54, 54, fc)
166 .long R(3b, ab, 6b, cb), R(1f, 9d, 45, f1)
170 .long R(4f, e5, d7, fc), R(c5, 2a, cb, d7)
232 .long R(8b, 43, 29, 76), R(cb, 23, c6, dc)
290 .long R(7b, cb, 84, 61), R(d5, 32, b6, 70)
/arch/arm64/boot/dts/qcom/
Dsm8250.dtsi2129 compute-cb@1 {
2130 compatible = "qcom,fastrpc-compute-cb";
2135 compute-cb@2 {
2136 compatible = "qcom,fastrpc-compute-cb";
2141 compute-cb@3 {
2142 compatible = "qcom,fastrpc-compute-cb";
2145 /* note: shared-cb = <4> in downstream */
2194 compute-cb@1 {
2195 compatible = "qcom,fastrpc-compute-cb";
2200 compute-cb@2 {
[all …]
/arch/x86/hyperv/
Dhv_init.c135 void set_hv_tscchange_cb(void (*cb)(void)) in set_hv_tscchange_cb()
151 hv_reenlightenment_cb = cb; in set_hv_tscchange_cb()

12