/DragonOS/kernel/src/filesystem/procfs/ |
H A D | log.rs | 63 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 D | kmsg.rs | 85 if msg.level() == self.console_loglevel { in read_level()
|
/DragonOS/kernel/src/namespaces/ |
H A D | pid_namespace.rs | 35 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 D | user_namespace.rs | 46 level: u32, field 122 level: 0, in new()
|
/DragonOS/user/apps/dmesg/ |
H A D | main.c | 67 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/ |
H A D | lib.rs | 102 fn lookup_kallsyms(addr: u64, level: i32) -> i32; in lookup_kallsyms() 139 let mut level = 0; in panic() localVariable 141 lookup_kallsyms(frame as u64, level); in panic() 142 level += 1; in panic()
|
/DragonOS/kernel/src/mm/ |
H A D | page.rs | 469 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 D | fault.rs | 172 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 D | printk.rs | 110 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 D | mmu.rs | 32 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 D | mod.rs | 13 level: u32, field
|
/DragonOS/user/apps/test_ebpf/syscall_ebpf/syscall_ebpf-ebpf/ |
H A D | Cargo.toml | 17 opt-level = 3
|
/DragonOS/kernel/src/common/sys/ |
H A D | types.h | 61 int level; member
|
/DragonOS/kernel/src/debug/traceback/ |
H A D | traceback.c | 6 int lookup_kallsyms(uint64_t addr, int level) in lookup_kallsyms() argument
|
/DragonOS/kernel/ |
H A D | Cargo.toml | 95 # opt-level = 0 # Controls the --opt-level the compiler builds with
|
/DragonOS/kernel/src/driver/video/ |
H A D | mod.rs | 121 pub fn video_reinitialize(&self, level: bool) -> Result<(), SystemError> { in video_reinitialize() 122 if !level { in video_reinitialize()
|
/DragonOS/kernel/src/net/ |
H A D | syscall.rs | 107 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/arch/x86_64/driver/apic/ |
H A D | ioapic.rs | 422 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 D | README.md | 538 builder API. It looks less like assembly, maybe more like high-level functions.
|