Home
last modified time | relevance | path

Searched refs:borrow (Results 1 – 19 of 19) sorted by relevance

/linux/arch/powerpc/boot/
H A Ddevtree.c159 int i, borrow = 0; in sub_reg() local
162 int prev_borrow = borrow; in sub_reg()
163 borrow = reg[i] < sub[i] + prev_borrow; in sub_reg()
167 return !borrow; in sub_reg()
/linux/crypto/
H A Decc.c328 u64 borrow = 0; in vli_sub() local
334 diff = left[i] - right[i] - borrow; in vli_sub()
336 borrow = (diff > left[i]); in vli_sub()
341 return borrow; in vli_sub()
349 u64 borrow = right; in vli_usub() local
355 diff = left[i] - borrow; in vli_usub()
357 borrow = (diff > left[i]); in vli_usub()
362 return borrow; in vli_usub()
526 u64 borrow = vli_sub(result, left, right, ndigits); in vli_mod_sub() local
532 if (borrow) in vli_mod_sub()
[all …]
/linux/rust/kernel/alloc/
H A Dkbox.rs9 use core::borrow::{Borrow, BorrowMut};
506 unsafe fn borrow<'a>(ptr: *mut c_void) -> &'a T { in borrow() function
541 unsafe fn borrow<'a>(ptr: *mut c_void) -> Pin<&'a T> { in borrow() function
614 fn borrow(&self) -> &T { in borrow() function
H A Dkvec.rs15 borrow::{Borrow, BorrowMut},
929 fn borrow(&self) -> &[T] { in borrow() function
/linux/rust/kernel/
H A Dtypes.rs98 unsafe fn borrow<'a>(ptr: *mut c_void) -> Self::Borrowed<'a>; in borrow() method
142 unsafe fn borrow<'a>(_: *mut c_void) -> Self::Borrowed<'a> {} in borrow() method
H A Dxarray.rs195 unsafe { T::borrow(ptr.as_ptr()) } in get()
H A Ddevice.rs293 unsafe { Pin::<KBox<T>>::borrow(ptr.cast()) } in drvdata_unchecked()
H A Dcpufreq.rs640 Some(unsafe { T::borrow(self.as_ref().driver_data.cast()) }) in data()
/linux/rust/quote/
H A Dident_fragment.rs3 use alloc::borrow::Cow;
H A Dto_tokens.rs4 use alloc::borrow::Cow;
/linux/Documentation/admin-guide/blockdev/
H A Dnbd.rst13 to borrow disk space from another computer.
/linux/rust/proc-macro2/
H A Dfallback.rs559 let sm = sm.borrow(); in start()
572 let sm = sm.borrow(); in end()
585 let sm = sm.borrow(); in file()
610 let sm = sm.borrow(); in join()
/linux/rust/pin-init/src/
H A D__internal.rs213 use ::std::{borrow::ToOwned, println, string::String}; in stack_init_reuse()
/linux/arch/m68k/fpsp040/
H A Dsrem_mod.S236 |..use the borrow of the previous compare
237 bcss R_LT_Y | ...borrow is set iff R < Y
/linux/Documentation/arch/parisc/
H A Dregisters.rst78 C/B (carry/borrow bits) used by C code
/linux/arch/arm/nwfpe/
H A Dsoftfloat-macros399 2^128, so any borrow out (carry out) is lost. The result is broken into two
418 Subtraction is modulo 2^192, so any borrow out (carry out) is lost. The
/linux/Documentation/bpf/
H A Dmap_hash.rst240 The number of nodes to borrow from the global list in a batch, ``target_free``,
/linux/Documentation/driver-api/
H A Dparport-lowlevel.rst646 driver to temporarily ``borrow`` it. ``parport_yield`` does not block;
/linux/arch/m68k/ifpsp060/src/
H A Dfplsp.S9559 #..use the borrow of the previous compare
9560 bcs.b R_LT_Y # borrow is set iff R < Y