Home
last modified time | relevance | path

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

123

/DragonOS/kernel/crates/rbpf/src/ !
H A Dinterpreter.rs145 let x = (mem.as_ptr() as u64 + (insn.imm as u32) as u64) as *const u8; in execute_program() localVariable
152 let x = (mem.as_ptr() as u64 + (insn.imm as u32) as u64) as *const u16; in execute_program() localVariable
159 let x = (mem.as_ptr() as u64 + (insn.imm as u32) as u64) as *const u32; in execute_program() localVariable
167 let x = (mem.as_ptr() as u64 + (insn.imm as u32) as u64) as *const u64; in execute_program() localVariable
174 let x = in execute_program() localVariable
182 let x = in execute_program() localVariable
190 let x = in execute_program() localVariable
198 let x = in execute_program() localVariable
220 let x = (reg[_src] as *const u8).offset(insn.off as isize); in execute_program() localVariable
228 let x = (reg[_src] as *const u8).offset(insn.off as isize) as *const u16; in execute_program() localVariable
[all …]
/DragonOS/kernel/src/arch/x86_64/math/ !
H A 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/kernel/src/common/ !
H A Dglib.h31 #define ABS(x) ((x) > 0 ? (x) : -(x)) // 绝对值 argument
33 #define max(x, y) ((x > y) ? (x) : (y)) argument
34 #define min(x, y) ((x < y) ? (x) : (y)) argument
37 #define MASK_HIGH_32bit(x) (x & (0x00000000ffffffffUL)) argument
40 ul round(double x) { return (ul)(x + 0.5); } in round()
H A 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
H A Derr.h6 #define IS_ERR_VALUE(x) unlikely((x) >= (uint64_t)-MAX_ERRNO) argument
H A Dspinlock.h149 int x = READ_ONCE(lock->lock); in spin_is_locked() local
/DragonOS/kernel/crates/unified-init/src/ !
H A Dmain.rs37 fn x() -> Result<(), SystemError> { in no_element_ne() function
49 fn x() -> Result<(), SystemError> { in one_element() function
60 fn x() -> Result<(), SystemError> { in two_elements() function
/DragonOS/kernel/src/arch/x86_64/include/asm/ !
H A 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/kernel/src/arch/riscv64/include/asm/ !
H A Dirqflags.h4 #define local_irq_save(x) \ argument
9 #define local_irq_restore(x) \ argument
/DragonOS/kernel/src/arch/riscv64/asm/ !
H A Dirqflags.h4 #define local_irq_save(x) \ argument
9 #define local_irq_restore(x) \ argument
/DragonOS/kernel/src/common/math/ !
H A Dpow.c4 int64_t pow(int64_t x, int y) in pow()
H A Dround.c12 double round(double x) in round()
H A Dlibm.h54 #define FORCE_EVAL(x) \ argument
/DragonOS/kernel/src/arch/x86_64/asm/ !
H A Dirqflags.rs5 let x: usize; in local_irq_save() localVariable
/DragonOS/kernel/src/arch/riscv64/ !
H A Drand.rs11 let x: usize = unsafe { core::mem::transmute(buf) }; in rand() localVariable
/DragonOS/kernel/crates/wait_queue_macros/src/ !
H A Dlib.rs41 let x = $wq.prepare_to_wait_event($interruptible); localVariable
/DragonOS/kernel/src/libs/ !
H A Dcasting.rs65 let x: Arc<dyn Any> = self.as_any_arc(); in downcast_arc() localVariable
/DragonOS/tools/debugging/logmonitor/src/backend/monitor/ !
H A Dmod.rs24 let x = unsafe { std::ptr::read(buf.as_ptr() as *const T) }; in new() localVariable
/DragonOS/kernel/src/driver/scsi/ !
H A Dmod.rs63 let x = (b'a' + id as u8) as char; in format_name() localVariable
/DragonOS/kernel/src/driver/base/ !
H A Dkset.rs126 let x = kobjects.remove(index); in leave() localVariable
127 let x = x.upgrade().unwrap(); in leave() localVariable
/DragonOS/kernel/src/init/ !
H A Dcmdline.rs289 let x = unsafe { x.force_mut() }; in early_init() localVariable
387 let x = unsafe { x.force_mut() }; in default_initialize() localVariable
398 let x = unsafe { x.force_mut() }; in default_initialize() localVariable
/DragonOS/kernel/src/net/ !
H A Dmod.rs106 let x: u8 = value.into(); in from() localVariable
/DragonOS/user/apps/test_statx/src/ !
H A Dmain.rs45 let x = sc::nr::STATX as i64; in main() localVariable
/DragonOS/kernel/src/filesystem/sysfs/ !
H A 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/kernel/src/driver/disk/ahci/ !
H A Dahcidisk.rs120 let x: Vec<u8> = vec![0; buf.len()]; in read_at() localVariable
282 let mut x: Vec<u8> = vec![0; buf.len()]; in write_at() localVariable

123