/arch/s390/kernel/ |
D | runtime_instr.c | 53 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 …]
|
D | ptrace.c | 1162 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/ |
D | scattered.c | 53 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, ®s[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/ |
D | modules.h | 6 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 *)…
|
D | mem_protect.h | 99 int hyp_register_host_perm_fault_handler(int (*cb)(struct kvm_cpu_context *ctxt, u64 esr, u64 addr)…
|
/arch/arm64/include/asm/ |
D | alternative-macros.h | 22 #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
|
D | kvm_pkvm_module.h | 141 …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/ |
D | runtime_instr.h | 62 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/ |
D | timer.c | 26 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/ |
D | multicalls.c | 129 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/ |
D | serial.c | 66 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()
|
D | setup.c | 307 .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()
|
D | psci-relay.c | 36 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()
|
D | switch.c | 378 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/ |
D | uaccess.h | 154 #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/ |
D | proton-pack.c | 273 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/ |
D | net_user.h | 28 extern void iter_addresses(void *d, void (*cb)(unsigned char *,
|
/arch/x86/include/asm/ |
D | mshyperv.h | 161 void set_hv_tscchange_cb(void (*cb)(void)); 188 static inline void set_hv_tscchange_cb(void (*cb)(void)) {} in set_hv_tscchange_cb()
|
D | pgtable_types.h | 474 #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/ |
D | pgtable.c | 114 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/ |
D | processor-generic.h | 45 } cb; member
|
/arch/parisc/include/asm/ |
D | psw.h | 84 unsigned int cb:8; member
|
/arch/powerpc/crypto/ |
D | aes-tab-4k.S | 77 .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/ |
D | sm8250.dtsi | 2129 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/ |
D | hv_init.c | 135 void set_hv_tscchange_cb(void (*cb)(void)) in set_hv_tscchange_cb() 151 hv_reenlightenment_cb = cb; in set_hv_tscchange_cb()
|