/DragonOS-0.1.7/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.7/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.7/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.7/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.7/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.7/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.7/user/libs/libc/src/include/export/ |
D | libm.h | 58 #define FORCE_EVAL(x) \ argument
|
/DragonOS-0.1.7/kernel/src/arch/x86_64/asm/ |
D | irqflags.rs | 12 let x = unsafe { read_volatile(flags) }; in local_irq_restore() localVariable
|
/DragonOS-0.1.7/kernel/src/libs/ |
D | list.rs | 12 let x = Self { in default() localVariable
|
D | casting.rs | 66 let x: Arc<dyn Any> = self.as_any_arc(); in downcast_arc() localVariable
|
D | glib.c | 14 uint32_t x = io_in8(0x61)&0xff; in __experimental_beep() local
|
/DragonOS-0.1.7/kernel/src/driver/interrupt/8259A/ |
D | 8259A.c | 47 unsigned char x; in do_IRQ() local
|
/DragonOS-0.1.7/user/apps/test_relibc/ |
D | main.c | 158 int x = recv(client_sockfd, recvbuf, sizeof(recvbuf), 0); in tcp_client() local 177 int x = recv(client_sockfd, recvbuf, sizeof(recvbuf), 0); in tcp_client() local
|
/DragonOS-0.1.7/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.7/kernel/src/driver/video/ |
D | mod.rs | 39 let x = self in set_run() localVariable
|
/DragonOS-0.1.7/kernel/src/exception/ |
D | gate.h | 20 unsigned char x[8]; member 26 unsigned char x[16]; member
|
/DragonOS-0.1.7/kernel/src/driver/interrupt/apic/ |
D | apic.c | 679 uint32_t x = 0; in apic_get_local_apic_id() local 690 … uint32_t x = *(uint32_t *)(APIC_LOCAL_APIC_VIRT_BASE_ADDR + LOCAL_APIC_OFFSET_Local_APIC_ID); in apic_get_local_apic_id() local
|