Home
last modified time | relevance | path

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

12

/DragonOS-0.1.5/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.5/kernel/src/driver/keyboard/
Dps2_keyboard.c100 long ps2_keyboard_read(struct vfs_file_t *filp, char *buf, int64_t count, long *position) in ps2_keyboard_read()
119 long ps2_keyboard_write(struct vfs_file_t *filp, char *buf, int64_t count, long *position) in ps2_keyboard_write()
147 uint8_t count = kfifo_in((struct kfifo_t *)buf_vaddr, &x, sizeof(unsigned char)); in ps2_keyboard_handler() local
/DragonOS-0.1.5/kernel/src/driver/tty/
Dtty.c61 long tty_read(struct vfs_file_t *filp, char *buf, int64_t count, long *position) in tty_read()
75 long tty_write(struct vfs_file_t *filp, char *buf, int64_t count, long *position) in tty_write()
/DragonOS-0.1.5/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
Dblk_types.h41 uint32_t count; member
Didr.h146 unsigned long count; // bitmap中已经分配的id数量 member
Dglib.h92 void *memset_c(void *dst, uint8_t c, size_t count) in memset_c()
/DragonOS-0.1.5/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.5/user/libs/libc/src/
Ddirent.c57 int64_t getdents(int fd, struct dirent *dirent, long count) in getdents()
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()
Dprintf.c43 int count = 0; in printf() local
55 int count = 0; in sprintf() local
/DragonOS-0.1.5/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.5/kernel/src/libs/
Dstring.c65 char *strncpy(char *dst, const char *src, long count) in strncpy()
Dlockref.rs15 pub count: i32, field
22 count: i32, field
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
Dprintk.c619 int count = 0; in sprintk() local
/DragonOS-0.1.5/kernel/src/driver/mouse/
Dps2_mouse.h78 int count; member
/DragonOS-0.1.5/kernel/src/filesystem/vfs/
Dsyscall.rs227 let count = regs.r10 as i64; in sys_getdents() localVariable
/DragonOS-0.1.5/kernel/src/driver/usb/xhci/
Dxhci.c383 uint32_t *count, uint16_t *protocol_flag) in xhci_hc_get_protocol_offset()
1382 int count; in xhci_get_desc() local
1404 int count; in xhci_set_configuration() local
1530 int count = 0; in xhci_get_descriptor() local
/DragonOS-0.1.5/kernel/src/io/
Ddevice.rs112 let count: usize = (range.lba_end - range.lba_start).try_into().unwrap(); in read_at() localVariable
148 let count: usize = (range.lba_end - range.lba_start).try_into().unwrap(); in write_at() localVariable
/DragonOS-0.1.5/kernel/src/include/DragonOS/
Dsignal.h133 refcount_t count; member
/DragonOS-0.1.5/kernel/src/mm/
Dmm.c58 int count; in mm_init() local

12