Home
last modified time | relevance | path

Searched refs:open (Results 1 – 25 of 56) sorted by relevance

123

/DragonOS/user/apps/test_filemap/
H A Dmain.c12 int fd = open("example.txt", O_RDWR | O_CREAT | O_TRUNC, 0777); in main()
25 fd = open("example.txt", O_RDWR); in main()
56 fd = open("example.txt", O_RDWR); in main()
/DragonOS/user/apps/test_uart/
H A Dmain.c8 int fd = open("/dev/char/uart:1088", O_WRONLY | O_NONBLOCK); in main()
15 fd = open("/dev/char/uart:1088", O_WRONLY | O_NONBLOCK); in main()
/DragonOS/user/apps/test_mkfifo/
H A Dmain.c37 pipe_fd = open(PIPE_NAME, O_RDONLY); in main()
59 pipe_fd = open(PIPE_NAME, O_WRONLY); in main()
/DragonOS/kernel/src/driver/tty/tty_ldisc/
H A Dmod.rs16 fn open(&self, tty: Arc<TtyCore>) -> Result<(), SystemError>; in open() method
105 let ret = ld.open(tty); in ldisc_setup()
116 let ret: Result<(), SystemError> = ld.open(o_tty.clone()); in ldisc_setup()
/DragonOS/
H A DREADME_EN.md22 …e DragonOS open-source community was established in July 2022 and is entirely business-neutral. Ou…
63 &emsp;&emsp;DragonOS is an open source public welfare project, but its development cannot be separa…
108 …ct adopts GPLv2 LICENSE for open source. You are welcome to use the code of this project on the ba…
112 **What we condemn**: any non-compliance with the open source license. Including but not limited to:…
114 If you find any violation of the open source license, we welcome you to send email feedback! Let's …
/DragonOS/user/apps/test_dup3/
H A Dmain.c6 int fd = open("/history_commands.txt", O_RDONLY); in main()
/DragonOS/user/apps/test-blockcache/src/
H A Dmain.rs9 let mut file = File::open("large_file")?; in main()
/DragonOS/user/apps/test_fstat/
H A Dmain.c9 int fd = open("/bin/about.elf", O_RDONLY); in main()
/DragonOS/user/apps/test_fstatfs/
H A Dmain.c7 int fd = open("/bin/about.elf", O_RDONLY); in main()
/DragonOS/user/apps/test_overlayfs/
H A Dmain.c45 int fd = open(filepath, O_CREAT | O_WRONLY, 0644); in create_lower_file()
/DragonOS/kernel/src/driver/input/serio/
H A Dserio_device.rs26 fn open(&self, device: &Arc<dyn SerioDevice>) -> Result<(), SystemError>; in open() method
/DragonOS/user/apps/test_kvm/
H A Dmain.c66 int kvm_fd = open("/dev/kvm", O_RDWR|O_CLOEXEC); in main()
/DragonOS/kernel/src/filesystem/sysfs/
H A Dfile.rs290 fn open(&self, _data: KernCallbackData) -> Result<(), SystemError> { in open() method
322 fn open(&self, _data: KernCallbackData) -> Result<(), SystemError> { in open() method
354 fn open(&self, _data: KernCallbackData) -> Result<(), SystemError> { in open() method
386 fn open(&self, _data: KernCallbackData) -> Result<(), SystemError> { in open() method
/DragonOS/kernel/src/filesystem/kernfs/
H A Dcallback.rs15 fn open(&self, data: KernCallbackData) -> Result<(), SystemError>; in open() method
/DragonOS/kernel/src/bpf/prog/
H A Dmod.rs48 fn open(&self, _data: SpinLockGuard<FilePrivateData>, _mode: &FileMode) -> Result<()> { in open() method
/DragonOS/kernel/src/driver/tty/pty/
H A Dunix98pty.rs42 fn open(&self, tty: &TtyCoreData) -> Result<(), SystemError> { in open() method
283 ptm_driver().driver_funcs().open(core)?; in ptmx_open()
/DragonOS/kernel/src/filesystem/devfs/
H A Dnull_dev.rs75 fn open( in open() method
H A Dzero_dev.rs75 fn open( in open() method
/DragonOS/user/apps/http_server/
H A Dmain.c76 int fd = open(path, 0); in send_file()
/DragonOS/kernel/src/virt/kvm/
H A Dkvm_dev.rs93 fn open( in open() method
H A Dvcpu_dev.rs101 fn open( in open() method
H A Dvm_dev.rs99 fn open( in open() method
/DragonOS/kernel/src/driver/input/serio/i8042/
H A Di8042_ports.rs181 fn open(&self, _device: &Arc<dyn SerioDevice>) -> Result<(), SystemError> { in open() method
/DragonOS/kernel/src/driver/keyboard/
H A Dps2_keyboard.rs137 fn open( in open() method
/DragonOS/docs/community/ChangeLog/V0.1.x/
H A DV0.1.8.md71 - bugfix: 修正null设备以及zero设备无法open、行为不符合预期的问题 (#314)
284 修正null设备以及zero设备无法open、行为不符合预期的问题 (#314)

123