/DragonOS-0.1.9/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.9/kernel/src/common/ |
D | glib.h | 33 #define ABS(x) ((x) > 0 ? (x) : -(x)) // 绝对值 argument 35 #define max(x, y) ((x > y) ? (x) : (y)) argument 36 #define min(x, y) ((x < y) ? (x) : (y)) argument 39 #define MASK_HIGH_32bit(x) (x & (0x00000000ffffffffUL)) argument 42 ul round(double x) in round()
|
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 | err.h | 6 #define IS_ERR_VALUE(x) unlikely((x) >= (uint64_t)-MAX_ERRNO) argument
|
D | spinlock.h | 149 int x = READ_ONCE(lock->lock); in spin_is_locked() local
|
/DragonOS-0.1.9/kernel/crates/unified-init/src/ |
D | main.rs | 30 fn x() -> Result<(), SystemError> { in no_element_ne() function 42 fn x() -> Result<(), SystemError> { in one_element() function 53 fn x() -> Result<(), SystemError> { in two_elements() function
|
/DragonOS-0.1.9/kernel/src/arch/riscv64/include/asm/ |
D | irqflags.h | 4 #define local_irq_save(x) \ argument 9 #define local_irq_restore(x) \ argument
|
/DragonOS-0.1.9/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.9/kernel/src/arch/riscv64/asm/ |
D | irqflags.h | 4 #define local_irq_save(x) \ argument 9 #define local_irq_restore(x) \ argument
|
/DragonOS-0.1.9/kernel/src/common/math/ |
D | pow.c | 4 int64_t pow(int64_t x, int y) in pow()
|
D | round.c | 12 double round(double x) in round()
|
D | libm.h | 54 #define FORCE_EVAL(x) \ argument
|
/DragonOS-0.1.9/kernel/src/arch/x86_64/asm/ |
D | irqflags.rs | 5 let x: usize; in local_irq_save() localVariable
|
/DragonOS-0.1.9/kernel/src/libs/ |
D | casting.rs | 66 let x: Arc<dyn Any> = self.as_any_arc(); in downcast_arc() localVariable
|
/DragonOS-0.1.9/tools/debugging/logmonitor/src/backend/monitor/ |
D | mod.rs | 24 let x = unsafe { std::ptr::read(buf.as_ptr() as *const T) }; in new() localVariable
|
D | mm.rs | 101 let x = logs_set.len(); in handle_logs() localVariable
|
/DragonOS-0.1.9/kernel/src/time/ |
D | timer.rs | 179 let x = self in set_run() localVariable 211 let x = timer_list_front.inner.try_lock_irqsave(); in run() localVariable
|
/DragonOS-0.1.9/kernel/src/driver/base/ |
D | kset.rs | 126 let x = kobjects.remove(index); in leave() localVariable 127 let x = x.upgrade().unwrap(); in leave() localVariable
|
/DragonOS-0.1.9/kernel/src/net/ |
D | mod.rs | 104 let x: u8 = value.into(); in from() localVariable
|
/DragonOS-0.1.9/kernel/src/driver/disk/ahci/ |
D | ahcidisk.rs | 114 let mut x: Vec<u8> = Vec::new(); in read_at() localVariable 269 let mut x: Vec<u8> = Vec::with_capacity(buf.len()); in write_at() localVariable
|
/DragonOS-0.1.9/kernel/src/driver/video/ |
D | mod.rs | 158 let x = self.refresh_target.read(); in refresh_target() localVariable
|
/DragonOS-0.1.9/kernel/src/filesystem/sysfs/ |
D | file.rs | 121 let x = parent.private_data_mut(); in add_file_with_mode() localVariable 239 let x = parent.private_data_mut(); in add_bin_file_with_mode() localVariable
|
/DragonOS-0.1.9/kernel/src/process/ |
D | syscall.rs | 71 let x = || { in execve() localVariable
|
/DragonOS-0.1.9/kernel/src/driver/open_firmware/ |
D | device_node.rs | 46 let x = DeviceNode { in new() localVariable
|
/DragonOS-0.1.9/kernel/src/driver/video/fbdev/base/fbcon/ |
D | framebuffer_console.rs | 328 let x = pos % vc_data.cols; in con_getxy() localVariable 457 let mut x = 0; in con_scroll() localVariable
|