Home
last modified time | relevance | path

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

12

/DragonOS-0.1.5/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.5/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.5/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()
/DragonOS-0.1.5/kernel/src/common/
Dmath.h10 int64_t pow(int64_t x, int y);
Dtime.h27 int64_t tv_sec; // 秒
28 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.5/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.5/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.5/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.5/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.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/syscall/
Dsyscall.c194 if ((int64_t)regs->r8 == -1) in sys_brk()
199 if ((int64_t)regs->r8 == -2) in sys_brk()
207 int64_t offset; in sys_brk()
209 offset = (int64_t)(new_brk - current_pcb->mm->brk_end); in sys_brk()
211 offset = -(int64_t)(current_pcb->mm->brk_end - new_brk); in sys_brk()
228 if ((int64_t)regs->r8 > 0) in sys_sbrk()
244 uint64_t new_brk = mm_do_brk(current_pcb->mm->brk_end, (int64_t)regs->r8); // 调整堆内存空间 in sys_sbrk()
/DragonOS-0.1.5/kernel/src/process/
Dproc-types.h110 int64_t virtual_runtime; // 虚拟运行时间
111 int64_t rt_time_slice; // 由实时调度器管理的时间片
/DragonOS-0.1.5/user/libs/libc/src/
Dunistd.c101 void *sbrk(int64_t increment) in sbrk()
119 int64_t chdir(char *dest_path) in chdir()
Dprintf.c35 int64_t put_string(char *str, uint64_t front_color, uint64_t bg_color) in put_string()
291 str = write_num(str, va_arg(args, int64_t), 16, field_width, precision, flags); in vsprintf()
321 ip = (int64_t *)va_arg(args, int *); in vsprintf()
382 int64_t signed_num = (int64_t)num; in write_num()
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.5/kernel/src/time/
Dtimer.h8 #define MAX_TIMEOUT (int64_t)((1ul << 63) - 1)
/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()
/DragonOS-0.1.5/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