Searched refs:buf_size (Results 1 – 4 of 4) sorted by relevance
/DragonOS-0.1.8/kernel/src/libs/ |
D | printk.c | 54 static int __do_vsprintf(char *buf, const char *fmt, int buf_size, va_list args) in __do_vsprintf() argument 70 if (buf_size != -1) in __do_vsprintf() 72 end = buf + buf_size; in __do_vsprintf() 336 if (buf_size > 0) in __do_vsprintf() 346 return buf_size; in __do_vsprintf() 378 int vsnprintf(char *buf, const char *fmt, int buf_size, va_list args) in vsnprintf() argument 380 return __do_vsprintf(buf, fmt, buf_size, args); in vsnprintf()
|
D | elf.rs | 302 let buf_size = min(size, Self::FILE_READ_BUF_SIZE); in do_load_file() localVariable 303 let mut buf = vec![0u8; buf_size]; in do_load_file() 310 let read_size = min(remain, buf_size); in do_load_file()
|
/DragonOS-0.1.8/kernel/src/common/ |
D | printk.h | 61 int vsnprintf(char *buf, const char *fmt, int buf_size, va_list args);
|
/DragonOS-0.1.8/kernel/src/filesystem/fat/ |
D | fs.rs | 1481 let buf_size = remain_size; in resize() localVariable 1483 buf.resize(buf_size, 0); in resize() 1487 let write_size = core::cmp::min(remain_size, buf_size); in resize()
|