Home
last modified time | relevance | path

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

12

/DragonOS-0.1.3/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.3/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.3/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.3/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.3/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.3/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.3/user/libs/libc/src/include/
Dlibm.h58 #define FORCE_EVAL(x) \ argument
/DragonOS-0.1.3/kernel/src/libs/
Dwait_queue.rs8 let mut x = Self { wait_list: Default::default(), lock: Default::default() }; in default() localVariable
Dlist.rs12 let x= Self { prev: 0 as *mut List, next: 0 as *mut List }; in default() localVariable
Dglib.c14 uint32_t x = io_in8(0x61)&0xff; in __experimental_beep() local
/DragonOS-0.1.3/kernel/src/arch/x86_64/asm/
Dirqflags.rs12 let x = unsafe { read_volatile(flags) }; in local_irq_restore() localVariable
/DragonOS-0.1.3/kernel/src/filesystem/vfs/
Dinternal.h21 #define IS_ROOT(x) ((x) == (x)->parent) argument
Dmount.h40 #define D_MOUNTED(x) ((x)->d_flags & VFS_DF_MOUNTED) argument
/DragonOS-0.1.3/kernel/src/driver/interrupt/8259A/
D8259A.c47 unsigned char x; in do_IRQ() local
/DragonOS-0.1.3/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.3/kernel/src/mm/
Dmmio-buddy.c71 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/
Dgate.h20 unsigned char x[8]; member
26 unsigned char x[16]; member

12