/DragonOS/kernel/src/libs/ |
H A D | wait_queue.rs | 46 drop(guard); in prepare_to_wait_event() 60 drop(guard); in finish_wait() 61 drop(writer); in finish_wait() 72 drop(guard); in sleep() 87 drop(irq_guard); in sleep_with_func() 91 drop(guard); in sleep_with_func() 118 drop(guard); in sleep_without_schedule() 130 drop(guard); in sleep_without_schedule_uninterruptible() 140 drop(irq_guard); in sleep_uninterruptible() 142 drop(guard); in sleep_uninterruptible() [all …]
|
H A 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
|
H A D | spinlock.rs | 140 drop(irq_guard); in try_lock_irqsave() 194 fn drop(&mut self) { in drop() method
|
H A D | rwlock.rs | 463 mem::drop(self); in downgrade() 517 mem::drop(self); in downgrade() 581 fn drop(&mut self) { in drop() method 589 fn drop(&mut self) { in drop() method 601 fn drop(&mut self) { in drop() method
|
/DragonOS/kernel/src/time/ |
H A D | timer.rs | 151 drop(inner_guard); in activate() 152 drop(timer_list); in activate() 159 drop(inner_guard); in activate() 172 drop(timer_list); in activate() 180 drop(timer); in run() 201 .for_each(drop); in cancel() 267 drop(timer_list); in run() 307 drop(irq_guard); in schedule_timeout() 325 drop(irq_guard); in schedule_timeout()
|
/DragonOS/kernel/src/mm/ |
H A D | c_adapter.rs | 41 drop(guard); in do_kmalloc() 43 drop(Vec::from_raw_parts(vaddr.data() as *mut u8, len, cap)); in do_kmalloc() 63 drop(guard); in kfree() 70 drop(Vec::from_raw_parts(vaddr.data() as *mut u8, len, cap)); in kfree()
|
H A D | kernel_mapper.rs | 132 fn drop(&mut self) { in drop() method 139 drop(guard); in drop()
|
/DragonOS/kernel/src/arch/x86_64/driver/ |
H A D | hpet.rs | 84 drop(mmio); in new() 136 drop(inner_guard); in hpet_enable() 147 drop(inner_guard); in hpet_enable() 164 drop(inner_guard); in hpet_enable() 168 drop(irq_guard); in hpet_enable() 232 drop(inner_guard); in main_counter_value() 241 drop(inner_guard); in period()
|
/DragonOS/kernel/src/sched/ |
H A D | syscall.rs | 28 drop(guard); in do_sched_yield() 29 drop(irq_guard); in do_sched_yield()
|
H A D | completion.rs | 47 drop(inner); in do_wait_for_common() 56 drop(inner); in do_wait_for_common() 63 drop(inner); in do_wait_for_common()
|
/DragonOS/kernel/src/net/socket/ |
H A D | inet.rs | 103 drop(socket_set_guard); in close() 133 drop(socket_set_guard); in read() 201 drop(socket_set_guard); in write() 333 drop(socket_set_guard); in close() 350 drop(socket_set_guard); in read() 358 drop(socket_set_guard); in read() 385 drop(socket_set_guard); in write() 608 drop(socket_set_guard); in close() 653 drop(socket_set_guard); in read() 676 drop(socket_set_guard); in read() [all …]
|
/DragonOS/kernel/src/process/ |
H A D | kthread.rs | 298 drop(irq_guard); in init_stage1() 400 drop(worker_private); in stop() 460 drop(current_pcb); in kthread_daemon() 465 drop(list); in kthread_daemon() 478 drop(list); in kthread_daemon() 482 drop(irq_guard); in kthread_daemon() 501 drop(info); in kernel_thread_bootstrap_stage2() 507 drop(irq_guard); in kernel_thread_bootstrap_stage2()
|
H A D | mod.rs | 238 drop(writer); in wakeup() 276 drop(writer); in wakeup_stop() 322 drop(writer); in mark_sleep() 345 drop(writer); in mark_stop() 400 drop(guard); in exit() 422 drop(thread); in exit() 432 drop(pcb); in exit() 939 drop(fd_table_guard); in get_socket() 1010 drop(sig_info); in has_pending_signal() 1056 fn drop(&mut self) { in drop() method [all …]
|
/DragonOS/kernel/src/exception/ |
H A D | softirq.rs | 157 drop(table_guard); in register_softirq() 176 drop(table_guard); in unregister_softirq() 213 drop(table_guard); in do_softirq() 257 drop(guard); in raise_softirq() 285 fn drop(&mut self) { in drop() method
|
H A D | ebreak.rs | 32 drop(guard); in kprobe_handler()
|
H A D | handle.rs | 248 drop(desc_inner_guard); in handle_irq_event() 265 drop(desc_inner_guard); in do_handle_irq_event() 375 drop(desc_inner_guard); in handle() 382 drop(action_inner); in handle()
|
/DragonOS/kernel/src/ipc/ |
H A D | pipe.rs | 164 drop(guard); //这一步其实不需要,只要离开作用域,guard生命周期结束,自会解锁 in new() 192 drop(data_guard); in read_at() 220 drop(inode); in read_at() 225 drop(inode); in read_at() 376 drop(inode); in write_at() 381 drop(inode); in write_at()
|
/DragonOS/kernel/src/filesystem/ |
H A D | eventfd.rs | 116 drop(data_guard); in read_at() 123 drop(lock_efd); in read_at() 127 drop(lock_efd); in read_at() 187 drop(eventfd); in write_at()
|
/DragonOS/kernel/src/arch/x86_64/ |
H A D | sched.rs | 41 drop(irq_guard); in initial_setup_sched_local()
|
/DragonOS/kernel/src/arch/riscv64/process/ |
H A D | mod.rs | 65 drop(arch_guard); in arch_switch_to_user() 67 drop(current_pcb); in arch_switch_to_user() 137 drop(current_arch_guard); in copy_thread() 149 drop(new_arch_guard); in copy_thread() 179 drop(next_addr_space); in switch_process()
|
/DragonOS/kernel/src/bpf/prog/ |
H A D | mod.rs | 101 fn drop(&mut self) { in drop() method 105 drop(file) in drop()
|
/DragonOS/kernel/src/net/ |
H A D | net_core.rs | 55 drop(binding); in dhcp_query() 126 drop(binding); in dhcp_query() 250 drop(handle_guard); in send_event()
|
/DragonOS/kernel/src/init/ |
H A D | initial_kthread.rs | 76 drop(current_pcb); in switch_to_user() 111 drop(proc_init_info); in switch_to_user()
|
/DragonOS/kernel/src/arch/x86_64/process/ |
H A D | mod.rs | 343 drop(current_arch_guard); in copy_thread() 355 drop(new_arch_guard); in copy_thread() 388 drop(next_addr_space); in switch_process() 544 drop(arch_guard); in arch_switch_to_user() 546 drop(current_pcb); in arch_switch_to_user()
|
/DragonOS/kernel/src/arch/riscv64/driver/ |
H A D | of.rs | 30 drop(bp_guard); in map_fdt()
|