Home
last modified time | relevance | path

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

12

/DragonOS-0.1.9/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.9/kernel/src/common/
Dglib.h33 #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()
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
Derr.h6 #define IS_ERR_VALUE(x) unlikely((x) >= (uint64_t)-MAX_ERRNO) argument
Dspinlock.h149 int x = READ_ONCE(lock->lock); in spin_is_locked() local
/DragonOS-0.1.9/kernel/crates/unified-init/src/
Dmain.rs30 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/
Dirqflags.h4 #define local_irq_save(x) \ argument
9 #define local_irq_restore(x) \ argument
/DragonOS-0.1.9/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.9/kernel/src/arch/riscv64/asm/
Dirqflags.h4 #define local_irq_save(x) \ argument
9 #define local_irq_restore(x) \ argument
/DragonOS-0.1.9/kernel/src/common/math/
Dpow.c4 int64_t pow(int64_t x, int y) in pow()
Dround.c12 double round(double x) in round()
Dlibm.h54 #define FORCE_EVAL(x) \ argument
/DragonOS-0.1.9/kernel/src/arch/x86_64/asm/
Dirqflags.rs5 let x: usize; in local_irq_save() localVariable
/DragonOS-0.1.9/kernel/src/libs/
Dcasting.rs66 let x: Arc<dyn Any> = self.as_any_arc(); in downcast_arc() localVariable
/DragonOS-0.1.9/tools/debugging/logmonitor/src/backend/monitor/
Dmod.rs24 let x = unsafe { std::ptr::read(buf.as_ptr() as *const T) }; in new() localVariable
Dmm.rs101 let x = logs_set.len(); in handle_logs() localVariable
/DragonOS-0.1.9/kernel/src/time/
Dtimer.rs179 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/
Dkset.rs126 let x = kobjects.remove(index); in leave() localVariable
127 let x = x.upgrade().unwrap(); in leave() localVariable
/DragonOS-0.1.9/kernel/src/net/
Dmod.rs104 let x: u8 = value.into(); in from() localVariable
/DragonOS-0.1.9/kernel/src/driver/disk/ahci/
Dahcidisk.rs114 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/
Dmod.rs158 let x = self.refresh_target.read(); in refresh_target() localVariable
/DragonOS-0.1.9/kernel/src/filesystem/sysfs/
Dfile.rs121 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/
Dsyscall.rs71 let x = || { in execve() localVariable
/DragonOS-0.1.9/kernel/src/driver/open_firmware/
Ddevice_node.rs46 let x = DeviceNode { in new() localVariable
/DragonOS-0.1.9/kernel/src/driver/video/fbdev/base/fbcon/
Dframebuffer_console.rs328 let x = pos % vc_data.cols; in con_getxy() localVariable
457 let mut x = 0; in con_scroll() localVariable

12