Home
last modified time | relevance | path

Searched refs:int64_t (Results 1 – 25 of 38) sorted by relevance

12

/DragonOS-0.1.7/kernel/src/time/
Dtimer.h7 #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/
Dpow.c4 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/
Dpow.c4 int64_t pow(int64_t x, int y) in pow()
12 int64_t res = 1; in pow()
/DragonOS-0.1.7/kernel/src/libs/
Didr.c166 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 …]
Dwait_queue.c71 void wait_queue_wakeup(wait_queue_node_t *wait_queue_head, int64_t state) in wait_queue_wakeup()
Dwait_queue_head.c69 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/
Dmath.h10 int64_t pow(int64_t x, int y);
Dtime.h26 int64_t tv_sec; // 秒
27 int64_t tv_nsec; // 纳秒
Dwait_queue.h52 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/
Dmath.h16 int64_t pow(int64_t x, int y);
Dunistd.h78 void *sbrk(int64_t increment);
86 int64_t chdir(char *dest_path);
Dstdio.h47 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/
Dtypes.h15 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/
Dtypes.h15 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/
Dmath.md21 ``int64_t pow(int64_t x,int y)`` 返回 x 的 y 次方
Dunistd.md41 ``void *sbrk(int64_t increment)`` :
47 ``int64_t chdir(char *dest_path)``
Dstdio.md8 ``int64_t put_string(char *str, uint64_t front_color, uint64_t bg_color)``
/DragonOS-0.1.7/kernel/src/process/
Dproc-types.h110 int64_t virtual_runtime; // 虚拟运行时间
111 int64_t rt_time_slice; // 由实时调度器管理的时间片
/DragonOS-0.1.7/kernel/src/syscall/
Dsyscall.c204 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/
Dprintf.c36 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()
Dunistd.c111 void *sbrk(int64_t increment) in sbrk()
129 int64_t chdir(char *dest_path) in chdir()
Dmalloc.c130 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()
358int64_t delta = ((brk_max_addr - (uint64_t)malloc_free_list_end) & PAGE_2M_MASK) - PAGE_2M_SIZE; in release_brk()
Ddirent.c57 int64_t getdents(int fd, struct dirent *dirent, long count) in getdents()
/DragonOS-0.1.7/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()
/DragonOS-0.1.7/kernel/src/filesystem/vfs/
DVFS.h187 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);

12