/DragonOS-0.1.3/user/apps/shell/ |
D | shell.c | 64 int count = shell_readline(kb_fd, input_buffer); in main_loop() local 110 void clear_command(int count, char *buf) in clear_command() 155 int count = 0; in shell_readline() local
|
/DragonOS-0.1.3/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() 149 uint8_t count = kfifo_in((struct kfifo_t*)buf_vaddr, &x, sizeof(unsigned char)); in ps2_keyboard_handler() local
|
/DragonOS-0.1.3/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.3/kernel/src/common/ |
D | semaphore.h | 34 static __always_inline void semaphore_init(semaphore_t *sema, ul count) in semaphore_init()
|
D | lockref.h | 20 int count; member
|
D | mutex.h | 19 atomic_t count; // 锁计数。1->已解锁。 0->已上锁,且有可能存在等待者 member
|
D | idr.h | 146 unsigned long count; // bitmap中已经分配的id数量 member
|
D | blk_types.h | 41 uint32_t count; member
|
/DragonOS-0.1.3/kernel/src/driver/multiboot2/ |
D | multiboot2.c | 22 void *data, unsigned int *count) in multiboot2_iter() 58 bool multiboot2_get_memory(const struct iter_data_t *_iter_data, void *data, unsigned int *count) in multiboot2_get_memory()
|
/DragonOS-0.1.3/user/libs/libc/src/ |
D | dirent.c | 57 int64_t getdents(int fd, struct dirent *dirent, long count) in getdents()
|
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()
|
D | printf.c | 43 int count = 0; in printf() local 55 int count = 0; in sprintf() local
|
/DragonOS-0.1.3/kernel/src/ipc/ |
D | pipe.c | 31 int64_t count, long *position) in pipe_read() 64 int64_t count, long *position) in pipe_write()
|
/DragonOS-0.1.3/kernel/src/libs/libUI/ |
D | textui-render.c | 39 int textui_refresh_vlines(struct textui_window_t *window, uint16_t start, uint16_t count) in textui_refresh_vlines() 73 …fresh_characters(struct textui_window_t *window, uint16_t vline_id, uint16_t start, uint16_t count) in textui_refresh_characters()
|
/DragonOS-0.1.3/kernel/src/driver/disk/ahci/ |
D | ahci.c | 339 static bool ahci_read(HBA_PORT *port, uint32_t startl, uint32_t starth, uint32_t count, uint64_t bu… in ahci_read() 433 static bool ahci_write(HBA_PORT *port, uint32_t startl, uint32_t starth, uint32_t count, in ahci_write() 548 static struct ahci_request_packet_t *ahci_make_request(long cmd, uint64_t base_addr, uint64_t count… in ahci_make_request() 651 static long ahci_transfer(struct blk_gendisk *gd, long cmd, uint64_t base_addr, uint64_t count, uin… in ahci_transfer()
|
/DragonOS-0.1.3/kernel/src/filesystem/devfs/ |
D | chardev.c | 35 int count; member
|
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()
|
/DragonOS-0.1.3/kernel/src/syscall/ |
D | syscall.c | 157 int64_t count = (int64_t)regs->r10; in sys_read() local 209 int64_t count = (int64_t)regs->r10; in sys_write() local 456 long count = (long)regs->r10; in sys_getdents() local
|
/DragonOS-0.1.3/kernel/src/libs/ |
D | string.c | 65 char *strncpy(char *dst, const char *src, long count) in strncpy()
|
D | lockref.rs | 15 pub count: i32, field 22 count: i32, field
|
D | cpu.c | 49 int count = 0; in cpu_init() local
|
D | bitree.c | 217 int count = kfifo_out(&fifo, &nd, sizeof(uint64_t)); in bt_destroy_tree() local
|
/DragonOS-0.1.3/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.3/kernel/src/filesystem/procfs/ |
D | procfs.c | 175 static long procfs_read(struct vfs_file_t *file_ptr, char *buf, int64_t count, long *position) in procfs_read() 197 static long simple_procfs_read(void *to, int64_t count, long *position, void *from, int64_t availab… in simple_procfs_read() 218 static long procfs_write(struct vfs_file_t *file_ptr, char *buf, int64_t count, long *position) in procfs_write()
|
/DragonOS-0.1.3/kernel/src/driver/mouse/ |
D | ps2_mouse.h | 78 int count; member
|