Home
last modified time | relevance | path

Searched refs:cb (Results 1 – 25 of 32) 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/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_pgtable.h207 const kvm_pgtable_visitor_fn_t cb; member
/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/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/arm64/kvm/hyp/
Dpgtable.c172 return walker->cb(addr, data->end, level, ptep, flag, walker->arg); in kvm_pgtable_visitor_cb()
303 .cb = leaf_walker, in kvm_pgtable_get_leaf()
431 .cb = hyp_map_walker, in kvm_pgtable_hyp_map()
497 .cb = hyp_unmap_walker, in kvm_pgtable_hyp_unmap()
547 .cb = hyp_free_walker, in kvm_pgtable_hyp_destroy()
906 .cb = stage2_map_walker, in kvm_pgtable_stage2_map()
938 .cb = stage2_map_walker, in kvm_pgtable_stage2_annotate()
999 .cb = stage2_unmap_walker, in kvm_pgtable_stage2_unmap()
1064 .cb = stage2_attr_walker, in stage2_update_leaf_attrs()
1163 .cb = stage2_flush_walker, in kvm_pgtable_stage2_flush()
[all …]
/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.h476 #define __pte2cm_idx(cb) \ argument
477 ((((cb) >> (_PAGE_BIT_PAT - 2)) & 4) | \
478 (((cb) >> (_PAGE_BIT_PCD - 1)) & 2) | \
479 (((cb) >> _PAGE_BIT_PWT) & 1))
/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/kvm/hyp/nvhe/
Dsetup.c250 .cb = fix_host_ownership_walker, in fix_host_ownership()
270 .cb = fix_hyp_pgtable_refcnt_walker, in fix_hyp_pgtable_refcnt()
Dmm.c232 .cb = __pin_pgtable_cb, in hyp_pin_pgtable_pages()
/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 …]
Dsdm845.dtsi839 compute-cb@3 {
840 compatible = "qcom,fastrpc-compute-cb";
845 compute-cb@4 {
846 compatible = "qcom,fastrpc-compute-cb";
887 compute-cb@1 {
888 compatible = "qcom,fastrpc-compute-cb";
893 compute-cb@2 {
894 compatible = "qcom,fastrpc-compute-cb";
899 compute-cb@3 {
900 compatible = "qcom,fastrpc-compute-cb";
[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()
/arch/s390/pci/
Dpci_clp.c361 void (*cb)(struct clp_fh_list_entry *, void *)) in clp_list_pci()
371 cb(&rrb->response.fh_list[i], data); in clp_list_pci()
/arch/arm64/boot/dts/altera/
Dsocfpga_stratix10.dtsi113 cb_intosc_hs_div2_clk: cb-intosc-hs-div2-clk {
118 cb_intosc_ls_clk: cb-intosc-ls-clk {
/arch/um/drivers/
Dnet_kern.c821 void iter_addresses(void *d, void (*cb)(unsigned char *, unsigned char *, in iter_addresses()
835 (*cb)(address, netmask, arg); in iter_addresses()

12