Home
last modified time | relevance | path

Searched defs:guard (Results 1 – 25 of 54) sorted by relevance

123

/DragonOS/kernel/src/libs/
H A Dwait_queue.rs37 let mut guard: SpinLockGuard<InnerWaitQueue> = self.0.lock_irqsave(); in prepare_to_wait_event() localVariable
54 let mut guard: SpinLockGuard<InnerWaitQueue> = self.0.lock_irqsave(); in finish_wait() localVariable
67 let mut guard: SpinLockGuard<InnerWaitQueue> = self.0.lock_irqsave(); in sleep() localVariable
82 let mut guard: SpinLockGuard<InnerWaitQueue> = self.0.lock_irqsave(); in sleep_with_func() localVariable
113 let mut guard: SpinLockGuard<InnerWaitQueue> = self.0.lock(); in sleep_without_schedule() localVariable
125 let mut guard: SpinLockGuard<InnerWaitQueue> = self.0.lock(); in sleep_without_schedule_uninterruptible() localVariable
135 let mut guard: SpinLockGuard<InnerWaitQueue> = self.0.lock(); in sleep_uninterruptible() localVariable
150 let mut guard: SpinLockGuard<InnerWaitQueue> = self.0.lock(); in sleep_unlock_spinlock() localVariable
166 let mut guard: SpinLockGuard<InnerWaitQueue> = self.0.lock(); in sleep_unlock_mutex() localVariable
182 let mut guard: SpinLockGuard<InnerWaitQueue> = self.0.lock(); in sleep_uninterruptible_unlock_spinlock() localVariable
[all …]
/DragonOS/user/apps/user-manage/src/executor/
H A Dexecutor.rs103 let mut guard = GLOBAL_FILE.lock().unwrap(); in write_group_file() localVariable
145 let mut guard = GLOBAL_FILE.lock().unwrap(); in write_gshadow_file() localVariable
198 let mut guard = GLOBAL_FILE.lock().unwrap(); in update_passwd_file() localVariable
218 let mut guard = GLOBAL_FILE.lock().unwrap(); in update_group_file() localVariable
248 let mut guard = GLOBAL_FILE.lock().unwrap(); in update_shadow_file() localVariable
265 let mut guard = GLOBAL_FILE.lock().unwrap(); in update_gshadow_file() localVariable
329 let mut guard = GLOBAL_FILE.lock().unwrap(); in update_passwd_file() localVariable
371 let mut guard = GLOBAL_FILE.lock().unwrap(); in update_group_file() localVariable
415 let mut guard = GLOBAL_FILE.lock().unwrap(); in update_shadow_file() localVariable
441 let mut guard = GLOBAL_FILE.lock().unwrap(); in update_gshadow_file() localVariable
[all …]
/DragonOS/kernel/src/exception/
H A Debreak.rs17 let guard = KPROBE_MANAGER.lock(); in kprobe_handler() localVariable
21 let guard = kprobe.read(); in kprobe_handler() localVariable
H A Ddebug.rs20 let guard = kprobe.read(); in post_kprobe_handler() localVariable
/DragonOS/kernel/src/net/
H A Dnet_core.rs139 let guard: RwLockReadGuard<BTreeMap<usize, Arc<dyn NetDevice>>> = NET_DEVICES.read_irqsave(); in poll_ifaces() localVariable
159 let guard: RwLockReadGuard<BTreeMap<usize, Arc<dyn NetDevice>>> = in poll_ifaces_try_lock() localVariable
190 let guard: RwLockReadGuard<BTreeMap<usize, Arc<dyn NetDevice>>> = NET_DEVICES.read_irqsave(); in poll_ifaces_try_lock_onetime() localVariable
/DragonOS/kernel/src/mm/
H A Dc_adapter.rs39 let mut guard = C_ALLOCATION_MAP.lock(); in do_kmalloc() localVariable
61 let mut guard = C_ALLOCATION_MAP.lock(); in kfree() localVariable
H A Dfault.rs73 let guard = vma.lock_irqsave(); in new() localVariable
129 let mut guard = current_pcb.sched_info().inner_lock_write_irqsave(); in handle_mm_fault() localVariable
141 let guard = vma.lock_irqsave(); in handle_mm_fault() localVariable
242 let guard = vma.lock_irqsave(); in do_anonymous_page() localVariable
H A Dkernel_mapper.rs134 let guard = unsafe { CurrentIrqArch::save_and_disable_irq() }; in drop() localVariable
H A Ducontext.rs874 let guard = v.lock_irqsave(); in contains() localVariable
894 let guard = v.lock_irqsave(); in find_nearest() localVariable
1138 let mut guard = self.lock_irqsave(); in remap() localVariable
1156 let mut guard = self.lock_irqsave(); in unmap() localVariable
1211 let mut guard = self.lock_irqsave(); in extract() localVariable
1290 let guard = self.lock_irqsave(); in is_foreign() localVariable
1304 let guard = self.lock_irqsave(); in is_accessible() localVariable
1311 let guard = self.lock_irqsave(); in is_anonymous() localVariable
/DragonOS/kernel/src/process/
H A Dsyscall.rs375 let mut guard = pcb.cred.lock(); in setuid() localVariable
392 let mut guard = pcb.cred.lock(); in setgid() localVariable
411 let mut guard = pcb.cred.lock(); in seteuid() localVariable
429 let mut guard = pcb.cred.lock(); in setegid() localVariable
449 let mut guard = pcb.cred.lock(); in setfsuid() localVariable
463 let mut guard = pcb.cred.lock(); in setfsgid() localVariable
/DragonOS/kernel/src/ipc/
H A Dsignal.rs37 let guard = pcb.sig_info_irqsave(); in fatal_signal_pending() localVariable
211 let guard = target_pcb.sig_struct(); in complete_signal() localVariable
464 let guard = pcb.sig_struct_irqsave(); in set_current_sig_blocked() localVariable
H A Dpipe.rs161 let mut guard = result.inner.lock(); in new() localVariable
281 let mut guard = self.inner.lock(); in open() localVariable
314 let mut guard = self.inner.lock(); in close() localVariable
/DragonOS/kernel/src/filesystem/devpts/
H A Dmod.rs227 let mut guard = self.inner.lock(); in create_with_data() localVariable
259 let guard = self.inner.lock(); in find() localVariable
269 let mut guard = self.inner.lock(); in unlink() localVariable
/DragonOS/kernel/src/filesystem/fat/
H A Dfs.rs1396 let mut guard: SpinLockGuard<FATInode> = self.0.lock(); in read_at() localVariable
1424 let mut guard: SpinLockGuard<FATInode> = self.0.lock(); in write_at() localVariable
1450 let mut guard: SpinLockGuard<FATInode> = self.0.lock(); in create() localVariable
1499 let mut guard: SpinLockGuard<FATInode> = self.0.lock(); in resize() localVariable
1542 let guard: SpinLockGuard<FATInode> = self.0.lock(); in truncate() localVariable
1553 let mut guard: SpinLockGuard<FATInode> = self.0.lock(); in list() localVariable
1596 let mut guard: SpinLockGuard<FATInode> = self.0.lock(); in find() localVariable
1614 let mut guard: SpinLockGuard<FATInode> = self.0.lock(); in unlink() localVariable
1649 let mut guard: SpinLockGuard<FATInode> = self.0.lock(); in rmdir() localVariable
1695 let mut guard = self.0.lock(); in move_to() localVariable
[all …]
/DragonOS/kernel/src/arch/x86_64/mm/
H A Dpkru.rs19 let guard = vma.lock_irqsave(); in vma_pkey() localVariable
H A Dfault.rs252 let guard = vma.lock_irqsave(); in do_user_addr_fault() localVariable
/DragonOS/kernel/src/driver/input/ps2_mouse/
H A Dps_mouse_driver.rs103 let guard = self.inner.lock(); in process_packet() localVariable
136 let mut guard = self.inner.lock(); in add_device() localVariable
146 let mut guard = self.inner.lock(); in delete_device() localVariable
H A Dps_mouse_device.rs290 let mut guard = self.inner.lock(); in process_packet() localVariable
473 let mut guard = self.inner(); in class() localVariable
597 let mut guard = self.inner.lock_irqsave(); in open() localVariable
603 let mut guard = self.inner.lock_irqsave(); in close() localVariable
615 let mut guard = self.inner.lock_irqsave(); in read_at() localVariable
/DragonOS/kernel/src/driver/pci/test/
H A Dpt_driver.rs92 let mut guard = self.driver_data.write(); in add_device() localVariable
102 let mut guard = self.driver_data.write(); in delete_device() localVariable
/DragonOS/kernel/src/driver/clocksource/
H A Dtimer_riscv.rs78 let mut guard = SBI_TIMER_INIT_BMP.lock(); in riscv_sbi_timer_init_local() localVariable
/DragonOS/kernel/src/driver/firmware/efi/
H A Dinit.rs225 let guard = efi_manager().inner_read(); in efi_vaddr_2_paddr() localVariable
/DragonOS/kernel/src/driver/input/serio/i8042/
H A Di8042_driver.rs111 let mut guard = self.inner.lock(); in add_device() localVariable
121 let mut guard = self.inner.lock(); in delete_device() localVariable
/DragonOS/kernel/src/filesystem/vfs/
H A Dfile.rs169 let mut guard = self.xarray.lock(); in add_page() localVariable
175 let mut guard = self.xarray.lock(); in get_page() localVariable
182 let mut guard = self.xarray.lock(); in remove_page() localVariable
/DragonOS/kernel/src/driver/base/
H A Dclass.rs86 let guard = subsys.devices(); in find_device() localVariable
/DragonOS/kernel/src/driver/video/fbdev/
H A Dvesafb.rs175 let mut guard = self.inner(); in class() localVariable
778 let mut guard = self.inner.lock(); in add_device() localVariable
788 let mut guard = self.inner.lock(); in delete_device() localVariable
1010 let mut guard = FRAME_BUFFER_SET.write(); in vesa_fb_device_init() localVariable

123