/DragonOS/kernel/src/time/ |
H A D | jiffies.rs | 52 let d = &mut self.0.lock_irqsave().data; in update_clocksource_data() localVariable 53 d.set_name(data.name); in update_clocksource_data() 54 d.set_rating(data.rating); in update_clocksource_data() 55 d.set_mask(data.mask); in update_clocksource_data() 56 d.set_mult(data.mult); in update_clocksource_data() 57 d.set_shift(data.shift); in update_clocksource_data() 58 d.set_max_idle_ns(data.max_idle_ns); in update_clocksource_data() 59 d.set_flags(data.flags); in update_clocksource_data() 60 d.watchdog_last = data.watchdog_last; in update_clocksource_data() 61 d.cs_last = data.cs_last; in update_clocksource_data() [all …]
|
/DragonOS/docs/kernel/configuration/ |
H A D | config.md | 5   在内核目录下,用kernel.config来设置内核编译配置信息,以类似解析toml文件的方式去解析该文件,然后接着去解析各模块下的d.config以获取feature的启用… 28 - **path:** 模块路径,存放着d.config 30 - **y:** 启用,解析模块下的d.config 35 **src/mm/d.config** 67 *以下是其它模块下的d.config:* 69 **src/mm/allocator/d.config** 82 **src/init/d.config** 96 上面所有已开启模块的d.config中的feature,会最终生成到内核目录下的D.config文件,即D.config是最终内核编译的配置,如下:
|
/DragonOS/build-scripts/kernel_build/src/utils/ |
H A D | mod.rs | 22 let d = std::fs::read_dir(path); in list_all_files() localVariable 23 if d.is_err() { in list_all_files() 26 let d = d.unwrap(); in list_all_files() localVariable 28 d.for_each(|ent| { in list_all_files()
|
/DragonOS/kernel/src/driver/clocksource/ |
H A D | acpi_pm.rs | 121 let d = &mut self.0.lock_irqsave().data; in update_clocksource_data() localVariable 122 d.set_name(data.name); in update_clocksource_data() 123 d.set_rating(data.rating); in update_clocksource_data() 124 d.set_mask(data.mask); in update_clocksource_data() 125 d.set_mult(data.mult); in update_clocksource_data() 126 d.set_shift(data.shift); in update_clocksource_data() 127 d.set_max_idle_ns(data.max_idle_ns); in update_clocksource_data() 128 d.set_flags(data.flags); in update_clocksource_data() 129 d.watchdog_last = data.watchdog_last; in update_clocksource_data() 130 d.cs_last = data.cs_last; in update_clocksource_data() [all …]
|
/DragonOS/docs/_static/ |
H A D | dragonos-logo.svg | 1 …d="M1860.47,295.18h86.13c109.2,0,172.88,50.54,172.88,153.6,0,154.18-89.8,237.46-215.16,237.46H1782…
|
/DragonOS/user/apps/user-manage/ |
H A D | README.md | 7 useradd -c \<comment\> -d \<home\> -G \<group\> -g \<gid\> -s \<shell\> -u \<uid\> username 13 -d 目录 指定用户主目录,如果不存在,则创建该目录 50 usermod -a -G<组 1,组 2,...> -c<备注> -d<登入目录> -G<组名> -l<名称> -s<登入终端> -u<用户 id> username 55 -d 登入目录> 修改用户登入时的目录。
|
/DragonOS/kernel/src/driver/base/ |
H A D | subsys.rs | 169 if drivers.iter().any(|d| Arc::ptr_eq(d, driver)) { in add_driver_to_vec() 178 let index = drivers.iter().position(|d| Arc::ptr_eq(d, driver)); in remove_driver_from_vec() 186 if devices.iter().any(|d| Arc::ptr_eq(d, device)) { in add_device_to_vec() 196 let index = devices.iter().position(|d| Arc::ptr_eq(d, device)); in remove_device_from_vec()
|
/DragonOS/user/apps/test-chown/ |
H A D | README.md | 7 useradd -d /nonexistent -g 65534 -u 65534 -s /usr/local/bin/false nobody
|
/DragonOS/kernel/src/driver/base/device/ |
H A D | driver.rs | 125 if !self.devices.iter().any(|d| Arc::ptr_eq(d, &device)) { in push_device() 131 self.devices.retain(|d| !Arc::ptr_eq(d, device)); in delete_device()
|
/DragonOS/kernel/src/exception/ |
H A D | handle.rs | 276 .map(|d| d as Arc<dyn IrqHandlerData>); in do_handle_irq_event() 387 per_cpu_devid.map(|d| d as Arc<dyn IrqHandlerData>), in handle()
|
H A D | irqchip.rs | 371 while let Some(d) = data { in irq_chip_retrigger_hierarchy() 372 if let Err(e) = d.chip_info_read_irqsave().chip().retrigger(&d) { in irq_chip_retrigger_hierarchy() 374 data = d.parent_data().and_then(|p| p.upgrade()); in irq_chip_retrigger_hierarchy()
|
/DragonOS/kernel/src/filesystem/fat/ |
H A D | entry.rs | 539 let d: FATDir = self.find_entry(name, Some(true), None, fs)?.to_dir()?; in open_dir() localVariable 540 return Ok(d); in open_dir() 1578 Ok(d) => { in get_dir_entry() 1581 return Ok((self.current_cluster, self.offset, Some(d))); in get_dir_entry() 1679 FATDirEntry::Dir(d) => match d.short_dir_entry { in short_name() 1697 FATDirEntry::Dir(d) => { in short_dir_entry() 1698 return d.short_dir_entry; in short_dir_entry() 1713 FATDirEntry::Dir(d) => { in first_cluster() 1714 return d.first_cluster; in first_cluster() 1729 FATDirEntry::Dir(d) => d.loc, in get_dir_range() [all …]
|
H A D | fs.rs | 139 FATDirEntry::Dir(d) => { in update_metadata() 140 self.metadata.size = d.size(&self.fs.upgrade().unwrap().clone()) as i64; in update_metadata() 151 FATDirEntry::Dir(d) => { in find() 160 d.find_entry(name, None, None, self.fs.upgrade().unwrap())?; in find() 1457 FATDirEntry::Dir(d) => match file_type { in create() 1459 d.create_file(name, fs)?; in create() 1463 d.create_dir(name, fs)?; in create() 1633 FATDirEntry::Dir(d) => d, in unlink() 1660 FATDirEntry::Dir(d) => d, in rmdir() 1705 FATDirEntry::Dir(d) => d, in move_to() [all …]
|
/DragonOS/kernel/src/arch/x86_64/driver/ |
H A D | tsc.rs | 252 let d = (CurrentPortIOArch::in8(0x61) & (!0x02)) | 0x01; in pit_calibrate_tsc() localVariable 253 CurrentPortIOArch::out8(0x61, d); in pit_calibrate_tsc()
|
H A D | rtc.rs | 140 .and_then(|d| d.upgrade()) in driver()
|
/DragonOS/docs/kernel/debug/ |
H A D | debug-kernel-with-gdb.md | 161 delete <breakpoint#> # 或 d <breakpoint#> 删除对应编号的断点,在您不再需要使用这个断点的时候可以通过此命令删除断点 162 delete <watchpoint#> # 或 d <watchpoint##> 删除对应编号的监视点,在您不再需要使用这个监视点的时候可以通过此命令删除监视点 238 d Integer, signed decimal.
|
/DragonOS/kernel/src/driver/serial/serial8250/ |
H A D | mod.rs | 490 inner.devices.retain(|d| !Arc::ptr_eq(d, device)); in delete_device()
|
/DragonOS/kernel/src/filesystem/overlayfs/ |
H A D | mod.rs | 153 .and_then(|d| d.as_any().downcast_ref::<OverlayMountData>()) in make_overlayfs()
|
/DragonOS/kernel/crates/rbpf/src/ |
H A D | jit.rs | 138 fn emit_modrm_and_displacement(&self, mem: &mut JitMemory, r: u8, m: u8, d: i32) { in emit_modrm_and_displacement() 139 if d == 0 && (m & 0b111) != RBP { in emit_modrm_and_displacement() 141 } else if (-128..=127).contains(&d) { in emit_modrm_and_displacement() 143 self.emit1(mem, d as u8); in emit_modrm_and_displacement() 146 self.emit4(mem, d as u32); in emit_modrm_and_displacement()
|
/DragonOS/kernel/src/filesystem/vfs/ |
H A D | mod.rs | 975 mount_data.as_ref().map(|d| d as &dyn FileSystemMakerData);
|
/DragonOS/kernel/crates/intertrait/macros/ |
H A D | LICENSE-APACHE | 106 (d) If the Work includes a "NOTICE" text file as part of its
|
/DragonOS/kernel/crates/rbpf/ |
H A D | LICENSE-APACHE | 107 (d) If the Work includes a "NOTICE" text file as part of its
|