Home
last modified time | relevance | path

Searched defs:u8 (Results 1 – 25 of 42) sorted by relevance

12

/linux/rust/kernel/alloc/
H A Dallocator.rs86 ptr: Option<NonNull<u8>>, in call()
91 ) -> Result<NonNull<[u8]>, AllocError> { in call()
147 ptr: Option<NonNull<u8>>, in realloc()
152 ) -> Result<NonNull<[u8]>, AllocError> { in realloc()
217 ptr: Option<NonNull<u8>>, in realloc()
222 ) -> Result<NonNull<[u8]>, AllocError> { in realloc()
238 ptr: Option<NonNull<u8>>, in realloc()
243 ) -> Result<NonNull<[u8]>, AllocError> { in realloc()
/linux/rust/kernel/
H A Dalloc.rs184 fn alloc(layout: Layout, flags: Flags, nid: NumaNode) -> Result<NonNull<[u8]>, AllocError> { in alloc()
231 ptr: Option<NonNull<u8>>, in realloc()
236 ) -> Result<NonNull<[u8]>, AllocError>; in realloc()
247 unsafe fn free(ptr: NonNull<u8>, layout: Layout) { in free()
264 pub(crate) fn dangling_from_layout(layout: Layout) -> NonNull<u8> { in dangling_from_layout()
H A Dstr.rs152 impl AsRef<BStr> for [u8] { implementation
311 unsafe fn to_bytes_mut(s: &mut CStr) -> &mut [u8] { in to_bytes_mut()
546 pub(crate) unsafe fn from_ptrs(pos: *mut u8, end: *mut u8) -> Self { in from_ptrs()
561 pub(crate) unsafe fn from_buffer(buf: *mut u8, len: usize) -> Self { in from_buffer()
575 pub(crate) fn pos(&self) -> *mut u8 { in pos()
623 pub(crate) unsafe fn from_buffer(buf: *mut u8, len: usize) -> Self { in from_buffer()
H A Duaccess.rs171 pub fn read_all<A: Allocator>(self, buf: &mut Vec<u8, A>, flags: Flags) -> Result { in read_all()
325 pub fn read_all<A: Allocator>(mut self, buf: &mut Vec<u8, A>, flags: Flags) -> Result { in read_all()
485 fn raw_strncpy_from_user(dst: &mut [MaybeUninit<u8>], src: UserPtr) -> Result<usize> { in raw_strncpy_from_user()
H A Dprint.rs102 module_name: &[u8],
H A Dfirmware.rs108 pub fn data(&self) -> &[u8] { in data()
/linux/rust/syn/
H A Dbigint.rs43 fn add_assign(&mut self, mut increment: u8) { in add_assign()
58 fn mul_assign(&mut self, base: u8) { in mul_assign()
H A Dlit.rs276 pub fn new(value: &[u8], span: Span) -> Self { in new()
287 pub fn value(&self) -> Vec<u8> { in value()
346 pub fn new(value: u8, span: Span) -> Self { in new()
357 pub fn value(&self) -> u8 { in value()
1264 pub(crate) fn byte<S: AsRef<[u8]> + ?Sized>(s: &S, idx: usize) -> u8 { in byte()
1369 pub(crate) fn parse_lit_byte_str(s: &str) -> (Vec<u8>, Box<str>) { in parse_lit_byte_str()
1378 fn parse_lit_byte_str_cooked(mut s: &str) -> (Vec<u8>, Box<str>) { in parse_lit_byte_str_cooked()
1438 fn parse_lit_byte_str_raw(s: &str) -> (Vec<u8>, Box<str>) { in parse_lit_byte_str_raw()
1528 pub(crate) fn parse_lit_byte(s: &str) -> (u8, Box<str>) { in parse_lit_byte()
1614 fn backslash_x<S>(s: &S) -> (u8, &S) in backslash_x()
H A Dfixup.rs499 fail_offset: u8, in scan_right()
500 bailout_offset: u8, in scan_right()
/linux/drivers/android/binder/
H A Dstats.rs67 static binder_command_strings: [*const u8; super::BC_COUNT]; constant
68 static binder_return_strings: [*const u8; super::BR_COUNT]; constant
/linux/net/ethtool/
H A Dcmis_cdb.c347 bool (*cond_success)(u8), bool (*cond_fail)(u8)) in ethtool_cmis_module_poll()
375 bool (*cond_success)(u8), bool (*cond_fail)(u8), in ethtool_cmis_wait_for_cond()
/linux/tools/testing/selftests/bpf/prog_tests/
H A Dsockopt_sk.c19 char u8[4]; in getsetsockopt() member
/linux/tools/sched_ext/include/scx/
H A Dcommon.h21 typedef uint8_t u8; typedef
/linux/Documentation/driver-api/surface_aggregator/
H A Dssh.rst3 .. |u8| replace:: :c:type:`u8 <u8>` substdef
/linux/drivers/comedi/drivers/ni_routing/tools/
H A Dconvert_c_to_py.c9 typedef uint8_t u8; typedef
/linux/arch/sh/drivers/pci/
H A Dcommon.c42 EARLY_PCI_OP(read, byte, u8 *) in EARLY_PCI_OP() argument
/linux/arch/powerpc/boot/
H A Dtypes.h9 typedef unsigned char u8; typedef
/linux/include/asm-generic/
H A Dint-ll64.h17 typedef __u8 u8; typedef
/linux/drivers/gpu/drm/nouveau/nvkm/subdev/mxm/
H A Dmxms.c97 bool (*exec)(struct nvkm_mxm *, u8 *, void *), void *info) in mxms_foreach() argument
/linux/tools/testing/selftests/powerpc/include/
H A Dutils.h32 typedef uint8_t u8; typedef
/linux/tools/testing/selftests/mm/
H A Dpkey-helpers.h22 typedef __u8 u8; typedef
/linux/tools/testing/selftests/bpf/progs/
H A Dset_global_vars.c12 typedef __u8 u8; typedef
/linux/include/linux/raid/
H A Dpq.h36 typedef uint8_t u8; typedef
/linux/rust/proc-macro2/
H A Dparse.rs51 fn as_bytes(&self) -> &'a [u8] { in as_bytes()
648 I: Iterator<Item = (usize, u8)>, in backslash_x_byte() argument
/linux/drivers/net/fddi/skfp/h/
H A Dtargetos.h88 #define u8 unsigned char macro

12