/DragonOS-0.1.3/kernel/src/arch/x86_64/math/ |
D | bitcount.h | 9 static __always_inline int __clz(uint32_t x) in __clz() 25 static __always_inline int __clzl(unsigned long x) in __clzl() 44 static __always_inline int __clzll(unsigned long long x) in __clzll() 57 static __always_inline int __ctz(uint32_t x) in __ctz() 63 static __always_inline int __ctzl(unsigned long x) in __ctzl()
|
/DragonOS-0.1.3/kernel/src/sched/ |
D | completion.c | 9 void completion_init(struct completion *x) in completion_init() 20 void complete(struct completion *x) in complete() 37 void complete_all(struct completion *x) in complete_all() 57 static long __wait_for_common(struct completion *x, long (*action)(long), long timeout, int state) in __wait_for_common() 92 void wait_for_completion(struct completion *x) in wait_for_completion() 106 long wait_for_completion_timeout(struct completion *x, long timeout) in wait_for_completion_timeout() 120 void wait_for_completion_interruptible(struct completion *x) in wait_for_completion_interruptible() 134 long wait_for_completion_interruptible_timeout(struct completion *x, long timeout) in wait_for_completion_interruptible_timeout() 151 bool try_wait_for_completion(struct completion *x) in try_wait_for_completion() 175 bool completion_done(struct completion *x) in completion_done() [all …]
|
/DragonOS-0.1.3/kernel/src/common/math/ |
D | fabs.c | 5 double fabs(double x) in fabs() 18 long double fabsl(long double x) in fabsl() 23 long double fabsl(long double x) in fabsl()
|
D | pow.c | 4 int64_t pow(int64_t x, int y) in pow()
|
D | round.c | 12 double round(double x) in round()
|
/DragonOS-0.1.3/user/libs/libc/src/math/ |
D | fabs.c | 5 double fabs(double x) in fabs() 18 long double fabsl(long double x) in fabsl() 23 long double fabsl(long double x) in fabsl()
|
D | pow.c | 4 int64_t pow(int64_t x, int y) in pow()
|
D | round.c | 10 double round(double x) in round()
|
/DragonOS-0.1.3/kernel/src/common/ |
D | compiler.h | 5 #define likely(x) __builtin_expect(!!(x), 1) argument 6 #define unlikely(x) __builtin_expect(!!(x), 0) argument 122 #define READ_ONCE(x) \ argument 136 #define WRITE_ONCE(x, val) \ argument
|
D | glib.h | 41 #define ABS(x) ((x) > 0 ? (x) : -(x)) // 绝对值 argument 43 #define max(x, y) ((x > y) ? (x) : (y)) argument 44 #define min(x, y) ((x < y) ? (x) : (y)) argument 47 #define MASK_HIGH_32bit(x) (x & (0x00000000ffffffffUL)) argument 50 ul round(double x) in round()
|
D | err.h | 6 #define IS_ERR_VALUE(x) unlikely((x) >= (uint64_t)-MAX_ERRNO) argument
|
D | idr.h | 51 #define __lowbit_id(x) ((x) ? (__ctzll(x)) : -1) argument 54 #define __mostbit_id(x) ((x) ? (63 - __clzll(x)) : -1) argument
|
D | spinlock.h | 149 int x = READ_ONCE(lock->lock); in spin_is_locked() local
|
/DragonOS-0.1.3/kernel/src/arch/x86_64/include/asm/ |
D | irqflags.h | 4 #define local_irq_save(x) __asm__ __volatile__("pushfq ; popq %0 ; cli" \ argument 7 #define local_irq_restore(x) __asm__ __volatile__("pushq %0 ; popfq" ::"g"(x) \ argument
|
/DragonOS-0.1.3/user/libs/libc/src/include/ |
D | libm.h | 58 #define FORCE_EVAL(x) \ argument
|
/DragonOS-0.1.3/kernel/src/libs/ |
D | wait_queue.rs | 8 let mut x = Self { wait_list: Default::default(), lock: Default::default() }; in default() localVariable
|
D | list.rs | 12 let x= Self { prev: 0 as *mut List, next: 0 as *mut List }; in default() localVariable
|
D | glib.c | 14 uint32_t x = io_in8(0x61)&0xff; in __experimental_beep() local
|
/DragonOS-0.1.3/kernel/src/arch/x86_64/asm/ |
D | irqflags.rs | 12 let x = unsafe { read_volatile(flags) }; in local_irq_restore() localVariable
|
/DragonOS-0.1.3/kernel/src/filesystem/vfs/ |
D | internal.h | 21 #define IS_ROOT(x) ((x) == (x)->parent) argument
|
D | mount.h | 40 #define D_MOUNTED(x) ((x)->d_flags & VFS_DF_MOUNTED) argument
|
/DragonOS-0.1.3/kernel/src/driver/interrupt/8259A/ |
D | 8259A.c | 47 unsigned char x; in do_IRQ() local
|
/DragonOS-0.1.3/kernel/src/driver/mouse/ |
D | ps2_mouse.c | 59 unsigned char x = io_in8(PORT_KEYBOARD_DATA); in ps2_mouse_handler() local 356 unsigned char x = ps2_mouse_get_scancode(); in analyze_mousecode() local
|
/DragonOS-0.1.3/kernel/src/mm/ |
D | mmio-buddy.c | 71 static __always_inline int __buddy_merge_blocks(struct __mmio_buddy_addr_region *x, struct __mmio_b… in __buddy_merge_blocks() 114 …lways_inline struct __mmio_buddy_addr_region *__find_buddy(struct __mmio_buddy_addr_region *x, int… in __find_buddy()
|
/DragonOS-0.1.3/kernel/src/exception/ |
D | gate.h | 20 unsigned char x[8]; member 26 unsigned char x[16]; member
|