Home
last modified time | relevance | path

Searched defs:x (Results 1 – 25 of 42) sorted by relevance

12

/DragonOS-0.1.7/kernel/src/sched/
Dcompletion.c9 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/
Dbitcount.h9 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/
Dfabs.c5 double fabs(double x) in fabs()
18 long double fabsl(long double x) in fabsl()
23 long double fabsl(long double x) in fabsl()
Dpow.c4 int64_t pow(int64_t x, int y) in pow()
Dround.c10 double round(double x) in round()
/DragonOS-0.1.7/kernel/src/common/math/
Dfabs.c5 double fabs(double x) in fabs()
18 long double fabsl(long double x) in fabsl()
23 long double fabsl(long double x) in fabsl()
Dpow.c4 int64_t pow(int64_t x, int y) in pow()
Dround.c12 double round(double x) in round()
/DragonOS-0.1.7/kernel/src/common/
Dcompiler.h5 #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
Dglib.h41 #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()
Derr.h6 #define IS_ERR_VALUE(x) unlikely((x) >= (uint64_t)-MAX_ERRNO) argument
Didr.h51 #define __lowbit_id(x) ((x) ? (__ctzll(x)) : -1) argument
54 #define __mostbit_id(x) ((x) ? (63 - __clzll(x)) : -1) argument
Dspinlock.h149 int x = READ_ONCE(lock->lock); in spin_is_locked() local
/DragonOS-0.1.7/kernel/src/arch/x86_64/include/asm/
Dirqflags.h4 #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/
Dlibm.h58 #define FORCE_EVAL(x) \ argument
/DragonOS-0.1.7/kernel/src/arch/x86_64/asm/
Dirqflags.rs12 let x = unsafe { read_volatile(flags) }; in local_irq_restore() localVariable
/DragonOS-0.1.7/kernel/src/libs/
Dlist.rs12 let x = Self { in default() localVariable
Dcasting.rs66 let x: Arc<dyn Any> = self.as_any_arc(); in downcast_arc() localVariable
Dglib.c14 uint32_t x = io_in8(0x61)&0xff; in __experimental_beep() local
/DragonOS-0.1.7/kernel/src/driver/interrupt/8259A/
D8259A.c47 unsigned char x; in do_IRQ() local
/DragonOS-0.1.7/user/apps/test_relibc/
Dmain.c158 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/
Dps2_mouse.c59 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/
Dmod.rs39 let x = self in set_run() localVariable
/DragonOS-0.1.7/kernel/src/exception/
Dgate.h20 unsigned char x[8]; member
26 unsigned char x[16]; member
/DragonOS-0.1.7/kernel/src/driver/interrupt/apic/
Dapic.c679 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

12