Home
last modified time | relevance | path

Searched defs:fn (Results 1 – 25 of 84) sorted by relevance

1234

/qemu/rust/bits/src/
H A Dlib.rs114 pub const fn empty() -> Self { constant
120 pub const fn all() -> Self { constant
126 pub const fn valid_bits() -> Self { constant
132 pub const fn valid(val: $type) -> bool { constant
138 pub const fn any_set(self, mask: Self) -> bool { constant
144 pub const fn all_set(self, mask: Self) -> bool { constant
150 pub const fn none_set(self, mask: Self) -> bool { constant
156 pub const fn from_bits(value: $type) -> Self { constant
162 pub const fn into_bits(self) -> $type { constant
186 pub const fn intersection(self, rhs: Self) -> Self { constant
[all …]
/qemu/rust/qemu-api/src/
H A Dmemory.rs63 pub const fn read<F: for<'a> FnCall<(&'a T, hwaddr, u32), u64>>(mut self, _f: &F) -> Self { in read() constant
69 pub const fn write<F: for<'a> FnCall<(&'a T, hwaddr, u64, u32)>>(mut self, _f: &F) -> Self { in write() constant
75 pub const fn big_endian(mut self) -> Self { in big_endian() constant
81 pub const fn little_endian(mut self) -> Self { in little_endian() constant
87 pub const fn native_endian(mut self) -> Self { in native_endian() constant
93 pub const fn valid_sizes(mut self, min: u32, max: u32) -> Self { in valid_sizes() constant
100 pub const fn valid_unaligned(mut self) -> Self { in valid_unaligned() constant
106 pub const fn impl_sizes(mut self, min: u32, max: u32) -> Self { in impl_sizes() constant
113 pub const fn impl_unaligned(mut self) -> Self { in impl_unaligned() constant
119 pub const fn build(self) -> MemoryRegionOps<T> { in build() constant
[all …]
H A Dvmstate.rs63 … const fn phantom__<T>(_: &T) -> ::core::marker::PhantomData<T> { ::core::marker::PhantomData } constant
168 pub const fn vmstate_scalar_type<T: VMState>(_: PhantomData<T>) -> VMStateFieldType { in vmstate_scalar_type() constant
174 pub const fn vmstate_base<T: VMState>(_: PhantomData<T>) -> VMStateField { in vmstate_base() constant
181 pub const fn vmstate_varray_flag<T: VMState>(_: PhantomData<T>) -> VMStateFlags { in vmstate_varray_flag() constant
244 pub const fn with_version_id(mut self, version_id: i32) -> Self { in with_version_id() constant
251 pub const fn with_array_flag(mut self, num: usize) -> Self { in with_array_flag() constant
270 pub const fn with_pointer_flag(mut self) -> Self { in with_pointer_flag() constant
277 pub const fn with_varray_flag_unchecked(mut self, flag: VMStateFlags) -> VMStateField { in with_varray_flag_unchecked() constant
286 pub const fn with_varray_flag(mut self, flag: VMStateFlags) -> VMStateField { in with_varray_flag() constant
292 pub const fn with_varray_multiply(mut self, num: u32) -> VMStateField { in with_varray_multiply() constant
[all …]
H A Dcell.rs332 pub const fn new(value: T) -> BqlCell<T> { in new() constant
434 pub const fn as_ptr(&self) -> *mut T { in as_ptr() constant
500 const fn is_writing(x: BorrowFlag) -> bool { in is_writing() constant
505 const fn is_reading(x: BorrowFlag) -> bool { in is_reading() constant
520 pub const fn new(value: T) -> BqlRefCell<T> { in new() constant
685 pub const fn as_ptr(&self) -> *mut T { in as_ptr() constant
1009 pub const fn as_mut_ptr(&self) -> *mut T { in as_mut_ptr() constant
1014 pub const fn as_ptr(&self) -> *const T { in as_ptr() constant
1020 pub const fn as_void_ptr(&self) -> *mut std::ffi::c_void { in as_void_ptr() constant
1025 pub const fn raw_get(slot: *mut Self) -> *mut T { in raw_get() constant
H A Dirq.rs91 pub(crate) const fn as_ptr(&self) -> *mut *mut bindings::IRQState { in as_ptr() constant
95 pub(crate) const fn slice_as_ptr(slice: &[Self]) -> *mut *mut bindings::IRQState { in slice_as_ptr() constant
H A Dlib.rs108 pub const fn new() -> Self { in new() constant
/qemu/rust/hw/timer/hpet/src/
H A Ddevice.rs150 const fn hpet_next_wrap(cur_tick: u64) -> u64 { in hpet_next_wrap() constant
154 const fn hpet_time_after(a: u64, b: u64) -> bool { in hpet_time_after() constant
158 const fn ticks_to_ns(value: u64) -> u64 { in ticks_to_ns() constant
162 const fn ns_to_ticks(value: u64) -> u64 { in ns_to_ticks() constant
167 const fn hpet_fixup_reg(new: u64, old: u64, mask: u64) -> u64 { in hpet_fixup_reg() constant
171 const fn activating_bit(old: u64, new: u64, shift: usize) -> bool { in activating_bit() constant
176 const fn deactivating_bit(old: u64, new: u64, shift: usize) -> bool { in deactivating_bit() constant
252 const fn is_fsb_route_enabled(&self) -> bool { in is_fsb_route_enabled() constant
256 const fn is_periodic(&self) -> bool { in is_periodic() constant
260 const fn is_int_enabled(&self) -> bool { in is_int_enabled() constant
[all …]
/qemu/rust/qemu-api-macros/src/
H A Dlib.rs130 pub const fn as_mut_ptr(&self) -> *mut <Self as crate::cell::Wrapper>::Wrapped { in derive_opaque_or_error() constant
134 pub const fn as_ptr(&self) -> *const <Self as crate::cell::Wrapper>::Wrapped { in derive_opaque_or_error() constant
138 pub const fn as_void_ptr(&self) -> *mut ::core::ffi::c_void { in derive_opaque_or_error() constant
142 pub const fn raw_get(slot: *mut Self) -> *mut <Self as crate::cell::Wrapper>::Wrapped { in derive_opaque_or_error() constant
222 pub const fn into_bits(self) -> #repr { in derive_tryinto_or_error() constant
227 pub const fn from_bits(value: #repr) -> Self { in derive_tryinto_or_error() constant
/qemu/qapi/
H A Dqmp-registry.c19 QmpCommandFunc *fn, QmpCommandOptions options, in qmp_register_command()
87 void qmp_for_each_command(const QmpCommandList *cmds, qmp_cmd_callback_fn fn, in qmp_for_each_command()
/qemu/target/riscv/
H A Dvector_internals.c60 opivv2_fn *fn, uint32_t esz) in do_vext_vv()
86 opivx2_fn fn, uint32_t esz) in do_vext_vx()
/qemu/target/arm/tcg/
H A Dtranslate-mve.c144 static bool do_ldst(DisasContext *s, arg_VLDR_VSTR *a, MVEGenLdStFn *fn, in do_ldst()
311 MVEGenLdStSGFn *fn, unsigned msize) in do_ldst_sg_imm()
380 static bool do_vldst_il(DisasContext *s, arg_vldst_il *a, MVEGenLdStIlFn *fn, in do_vldst_il()
500 static bool do_1op_vec(DisasContext *s, arg_1op *a, MVEGenOneOpFn fn, in do_1op_vec()
526 static bool do_1op(DisasContext *s, arg_1op *a, MVEGenOneOpFn fn) in do_1op()
601 MVEGenVCVTRmodeFn *fn = fns[a->size][u]; local
782 static bool do_2op_vec(DisasContext *s, arg_2op *a, MVEGenTwoOpFn fn, in do_2op_vec()
809 static bool do_2op(DisasContext *s, arg_2op *a, MVEGenTwoOpFn *fn) in do_2op()
1255 static bool do_dual_acc(DisasContext *s, arg_vmladav *a, MVEGenDualAccOpFn *fn) in do_dual_acc()
1489 static bool do_1imm(DisasContext *s, arg_1imm *a, MVEGenOneOpImmFn *fn, in do_1imm()
[all …]
H A Dtranslate-sve.c107 static bool gen_gvec_ool_zz(DisasContext *s, gen_helper_gvec_2 *fn, in gen_gvec_ool_zz()
122 static bool gen_gvec_fpst_zz(DisasContext *s, gen_helper_gvec_2_ptr *fn, in gen_gvec_fpst_zz()
140 static bool gen_gvec_fpst_ah_arg_zz(DisasContext *s, gen_helper_gvec_2_ptr *fn, in gen_gvec_fpst_ah_arg_zz()
148 static bool gen_gvec_ool_zzz(DisasContext *s, gen_helper_gvec_3 *fn, in gen_gvec_ool_zzz()
164 static bool gen_gvec_ool_arg_zzz(DisasContext *s, gen_helper_gvec_3 *fn, in gen_gvec_ool_arg_zzz()
171 static bool gen_gvec_fpst_zzz(DisasContext *s, gen_helper_gvec_3_ptr *fn, in gen_gvec_fpst_zzz()
190 static bool gen_gvec_fpst_arg_zzz(DisasContext *s, gen_helper_gvec_3_ptr *fn, in gen_gvec_fpst_arg_zzz()
197 static bool gen_gvec_fpst_ah_arg_zzz(DisasContext *s, gen_helper_gvec_3_ptr *fn, in gen_gvec_fpst_ah_arg_zzz()
205 static bool gen_gvec_ool_zzzz(DisasContext *s, gen_helper_gvec_4 *fn, in gen_gvec_ool_zzzz()
222 static bool gen_gvec_ool_arg_zzzz(DisasContext *s, gen_helper_gvec_4 *fn, in gen_gvec_ool_arg_zzzz()
[all …]
H A Dtranslate-sme.c248 static bool do_ldst_r(DisasContext *s, arg_ldstr *a, GenLdStR *fn) in do_ldst_r()
316 gen_helper_gvec_5_ptr *fn) in do_outprod_fpst()
338 gen_helper_gvec_5_ptr *fn) in do_outprod_env()
H A Dtranslate-neon.c780 static bool do_3same(DisasContext *s, arg_3same *a, GVecGen3Fn fn) in do_3same()
1058 static bool do_vector_2sh(DisasContext *s, arg_2reg_shift *a, GVecGen2iFn *fn) in do_vector_2sh()
1367 gen_helper_gvec_2_ptr *fn) in do_fp_2sh()
1460 GVecGen2iFn *fn; in trans_Vimm_1r() local
2113 gen_helper_gvec_3_ptr *fn) in do_2scalar_fp_vec()
2571 ZipFn *fn) in do_zip_uzp()
2606 static ZipFn * const fn[2][4] = { in trans_VUZP() local
2624 static ZipFn * const fn[2][4] = { in trans_VZIP() local
2879 static bool do_2misc_vec(DisasContext *s, arg_2misc *a, GVecGen2Fn *fn) in do_2misc_vec()
3007 static bool do_2misc(DisasContext *s, arg_2misc *a, NeonGenOneOpFn *fn) in do_2misc()
[all …]
/qemu/ebpf/
H A Debpf.h21 #define ebpf_binary_init(id, fn) \ argument
/qemu/hw/i386/
H A Dx86-iommu-stub.c26 iec_notify_fn fn, void *data) in x86_iommu_iec_register_notifier()
/qemu/tests/unit/
H A Dtest-forward-visitor.c21 #define CAST_VISIT_TYPE(fn) ((GenericVisitor *)(fn)) argument
28 static void *visit_with_forward(const char *srcstr, GenericVisitor *fn) in visit_with_forward()
/qemu/include/hw/arm/
H A Dsoc_dma.h103 hwaddr virt_base, soc_dma_io_t fn, void *opaque) in soc_dma_port_add_fifo_in()
109 hwaddr virt_base, soc_dma_io_t fn, void *opaque) in soc_dma_port_add_fifo_out()
/qemu/include/hw/acpi/
H A Dacpi_aml_interface.h44 dev_aml_fn fn = get_dev_aml_func(dev); in call_dev_aml_func() local
/qemu/include/qapi/
H A Dqmp-registry.h34 QmpCommandFunc *fn; member
/qemu/hw/xen/
H A Dxen-operations.c316 xs_watch_fn fn; member
331 static struct qemu_xs_watch *new_watch(const char *path, xs_watch_fn fn, in new_watch()
357 const char *path, xs_watch_fn fn, in libxenstore_watch()
/qemu/target/s390x/tcg/
H A Dvec_fpu_helper.c113 bool s, bool XxC, uint8_t erm, vop32_2_fn fn, in vop32_2()
137 bool s, bool XxC, uint8_t erm, vop64_2_fn fn, in vop64_2()
161 bool s, bool XxC, uint8_t erm, vop128_2_fn fn, in vop128_2()
260 CPUS390XState *env, bool s, vop32_3_fn fn, in vop32_3()
283 CPUS390XState *env, bool s, vop64_3_fn fn, in vop64_3()
306 CPUS390XState *env, bool s, vop128_3_fn fn, in vop128_3()
416 CPUS390XState *env, bool s, vfc32_fn fn, uintptr_t retaddr) in vfc32()
448 CPUS390XState *env, bool s, vfc64_fn fn, uintptr_t retaddr) in vfc64()
480 CPUS390XState *env, bool s, vfc128_fn fn, uintptr_t retaddr) in vfc128()
/qemu/hw/display/
H A Dframebuffer.c64 drawfn fn, in framebuffer_update_display()
/qemu/hw/dma/
H A Dsoc_dma.c72 soc_dma_io_t fn; member
260 soc_dma_io_t fn, void *opaque, int out) in soc_dma_port_add_fifo()
/qemu/util/
H A Ddefer-call.c29 void (*fn)(void *); member

1234