/DragonOS-0.1.9/kernel/src/libs/ |
D | wait_queue.rs | 40 drop(guard); in sleep() 55 drop(irq_guard); in sleep_with_func() 59 drop(guard); in sleep_with_func() 86 drop(guard); in sleep_without_schedule() 98 drop(guard); in sleep_without_schedule_uninterruptible() 108 drop(irq_guard); in sleep_uninterruptible() 110 drop(guard); in sleep_uninterruptible() 123 drop(irq_guard); in sleep_unlock_spinlock() 125 drop(to_unlock); in sleep_unlock_spinlock() 126 drop(guard); in sleep_unlock_spinlock() [all …]
|
D | mutex.rs | 73 drop(inner); in lock() 78 drop(inner); in lock() 109 drop(irq_guard); in __sleep() 128 drop(inner); in unlock() 166 fn drop(&mut self) { in drop() method
|
D | spinlock.rs | 140 drop(irq_guard); in try_lock_irqsave() 190 fn drop(&mut self) { in drop() method
|
D | rwlock.rs | 460 mem::drop(self); in downgrade() 514 mem::drop(self); in downgrade() 578 fn drop(&mut self) { in drop() method 586 fn drop(&mut self) { in drop() method 598 fn drop(&mut self) { in drop() method
|
/DragonOS-0.1.9/kernel/src/time/ |
D | timer.rs | 102 drop(inner_guard); in activate() 103 drop(timer_list); in activate() 118 drop(inner_guard); in activate() 119 drop(timer_list); in activate() 127 drop(timer); in run() 148 .for_each(drop); in cancel() 222 drop(timer_list_front_guard); in run() 226 drop(timer_list_front_guard); in run() 227 drop(timer_list); in run() 283 drop(irq_guard); in schedule_timeout()
|
D | timekeeping.rs | 141 drop(timekeeper); in tk_get_ns() 176 drop(tk); in getnstimeofday() 240 drop(irq_guard); in timekeeping_init() 300 drop(timekeeper); in update_wall_time() 310 drop(irq_guard); in update_wall_time()
|
/DragonOS-0.1.9/kernel/src/arch/x86_64/driver/ |
D | hpet.rs | 76 drop(mmio); in new() 128 drop(inner_guard); in hpet_enable() 139 drop(inner_guard); in hpet_enable() 156 drop(inner_guard); in hpet_enable() 160 drop(irq_guard); in hpet_enable() 224 drop(inner_guard); in main_counter_value() 233 drop(inner_guard); in period()
|
/DragonOS-0.1.9/kernel/src/sched/ |
D | completion.rs | 46 drop(inner); in do_wait_for_common() 55 drop(inner); in do_wait_for_common() 62 drop(inner); in do_wait_for_common()
|
D | syscall.rs | 33 drop(irq_guard); in sched()
|
/DragonOS-0.1.9/kernel/src/arch/x86_64/process/ |
D | syscall.rs | 52 drop(basic_info); in do_execve() 63 drop(old_address_space); in do_execve() 64 drop(irq_guard); in do_execve() 110 drop(param); in do_execve()
|
D | mod.rs | 360 drop(current_arch_guard); in copy_thread() 372 drop(new_arch_guard); in copy_thread() 405 drop(next_addr_space); in switch_process() 573 drop(arch_guard); in arch_switch_to_user() 593 drop(current_pcb); in arch_switch_to_user()
|
/DragonOS-0.1.9/kernel/src/mm/ |
D | c_adapter.rs | 89 drop(guard); in do_kmalloc() 91 drop(Vec::from_raw_parts(vaddr.data() as *mut u8, len, cap)); in do_kmalloc() 111 drop(guard); in kfree() 118 drop(Vec::from_raw_parts(vaddr.data() as *mut u8, len, cap)); in kfree()
|
D | kernel_mapper.rs | 132 fn drop(&mut self) { in drop() method 139 drop(guard); in drop()
|
/DragonOS-0.1.9/kernel/src/process/ |
D | kthread.rs | 290 drop(irq_guard); in init_stage1() 389 drop(worker_private); in stop() 450 drop(current_pcb); in kthread_daemon() 455 drop(list); in kthread_daemon() 469 drop(list); in kthread_daemon() 473 drop(irq_guard); in kthread_daemon() 492 drop(info); in kernel_thread_bootstrap_stage2() 498 drop(irq_guard); in kernel_thread_bootstrap_stage2()
|
D | mod.rs | 212 drop(writer); in wakeup() 238 drop(writer); in wakeup_stop() 273 drop(writer); in mark_sleep() 298 drop(writer); in mark_stop() 364 drop(thread); in exit() 366 drop(pcb); in exit() 805 drop(fd_table_guard); in get_socket() 893 fn drop(&mut self) { in drop() method 905 drop(irq_guard); in drop() 1250 drop(pcb_ptr); in clear_pcb() [all …]
|
D | exit.rs | 160 drop(pcb); in do_wait() 167 drop(irq_guard); in do_wait() 247 drop(child_pcb); in do_waitpid()
|
/DragonOS-0.1.9/kernel/src/exception/ |
D | softirq.rs | 156 drop(table_guard); in register_softirq() 175 drop(table_guard); in unregister_softirq() 212 drop(table_guard); in do_softirq() 256 drop(guard); in raise_softirq() 284 fn drop(&mut self) { in drop() method
|
D | handle.rs | 120 drop(desc_inner_guard); in handle() 202 drop(desc_inner_guard); in do_handle_irq_event() 271 drop(desc_inner_guard); in handle() 278 drop(action_inner); in handle()
|
D | mod.rs | 96 fn drop(&mut self) { in drop() method
|
/DragonOS-0.1.9/kernel/src/ipc/ |
D | pipe.rs | 138 drop(guard); //这一步其实不需要,只要离开作用域,guard生命周期结束,自会解锁 in new() 182 drop(inode); in read_at() 191 drop(inode); in read_at() 193 drop(irq_guard); in read_at() 345 drop(inode); in write_at() 353 drop(inode); in write_at() 354 drop(irq_guard); in write_at()
|
/DragonOS-0.1.9/kernel/src/net/socket/ |
D | sockets.rs | 123 drop(socket_set_guard); in read() 194 drop(socket_set_guard); in write() 319 drop(socket_set_guard); in read() 327 drop(socket_set_guard); in read() 377 drop(socket_set_guard); in write() 593 drop(socket_set_guard); in read() 619 drop(socket_set_guard); in read() 645 drop(socket_set_guard); in write() 693 drop(inner_iface); in connect() 694 drop(iface); in connect() [all …]
|
/DragonOS-0.1.9/kernel/src/arch/x86_64/ |
D | sched.rs | 53 drop(irq_guard); in initial_setup_sched_local()
|
/DragonOS-0.1.9/kernel/src/filesystem/vfs/ |
D | syscall.rs | 299 drop(fd_table_guard); in ioctl() 321 drop(fd_table_guard); in read() 343 drop(fd_table_guard); in write() 362 drop(fd_table_guard); in lseek() 382 drop(fd_table_guard); in pread() 404 drop(fd_table_guard); in pwrite() 525 drop(fd_table_guard); in getdents() 708 drop(fd_table_guard); in fcntl() 723 drop(fd_table_guard); in fcntl() 742 drop(fd_table_guard); in fcntl() [all …]
|
/DragonOS-0.1.9/kernel/src/net/ |
D | syscall.rs | 57 drop(fd_table_guard); in socket() 98 drop(fd_table_guard); in socketpair() 172 drop(socket); in getsockopt() 281 drop(socket); in recvfrom() 314 drop(socket); in recvmsg() 417 drop(socket); in do_accept() 470 drop(socket); in getsockname() 500 drop(socket); in getpeername()
|
/DragonOS-0.1.9/kernel/src/filesystem/sysfs/ |
D | file.rs | 126 drop(x); in add_file_with_mode() 130 drop(x); in add_file_with_mode() 244 drop(x); in add_bin_file_with_mode() 248 drop(x); in add_bin_file_with_mode()
|