Home
last modified time | relevance | path

Searched refs:None (Results 1 – 23 of 23) sorted by relevance

/DragonOS-0.1.5/kernel/src/
Dlib.rs70 None => { in panic()
79 None => { in panic()
/DragonOS-0.1.5/kernel/src/libs/
Drwlock.rs118 return None; //获取失败 in try_read()
127 return None; in try_read()
143 None => spin_loop(), in read()
179 return None; in try_write()
190 None => spin_loop(), in write()
207 return None; in try_upgradeable_read()
218 None => spin_loop(), in upgradeable_read()
/DragonOS-0.1.5/docs/kernel/sched/
Dcfs.md20 1. sched(): 是对于Scheduler trait的sched()实现,是实时进程进行调度时的逻辑处理,该函数会返回接下来要执行的pcb,若没有符合要求的pcb,返回None
Drt.md22 2. sched(): 是对于Scheduler trait的sched()实现,是实时进程进行调度时的逻辑处理,该函数会返回接下来要执行的pcb,若没有符合要求的pcb,返回None
/DragonOS-0.1.5/kernel/src/driver/pci/
Dpci.rs100 None in capabilities_offset()
219 None in memory_address_size()
229 None in virtual_address()
480 None in next()
483 None in next()
/DragonOS-0.1.5/kernel/src/filesystem/fat/
Dentry.rs239 self.first_cluster = fs.allocate_cluster(None)?; in ensure_len()
408 let mut first_free: Option<(Cluster, u64)> = None; in find_free_entries()
425 return Ok(None); in find_free_entries()
526 let f: FATFile = self.find_entry(name, Some(false), None, fs)?.to_file()?; in open_file()
532 let d: FATDir = self.find_entry(name, Some(true), None, fs)?.to_dir()?; in open_dir()
562 None, in create_file()
600 let first_cluster: Cluster = fs.allocate_cluster(None)?; in create_dir()
728 None => return Err(-(ENOSPC as i32)),
731 FATDirEntryOffsetIter::new(fs.clone(), start_loc, num_entries, None).collect();
781 let e: FATDirEntry = self.find_entry(name, None, None, fs.clone())?; in remove()
[all …]
Dfs.rs135 d.find_entry(name, None, None, self.fs.upgrade().unwrap())?; in find()
517 return None; in root_dir_end_bytes_offset()
547 None => 0xffffffff, in allocate_cluster()
624 root_offset: None, in root_dir()
625 short_dir_entry: None, in root_dir()
626 loc: None, in root_dir()
633 short_dir_entry: None, in root_dir()
634 loc: None, in root_dir()
1246 return None; in count_free_cluster()
1250 0xffffffff => return None, in count_free_cluster()
[all …]
/DragonOS-0.1.5/kernel/src/sched/
Drt.rs75 res = None; in dequeue()
143 None in pick_next_task_rt()
208 return None; in sched()
Dcfs.rs103 return None; in min_vruntime()
229 return None; in sched()
Dcore.rs93 None => { in __sched()
/DragonOS-0.1.5/kernel/src/ipc/
Dsignal.rs203 return None; in lock_process_sighand()
281 None => { in __send_signal_locked()
317 let mut _target: Option<&mut process_control_block> = None; in complete_signal()
494 return (sig_number, None, None); in get_signal_to_deliver()
546 info = None; in dequeue_signal()
787 ka._u._sa_handler = None; in flush_signal_handlers()
791 ka.sa_restorer = None; in flush_signal_handlers()
872 None in sys_sigaction()
877 None in sys_sigaction()
938 None in do_sigaction()
[all …]
Dsignal_types.rs485 let mut info: Option<&siginfo> = None; in find()
/DragonOS-0.1.5/kernel/src/process/
Dprocess.rs213 return None; in get_file_mut_by_fd()
227 return None; in get_file_ref_by_fd()
252 r.fds[fd as usize] = None; in drop_fd()
/DragonOS-0.1.5/kernel/src/driver/virtio/
Dtransport_pci.rs112 let mut common_cfg = None; in new()
113 let mut notify_cfg = None; in new()
115 let mut isr_cfg = None; in new()
116 let mut device_cfg = None; in new()
208 None in new()
/DragonOS-0.1.5/kernel/src/driver/disk/ahci/
Dhba.rs37 None, enumerator
141 HbaPortType::None in check_type()
187 return None; in find_cmdslot()
Dmod.rs98 HbaPortType::None => { in ahci_rust_init()
/DragonOS-0.1.5/kernel/src/exception/
Dsoftirq.rs34 action: None, in default()
229 self.table[irq_num as usize].action = None; in unregister_softirq()
/DragonOS-0.1.5/kernel/src/filesystem/vfs/
Dmount.rs273 None => { in find()
350 None => self.mountpoint_root_inode(), in root_inode()
Dsyscall.rs229 None => { in sys_getdents()
245 None => { in sys_getdents()
Dcore.rs51 let mount_fs = MountFS::new(ramfs, None); in vfs_init()
129 let new_fs = MountFS::new(new_fs, None); in migrate_virtual_filesystem()
Dfile.rs300 data[i] = MaybeUninit::new(None); in new()
Dmod.rs396 None => { in lookup_follow_symlink()
/DragonOS-0.1.5/kernel/src/io/
Ddevice.rs275 return None; in next()