Searched refs:rflags (Results 1 – 10 of 10) sorted by relevance
39 let rflags: u64; in is_irq_enabled() localVariable41 asm!("pushfq; pop {}", out(reg) rflags); in is_irq_enabled()43 return rflags & (1 << 9) != 0; in is_irq_enabled()48 let mut rflags: u64 = 0; in save_and_disable_irq() localVariable49 local_irq_save(&mut rflags); in save_and_disable_irq()50 let flags = IrqFlags::new(rflags); in save_and_disable_irq()
55 let mut rflags = 0u64; in enqueue() localVariable56 self.lock.lock_irqsave(&mut rflags); in enqueue()60 self.lock.unlock_irqrestore(&rflags); in enqueue()64 self.lock.unlock_irqrestore(&rflags); in enqueue()70 let mut rflags = 0u64; in dequeue() localVariable71 self.lock.lock_irqsave(&mut rflags); in dequeue()79 self.lock.unlock_irqrestore(&rflags); in dequeue()83 let mut rflags = 0u64; in enqueue_front() localVariable84 self.lock.lock_irqsave(&mut rflags); in enqueue_front()88 self.lock.unlock_irqrestore(&rflags); in enqueue_front()[all …]
62 let mut rflags = 0u64; in enqueue() localVariable63 self.lock.lock_irqsave(&mut rflags); in enqueue()67 self.lock.unlock_irqrestore(&rflags); in enqueue()73 self.lock.unlock_irqrestore(&rflags); in enqueue()79 let mut rflags = 0u64; in dequeue() localVariable80 self.lock.lock_irqsave(&mut rflags); in dequeue()88 self.lock.unlock_irqrestore(&rflags); in dequeue()
82 let mut rflags: u64 = 0; in fp_state_save() localVariable83 local_irq_save(&mut rflags); in fp_state_save()115 local_irq_restore(&rflags); in fp_state_save()121 let mut rflags: u64 = 0; in fp_state_restore() localVariable122 local_irq_save(&mut rflags); in fp_state_restore()146 local_irq_restore(&rflags); in fp_state_restore()
28 unsigned long rflags; member
521 regs->rflags = 0x200246; in do_execve()697 regs.rflags = (1 << 9); in kernel_thread()
596 uint64_t rflags; in printk_color() local597 spin_lock_irqsave(&__printk_lock, rflags); in printk_color()613 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的问题
197 uint64_t rflags; in __anon_vma_create_alloc() local