Home
last modified time | relevance | path

Searched refs:old (Results 1 – 9 of 9) sorted by relevance

/DragonOS/kernel/src/arch/x86_64/include/asm/
H A Dcmpxchg.h34 [old] "+a"(__old) \
45 [old] "+a"(__old) \
56 [old] "+a"(__old) \
67 [old] "+a"(__old) \
/DragonOS/docs/kernel/core_api/
H A Dkernel_api.md111 ### `void list_replace(struct List *old, struct List *new)`
115   将链表中的old结点替换成new结点
119 **old**
/DragonOS/kernel/src/arch/x86_64/driver/apic/
H A Dioapic.rs243 let mut old = unsafe { self.read(REG_TABLE + 2 * irq) }; in set_irq_vector() localVariable
244 let old_vector = old.get_bits(0..8); in set_irq_vector()
246 old |= RedirectionEntry::DISABLED.bits(); in set_irq_vector()
249 self.write(REG_TABLE + 2 * irq, *old.set_bits(0..8, vector as u32)); in set_irq_vector()
/DragonOS/kernel/src/filesystem/vfs/
H A Dsyscall.rs835 old: &str, in do_linkat()
853 let old_inode: Arc<dyn IndexNode> = if old.is_empty() { in do_linkat()
867 let (old_begin_inode, old_remain_path) = user_path_at(&pcb, oldfd, old)?; in do_linkat()
886 pub fn link(old: *const u8, new: *const u8) -> Result<usize, SystemError> { in link()
900 let old = get_path(old)?; in link() localVariable
904 &old, in link()
913 old: *const u8, in linkat()
918 let old = check_and_clone_cstr(old, Some(MAX_PATHLEN))? in linkat() localVariable
924 if old.len() >= MAX_PATHLEN || new.len() >= MAX_PATHLEN { in linkat()
932 Self::do_linkat(oldfd, &old, newfd, &new, flags) in linkat()
/DragonOS/kernel/src/driver/tty/tty_ldisc/
H A Dmod.rs49 fn set_termios(&self, tty: Arc<TtyCore>, old: Option<Termios>) -> Result<(), SystemError>; in set_termios()
H A Dntty.rs871 let old = self.echo_commit - self.echo_tail; in commit_echoes() localVariable
876 if nr < ECHO_COMMIT_WATERMARK || nr % ECHO_BLOCK > old % ECHO_BLOCK { in commit_echoes()
1901 old: Option<crate::driver::tty::termios::Termios>, in set_termios()
1910 if let Some(old) = old { in set_termios()
1911 let local_mode = old.local_mode.bitxor(termios.local_mode); in set_termios()
1915 if old.is_none() || spec_mode_changed { in set_termios()
/DragonOS/kernel/src/syscall/
H A Dmod.rs385 let old = args[0] as *const u8; in handle() localVariable
387 return Self::link(old, new); in handle()
392 let old = args[1] as *const u8; in handle() localVariable
396 return Self::linkat(oldfd, old, newfd, new, flags); in handle()
/DragonOS/kernel/src/exception/
H A Dmanage.rs363 let old = &desc_inner_guard.actions()[0].clone(); in inner_setup_irq() localVariable
364 let old_guard = old.inner(); in inner_setup_irq()
/DragonOS/docs/community/ChangeLog/V0.1.x/
H A DV0.1.9.md297 移除relibc和old libc以及旧的shell (#529)
299 移除relibc和old libc以及旧的shell