Home
last modified time | relevance | path

Searched defs:count (Results 1 – 25 of 34) sorted by relevance

12

/DragonOS-0.1.2/user/apps/shell/
Dshell.c64 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.2/kernel/src/driver/keyboard/
Dps2_keyboard.c102 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.2/kernel/src/driver/tty/
Dtty.c62 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/sched/
Dcfs.h9 long count; // 当前队列中的数量 member
/DragonOS-0.1.2/kernel/src/common/
Dsemaphore.h34 static __always_inline void semaphore_init(semaphore_t *sema, ul count) in semaphore_init()
Dlockref.h20 int count; member
Dmutex.h19 atomic_t count; // 锁计数。1->已解锁。 0->已上锁,且有可能存在等待者 member
Didr.h146 unsigned long count; // bitmap中已经分配的id数量 member
Dblk_types.h41 uint32_t count; member
/DragonOS-0.1.2/kernel/src/driver/multiboot2/
Dmultiboot2.c22 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.2/user/libs/libc/src/
Dunistd.c28 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()
Ddirent.c57 int64_t getdents(int fd, struct dirent *dirent, long count) in getdents()
Dprintf.c43 int count = 0; in printf() local
55 int count = 0; in sprintf() local
/DragonOS-0.1.2/kernel/src/ipc/
Dpipe.c31 int64_t count, long *position) in pipe_read()
64 int64_t count, long *position) in pipe_write()
/DragonOS-0.1.2/kernel/src/libs/libUI/
Dtextui-render.c39 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.2/kernel/src/driver/disk/ahci/
Dahci.c339 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()
549 static struct ahci_request_packet_t *ahci_make_request(long cmd, uint64_t base_addr, uint64_t count in ahci_make_request()
652 static long ahci_transfer(struct blk_gendisk *gd, long cmd, uint64_t base_addr, uint64_t count, uin… in ahci_transfer()
/DragonOS-0.1.2/kernel/src/filesystem/devfs/
Dchardev.c35 int count; member
Ddevfs.c79 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.2/kernel/src/syscall/
Dsyscall.c156 int64_t count = (int64_t)regs->r10; in sys_read() local
196 int64_t count = (int64_t)regs->r10; in sys_write() local
429 long count = (long)regs->r10; in sys_getdents() local
/DragonOS-0.1.2/kernel/src/libs/
Dstring.c65 char *strncpy(char *dst, const char *src, long count) in strncpy()
Dcpu.c49 int count = 0; in cpu_init() local
Dbitree.c217 int count = kfifo_out(&fifo, &nd, sizeof(uint64_t)); in bt_destroy_tree() local
/DragonOS-0.1.2/kernel/src/filesystem/rootfs/
Drootfs.c46 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/filesystem/procfs/
Dprocfs.c175 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.2/kernel/src/driver/mouse/
Dps2_mouse.h78 int count; member

12