/DragonOS-0.1.8/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.8/kernel/src/driver/keyboard/ |
D | ps2_keyboard.c | 101 long ps2_keyboard_read(struct vfs_file_t *filp, char *buf, int64_t count, long *position) in ps2_keyboard_read() 120 long ps2_keyboard_write(struct vfs_file_t *filp, char *buf, int64_t count, long *position) in ps2_keyboard_write() 148 uint8_t count = kfifo_in((struct kfifo_t *)buf_vaddr, &x, sizeof(unsigned char)); in ps2_keyboard_handler() local
|
/DragonOS-0.1.8/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 | blk_types.h | 41 uint32_t count; member
|
D | idr.h | 146 unsigned long count; // bitmap中已经分配的id数量 member
|
D | glib.h | 92 void *memset_c(void *dst, uint8_t c, size_t count) in memset_c()
|
/DragonOS-0.1.8/kernel/src/driver/multiboot2/ |
D | multiboot2.c | 20 void *data, unsigned int *count) in multiboot2_iter() 56 bool multiboot2_get_memory(const struct iter_data_t *_iter_data, void *data, unsigned int *count) in multiboot2_get_memory()
|
/DragonOS-0.1.8/kernel/src/mm/ |
D | c_adapter.rs | 32 let count = PageFrameCount::new(page_align_up(size) / MMArch::PAGE_SIZE); in rs_pseudo_map_phys() localVariable 41 let count = PageFrameCount::new(page_align_up(size) / MMArch::PAGE_SIZE); in rs_map_phys() localVariable
|
D | kernel_mapper.rs | 110 let count = PageFrameCount::new(page_align_up(size) / MMArch::PAGE_SIZE); in map_phys_with_size() localVariable
|
/DragonOS-0.1.8/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 | 44 int count = 0; in printf() local 57 int count = 0; in sprintf() local
|
/DragonOS-0.1.8/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.8/kernel/src/mm/allocator/ |
D | kernel_allocator.rs | 27 let count = (page_align_up(layout.size()) / MMArch::PAGE_SIZE).next_power_of_two(); in alloc_in_buddy() localVariable 49 let count = (page_align_up(layout.size()) / MMArch::PAGE_SIZE).next_power_of_two(); in free_in_buddy() localVariable
|
/DragonOS-0.1.8/kernel/src/libs/ |
D | string.c | 65 char *strncpy(char *dst, const char *src, long count) in strncpy()
|
D | lockref.rs | 12 pub count: i32, field 19 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
|
D | printk.c | 623 int count = 0; in sprintk() local
|
/DragonOS-0.1.8/user/apps/test_bind/ |
D | main.c | 146 int count = 0; in test_all_ports() local
|
/DragonOS-0.1.8/kernel/src/driver/mouse/ |
D | ps2_mouse.h | 78 int count; member
|
/DragonOS-0.1.8/kernel/src/io/ |
D | device.rs | 122 let count: usize = (range.lba_end - range.lba_start).try_into().unwrap(); in read_at() localVariable 158 let count: usize = (range.lba_end - range.lba_start).try_into().unwrap(); in write_at() localVariable
|
/DragonOS-0.1.8/kernel/src/include/DragonOS/ |
D | signal.h | 133 refcount_t count; member
|