/DragonOS/kernel/src/libs/font/ |
H A D | mod.rs | 36 if ch < Self::DOUBLE_WIDTH_RANGE.first().unwrap().0 in is_double_width() 42 for (first, last) in Self::DOUBLE_WIDTH_RANGE { in is_double_width() 43 if ch >= *first && ch < *last { in is_double_width()
|
/DragonOS/kernel/src/namespaces/ |
H A D | user_namespace.rs | 35 first: u32, field 108 first: 0, in new()
|
/DragonOS/kernel/src/libs/ |
H A D | cpumask.rs | 35 pub fn first(&self) -> Option<ProcessorId> { in first() method 138 self.index = self.mask.first(); in next()
|
H A D | rbtree.rs | 1096 let first = self.first_child(); in get_first() localVariable 1097 if first.is_null() { in get_first() 1100 unsafe { Some((&(*first.0).key, &(*first.0).value)) } in get_first() 1114 let first = self.first_child(); in pop_first() localVariable 1115 if first.is_null() { in pop_first() 1118 unsafe { Some(self.delete(first)) } in pop_first() 1132 let first = self.first_child(); in get_first_mut() localVariable 1133 if first.is_null() { in get_first_mut() 1136 unsafe { Some((&(*first.0).key, &mut (*first.0).value)) } in get_first_mut()
|
/DragonOS/user/apps/test_ebpf/syscall_ebpf/xtask/src/ |
H A D | run.rs | 46 let status = Command::new(args.first().expect("No first argument")) in run()
|
/DragonOS/kernel/src/net/socket/ |
H A D | inet.rs | 635 .get_mut::<tcp::Socket>(self.handles.first().unwrap().smoltcp_handle().unwrap()); in read() 697 .get_mut::<tcp::Socket>(self.handles.first().unwrap().smoltcp_handle().unwrap()); in write() 733 .get_mut::<tcp::Socket>(self.handles.first().unwrap().smoltcp_handle().unwrap()); in poll() 748 sockets.get_mut::<tcp::Socket>(self.handles.first().unwrap().smoltcp_handle().unwrap()); in connect() 770 self.handles.first().unwrap().smoltcp_handle().unwrap(), in connect() 974 sockets.get::<tcp::Socket>(self.handles.first().unwrap().smoltcp_handle().unwrap()); in endpoint() 987 sockets.get::<tcp::Socket>(self.handles.first().unwrap().smoltcp_handle().unwrap()); in peer_endpoint() 1002 *self.handles.first().unwrap() in socket_handle()
|
/DragonOS/kernel/src/ipc/ |
H A D | signal_types.rs | 504 let mut first = true; // 标记变量,记录当前是否已经筛选出了一个元素 in find_and_delete() localVariable 508 if !first { in find_and_delete() 514 first = false; in find_and_delete()
|
/DragonOS/kernel/src/time/ |
H A D | timer.rs | 260 let (front_jiffies, timer_list_front) = timer_list.first().unwrap().clone(); in run() 350 return Ok(timer_list.first().unwrap().0); in timer_get_first_expire()
|
/DragonOS/kernel/src/bpf/map/ |
H A D | queue.rs | 75 self.data.first() in peek()
|
/DragonOS/kernel/crates/unified-init/macros/src/ |
H A D | lib.rs | 111 if let syn::GenericArgument::Type(type_arg) = generic_args.args.first().unwrap() in check_function_signature()
|
/DragonOS/docs/kernel/debug/ |
H A D | debug-kernel-with-gdb.md | 330 list <first>,<last> #显示当前活动源文件的<first>至<last>之间的源代码片段
|
/DragonOS/docs/kernel/trace/ |
H A D | eBPF.md | 207 /// Get the next key in the map. If key is None, get the first key. 231 /// Get the first value pointer.
|
/DragonOS/kernel/src/net/ |
H A D | net_core.rs | 94 let cidr = net_face.inner_iface().lock().ip_addrs().first().cloned(); in dhcp_query()
|
/DragonOS/kernel/src/driver/irqchip/ |
H A D | riscv_sifive_plic.rs | 367 mask_val.first() in irq_set_affinity() 371 amask.first() in irq_set_affinity()
|
/DragonOS/kernel/src/exception/ |
H A D | handle.rs | 373 let action = desc_inner_guard.actions().first().cloned(); in handle()
|
/DragonOS/kernel/crates/rbpf/ |
H A D | README.md | 108 the end of the packet data area. So the program first loads those pointers from 116 address provided to its first eBPF register will be the address of a metadata 132 address of the packet data in its first register. This is the behavior of 473 The first method consists in using the assembler provided by the crate. 585 This is the author's first try at writing Rust code. He learned a lot in the 672 could be a good idea to test your program with the interpreter first.
|
/DragonOS/kernel/src/arch/x86_64/driver/apic/ |
H A D | ioapic.rs | 550 let dest = (cpu.first().ok_or(SystemError::EINVAL)?.data() & 0xff) as u8; in irq_set_affinity()
|
/DragonOS/kernel/src/driver/block/ |
H A D | virtio_blk.rs | 64 .first() in virtio_blk_0()
|