Home
last modified time | relevance | path

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

12

/DragonOS/kernel/src/libs/
H A Dcpumask.rs30 mask.set(cpu, true); in from_cpu()
69 pub fn set(&mut self, cpu: ProcessorId, value: bool) -> Option<bool> { in set() method
70 self.bmp.set(cpu.data() as usize, value) in set()
86 set: true, in iter_cpu()
96 set: false, in iter_zero_cpu()
128 set: bool, field
137 if self.set { in next()
146 if self.set { in next()
/DragonOS/kernel/crates/rbpf/mk/
H A Dappveyor.bat8 set VCVARSALL="C:\Program Files (x86)\Microsoft Visual Studio %TOOLCHAIN_VERSION%\VC\vcvarsall.bat"
11 set TARGET_ARCH=x86_64
12 set TARGET_PROGRAM_FILES=%ProgramFiles%
20 set TARGET_ARCH=i686
21 set TARGET_PROGRAM_FILES=%ProgramFiles(x86)%
39 set RUST_URL=https://static.rust-lang.org/dist/rust-%RUST%-%TARGET_ARCH%-pc-windows-msvc.msi
51 set PATH="%TARGET_PROGRAM_FILES%\Rust %RUST%\bin";%cd%\windows_build_tools;%PATH%
53 if [%Configuration%] == [Release] set CARGO_MODE=--release
55 set
/DragonOS/kernel/src/include/bindings/
H A Dlinux_bpf.rs67 pub fn set(&mut self, bit_offset: usize, bit_width: u8, val: u64) { in set() function
206 self._bitfield_1.set(0usize, 4u8, val as u64) in set_dst_reg()
217 self._bitfield_1.set(4usize, 4u8, val as u64) in set_src_reg()
223 __bindgen_bitfield_unit.set(0usize, 4u8, {
227 __bindgen_bitfield_unit.set(4usize, 4u8, {
1023 self._bitfield_1.set(0usize, 1u8, val as u64) in set_gpl_compatible()
1029 __bindgen_bitfield_unit.set(0usize, 1u8, {
1571 self._bitfield_1.set(0usize, 1u8, val as u64) in set_disabled()
1582 self._bitfield_1.set(1usize, 1u8, val as u64) in set_inherit()
1593 self._bitfield_1.set(2usize, 1u8, val as u64) in set_pinned()
[all …]
/DragonOS/docs/
H A Dmake.bat8 set SPHINXBUILD=sphinx-build
10 set SOURCEDIR=.
11 set BUILDDIR=_build
19 echo.installed, then set the SPHINXBUILD environment variable to point
/DragonOS/kernel/src/smp/
H A Dsyscall.rs9 pub fn getaffinity(_pid: i32, set: &mut [u8]) -> Result<usize, SystemError> { in getaffinity()
12 set[0..src.len()].copy_from_slice(src); in getaffinity()
/DragonOS/kernel/crates/bitmap/tests/
H A Dalloc-bitmap.rs75 bitmap.set(0, true); in test_alloc_bitmap_32_first_1()
116 bitmap.set(15, true); in test_alloc_bitmap_32_middle_1()
158 bitmap.set(31, true); in test_alloc_bitmap_32_last_1()
200 bitmap.set(0, true); in test_alloc_bitmap_64_first_1()
241 bitmap.set(15, true); in test_alloc_bitmap_64_middle_1()
283 bitmap.set(63, true); in test_alloc_bitmap_64_last_1()
325 bitmap.set(0, true); in test_alloc_bitmap_64_two_1_first()
326 bitmap.set(63, true); in test_alloc_bitmap_64_two_1_first()
366 bitmap.set(15, true); in test_alloc_bitmap_64_two_1_middle()
367 bitmap.set(63, true); in test_alloc_bitmap_64_two_1_middle()
[all …]
H A Dstatic-bitmap.rs75 bitmap.set(0, true); in test_static_bitmap_32_first_1()
116 bitmap.set(15, true); in test_static_bitmap_32_middle_1()
158 bitmap.set(31, true); in test_static_bitmap_32_last_1()
200 bitmap.set(0, true); in test_static_bitmap_64_first_1()
241 bitmap.set(15, true); in test_static_bitmap_64_middle_1()
283 bitmap.set(63, true); in test_static_bitmap_64_last_1()
325 bitmap.set(0, true); in test_static_bitmap_64_two_1_first()
326 bitmap.set(63, true); in test_static_bitmap_64_two_1_first()
366 bitmap.set(15, true); in test_static_bitmap_64_two_1_middle()
367 bitmap.set(63, true); in test_static_bitmap_64_two_1_middle()
[all …]
/DragonOS/kernel/src/driver/scsi/
H A Dmod.rs55 inner.id_bmp.set(idx, true); in alloc_id()
71 self.inner().id_bmp.set(id, false); in free_id()
/DragonOS/tools/
H A D.gdbinit3 set follow-fork-mode child
/DragonOS/kernel/src/driver/tty/tty_ldisc/
H A Dntty.rs502 self.read_flags.set(ntty_buf_mask(self.read_head), true); in receive_special_char()
515 self.read_flags.set(ntty_buf_mask(self.read_head), true); in receive_special_char()
543 self.read_flags.set(ntty_buf_mask(self.read_head), true); in receive_special_char()
980 self.read_flags.set(tail, false); in canon_skip_eof()
1069 self.read_flags.set(eol, false); in canon_copy_from_read_buf()
1931 .set((read_head - 1) & (NTTY_BUFSIZE - 1), true); in set_termios()
1964 ldata.char_map.set('\r' as usize, true); in set_termios()
1969 ldata.char_map.set('\n' as usize, true); in set_termios()
1976 .set(contorl_chars[ControlCharIndex::VERASE] as usize, true); in set_termios()
1979 .set(contorl_chars[ControlCharIndex::VKILL] as usize, true); in set_termios()
[all …]
/DragonOS/kernel/crates/bitmap/src/
H A Dalloc_bitmap.rs38 fn set(&mut self, index: usize, value: bool) -> Option<bool> { in set() method
39 return self.core.set(self.elements, &mut self.data, index, value); in set()
H A Dstatic_bitmap.rs49 fn set(&mut self, index: usize, value: bool) -> Option<bool> { in set() function
50 return self.core.set(N, &mut self.data, index, value); in set()
H A Dtraits.rs8 fn set(bits: &mut Self, index: usize, value: bool) -> bool; in set() method
38 fn set(bits: &mut Self, index: usize, value: bool) -> bool {
233 fn set(&mut self, index: usize, value: bool) -> Option<bool>; in set() method
H A Dbitmap_core.rs33 pub(crate) fn set(&self, n: usize, data: &mut [T], index: usize, value: bool) -> Option<bool> { in set() method
41 let bit = <T as BitOps>::set(element, bit_index, value); in set()
/DragonOS/kernel/src/driver/firmware/efi/
H A Dmemmap.rs145 inner_guard.init_flags.set(EFIInitFlags::MEMMAP, true); in do_efi_memmap_init()
164 inner_guard.init_flags.set(EFIInitFlags::MEMMAP, false); in efi_memmap_unmap()
H A Dinit.rs155 .set(EFIInitFlags::BOOT, true); in uefi_init()
161 .set(EFIInitFlags::EFI_64BIT, true); in uefi_init()
/DragonOS/kernel/src/mm/
H A Dno_init.rs70 self.bmp.set(index, true); in allocate_page()
90 self.bmp.set(index, false); in free_page()
H A Dmemblock.rs365 set: bool, in set_or_clear_flags()
375 if set { in set_or_clear_flags()
/DragonOS/kernel/src/smp/cpu/
H A Dmod.rs119 if let Some(prev) = p.possible_cpus.set(cpu, value) { in set_possible_cpu()
149 if let Some(prev) = p.present_cpus.set(cpu, value) { in set_present_cpu()
/DragonOS/kernel/src/driver/clocksource/
H A Dtimer_riscv.rs102 .set(smp_get_processor_id().data() as usize, true) in riscv_sbi_timer_init_local()
/DragonOS/docs/kernel/debug/
H A Ddebug-kernel-with-gdb.md331 set listsize <count> #设置list命令显示的源代码行数。默认情况下,list命令显示当前行和其周围的几行代码。
348 set var <variable_name>=<value> #设置变量值
/DragonOS/kernel/src/driver/tty/virtual_terminal/
H A Dvirtual_console.rs279 self.tab_stop.set(i, true); in reset()
930 self.tab_stop.set(self.state.x, true); in do_getpars()
1368 self.tab_stop.set(self.state.x, true); in do_control()
1998 pub fn make_cursor(size: u32, change: u32, set: u32) -> Self { in make_cursor()
1999 unsafe { Self::from_bits_unchecked(size | (change << 8) | (set << 16)) } in make_cursor()
/DragonOS/kernel/src/ipc/
H A Dshm.rs468 pub fn set_mode(&mut self, shmflg: ShmFlags, set: bool) { in set_mode()
469 if set { in set_mode()
/DragonOS/kernel/src/exception/
H A Dsoftirq.rs181 cpu_pending(smp_get_processor_id()).set(VecStatus::from(softirq_num), false); in unregister_softirq()
/DragonOS/kernel/src/driver/block/
H A Dvirtio_blk.rs128 inner.id_bmp.set(idx, true); in alloc_id()
144 self.inner().id_bmp.set(id, false); in free_id()

12