/DragonOS/kernel/src/net/socket/ |
H A D | unix.rs | 66 let len = core::cmp::min(buf.len(), buffer.len()); in read() localVariable 80 let len = peer_inode.inner().write_buffer(buf)?; in write() localVariable 100 let len = buf.len(); in write_buffer() localVariable 177 let len = core::cmp::min(buf.len(), buffer.len()); in read() localVariable 191 let len = peer_inode.inner().write_buffer(buf)?; in write() localVariable 211 let len = buf.len(); in write_buffer() localVariable
|
/DragonOS/user/apps/test_uart/ |
H A D | main.c | 26 int len = write(fd, str, strlen(str)); in main() local
|
/DragonOS/kernel/src/syscall/ |
H A D | mod.rs | 160 let len = args[2]; in handle() localVariable 171 let len = args[2]; in handle() localVariable 191 let len = args[2]; in handle() localVariable 203 let len = args[2]; in handle() localVariable 247 let len = args[2]; in handle() localVariable 511 let len = args[2]; in handle() localVariable 529 let len = args[2]; in handle() localVariable 600 let len = page_align_up(args[1]); in handle() localVariable 626 let len = page_align_up(args[1]); in handle() localVariable 636 let len = page_align_up(args[1]); in handle() localVariable [all …]
|
/DragonOS/user/apps/dmesg/ |
H A D | main.c | 9 unsigned int len = 1; in main() local
|
/DragonOS/kernel/src/filesystem/procfs/ |
H A D | kmsg.rs | 71 let len = self.data.len().min(buf.len()); in read_all() localVariable 90 let len = data_level.len().min(buf.len()); in read_level() localVariable
|
/DragonOS/user/apps/test-for-robustfutex/src/ |
H A D | main.rs | 213 let len = mem::size_of::<*mut RobustListHead>(); in set_list() localVariable 283 let len = mem::size_of::<*mut RobustListHead>(); in test01() localVariable 293 let len: usize = 0; in test01() localVariable
|
/DragonOS/kernel/src/libs/ |
H A D | printk.c | 68 int len; in __do_vsprintf() local 603 int len = vsprintf(buf, fmt, args); in printk_color() local
|
H A D | vec_cursor.rs | 239 pub fn len(&self) -> usize { in len() method
|
H A D | rbtree.rs | 342 len: usize, field 601 len: usize, field 680 len: usize, field 752 len: usize, field 843 pub fn len(&self) -> usize { in len() method
|
/DragonOS/kernel/crates/rbpf/src/ |
H A D | stack.rs | 35 pub fn len(&self) -> usize { in len() method
|
/DragonOS/kernel/crates/bitmap/src/ |
H A D | traits.rs | 10 fn len(bits: &Self) -> usize; in len() method 250 fn len(&self) -> usize; in len() method
|
H A D | static_bitmap.rs | 54 fn len(&self) -> usize { in len() function
|
H A D | alloc_bitmap.rs | 43 fn len(&self) -> usize { in len() method
|
/DragonOS/kernel/src/debug/ |
H A D | kallsyms.c | 69 size_t len = strlen(symbol_name); in read_symbol() local
|
/DragonOS/kernel/src/filesystem/sysfs/ |
H A D | file.rs | 64 let len = attribute.show(kobj, buf)?; in callback_read() localVariable 69 let len = len - offset; in callback_read() localVariable 415 let len = if buf.len() > s.len() { in sysfs_emit_str() localVariable
|
/DragonOS/kernel/src/exception/ |
H A D | sysfs.rs | 159 let len = core::cmp::min(name.len() + 1, buf.len()); in show() localVariable 302 let mut len = 0; in show() localVariable
|
/DragonOS/tools/debugging/logmonitor/src/backend/ |
H A D | loader.rs | 80 pub fn len(&self) -> usize { in len() method
|
/DragonOS/kernel/src/libs/lib_ui/ |
H A D | screen_manager.rs | 168 let len = self.buf_size() / core::mem::size_of::<u32>(); in copy_from_nonoverlapping() localVariable 188 let len = src.buf_size() / core::mem::size_of::<u8>(); in copy_from_nonoverlapping() localVariable
|
/DragonOS/kernel/src/libs/lib_ui/font/ |
H A D | mod.rs | 88 pub const fn len(&self) -> usize { in len() method
|
/DragonOS/kernel/crates/kprobe/src/arch/x86/ |
H A D | mod.rs | 96 let len = inst.len().to_const(); in replace_inst() localVariable
|
/DragonOS/tools/debugging/logmonitor/src/backend/monitor/ |
H A D | logset.rs | 64 pub fn len(&self) -> usize { in len() method
|
/DragonOS/kernel/src/init/ |
H A D | boot.rs | 92 let len = min(avail as usize, data.len()); in boot_cmdline_append() localVariable
|
H A D | cmdline.rs | 275 let len = value.len().min(KernelCmdlineEarlyKV::VALUE_MAX_LEN); in early_init() localVariable 293 let len = v.default.len().min(KernelCmdlineEarlyKV::VALUE_MAX_LEN); in early_init() localVariable
|
/DragonOS/kernel/src/filesystem/vfs/ |
H A D | core.rs | 292 let len = buf.len(); in do_symlinkat() localVariable
|
/DragonOS/kernel/src/arch/x86_64/include/asm/ |
H A D | asm.h | 396 static inline int memcmp(const void *s1, const void *s2, size_t len) in memcmp()
|