/DragonOS/kernel/crates/rbpf/src/ |
H A D | interpreter.rs | 145 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 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/kernel/src/common/ |
H A D | glib.h | 31 #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 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
|
H A D | err.h | 6 #define IS_ERR_VALUE(x) unlikely((x) >= (uint64_t)-MAX_ERRNO) argument
|
H A D | spinlock.h | 149 int x = READ_ONCE(lock->lock); in spin_is_locked() local
|
/DragonOS/kernel/crates/unified-init/src/ |
H A D | main.rs | 37 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 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/kernel/src/arch/riscv64/include/asm/ |
H A D | irqflags.h | 4 #define local_irq_save(x) \ argument 9 #define local_irq_restore(x) \ argument
|
/DragonOS/kernel/src/arch/riscv64/asm/ |
H A D | irqflags.h | 4 #define local_irq_save(x) \ argument 9 #define local_irq_restore(x) \ argument
|
/DragonOS/kernel/src/common/math/ |
H A D | pow.c | 4 int64_t pow(int64_t x, int y) in pow()
|
H A D | round.c | 12 double round(double x) in round()
|
H A D | libm.h | 54 #define FORCE_EVAL(x) \ argument
|
/DragonOS/kernel/src/arch/x86_64/asm/ |
H A D | irqflags.rs | 5 let x: usize; in local_irq_save() localVariable
|
/DragonOS/kernel/src/arch/riscv64/ |
H A D | rand.rs | 11 let x: usize = unsafe { core::mem::transmute(buf) }; in rand() localVariable
|
/DragonOS/kernel/crates/wait_queue_macros/src/ |
H A D | lib.rs | 41 let x = $wq.prepare_to_wait_event($interruptible); localVariable
|
/DragonOS/kernel/src/libs/ |
H A D | casting.rs | 65 let x: Arc<dyn Any> = self.as_any_arc(); in downcast_arc() localVariable
|
/DragonOS/tools/debugging/logmonitor/src/backend/monitor/ |
H A D | mod.rs | 24 let x = unsafe { std::ptr::read(buf.as_ptr() as *const T) }; in new() localVariable
|
/DragonOS/kernel/src/driver/scsi/ |
H A D | mod.rs | 63 let x = (b'a' + id as u8) as char; in format_name() localVariable
|
/DragonOS/kernel/src/driver/base/ |
H A D | kset.rs | 126 let x = kobjects.remove(index); in leave() localVariable 127 let x = x.upgrade().unwrap(); in leave() localVariable
|
/DragonOS/kernel/src/init/ |
H A D | cmdline.rs | 289 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 D | mod.rs | 106 let x: u8 = value.into(); in from() localVariable
|
/DragonOS/user/apps/test_statx/src/ |
H A D | main.rs | 45 let x = sc::nr::STATX as i64; in main() localVariable
|
/DragonOS/kernel/src/filesystem/sysfs/ |
H A 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/kernel/src/driver/disk/ahci/ |
H A D | ahcidisk.rs | 120 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
|