Home
last modified time | relevance | path

Searched defs:B (Results 1 – 25 of 75) sorted by relevance

123

/linux/rust/zerocopy/src/
H A Ddeprecated.rs26 pub fn new(bytes: B) -> Option<Ref<B, T>> { in new()
40 pub fn new_from_prefix(bytes: B) -> Option<(Ref<B, T>, B)> { in new_from_prefix() argument
54 pub fn new_from_suffix(bytes: B) -> Option<(B, Ref<B, T>)> { in new_from_suffix()
71 pub fn new_unaligned(bytes: B) -> Option<Ref<B, T>> { in new_unaligned()
88 pub fn new_unaligned_from_prefix(bytes: B) -> Option<(Ref<B, T>, B)> { in new_unaligned_from_prefix() argument
105 pub fn new_unaligned_from_suffix(bytes: B) -> Option<(B, Ref<B, T>)> { in new_unaligned_from_suffix()
118 pub fn new_slice(bytes: B) -> Option<Ref<B, [T]>> { in new_slice()
134 pub fn new_slice_unaligned(bytes: B) -> Option<Ref<B, [T]>> { in new_slice_unaligned()
174 pub fn new_slice_from_prefix(bytes: B, count: usize) -> Option<(Ref<B, [T]>, B)> { in new_slice_from_prefix() argument
182 pub fn new_slice_from_suffix(bytes: B, count: usize) -> Option<(B, Ref<B, [T]>)> { in new_slice_from_suffix()
[all …]
H A Dref.rs82 pub(crate) unsafe fn new_unchecked(bytes: B) -> Ref<B, T> { in new_unchecked()
183 fn clone(&self) -> Ref<B, T> { in clone()
210 pub(crate) fn sized_from(bytes: B) -> Result<Ref<B, T>, CastError<B, T>> { in sized_from()
228 pub(crate) fn sized_from_prefix(bytes: B) -> Result<(Ref<B, T>, B), CastError<B, T>> { in sized_from_prefix()
249 pub(crate) fn sized_from_suffix(bytes: B) -> Result<(B, Ref<B, T>), CastError<B, T>> { in sized_from_suffix()
311 pub fn from_bytes(source: B) -> Result<Ref<B, T>, CastError<B, T>> { in from_bytes()
365 pub fn from_prefix(source: B) -> Result<(Ref<B, T>, B), CastError<B, T>> { in from_prefix()
430 pub fn from_suffix(source: B) -> Result<(B, Ref<B, T>), CastError<B, T>> { in from_suffix()
491 pub fn from_bytes_with_elems(source: B, count: usize) -> Result<Ref<B, T>, CastError<B, T>> { in from_bytes_with_elems()
543 source: B, in from_prefix_with_elems()
[all …]
H A Dbyte_slice.rs62 impl<B: ByteSlice + DerefMut> ByteSliceMut for B {} implementation
146 impl<B: SplitByteSlice + ByteSliceMut> SplitByteSliceMut for B {} implementation
/linux/rust/kernel/sync/
H A Dcondvar.rs117 guard: &mut Guard<'_, T, B>, in wait_internal() argument
145 pub fn wait<T: ?Sized, B: Backend>(&self, guard: &mut Guard<'_, T, B>) { in wait() argument
170 guard: &mut Guard<'_, T, B>, in wait_interruptible_freezable() argument
188 guard: &mut Guard<'_, T, B>, in wait_interruptible_timeout() argument
H A Dlock.rs172 lock(&self) -> Guard<'_, T, B> lock() argument
185 try_lock(&self) -> Option<Guard<'_, T, B>> try_lock() argument
234 lock_ref(&self) -> &'a Lock<T, B> lock_ref() argument
307 new(lock: &'a Lock<T, B>, state: B::GuardState) -> Self new() argument
[all...]
H A Dlocked_by.rs102 pub fn new<B: Backend>(owner: &Lock<U, B>, data: T) -> Self { in new() argument
/linux/lib/crypto/
H A Ddes.c581 #define ROUND(L, R, A, B, K, d) \ argument
783 u32 L, R, A, B; in des_encrypt() local
804 u32 L, R, A, B; in des_decrypt() local
846 u32 L, R, A, B; in des3_ede_encrypt() local
875 u32 L, R, A, B; in des3_ede_decrypt() local
/linux/tools/testing/selftests/bpf/progs/
H A Dbtf_dump_test_case_namespacing.c32 union B {}; union
36 B = 2, enumerator
H A Dtest_core_reloc_primitives.c18 B = 1, enumerator
H A Dbtf_dump_test_case_bitfields.c34 B, /* B = 1, same */ enumerator
/linux/lib/
H A Ddynamic_queue_limits.c15 #define POSDIFF(A, B) ((int)((A) - (B)) > 0 ? (A) - (B) : 0) argument
16 #define AFTER_EQ(A, B) ((int)((A) - (B)) >= 0) argument
/linux/drivers/gpu/drm/i915/gt/
H A Dselftest_gt_pm.c15 static int cmp_u64(const void *A, const void *B) in cmp_u64()
27 static int cmp_u32(const void *A, const void *B) in cmp_u32()
/linux/lib/crc/powerpc/
H A Dcrc-vpmsum-template.S59 #define VPERM(A, B, C, D) vperm A, B, C, D argument
61 #define VPERM(A, B, C, D) argument
/linux/rust/kernel/sync/lock/
H A Dglobal.rs80 lock(&'static self) -> GlobalGuard<B> lock() argument
87 try_lock(&'static self) -> Option<GlobalGuard<B>> try_lock() argument
[all...]
/linux/tools/virtio/linux/
H A Dthread_info.h1 #define check_copy_size(A, B, C) (1) argument
/linux/Documentation/kbuild/
H A DKconfig.select-break26 config B config
/linux/scripts/kconfig/tests/choice_randomize/
H A DKconfig7 config B config in choice20c1c1c20104
/linux/include/drm/
H A Ddrm_fixed.h41 #define dfixed_mul(A, B) ((u64)((u64)(A).full * (B).full + 2048) >> 12) argument
64 static inline u32 dfixed_div(fixed20_12 A, fixed20_12 B) in dfixed_div()
/linux/tools/testing/selftests/powerpc/benchmarks/
H A Dfutex_bench.c18 #define futex(A, B, C, D, E, F) syscall(__NR_futex, A, B, C, D, E, F) argument
/linux/scripts/kconfig/tests/choice_randomize2/
H A DKconfig16 config B config in choice6bdeda340204
/linux/security/apparmor/include/
H A Daf_unix.h23 #define is_unix_addr_abstract_name(B) ((B)[0] == 0) argument
/linux/scripts/kconfig/tests/auto_submenu/
H A DKconfig42 config B config
/linux/drivers/comedi/drivers/ni_routing/
H A Dni_route_values.h36 #define B(x) ((x) - NI_NAMES_BASE) macro
/linux/scripts/kconfig/tests/err_recursive_dep/
H A DKconfig11 config B config
/linux/fs/ntfs3/
H A Ddebug.h19 #define PtrOffset(B, O) ((size_t)((size_t)(O) - (size_t)(B))) argument

123