/DragonOS-0.1.2/user/apps/shell/ |
D | shell.c | 110 void clear_command(int count, char *buf) in clear_command() 122 void change_command(char *buf, int type) in change_command() 152 int shell_readline(int fd, char *buf) in shell_readline()
|
D | cmd_test.c | 12 char buf[512] = {0}; in shell_pipe_test() local
|
D | cmd.c | 251 struct dirent *buf = NULL; in shell_cmd_ls() local 317 char *buf = (char *)malloc(512); in shell_cmd_cat() local 595 int parse_command(char *buf, int *argc, char ***argv) in parse_command()
|
/DragonOS-0.1.2/kernel/src/libs/libUI/ |
D | screen_manager.c | 32 …struct scm_buffer_info_t *buf = (struct scm_buffer_info_t *)kmalloc(sizeof(struct scm_buffer_info_… in __create_buffer() local 63 static int __destroy_buffer(struct scm_buffer_info_t *buf) in __destroy_buffer() 255 struct scm_buffer_info_t *buf = __create_buffer(SCM_BF_DB | SCM_BF_PIXEL); in scm_enable_double_buffer() local
|
D | textui.c | 69 int textui_install_handler(struct scm_buffer_info_t *buf) in textui_install_handler() 92 int textui_change_handler(struct scm_buffer_info_t *buf) in textui_change_handler()
|
D | screen_manager.h | 49 struct scm_buffer_info_t *buf; member
|
/DragonOS-0.1.2/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() 364 int vsprintf(char *buf, const char *fmt, va_list args) in vsprintf() 378 int vsnprintf(char *buf, const char *fmt, int buf_size, va_list args) in vsnprintf() 600 char buf[4096]; // vsprintf()的缓冲区 in printk_color() local 617 int sprintk(char *buf, const char *fmt, ...) in sprintk()
|
D | unistd.c | 26 unsigned char buf[32]; in swab() local
|
/DragonOS-0.1.2/kernel/src/filesystem/ |
D | MBR.c | 14 int MBR_read_partition_table(struct blk_gendisk *gd, void *buf) in MBR_read_partition_table()
|
/DragonOS-0.1.2/user/libs/libc/src/ |
D | unistd.c | 28 ssize_t read(int fd, void *buf, size_t count) in read() 41 ssize_t write(int fd, void const *buf, size_t count) in write() 183 unsigned char buf[32]; in swab() local
|
D | printf.c | 42 char buf[4096]; in printf() local 53 int sprintf(char *buf, const char *fmt, ...) in sprintf() 72 int vsprintf(char *buf, const char *fmt, va_list args) in vsprintf()
|
D | dirent.h | 23 char buf[DIR_BUF_SIZE]; member
|
/DragonOS-0.1.2/kernel/src/ipc/ |
D | pipe.c | 27 char buf[PIPE_BUFF_SIZE]; member 30 long pipe_read(struct vfs_file_t *file_ptr, char *buf, in pipe_read() 63 long pipe_write(struct vfs_file_t *file_ptr, char *buf, in pipe_write()
|
/DragonOS-0.1.2/kernel/src/driver/tty/ |
D | tty.c | 62 long tty_read(struct vfs_file_t *filp, char *buf, int64_t count, long *position) in tty_read() 76 long tty_write(struct vfs_file_t *filp, char *buf, int64_t count, long *position) in tty_write()
|
/DragonOS-0.1.2/kernel/src/driver/disk/ |
D | ata.c | 24 unsigned char buf[64]; in ata_disk_handler() local
|
/DragonOS-0.1.2/kernel/src/filesystem/fat32/ |
D | fat_ent.c | 27 uint32_t *buf = (uint32_t *)kzalloc(fsbi->bytes_per_sec, 0); in fat32_alloc_clusters() local 132 uint32_t buf[256]; in fat32_read_FAT_entry() local 157 uint32_t *buf = kzalloc(fsbi->bytes_per_sec, 0); in fat32_write_FAT_entry() local 193 uint8_t *buf = kzalloc(fsbi->bytes_per_clus, 0); in fat32_find_empty_dentry() local
|
D | fat32.c | 63 uint8_t *buf = kzalloc(fsbi->bytes_per_clus, 0); in __fat32_search_long_short() local 376 uint8_t buf[512] = {0}; in fat32_read_superblock() local 495 struct fat32_Directory_t *buf = (struct fat32_Directory_t *)kmalloc(fsbi->bytes_per_clus, 0); in fat32_write_inode() local 573 long fat32_read(struct vfs_file_t *file_ptr, char *buf, int64_t count, long *position) in fat32_read() 662 long fat32_write(struct vfs_file_t *file_ptr, char *buf, int64_t count, long *position) in fat32_write() 1032 void *buf = kmalloc(fsbi->bytes_per_clus, 0); in fat32_mkdir() local 1163 unsigned char *buf = (unsigned char *)kzalloc(fsbi->bytes_per_clus, 0); in fat32_readdir() local
|
/DragonOS-0.1.2/kernel/src/driver/keyboard/ |
D | ps2_keyboard.c | 102 long ps2_keyboard_read(struct vfs_file_t *filp, char *buf, int64_t count, long *position) in ps2_keyboard_read() 121 long ps2_keyboard_write(struct vfs_file_t *filp, char *buf, int64_t count, long *position) in ps2_keyboard_write()
|
/DragonOS-0.1.2/kernel/src/filesystem/VFS/ |
D | VFS.c | 215 int vfs_fill_dirent(void *buf, ino_t d_ino, char *name, int namelen, unsigned char type, off_t offs… in vfs_fill_dirent() 274 char *buf = (char *)kzalloc(last_slash + 2, 0); in vfs_mkdir() local 659 char *buf = (char *)kzalloc(last_slash + 2, 0); in vfs_rmdir() local 811 char *buf = (char *)kzalloc(last_slash + 1, 0); in do_unlink_at() local
|
/DragonOS-0.1.2/kernel/src/driver/video/ |
D | video.c | 128 int video_set_refresh_target(struct scm_buffer_info_t *buf) in video_set_refresh_target()
|
/DragonOS-0.1.2/kernel/src/ktest/ |
D | test-kfifo.c | 16 void *buf = kmalloc(fifo_size, 0); in ktest_kfifo_case0_1() local
|
/DragonOS-0.1.2/kernel/src/driver/disk/ahci/ |
D | ahci.c | 339 …atic bool ahci_read(HBA_PORT *port, uint32_t startl, uint32_t starth, uint32_t count, uint64_t buf) in ahci_read() 434 uint64_t buf) in ahci_write() 652 …g ahci_transfer(struct blk_gendisk *gd, long cmd, uint64_t base_addr, uint64_t count, uint64_t buf) in ahci_transfer()
|
/DragonOS-0.1.2/kernel/src/filesystem/rootfs/ |
D | rootfs.c | 46 static long rootfs_read(struct vfs_file_t *file_ptr, char *buf, int64_t count, long *position) { re… in rootfs_read() 47 static long rootfs_write(struct vfs_file_t *file_ptr, char *buf, int64_t count, long *position) { r… in rootfs_write()
|
/DragonOS-0.1.2/kernel/src/syscall/ |
D | syscall.c | 155 void *buf = (void *)regs->r9; in sys_read() local 195 void *buf = (void *)regs->r9; in sys_write() local
|
/DragonOS-0.1.2/kernel/src/filesystem/devfs/ |
D | devfs.c | 79 static long devfs_read(struct vfs_file_t *file_ptr, char *buf, int64_t count, long *position) { ret… in devfs_read() 80 static long devfs_write(struct vfs_file_t *file_ptr, char *buf, int64_t count, long *position) { re… in devfs_write()
|