Searched refs:rflags (Results 1 – 9 of 9) sorted by relevance
42 let rflags: u64; in is_irq_enabled() localVariable44 asm!("pushfq; pop {}", out(reg) rflags, options(nomem, preserves_flags)); in is_irq_enabled()46 return rflags & (1 << 9) != 0; in is_irq_enabled()51 let rflags = local_irq_save(); in save_and_disable_irq() localVariable52 let flags = IrqFlags::new(rflags); in save_and_disable_irq()
53 let mut rflags = 0usize; in enqueue() localVariable54 self.lock.lock_irqsave(&mut rflags); in enqueue()58 self.lock.unlock_irqrestore(rflags); in enqueue()62 self.lock.unlock_irqrestore(rflags); in enqueue()68 let mut rflags = 0usize; in dequeue() localVariable69 self.lock.lock_irqsave(&mut rflags); in dequeue()77 self.lock.unlock_irqrestore(rflags); in dequeue()81 let mut rflags = 0usize; in enqueue_front() localVariable82 self.lock.lock_irqsave(&mut rflags); in enqueue_front()86 self.lock.unlock_irqrestore(rflags); in enqueue_front()[all …]
61 let mut rflags = 0usize; in enqueue() localVariable62 self.lock.lock_irqsave(&mut rflags); in enqueue()66 self.lock.unlock_irqrestore(rflags); in enqueue()72 self.lock.unlock_irqrestore(rflags); in enqueue()78 let mut rflags = 0usize; in dequeue() localVariable79 self.lock.lock_irqsave(&mut rflags); in dequeue()87 self.lock.unlock_irqrestore(rflags); in dequeue()
28 unsigned long rflags; member
298 regs.rflags = (1 << 9); in kernel_thread()
596 uint64_t rflags; in printk_color() local598 spin_lock_irqsave(&__printk_lock, rflags); in printk_color()616 spin_unlock_irqrestore(&__printk_lock, rflags); in printk_color()
51 - 解决由于编译器优化导致local_irq_restore无法获取到正确的rflags的值的问题275 * 解决由于编译器优化导致local_irq_restore无法获取到正确的rflags的值的问题
52 - spinlock: 修复spinlock忘记恢复rflags的问题 (#247)200 1.修复spinlock忘记恢复rflags的问题
254 regs.rflags = 0x200; in tmp_rs_execve()