/DragonOS/kernel/src/arch/x86_64/include/asm/ |
H A D | asm.h | 54 uint64_t *tmp; in get_rsp() local 57 : "=r"(tmp)::"memory"); in get_rsp() 58 return tmp; in get_rsp() 84 uint64_t *tmp; in get_rbp() local 87 : "=r"(tmp)::"memory"); in get_rbp() 88 return tmp; in get_rbp() 98 uint64_t *tmp; in get_ds() local 101 : "=r"(tmp)::"memory"); in get_ds() 102 return tmp; in get_ds() 112 uint64_t *tmp; in get_rax() local [all …]
|
/DragonOS/tools/ |
H A D | Dockerfile | 12 WORKDIR /tmp 21 sudo cp /tmp/docker-entrypoint.sh /root/entrypoint.sh && \ 26 sudo rm -rf /tmp/*
|
/DragonOS/kernel/src/arch/x86_64/driver/ |
H A D | tsc.rs | 342 let mut tmp = ref2 * hpet_instance().period(); in calc_hpet_ref() localVariable 344 tmp /= 1000000; in calc_hpet_ref() 346 deltatsc /= tmp; in calc_hpet_ref() 363 let mut tmp = ref2 * 1000000000; in calc_pmtimer_ref() localVariable 365 tmp /= PMTMR_TICKS_PER_SEC; in calc_pmtimer_ref() 367 deltatsc /= tmp; in calc_pmtimer_ref()
|
/DragonOS/kernel/src/filesystem/vfs/ |
H A D | syscall.rs | 1426 let mut tmp: PosixStatx = PosixStatx::new(); in do_statx() localVariable 1430 tmp.stx_mask |= PosixStatxMask::STATX_BASIC_STATS; in do_statx() 1431 tmp.stx_blksize = metadata.blk_size as u32; in do_statx() 1433 tmp.stx_mode = metadata.mode; in do_statx() 1436 tmp.stx_nlink = metadata.nlinks as u32; in do_statx() 1439 tmp.stx_uid = metadata.uid as u32; in do_statx() 1442 tmp.stx_gid = metadata.gid as u32; in do_statx() 1445 tmp.stx_atime.tv_sec = metadata.atime.tv_sec; in do_statx() 1446 tmp.stx_atime.tv_nsec = metadata.atime.tv_nsec; in do_statx() 1449 tmp.stx_mtime.tv_sec = metadata.ctime.tv_sec; in do_statx() [all …]
|
/DragonOS/ |
H A D | .gitignore | 6 /tmp/
|
/DragonOS/kernel/src/process/ |
H A D | kthread.rs | 162 let tmp = result.clone(); in new() localVariable 164 let tmp = Arc::into_raw(tmp) as *mut Self; in new() localVariable 165 (*tmp).self_ref = Arc::downgrade(&result); in new() 166 Arc::from_raw(tmp); in new()
|
/DragonOS/kernel/src/driver/clocksource/ |
H A D | acpi_pm.rs | 159 let mut tmp: u32 = 0; in mach_countup() localVariable 161 tmp += 1; in mach_countup() 166 *count = tmp; in mach_countup()
|
/DragonOS/kernel/src/driver/tty/virtual_terminal/ |
H A D | virtual_console.rs | 1546 let tmp = self.unicode_to_index(tc); in console_write_normal() localVariable 1547 if tmp & (!charmask as i32) != 0 { in console_write_normal() 1548 if tmp == -1 || tmp == -2 { in console_write_normal() 1556 let tmp = self.unicode_to_index(0xfffd); in console_write_normal() localVariable 1557 if tmp < 0 { in console_write_normal() 1559 let tmp = self.unicode_to_index('?' as u32); in console_write_normal() localVariable 1560 if tmp < 0 { in console_write_normal() 1563 tc = tmp as u32; in console_write_normal() 1623 let tmp = self.unicode_to_index(' ' as u32); in console_write_normal() localVariable 1624 tc = if tmp < 0 { ' ' as u32 } else { tmp as u32 }; in console_write_normal()
|
/DragonOS/docs/community/code_contribution/ |
H A D | c-coding-style.md | 147   DragonOS中的命名规范不使用诸如`TempValue`这样的驼峰命名法的函数名,而是使用`tmp`这样言简意赅的命名。
|
/DragonOS/kernel/src/libs/lib_ui/ |
H A D | textui.rs | 843 let mut tmp = LineIndex(0); in textui_putchar_window() localVariable 848 tmp = vline.index; in textui_putchar_window() 850 if <LineIndex as Into<i32>>::into(tmp) >= 0 { in textui_putchar_window() 855 vline.chars.get_mut(<LineIndex as Into<usize>>::into(tmp)) in textui_putchar_window() 862 return self.textui_refresh_characters(self.vline_operating, tmp, 1); in textui_putchar_window() 865 if <LineIndex as Into<i32>>::into(tmp) < 0 { in textui_putchar_window()
|
/DragonOS/kernel/src/driver/video/fbdev/ |
H A D | vesafb.rs | 557 let mut tmp: Vec<u32> = vec![0; size]; in fb_copyarea() localVariable 558 let mut tmp_ptr = tmp.as_mut_ptr(); in fb_copyarea() 592 let mut tmp: Vec<u16> = vec![0; size]; in fb_copyarea() localVariable 593 let mut tmp_ptr = tmp.as_mut_ptr(); in fb_copyarea() 627 let mut tmp: Vec<u32> = vec![0; size]; in fb_copyarea() localVariable 628 let mut tmp_ptr = tmp.as_mut_ptr() as *mut [u8; 3]; in fb_copyarea()
|
/DragonOS/kernel/src/time/ |
H A D | timekeeping.rs | 168 let tmp = interval; in timekeeping_bigadjust() localVariable 177 while error > tmp { in timekeeping_bigadjust()
|
/DragonOS/kernel/src/driver/tty/tty_ldisc/ |
H A D | ntty.rs | 1020 let tmp = self.read_flags.next_index(tail); in canon_copy_from_read_buf() localVariable 1022 let mut eol = if let Some(tmp) = tmp { tmp } else { size }; in canon_copy_from_read_buf() 1034 if let Some(tmp) = ret { in canon_copy_from_read_buf() 1036 if tmp < more { in canon_copy_from_read_buf() 1037 eol = tmp; in canon_copy_from_read_buf()
|
/DragonOS/kernel/src/exception/ |
H A D | irqdesc.rs | 344 let tmp = desc_guard.line_status.trigger_type(); in modify_status() localVariable 346 if tmp != IrqLineStatus::IRQ_TYPE_NONE { in modify_status() 347 trigger = tmp; in modify_status()
|
/DragonOS/kernel/src/driver/tty/ |
H A D | tty_core.rs | 253 let tmp = termios.control_mode; in set_termios_next() localVariable 254 termios.control_mode ^= (tmp ^ old_termios.control_mode) & ControlMode::ADDRB; in set_termios_next()
|
/DragonOS/user/apps/user-manage/src/executor/ |
H A D | executor.rs | 462 let tmp = format!(",{}", name); in update_gshadow_file() localVariable 468 users.push(tmp.as_str()); in update_gshadow_file()
|
/DragonOS/kernel/src/driver/pci/ |
H A D | pci.rs | 1365 let tmp = mmio_pool() in pci_bar_init() localVariable 1368 space_guard = Arc::new(tmp); in pci_bar_init()
|