Home
last modified time | relevance | path

Searched refs:level (Results 1 – 19 of 19) sorted by relevance

/DragonOS/kernel/src/filesystem/procfs/
H A Dlog.rs63 level: LogLevel, field
71 pub fn new(timestamp: PosixTimeSpec, level: LogLevel, message: String) -> Self { in new()
74 level, in new()
79 pub fn level(&self) -> LogLevel { in level() method
80 self.level.clone() in level()
87 let level = match self.level { in fmt() localVariable
103 level, timestamp.tv_sec, timestamp.tv_nsec, message in fmt()
H A Dkmsg.rs85 if msg.level() == self.console_loglevel { in read_level()
/DragonOS/kernel/src/namespaces/
H A Dpid_namespace.rs35 pub level: usize, field
56 pub level: usize, field
75 level: 0, in new()
85 let ns = pid.numbers[pid.level].ns.clone(); in put_pid()
86 let id = pid.numbers[pid.level].nr.data(); in put_pid()
91 if set_tid_size > ns.level + 1 { in alloc_pid()
95 let mut numbers = Vec::<UPid>::with_capacity(ns.level + 1); in alloc_pid()
98 for i in (0..=ns.level).rev() { in alloc_pid()
131 level: ns.level, in alloc_pid()
138 self.numbers[self.level].ns.clone() in ns_of_pid()
[all …]
H A Duser_namespace.rs46 level: u32, field
122 level: 0, in new()
/DragonOS/user/apps/dmesg/
H A Dmain.c67 int level = -1; in main() local
71 level = getlevel(argv[2]) + 1; in main()
73 if (level == -1) in main()
76 klogctl(8, buf, level); in main()
/DragonOS/kernel/src/mm/
H A Dpage.rs469 level: usize, field
475 pub unsafe fn new(base: VirtAddr, phys: PhysAddr, level: usize) -> Self { in new()
479 level, in new()
515 pub fn level(&self) -> usize { in level() method
516 self.level in level()
528 let shift = self.level * Arch::PAGE_ENTRY_SHIFT + Arch::PAGE_SHIFT; in entry_base()
583 let shift = self.level * Arch::PAGE_ENTRY_SHIFT + Arch::PAGE_SHIFT; in index_of()
595 if self.level == 0 { in next_level_table()
603 self.level - 1, in next_level_table()
621 let new_table = PageTable::new(self.base, phys, self.level); in clone()
[all …]
H A Dfault.rs172 for level in 2..=3 { in handle_normal_fault()
173 let level = MMArch::PAGE_LEVELS - level; in handle_normal_fault() localVariable
174 if mapper.get_entry(address, level).is_none() { in handle_normal_fault()
179 } else if mapper.allocate_table(address, level - 1).is_none() { in handle_normal_fault()
/DragonOS/kernel/src/libs/
H A Dprintk.rs110 match record.level() { in iodisplay()
112 write!(PrintkWriter, "[ {} ] ", record.level(),) in iodisplay()
133 match record.level() { in kernel_log()
/DragonOS/kernel/src/arch/x86_64/kvm/vmx/
H A Dmmu.rs32 level: usize, // 页所处的层级 field
113 let level = 1; // 4KB page in tdp_page_fault() localVariable
121 __direct_map(vcpu, gpa, write, map_writable, level, gfn, pfn, prefault)?; in tdp_page_fault()
/DragonOS/kernel/src/cgroup/
H A Dmod.rs13 level: u32, field
/DragonOS/user/apps/test_ebpf/syscall_ebpf/syscall_ebpf-ebpf/
H A DCargo.toml17 opt-level = 3
/DragonOS/kernel/src/common/sys/
H A Dtypes.h61 int level; member
/DragonOS/kernel/src/debug/traceback/
H A Dtraceback.c6 int lookup_kallsyms(uint64_t addr, int level) in lookup_kallsyms() argument
/DragonOS/kernel/
H A DCargo.toml104 # opt-level = 0 # Controls the --opt-level the compiler builds with
/DragonOS/kernel/src/driver/video/
H A Dmod.rs121 pub fn video_reinitialize(&self, level: bool) -> Result<(), SystemError> { in video_reinitialize()
122 if !level { in video_reinitialize()
/DragonOS/kernel/src/net/
H A Dsyscall.rs107 level: usize, in setsockopt()
116 return socket.setsockopt(level, optname, optval).map(|_| 0); in setsockopt()
130 level: usize, in getsockopt()
142 if level as u8 == SOL_SOCKET { in getsockopt()
176 PosixIpProtocol::try_from(level as u16).map_err(|_| SystemError::ENOPROTOOPT)?; in getsockopt()
/DragonOS/kernel/src/
H A Dlib.rs104 fn lookup_kallsyms(addr: u64, level: i32) -> i32; in lookup_kallsyms()
/DragonOS/kernel/src/arch/x86_64/driver/apic/
H A Dioapic.rs422 let level = irq_data.is_level_type(); in ioapic_init() localVariable
424 register_handler(&desc, level); in ioapic_init()
/DragonOS/kernel/crates/rbpf/
H A DREADME.md538 builder API. It looks less like assembly, maybe more like high-level functions.