Home
last modified time | relevance | path

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

12

/DragonOS-0.1.8/kernel/src/libs/
Dwait_queue.rs48 drop(guard); in sleep()
62 drop(guard); in sleep_with_func()
86 drop(guard); in sleep_without_schedule()
93 drop(guard); in sleep_uninterruptible()
103 drop(to_unlock); in sleep_unlock_spinlock()
104 drop(guard); in sleep_unlock_spinlock()
114 drop(to_unlock); in sleep_unlock_mutex()
115 drop(guard); in sleep_unlock_mutex()
125 drop(to_unlock); in sleep_uninterruptible_unlock_spinlock()
126 drop(guard); in sleep_uninterruptible_unlock_spinlock()
[all …]
Dmutex.rs73 drop(inner); in lock()
78 drop(inner); in lock()
127 drop(inner); in unlock()
167 fn drop(&mut self) { in drop() method
Drwlock.rs363 mem::drop(self); in downgrade()
416 mem::drop(self); in downgrade()
477 fn drop(&mut self) { in drop() method
485 fn drop(&mut self) { in drop() method
497 fn drop(&mut self) { in drop() method
Dlazy_init.rs147 fn drop(&mut self) { in drop() method
Dalign.rs76 fn drop(&mut self) { in drop() method
/DragonOS-0.1.8/kernel/src/net/
Dsocket.rs80 drop(listen_table_guard); in get_ephemeral_port()
107 drop(listen_table_guard); in get_port()
120 drop(listen_table_guard); in unbind_port()
148 fn drop(&mut self) { in drop() method
151 drop(socket_set_guard); in drop()
308 drop(socket); in read()
309 drop(socket_set_guard); in read()
374 drop(socket); in write()
378 drop(socket_set_guard); in write()
492 drop(socket); in read()
[all …]
Dsyscall.rs137 drop(socket); in getsockopt()
246 drop(socket); in recvfrom()
279 drop(socket); in recvmsg()
338 drop(socket); in accept()
379 drop(socket); in getsockname()
409 drop(socket); in getpeername()
/DragonOS-0.1.8/kernel/src/time/
Dtimer.rs95 drop(inner_guard); in activate()
96 drop(timer_list); in activate()
111 drop(inner_guard); in activate()
112 drop(timer_list); in activate()
198 drop(timer_list_front_guard); in run()
202 drop(timer_list_front_guard); in run()
203 drop(timer_list); in run()
254 drop(irq_guard); in schedule_timeout()
Dtimekeeping.rs170 drop(tk); in getnstimeofday()
233 drop(irq_guard); in timekeeping_init()
294 drop(timekeeper); in update_wall_time()
304 drop(irq_guard); in update_wall_time()
Dsleep.rs54 drop(irq_guard); in nanosleep()
/DragonOS-0.1.8/kernel/src/mm/
Dc_adapter.rs98 drop(guard); in do_kmalloc()
100 drop(Vec::from_raw_parts(vaddr.data() as *mut u8, len, cap)); in do_kmalloc()
120 drop(guard); in kfree()
127 drop(Vec::from_raw_parts(vaddr.data() as *mut u8, len, cap)); in kfree()
Dkernel_mapper.rs128 fn drop(&mut self) { in drop() method
135 drop(guard); in drop()
Ducontext.rs211 drop(vma_guard); in try_clone()
214 drop(new_vma_guard); in try_clone()
216 drop(new_guard); in try_clone()
217 drop(irq_guard); in try_clone()
448 drop(r_guard); in mprotect()
459 drop(r_guard); in mprotect()
550 fn drop(&mut self) { in drop() method
569 fn drop(&mut self) { in drop() method
1117 drop(flusher); in zeroed()
1137 fn drop(&mut self) { in drop() method
/DragonOS-0.1.8/kernel/src/ipc/
Dpipe.rs69 drop(guard); //这一步其实不需要,只要离开作用域,guard生命周期结束,自会解锁 in new()
96 drop(inode); in read_at()
98 drop(irq_guard); in read_at()
177 drop(inode); in write_at()
178 drop(irq_guard); in write_at()
/DragonOS-0.1.8/kernel/src/sched/
Dsyscall.rs26 drop(irq_guard); in sched()
/DragonOS-0.1.8/kernel/src/exception/
Dmod.rs69 fn drop(&mut self) { in drop() method
Dsoftirq.rs143 drop(table_guard); in register_softirq()
161 drop(table_guard); in unregister_softirq()
191 drop(table_guard); in do_softirq()
235 drop(guard); in raise_softirq()
/DragonOS-0.1.8/kernel/src/process/
Dfork.rs116 drop(sighand); in process_exit_signal()
121 drop(queue); in process_exit_signal()
130 drop(sig); in process_exit_sighand()
Dprocess.rs177 drop(old_fds); in exit_files()
199 drop(file); in alloc_fd()
273 drop(f); in drop_fd()
324 drop(p); in drop_address_space()
Dc_adapter.rs102 drop(Box::from_raw(state)); in rs_process_exit_fpstate()
/DragonOS-0.1.8/kernel/src/arch/x86_64/
Dfpu.rs115 drop(guard); in fp_state_save()
145 drop(guard); in fp_state_restore()
Dsyscall.rs211 drop(old_address_space); in tmp_rs_execve()
212 drop(irq_guard); in tmp_rs_execve()
/DragonOS-0.1.8/kernel/src/driver/timers/rtc/
Drtc.rs85 drop(irq_guard); in get()
/DragonOS-0.1.8/kernel/src/mm/allocator/
Dslab.rs108 fn drop(&mut self) { in drop() method
/DragonOS-0.1.8/kernel/src/driver/disk/ahci/
Dmod.rs89 drop(hba_mem_list); in ahci_rust_init()
124 drop(hba_mem_list); in ahci_rust_init()

12