Home
last modified time | relevance | path

Searched refs:io (Results 1 – 25 of 43) sorted by relevance

12

/DragonOS/kernel/src/arch/x86_64/asm/
H A Dpio.rs1 use crate::arch::io::PortIOArch;
8 x86::io::inb(port) in in8()
13 x86::io::inw(port) in in16()
18 x86::io::inl(port) in in32()
23 x86::io::outb(port, data) in out8()
28 x86::io::outw(port, data) in out16()
33 x86::io::outl(port, data) in out32()
/DragonOS/user/apps/test-blockcache/src/
H A Dmain.rs2 use std::io::{BufReader, Read, Seek, SeekFrom, Write};
4 fn main() -> std::io::Result<()> { in main()
7 file.seek(std::io::SeekFrom::Start(file_size_bytes - 1))?; in main()
/DragonOS/user/apps/test_socket/src/
H A Dtest_unix_stream.rs1 use std::io::{Error, Read, Write};
9 fn client() -> std::io::Result<()> { in client()
17 pub fn test_unix_stream() -> std::io::Result<()> { in test_unix_stream()
H A Dtest_unix_stream_pair.rs1 use std::io::{Error, Read, Write};
7 pub fn test_unix_stream_pair() -> std::io::Result<()> { in test_unix_stream_pair()
H A Dmain.rs7 fn main() -> std::io::Result<()> { in main()
/DragonOS/tools/debugging/logmonitor/src/
H A Dtui.rs6 use std::io;
35 crossterm::execute!(io::stderr(), EnterAlternateScreen, DisableMouseCapture)?; in init()
65 crossterm::execute!(io::stdout(), LeaveAlternateScreen, DisableMouseCapture)?; in reset()
H A Dmain.rs11 use std::io;
72 let backend = CrosstermBackend::new(io::stderr()); in start_tui_app()
/DragonOS/user/apps/test-backlog/src/
H A Dmain.rs2 use std::io;
24 async fn main() -> io::Result<()> { in main()
/DragonOS/docs/community/ChangeLog/V0.1.x/
H A DV0.1.4.md40 - block io: new: Block IO 调度器. 当具有多核时,io调度器在核心1上运行。 (#158)
128 * Block io调度器
137 7、当具有多核时,io调度器在核心1上运行。
139 * io调度器文件位置修改
141 * 修改io的makefile
145 * 修改io调度器函数名
/DragonOS/kernel/crates/intertrait/macros/
H A DCargo.toml5 authors = ["CodeChain Team <hi@codechain.io>"]
8 repository = "https://github.com/CodeChain-io/intertrait"
/DragonOS/user/apps/user-manage/src/executor/
H A Dexecutor.rs8 io::{Read, Seek, Write},
123 guard.group_file.seek(std::io::SeekFrom::Start(0)).unwrap(); in write_group_file()
166 .seek(std::io::SeekFrom::Start(0)) in write_gshadow_file()
211 guard.passwd_file.seek(std::io::SeekFrom::Start(0)).unwrap(); in update_passwd_file()
240 guard.group_file.seek(std::io::SeekFrom::Start(0)).unwrap(); in update_group_file()
258 guard.shadow_file.seek(std::io::SeekFrom::Start(0)).unwrap(); in update_shadow_file()
289 .seek(std::io::SeekFrom::Start(0)) in update_gshadow_file()
358 guard.passwd_file.seek(std::io::SeekFrom::Start(0)).unwrap(); in update_passwd_file()
406 guard.group_file.seek(std::io::SeekFrom::Start(0)).unwrap(); in update_group_file()
428 guard.shadow_file.seek(std::io::SeekFrom::Start(0)).unwrap(); in update_shadow_file()
[all …]
/DragonOS/kernel/crates/intertrait/
H A DCargo.toml4 authors = ["CodeChain Team <hi@codechain.io>"]
8 repository = "https://github.com/CodeChain-io/intertrait"
/DragonOS/
H A D.readthedocs.yaml2 # See https://docs.readthedocs.io/en/stable/config-file/v2.html for details
32 # See https://docs.readthedocs.io/en/stable/guides/reproducible-builds.html
H A DREADME.md5 <a href="https://dragonos.org"><img alt="官网" src="https://img.shields.io/badge/%E5%AE%98%E7%BD%91-D…
6 <a href="https://bbs.dragonos.org.cn"><img alt="bbs" src="https://img.shields.io/badge/BBS-bbs.drag…
/DragonOS/user/apps/user-manage/src/check/
H A Dcheck.rs9 io::Write,
391 std::io::stdout().flush().unwrap(); in check()
392 std::io::stdin().read_line(&mut new_password).unwrap(); in check()
396 std::io::stdout().flush().unwrap(); in check()
397 std::io::stdin().read_line(&mut check_password).unwrap(); in check()
409 std::io::stdout().flush().unwrap(); in check()
411 std::io::stdin().read_line(&mut old_password).unwrap(); in check()
415 std::io::stdout().flush().unwrap(); in check()
416 std::io::stdin().read_line(&mut new_password).unwrap(); in check()
419 std::io::stdout().flush().unwrap(); in check()
[all …]
/DragonOS/kernel/src/arch/x86_64/
H A Dcpu.rs18 unsafe { x86::io::outb(0x64, 0xfe) }; in cpu_reset()
/DragonOS/kernel/crates/rbpf/examples/
H A Drbpf_plugin.rs5 use std::io::Read;
79 std::io::stdin().read_to_string(&mut program_text).unwrap(); in main()
/DragonOS/kernel/src/arch/
H A Dmod.rs16 pub mod io; module
/DragonOS/user/apps/test_lo/src/
H A Dmain.rs4 fn main() -> std::io::Result<()> { in main()
/DragonOS/kernel/src/arch/riscv64/
H A Dpio.rs1 use crate::arch::io::PortIOArch;
/DragonOS/user/apps/test-chown/src/
H A Dmain.rs10 io::{self, Error, Write},
13 io::AsRawFd,
/DragonOS/docs/introduction/
H A Dbuild_system.md149 echo -e "[source.crates-io] \n \
150 registry = \"https://github.com/rust-lang/crates.io-index\" \n \
154 registry = \"https://gitee.com/DragonOS/crates.io-index.git\" \n \
/DragonOS/kernel/crates/rbpf/
H A DREADME.md12 [![Coverage Status](https://coveralls.io/repos/github/qmonnet/rbpf/badge.svg?branch=main)](https://…
13 [![Crates.io](https://img.shields.io/crates/v/rbpf.svg)](https://crates.io/crates/rbpf)
49 This crate is available from [crates.io](https://crates.io/crates/rbpf), so it
85 [crates.io](https://crates.io/crates/rbpf) version (may not be up-to-date with
631 in the [bpfjit crate](https://crates.io/crates/bpfjit) written by Alexander
729 crates.io](https://crates.io/crates/bpfjit)), a Rust crate exporting the cBPF
735 Guide_](http://docs.cilium.io/en/latest/bpf/)
740 material_](https://qmonnet.github.io/whirl-offload/2016/09/01/dive-into-bpf),
/DragonOS/kernel/src/arch/x86_64/pci/
H A Dpci.rs1 use crate::arch::io::PortIOArch;
/DragonOS/tools/debugging/logmonitor/src/backend/monitor/
H A Dlogset.rs1 use std::{collections::BTreeMap, fmt::Debug, fs::File, io::Write, path::PathBuf};

12