Home
last modified time | relevance | path

Searched defs:u8 (Results 1 – 25 of 38) 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.rs145 impl AsRef<BStr> for [u8] { global() implementation
317 to_bytes(&self) -> &[u8] to_bytes() argument
326 as_bytes(&self) -> &[u8] as_bytes() argument
332 to_bytes_with_nul(&self) -> &[u8] to_bytes_with_nul() argument
341 as_bytes_with_nul(&self) -> &[u8] as_bytes_with_nul() argument
759 from_ptrs(pos: *mut u8, end: *mut u8) -> Self from_ptrs() argument
774 from_buffer(buf: *mut u8, len: usize) -> Self from_buffer() argument
788 pos(&self) -> *mut u8 pos() argument
836 from_buffer(buf: *mut u8, len: usize) -> Self from_buffer() argument
[all...]
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 Dpage.rs174 read_raw(&self, dst: *mut u8, offset: usize, len: usize) -> Result read_raw() argument
196 write_raw(&self, src: *const u8, offset: usize, len: usize) -> Result write_raw() argument
H A Dprint.rs102 module_name: &[u8],
H A Dfirmware.rs101 pub fn data(&self) -> &[u8] { in data() argument
H A Ddevice.rs372 printk(&self, klevel: &[u8], msg: fmt::Arguments<'_>) printk() argument
/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/drivers/net/fddi/skfp/h/
H A Dtargetos.h88 #define u8 unsigned char macro
/linux/drivers/xen/xen-pciback/
H A Dconf_space.c34 DEFINE_PCI_CONFIG(read, byte, u8 *) in DEFINE_PCI_CONFIG() argument
/linux/rust/kernel/net/
H A Dphy.rs624 read_mmd(_dev: &mut Device, _devnum: u8, _regnum: u16) -> Result<u16> read_mmd() argument
629 write_mmd(_dev: &mut Device, _devnum: u8, _regnum: u16, _val: u16) -> Result write_mmd() argument
/linux/arch/alpha/boot/tools/
H A Dmkbb.c26 #define u8 unsigned char macro

12