/DragonOS-0.1.5/docs/ |
D | index.rst | 13 introduction/index 21 kernel/boot/index 22 kernel/core_api/index 23 kernel/locking/index 24 kernel/process_management/index 25 kernel/sched/index 26 kernel/ipc/index 27 kernel/memory_management/index 28 kernel/filesystem/index 29 kernel/debug/index [all …]
|
/DragonOS-0.1.5/kernel/src/debug/traceback/ |
D | traceback.c | 12 uint64_t index = 0; in lookup_kallsyms() local 13 for (index = 0; index < kallsyms_num - 1; ++index) in lookup_kallsyms() 15 if (addr > kallsyms_address[index] && addr <= kallsyms_address[index + 1]) in lookup_kallsyms() 19 if (index < kallsyms_num) // 找到对应的函数 in lookup_kallsyms() 22 …\t(+) %04d address:%#018lx\n", &str[kallsyms_names_index[index]], addr - kallsyms_address[index], … in lookup_kallsyms()
|
/DragonOS-0.1.5/user/apps/shell/ |
D | cmd.c | 104 void shell_run_built_in_command(int index, int argc, char **argv) in shell_run_built_in_command() argument 106 if (index >= total_built_in_cmd_num) in shell_run_built_in_command() 110 shell_cmds[index].func(argc, argv); in shell_run_built_in_command() 143 int index = current_dir_len - 1; in shell_cmd_cd() local 144 for (; index > 1; --index) in shell_cmd_cd() 146 if (shell_current_path[index] == '/') in shell_cmd_cd() 149 shell_current_path[index] = '\0'; in shell_cmd_cd() 599 int index = 0; // 当前访问的是buf的第几位 in parse_command() local 601 while (index < INPUT_BUFFER_SIZE && buf[index] == ' ') in parse_command() 602 ++index; in parse_command() [all …]
|
D | cmd.h | 34 void shell_run_built_in_command(int index, int argc, char **argv);
|
/DragonOS-0.1.5/docs/userland/libc/ |
D | index.rst | 9 apis/index 10 design/index
|
/DragonOS-0.1.5/kernel/src/libs/libUI/ |
D | textui.c | 65 …(vline)->index = 0; … 145 vline->index = 0; in __textui_new_line() 178 vline->chars[vline->index].c = character; in __textui_putchar_window() 179 vline->chars[vline->index].FRcolor = FRcolor & 0xffffff; in __textui_putchar_window() 180 vline->chars[vline->index].BKcolor = BKcolor & 0xffffff; in __textui_putchar_window() 181 ++vline->index; in __textui_putchar_window() 182 textui_refresh_characters(window, window->vline_operating, vline->index - 1, 1); in __textui_putchar_window() 185 if (vline->index > window->chars_per_line) in __textui_putchar_window() 229 int space_to_print = 8 - window->vlines.chromatic[window->vline_operating].index % 8; in textui_putchar_window() 239 --(window->vlines.chromatic[window->vline_operating].index); in textui_putchar_window() [all …]
|
D | textui.h | 75 int16_t index; // 当前操作的位置 member 85 int16_t index; // 当前操作的位置 member
|
D | textui-render.c | 22 static void __textui_render_chromatic(uint16_t actual_line, uint16_t index, struct textui_char_chro… 110 static void __textui_render_chromatic(uint16_t actual_line, uint16_t index, struct textui_char_chro… in __textui_render_chromatic() argument 130 uint32_t x = index * TEXTUI_CHAR_WIDTH; in __textui_render_chromatic()
|
/DragonOS-0.1.5/kernel/src/mm/ |
D | slab.c | 304 int index = (addr - slab_obj_ptr->vaddr) / slab_pool->size; in slab_free() local 307 *(slab_obj_ptr->bmp + (index >> 6)) ^= (1UL << index % 64); in slab_free() 317 slab_pool->destructor((char *)slab_obj_ptr->vaddr + slab_pool->size * index, arg); in slab_free() 548 int index; in kmalloc() local 553 index = i; in kmalloc() 558 spin_lock(&kmalloc_cache_group[index].lock); in kmalloc() 560 struct slab_obj *slab_obj_ptr = kmalloc_cache_group[index].cache_pool_entry; in kmalloc() 563 if (unlikely(kmalloc_cache_group[index].count_total_free == 0)) in kmalloc() 566 slab_obj_ptr = kmalloc_create_slab_obj(kmalloc_cache_group[index].size); in kmalloc() 575 kmalloc_cache_group[index].count_total_free += slab_obj_ptr->count_free; in kmalloc() [all …]
|
/DragonOS-0.1.5/kernel/src/driver/interrupt/apic/ |
D | apic.c | 482 ul apic_ioapic_read_rte(unsigned char index) in apic_ioapic_read_rte() argument 487 *apic_ioapic_map.virtual_index_addr = index + 1; in apic_ioapic_read_rte() 495 *apic_ioapic_map.virtual_index_addr = index; in apic_ioapic_read_rte() 509 void apic_ioapic_write_rte(unsigned char index, ul value) in apic_ioapic_write_rte() argument 512 *apic_ioapic_map.virtual_index_addr = index; in apic_ioapic_write_rte() 520 *apic_ioapic_map.virtual_index_addr = index + 1; in apic_ioapic_write_rte() 529 ul index = 0x10 + ((irq_num - 32) << 1); in apic_ioapic_enable() local 530 ul value = apic_ioapic_read_rte(index); in apic_ioapic_enable() 532 apic_ioapic_write_rte(index, value); in apic_ioapic_enable() 537 ul index = 0x10 + ((irq_num - 32) << 1); in apic_ioapic_disable() local [all …]
|
D | apic.h | 273 ul apic_ioapic_read_rte(unsigned char index); 281 void apic_ioapic_write_rte(unsigned char index, ul value);
|
/DragonOS-0.1.5/docs/kernel/memory_management/ |
D | mmio.md | 158 …index)与内存块的大小有关。由于每个内存块大小都为$2^{n}$ bytes,那么可以令$exp = n$。index与exp的换算公式如下:$index = exp - 12$。e.g. 一… 187 | __exp2index(exp) | 将$2^{exp}$的exp转换成内存池中的数组的下标(index) |
|
/DragonOS-0.1.5/docs/kernel/cpu_arch/ |
D | index.rst | 10 x86_64/index
|
/DragonOS-0.1.5/docs/kernel/filesystem/ |
D | index.rst | 12 vfs/index
|
/DragonOS-0.1.5/kernel/src/driver/usb/ |
D | usb.h | 80 uint8_t index; // Index of string descriptor describing this configuration member 110 uint8_t index; // index of String Descriptor describing this interface member 147 uint16_t index; member 254 …pak_name.index = (_trans_index); …
|
/DragonOS-0.1.5/kernel/src/process/ |
D | fork.rs | 51 for (index, x) in unsafe { (*current_pcb().sighand).action } in process_copy_sighand() 57 sig.action[index] = in process_copy_sighand() 61 sig.action[index] = DEFAULT_SIGACTION; in process_copy_sighand()
|
/DragonOS-0.1.5/kernel/src/filesystem/fat/ |
D | entry.rs | 1825 Some(index) => { in new() 1829 Self::copy_part(&mut short_name[..Self::SHORT_NAME_LEN], &name[..index]); in new() 1834 &name[index + 1..], in new() 2084 index: u8, field 2092 index: 0, in new() 2101 let index: u8 = longname_dentry.ord & 0x1f; in process() localVariable 2103 if index == 0 { in process() 2110 self.index = index; in process() 2113 .resize(index as usize * LongDirEntry::LONG_NAME_STR_LEN, 0); in process() 2114 } else if self.index == 0 in process() [all …]
|
/DragonOS-0.1.5/docs/introduction/ |
D | features.md | 86   [请见系统调用文档](https://docs.dragonos.org/zh_CN/latest/syscall_api/index.html)
|
D | build_system.md | 115 registry = \"https://github.com/rust-lang/crates.io-index\" \n \ 119 registry = \"https://gitee.com/DragonOS/crates.io-index.git\" \n \
|
/DragonOS-0.1.5/kernel/src/driver/virtio/ |
D | transport_pci.rs | 269 let index = offset_bytes / size_of::<u16>(); in notify() localVariable 270 addr_of_mut!((*self.notify_region.as_ptr())[index]).vwrite(queue); in notify()
|
/DragonOS-0.1.5/kernel/src/driver/usb/xhci/ |
D | xhci.c | 1073 trb.wIndex = packet->index; in xhci_setup_stage()
|