/DragonOS/build-scripts/kernel_build/src/cfiles/ |
H A D | mod.rs | 27 c.flag("-fno-builtin") in setup_global_flags() 28 .flag("-nostdlib") in setup_global_flags() 29 .flag("-fno-stack-protector") in setup_global_flags() 30 .flag("-static-pie") in setup_global_flags() 31 .flag("-Wno-expansion-to-defined") in setup_global_flags() 32 .flag("-Wno-unused-parameter") in setup_global_flags() 33 .flag("-O1"); in setup_global_flags()
|
/DragonOS/kernel/crates/intertrait/tests/ui/ |
H A D | unknown-flag.stderr | 1 error: Unknown flag: send 2 --> $DIR/unknown-flag.rs:5:18
|
H A D | duplicate-flags.stderr | 1 error: Duplicated flag: sync
|
/DragonOS/build-scripts/kernel_build/src/cfiles/arch/ |
H A D | riscv64.rs | 34 c.flag("-mcmodel=medany"); in setup_global_flags() 36 c.flag("-mabi=lp64d"); in setup_global_flags() 37 c.flag("-march=rv64gc"); in setup_global_flags()
|
H A D | x86_64.rs | 38 c.flag("-mcmodel=large").flag("-m64"); in setup_global_flags()
|
/DragonOS/user/apps/test_ebpf/syscall_ebpf/ |
H A D | README.md | 13 To perform a release build you can use the `--release` flag. 14 You may also change the target architecture with the `--target` flag.
|
/DragonOS/kernel/src/driver/block/cache/ |
H A D | cache_block.rs | 27 pub fn new(data: Box<[u8]>, flag: CacheBlockFlag, lba_id: BlockId) -> Self { in new() 30 _flag: flag, in new()
|
/DragonOS/kernel/src/time/ |
H A D | timeconv.rs | 46 let mut flag = false; in is_leap() localVariable 48 flag = true; in is_leap() 50 return flag; in is_leap()
|
/DragonOS/kernel/src/driver/base/char/ |
H A D | mod.rs | 71 let mut flag = true; in find_dynamic_major() localVariable 74 flag = false; in find_dynamic_major() 78 if flag { in find_dynamic_major()
|
/DragonOS/kernel/src/libs/ |
H A D | volatile.rs | 17 ($data: expr, $val: expr, $flag: expr) => { 20 match $flag {
|
/DragonOS/kernel/src/net/event_poll/ |
H A D | syscall.rs | 26 pub fn epoll_create1(flag: usize) -> Result<usize, SystemError> { in epoll_create1() 27 let flags = FileMode::from_bits_truncate(flag as u32); in epoll_create1()
|
/DragonOS/kernel/src/bpf/map/ |
H A D | queue.rs | 131 let flag = BpfMapUpdateElemFlags::from_bits_truncate(flags); in update_elem() localVariable 132 self.push(value.to_vec(), flag) in update_elem()
|
/DragonOS/docs/kernel/filesystem/ |
H A D | overview.md | 62 - `sys_unlink_at`:删除文件或目录(通过参数`flag`区分到底是删除文件还是目录)
|
/DragonOS/kernel/src/driver/base/device/ |
H A D | dd.rs | 96 let mut flag = false; in do_device_attach() localVariable 100 flag = false; in do_device_attach() 103 flag = true; in do_device_attach() 108 if flag { in do_device_attach() 112 if !flag && allow_async && data.have_async { in do_device_attach()
|
/DragonOS/kernel/src/driver/firmware/efi/ |
H A D | tables.rs | 85 let mut flag = false; in parse_config_tables() localVariable 95 flag = true; in parse_config_tables() 100 if !flag { in parse_config_tables()
|
/DragonOS/kernel/src/driver/input/serio/ |
H A D | serio_driver.rs | 34 flag: u8, in interrupt()
|
/DragonOS/kernel/src/filesystem/vfs/ |
H A D | open.rs | 75 flag: AtFlags, in do_fchownat() 78 if flag.contains(!(AtFlags::AT_SYMLINK_NOFOLLOW | AtFlags::AT_EMPTY_PATH)) { in do_fchownat() 82 let follow_symlink = flag.contains(!AtFlags::AT_SYMLINK_NOFOLLOW); in do_fchownat()
|
/DragonOS/kernel/src/driver/base/block/ |
H A D | block_device.rs | 527 let mut flag = true; in find_dynamic_major() localVariable 530 flag = false; in find_dynamic_major() 534 if flag { in find_dynamic_major()
|
/DragonOS/kernel/src/mm/ |
H A D | page.rs | 884 pub fn update_flags(mut self, flag: usize, value: bool) -> Self { in update_flags() 886 self.data |= flag; in update_flags() 888 self.data &= !flag; in update_flags() 895 pub fn has_flag(&self, flag: usize) -> bool { in has_flag() 896 return self.data & flag == flag; in has_flag()
|
/DragonOS/kernel/src/driver/pci/ |
H A D | pci_irq.rs | 158 fn irq_init(&mut self, flag: IRQ) -> Option<IrqType> { in irq_init() 160 if flag.contains(IRQ::PCI_IRQ_MSIX) { in irq_init() 196 if flag.contains(IRQ::PCI_IRQ_MSI) { in irq_init() 219 if flag.contains(IRQ::PCI_IRQ_LEGACY) { in irq_init()
|
/DragonOS/kernel/crates/intertrait/ |
H A D | README.md | 126 * Add `[sync]` flag to `#[cast_to]` and `castable_to!` as follows:
|
/DragonOS/kernel/src/driver/tty/tty_ldisc/ |
H A D | ntty.rs | 303 let mut flag = 1; in receive_buf_raw() localVariable 308 flag = flags.as_ref().unwrap()[f_offset]; in receive_buf_raw() 312 if likely(flag == 1) { in receive_buf_raw()
|
/DragonOS/kernel/src/syscall/ |
H A D | mod.rs | 1023 let flag = args[4] as i32; in handle() localVariable 1024 Self::fchownat(dirfd, pathname, uid, gid, flag) in handle()
|
/DragonOS/kernel/src/sched/ |
H A D | fair.rs | 234 let (no_break, flag) = f(se.clone()); in for_each_in_group() 235 should_continue = flag; in for_each_in_group()
|
/DragonOS/kernel/src/driver/video/fbdev/base/ |
H A D | mod.rs | 997 pub flag: u32, field
|