Home
last modified time | relevance | path

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

/DragonOS/build-scripts/kernel_build/src/cfiles/
H A Dmod.rs27 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 Dunknown-flag.stderr1 error: Unknown flag: send
2 --> $DIR/unknown-flag.rs:5:18
H A Dduplicate-flags.stderr1 error: Duplicated flag: sync
/DragonOS/build-scripts/kernel_build/src/cfiles/arch/
H A Driscv64.rs34 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 Dx86_64.rs38 c.flag("-mcmodel=large").flag("-m64"); in setup_global_flags()
/DragonOS/user/apps/test_ebpf/syscall_ebpf/
H A DREADME.md13 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 Dcache_block.rs27 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 Dtimeconv.rs46 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 Dmod.rs71 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/net/event_poll/
H A Dsyscall.rs26 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/libs/
H A Dvolatile.rs17 ($data: expr, $val: expr, $flag: expr) => {
20 match $flag {
/DragonOS/kernel/src/bpf/map/
H A Dqueue.rs131 let flag = BpfMapUpdateElemFlags::from_bits_truncate(flags); in update_elem() localVariable
132 self.push(value.to_vec(), flag) in update_elem()
/DragonOS/kernel/src/driver/base/device/
H A Ddd.rs96 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/docs/kernel/filesystem/
H A Doverview.md62 - `sys_unlink_at`:删除文件或目录(通过参数`flag`区分到底是删除文件还是目录)
/DragonOS/kernel/src/driver/firmware/efi/
H A Dtables.rs84 let mut flag = false; in parse_config_tables() localVariable
94 flag = true; in parse_config_tables()
99 if !flag { in parse_config_tables()
/DragonOS/kernel/src/driver/input/serio/
H A Dserio_driver.rs34 flag: u8, in interrupt()
/DragonOS/kernel/src/filesystem/vfs/
H A Dopen.rs75 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 Dblock_device.rs527 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 Dpage.rs884 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 Dpci_irq.rs158 fn irq_init(&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 DREADME.md126 * Add `[sync]` flag to `#[cast_to]` and `castable_to!` as follows:
/DragonOS/kernel/src/driver/tty/tty_ldisc/
H A Dntty.rs303 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 Dmod.rs1038 let flag = args[4] as i32; in handle() localVariable
1039 Self::fchownat(dirfd, pathname, uid, gid, flag) in handle()
/DragonOS/kernel/src/sched/
H A Dfair.rs234 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 Dmod.rs968 pub flag: u32, field