Home
last modified time | relevance | path

Searched defs:flags (Results 1 – 25 of 45) sorted by relevance

12

/DragonOS-0.1.9/kernel/src/libs/intertrait/macros/src/
Dargs.rs25 pub flags: HashSet<Flag>, field
31 let mut flags = HashSet::new(); in parse() localVariable
/DragonOS-0.1.9/kernel/src/common/
Dspinlock.h100 #define spin_lock_irqsave(lock, flags) … argument
111 #define spin_unlock_irqrestore(lock, flags) … argument
/DragonOS-0.1.9/kernel/src/exception/
Dmod.rs49 flags: usize, field
57 pub fn flags(&self) -> usize { in flags() method
80 flags: IrqFlags, field
Ddummychip.rs75 fn flags(&self) -> IrqChipFlags { in flags() method
122 fn flags(&self) -> IrqChipFlags { in flags() method
/DragonOS-0.1.9/kernel/src/syscall/
Dmod.rs100 let flags = args[1]; in handle() localVariable
113 let flags = args[2]; in handle() localVariable
374 let flags = FileMode::from_bits_truncate(arg1 as u32); in handle() localVariable
382 let flags = args[2] as u32; in handle() localVariable
517 let flags = args[3] as u32; in handle() localVariable
538 let flags = args[3] as u32; in handle() localVariable
574 let flags = args[2] as u32; in handle() localVariable
707 let flags = args[1]; in handle() localVariable
709 let flags: ModeType = ModeType::from_bits_truncate(flags as u32); in handle() localVariable
840 let flags = GRandFlags::from_bits(args[2] as u8).ok_or(SystemError::EINVAL)?; in handle() localVariable
[all …]
/DragonOS-0.1.9/kernel/src/libs/
Dprintk.c64 int flags; // 用来存储格式信息的bitmap in __do_vsprintf() local
383 static char *write_num(char *str, ul num, int base, int field_width, int precision, int flags) in write_num()
493 static char *write_float_point_num(char *str, double num, int field_width, int precision, int flags) in write_float_point_num()
Dspinlock.rs31 flags: SpinLockGuardFlags, field
/DragonOS-0.1.9/kernel/src/libs/futex/
Dsyscall.rs20 let mut flags = FutexFlag::FLAGS_MATCH_NONE; in do_futex() localVariable
/DragonOS-0.1.9/kernel/src/arch/riscv64/mm/
Dinit.rs109 let flags = kernel_page_flags::<MMArch>(vaddr).set_execute(true); in riscv_mm_init() localVariable
188 let flags = kernel_page_flags::<MMArch>(vaddr).set_execute(true); in remap_at_low_address() localVariable
/DragonOS-0.1.9/kernel/src/driver/multiboot2/
Dmultiboot2.h120 uint16_t flags; member
126 uint16_t flags; member
134 uint16_t flags; member
146 uint16_t flags; member
155 uint16_t flags; member
164 uint16_t flags; member
175 uint16_t flags; member
182 uint16_t flags; member
330 uint16_t flags; member
/DragonOS-0.1.9/kernel/src/mm/
Dno_init.rs144 let flags: PageFlags<MMArch> = PageFlags::new().set_write(true); in pseudo_map_phys() localVariable
153 let flags: PageFlags<MMArch> = PageFlags::new().set_write(false).set_execute(true); in pseudo_map_phys_ro() localVariable
Dpage.rs229 pub fn flags(&self) -> PageFlags<Arch> { in flags() method
280 let flags: PageFlags<Arch> = PageFlags::new() in from_prot_flags() localVariable
649 let flags: PageFlags<Arch> = in map_phys() localVariable
713 let flags = entry.flags(); in translate() localVariable
/DragonOS-0.1.9/kernel/src/virt/kvm/
Dhost_mem.rs51 pub flags: u32, field
62 pub flags: u32, // 虚机内存区间属性 field
/DragonOS-0.1.9/kernel/src/filesystem/
Dmbr.rs8 pub flags: u8, // 引导标志符,标记此分区为活动分区 field
/DragonOS-0.1.9/kernel/src/net/event_poll/
Dsyscall.rs27 let flags = FileMode::from_bits_truncate(flag as u32); in epoll_create1() localVariable
/DragonOS-0.1.9/kernel/src/process/
Dexec.rs100 flags: ExecParamFlags, field
137 pub fn flags(&self) -> &ExecParamFlags { in flags() method
Dkthread.rs62 flags: KernelThreadFlags, field
73 pub fn flags(&self) -> &KernelThreadFlags { in flags() method
Dsyscall.rs177 let flags = clone_args.flags; in clone() localVariable
/DragonOS-0.1.9/kernel/src/arch/x86_64/driver/apic/
Dlapic_vector.rs114 fn flags(&self) -> IrqChipFlags { in flags() method
121 flags: IrqChipFlags, field
/DragonOS-0.1.9/kernel/src/driver/irqchip/
Driscv_intc.rs77 fn flags(&self) -> IrqChipFlags { in flags() method
/DragonOS-0.1.9/kernel/src/driver/tty/
Dtty_port.rs39 flags: i32, field
/DragonOS-0.1.9/kernel/src/ipc/
Dsignal_types.rs184 flags: SigFlags, field
233 pub fn flags(&self) -> SigFlags { in flags() method
284 pub flags: SigFlags, field
/DragonOS-0.1.9/user/apps/test_kvm/
Dmain.c34 uint32_t flags; member
/DragonOS-0.1.9/kernel/src/driver/input/ps2_mouse/
Dps_mouse_device.rs112 flags: MouseFlags, field
298 let flags: MouseFlags = MouseFlags::from_bits_truncate(packet); in process_packet() localVariable
305 let flags = guard.current_state.flags.clone(); in process_packet() localVariable
311 let flags = guard.current_state.flags.clone(); in process_packet() localVariable
/DragonOS-0.1.9/kernel/src/arch/x86_64/interrupt/
Dmod.rs70 let flags = IrqFlags::new(rflags); in save_and_disable_irq() localVariable

12