Home
last modified time | relevance | path

Searched refs:i32 (Results 1 – 25 of 57) sorted by relevance

123

/linux/lib/crypto/arm/
H A Dchacha-neon-core.S74 vadd.i32 q0, q0, q1
79 vadd.i32 q2, q2, q3
85 vadd.i32 q0, q0, q1
91 vadd.i32 q2, q2, q3
104 vadd.i32 q0, q0, q1
109 vadd.i32 q2, q2, q3
115 vadd.i32 q0, q0, q1
121 vadd.i32 q2, q2, q3
163 vadd.i32 q0, q0, q8
167 vadd.i32 q1, q1, q9
[all …]
H A Dcurve25519-core.S25 vmov.i32 q0, #1
28 vmov.i32 d4, #19
29 vmov.i32 d5, #38
35 vmov.i32 q2, #0
179 vmov.i32 q0, #0
187 vmov.i32 q0, #0
192 vmov.i32 q0, #0
225 vdup.i32 q8, r2
262 vadd.i32 q8, q4, q6
263 vsub.i32 q4, q4, q6
[all …]
/linux/rust/kernel/sync/atomic/
H A Dpredefine.rs31 // SAFETY: `i32` has the same size and alignment with itself, and is round-trip transmutable to in rhs_into_delta()
33 unsafe impl super::AtomicType for i32 {
34 type Repr = i32;
37 // SAFETY: The wrapping add result of two `i32`s is a valid `i32`.
38 unsafe impl super::AtomicAdd<i32> for i32 {
39 fn rhs_into_delta(rhs: i32) -> i32 {
63 type isize_atomic_repr = i32;
10 unsafe impl super::AtomicType for i32 { global() implementation
15 unsafe impl super::AtomicAdd<i32> for i32 { global() implementation
16 rhs_into_delta(rhs: i32) -> i32 rhs_into_delta() argument
82 rhs_into_delta(rhs: u32) -> i32 rhs_into_delta() argument
[all...]
H A Dinternal.rs16 // The C side supports atomic primitives only for `i32` and `i64` (`atomic_t` and `atomic64_t`),
21 impl private::Sealed for i32 {}
30 /// - `i32` map to `atomic_t`
54 // `atomic_t` implements atomic operations on `i32`.
55 impl AtomicImpl for i32 {
265 [ i8 => atomic_i8, i16 => atomic_i16, i32 => atomic, i64 => atomic64 ]
283 [ i8 => atomic_i8, i16 => atomic_i16, i32 => atomic, i64 => atomic64 ]
311 [ i32 => atomic, i64 => atomic64 ]
17 impl private::Sealed for i32 {} global() implementation
36 impl AtomicImpl for i32 { global() implementation
/linux/tools/testing/selftests/bpf/progs/
H A Dset_global_vars.c11 typedef s32 i32; typedef
20 const volatile i32 var_s32 = -1;
30 const volatile i32 arr[32];
32 const volatile i32 three_d[47][19][17];
33 const volatile i32 *ptr_arr[32];
/linux/rust/kernel/sync/
H A Drefcount.rs28 pub fn new(value: i32) -> Self { in new()
45 pub fn as_atomic(&self) -> &Atomic<i32> { in as_atomic() argument
55 pub fn set(&self, value: i32) { in set() argument
/linux/rust/kernel/pci/
H A Dio.rs112 let _ret = unsafe { bindings::$c_fn($self.pdev.as_raw(), $addr as i32, &mut val) };
141 let _ret = unsafe { bindings::$c_fn($self.pdev.as_raw(), $addr as i32, $value) };
191 num: i32,
202 let num = i32::try_from(num)?; in new()
248 unsafe fn do_release(pdev: &Device, ioptr: usize, num: i32) { in do_release() argument
/linux/rust/kernel/
H A Dalloc.rs115 pub struct NumaNode(i32);
122 pub fn new(node: i32) -> Result<Self> { in new()
124 if node < 0 || node >= bindings::MAX_NUMNODES as i32 { in new()
H A Dregulator.rs386 pub struct Voltage(i32);
390 pub fn from_microvolts(uv: i32) -> Self { in from_microvolts()
395 pub fn as_microvolts(self) -> i32 { in as_microvolts() argument
H A Djump_label.rs72 pub const fn bool_to_int(b: bool) -> i32 { in bool_to_int() argument
73 b as i32 in bool_to_int()
H A Dmodule_param.rs102 impl_int_module_param!(i32);
177 make_param_ops!(PARAM_OPS_I32, i32);
H A Derror.rs28 match super::Error::try_from_errno(-(crate::bindings::$err as i32)) {
140 if errno < -(bindings::MAX_ERRNO as i32) || errno >= 0 { in try_from_errno()
513 // And an `i16` always fits in an `i32`. So casting `err` to in from_result()
514 // an `i32` can never overflow, and is always valid. in from_result()
H A Dkunit.rs69 static LINE: i32 = ::core::line!() as i32 - $diff;
H A Dnum.rs75 i32: Signed,
/linux/scripts/
H A Dgenerate_rust_target.rs21 Number(i32),
74 impl From<i32> for Value {
75 fn from(value: i32) -> Self { in from()
/linux/Documentation/translations/zh_CN/rust/
H A Dtesting.rst58 pub fn f(a: i32, b: i32) -> i32 {
/linux/rust/kernel/irq/
H A Drequest.rs264 _irq: i32, in handle_irq_callback()
485 _irq: i32, in handle_threaded_irq_callback()
501 _irq: i32, in thread_fn_callback()
/linux/fs/squashfs/
H A Dexport.c89 return squashfs_export_iget(sb, fid->i32.ino); in squashfs_fh_to_dentry()
99 return squashfs_export_iget(sb, fid->i32.parent_ino); in squashfs_fh_to_parent()
/linux/include/net/sctp/
H A Dcommand.h107 __s32 i32; member
148 SCTP_ARG_CONSTRUCTOR(I32, __s32, i32) in SCTP_ARG_CONSTRUCTOR() argument
/linux/samples/rust/hostprogs/
H A Db.rs5 pub(crate) const CONSTANT: i32 = 42;
H A Da.rs5 pub(crate) fn f(x: i32) { in f() argument
/linux/rust/
H A Dffi.rs36 c_int = i32;
/linux/samples/rust/
H A Drust_minimal.rs22 numbers: KVec<i32>,
/linux/rust/kernel/time/
H A Ddelay.rs33 const MAX_DELTA: Delta = Delta::from_micros(i32::MAX as i64); in fsleep()
/linux/arch/mips/include/asm/octeon/
H A Dcvmx-fau.h260 uint64_t i32; in cvmx_fau_tagwait_fetch_and_add32() member
264 result.i32 = in cvmx_fau_tagwait_fetch_and_add32()

123