Home
last modified time | relevance | path

Searched refs:drop (Results 1 – 25 of 82) sorted by relevance

1234

/DragonOS-0.1.9/kernel/src/libs/
Dwait_queue.rs40 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 …]
Dmutex.rs73 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
Dspinlock.rs140 drop(irq_guard); in try_lock_irqsave()
190 fn drop(&mut self) { in drop() method
Drwlock.rs460 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/
Dtimer.rs102 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()
Dtimekeeping.rs141 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/
Dhpet.rs76 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/
Dcompletion.rs46 drop(inner); in do_wait_for_common()
55 drop(inner); in do_wait_for_common()
62 drop(inner); in do_wait_for_common()
Dsyscall.rs33 drop(irq_guard); in sched()
/DragonOS-0.1.9/kernel/src/arch/x86_64/process/
Dsyscall.rs52 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()
Dmod.rs360 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/
Dc_adapter.rs89 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()
Dkernel_mapper.rs132 fn drop(&mut self) { in drop() method
139 drop(guard); in drop()
/DragonOS-0.1.9/kernel/src/process/
Dkthread.rs290 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()
Dmod.rs212 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 …]
Dexit.rs160 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/
Dsoftirq.rs156 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
Dhandle.rs120 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()
Dmod.rs96 fn drop(&mut self) { in drop() method
/DragonOS-0.1.9/kernel/src/ipc/
Dpipe.rs138 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/
Dsockets.rs123 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/
Dsched.rs53 drop(irq_guard); in initial_setup_sched_local()
/DragonOS-0.1.9/kernel/src/filesystem/vfs/
Dsyscall.rs299 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/
Dsyscall.rs57 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/
Dfile.rs126 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()

1234