/DragonOS-0.1.7/kernel/src/time/ |
D | timer.h | 7 #define MAX_TIMEOUT (int64_t)((1ul << 63) - 1) 10 extern int64_t rs_timer_get_first_expire(); 12 extern int64_t rs_schedule_timeout(int64_t timeout);
|
/DragonOS-0.1.7/user/libs/libc/src/math/ |
D | pow.c | 4 int64_t pow(int64_t x, int y) in pow() 6 int64_t res = 1; in pow()
|
/DragonOS-0.1.7/kernel/src/common/math/ |
D | pow.c | 4 int64_t pow(int64_t x, int y) in pow() 12 int64_t res = 1; in pow()
|
/DragonOS-0.1.7/kernel/src/libs/ |
D | idr.c | 166 int64_t id = 0; in __idr_get_empty_slot() 215 int64_t __id = (int64_t)id; in __idr_mark_full() 223 int64_t layer_id = __id & IDR_MASK; in __idr_mark_full() 250 int64_t __id = (int64_t)id; in __idr_get_path() 271 int64_t layer_id = (__id >> (layer * IDR_BITS)) & IDR_MASK; in __idr_get_path() 296 int64_t __id = (int64_t)id; in __idr_erase_full() 304 int64_t layer_id = __id & IDR_MASK; in __idr_erase_full() 364 int64_t id = __idr_get_empty_slot(idp, stk); in __idr_get_new_above_int() 402 int64_t __id = (int64_t)id; in idr_remove() 444 int64_t id = __lowbit_id(cur_layer->bitmap); in __idr_remove_all_with_free() [all …]
|
D | wait_queue.c | 71 void wait_queue_wakeup(wait_queue_node_t *wait_queue_head, int64_t state) in wait_queue_wakeup()
|
D | wait_queue_head.c | 69 void wait_queue_wakeup_on_stack(wait_queue_head_t *q, int64_t state) in wait_queue_wakeup_on_stack()
|
/DragonOS-0.1.7/kernel/src/common/ |
D | math.h | 10 int64_t pow(int64_t x, int y);
|
D | time.h | 26 int64_t tv_sec; // 秒 27 int64_t tv_nsec; // 纳秒
|
D | wait_queue.h | 52 void wait_queue_wakeup(wait_queue_node_t *wait_queue_head, int64_t state); 118 void wait_queue_wakeup_on_stack(wait_queue_head_t *q, int64_t state);
|
/DragonOS-0.1.7/user/libs/libc/src/include/export/ |
D | math.h | 16 int64_t pow(int64_t x, int y);
|
D | unistd.h | 78 void *sbrk(int64_t increment); 86 int64_t chdir(char *dest_path);
|
D | stdio.h | 47 int64_t put_string(char *str, uint64_t front_color, uint64_t bg_color);
|
/DragonOS-0.1.7/user/libs/libc/src/include/export/sys/ |
D | types.h | 15 typedef int64_t pid_t; 23 typedef int64_t off_t; 31 typedef int64_t time_t;
|
/DragonOS-0.1.7/kernel/src/common/sys/ |
D | types.h | 15 typedef int64_t pid_t; 23 typedef int64_t off_t; 31 typedef int64_t time_t;
|
/DragonOS-0.1.7/docs/userland/libc/apis/api-list/ |
D | math.md | 21 ``int64_t pow(int64_t x,int y)`` 返回 x 的 y 次方
|
D | unistd.md | 41 ``void *sbrk(int64_t increment)`` : 47 ``int64_t chdir(char *dest_path)``
|
D | stdio.md | 8 ``int64_t put_string(char *str, uint64_t front_color, uint64_t bg_color)``
|
/DragonOS-0.1.7/kernel/src/process/ |
D | proc-types.h | 110 int64_t virtual_runtime; // 虚拟运行时间 111 int64_t rt_time_slice; // 由实时调度器管理的时间片
|
/DragonOS-0.1.7/kernel/src/syscall/ |
D | syscall.c | 204 int64_t offset; in sys_brk() 206 offset = (int64_t)(new_brk - current_pcb->mm->brk_end); in sys_brk() 208 offset = -(int64_t)(current_pcb->mm->brk_end - new_brk); in sys_brk() 225 if ((int64_t)regs->r8 > 0) in sys_sbrk() 241 uint64_t new_brk = mm_do_brk(current_pcb->mm->brk_end, (int64_t)regs->r8); // 调整堆内存空间 in sys_sbrk()
|
/DragonOS-0.1.7/user/libs/libc/src/ |
D | printf.c | 36 int64_t put_string(char *str, uint64_t front_color, uint64_t bg_color) in put_string() 293 str = write_num(str, va_arg(args, int64_t), 16, field_width, precision, flags); in vsprintf() 323 ip = (int64_t *)va_arg(args, int *); in vsprintf() 384 int64_t signed_num = (int64_t)num; in write_num()
|
D | unistd.c | 111 void *sbrk(int64_t increment) in sbrk() 129 int64_t chdir(char *dest_path) in chdir()
|
D | malloc.c | 130 static int malloc_enlarge(int64_t size) in malloc_enlarge() 140 int64_t free_space = brk_max_addr - brk_managed_addr; in malloc_enlarge() 328 if ((int64_t)(ck->length) - size > sizeof(malloc_mem_chunk_t)) in malloc() 358 … int64_t delta = ((brk_max_addr - (uint64_t)malloc_free_list_end) & PAGE_2M_MASK) - PAGE_2M_SIZE; in release_brk()
|
D | dirent.c | 57 int64_t getdents(int fd, struct dirent *dirent, long count) in getdents()
|
/DragonOS-0.1.7/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()
|
/DragonOS-0.1.7/kernel/src/filesystem/vfs/ |
D | VFS.h | 187 long (*read)(struct vfs_file_t *file_ptr, char *buf, int64_t count, long *position); 188 long (*write)(struct vfs_file_t *file_ptr, char *buf, int64_t count, long *position);
|