Home
last modified time | relevance | path

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

12

/DragonOS-0.1.8/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.8/kernel/src/driver/keyboard/
Dps2_keyboard.c101 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/
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.8/kernel/src/driver/multiboot2/
Dmultiboot2.c20 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/
Dc_adapter.rs32 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
Dkernel_mapper.rs110 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/
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.c44 int count = 0; in printf() local
57 int count = 0; in sprintf() local
/DragonOS-0.1.8/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.8/kernel/src/mm/allocator/
Dkernel_allocator.rs27 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/
Dstring.c65 char *strncpy(char *dst, const char *src, long count) in strncpy()
Dlockref.rs12 pub count: i32, field
19 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.c623 int count = 0; in sprintk() local
/DragonOS-0.1.8/user/apps/test_bind/
Dmain.c146 int count = 0; in test_all_ports() local
/DragonOS-0.1.8/kernel/src/driver/mouse/
Dps2_mouse.h78 int count; member
/DragonOS-0.1.8/kernel/src/io/
Ddevice.rs122 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/
Dsignal.h133 refcount_t count; member

12