Home
last modified time | relevance | path

Searched refs:index (Results 1 – 22 of 22) sorted by relevance

/DragonOS-0.1.2/docs/
Dindex.rst13 introduction/index
20 kernel/boot/index
21 kernel/core_api/index
22 kernel/locking/index
23 kernel/process_management/index
24 kernel/sched/index
25 kernel/memory_management/index
26 kernel/filesystem/index
27 kernel/debug/index
28 kernel/ktest/index
[all …]
/DragonOS-0.1.2/kernel/src/debug/traceback/
Dtraceback.c12 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.2/docs/kernel/filesystem/
Dindex.rst10 vfs/index
11 fat32/index
12 rootfs/index
13 devfs/index
/DragonOS-0.1.2/user/apps/shell/
Dcmd.c104 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()
598 int index = 0; // 当前访问的是buf的第几位 in parse_command() local
600 while (index < INPUT_BUFFER_SIZE && buf[index] == ' ') in parse_command()
601 ++index; in parse_command()
[all …]
Dcmd.h34 void shell_run_built_in_command(int index, int argc, char **argv);
/DragonOS-0.1.2/docs/userland/libc/
Dindex.rst9 apis/index
10 design/index
/DragonOS-0.1.2/kernel/src/libs/libUI/
Dtextui.c65 …(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 …]
Dtextui.h75 int16_t index; // 当前操作的位置 member
85 int16_t index; // 当前操作的位置 member
Dtextui-render.c22 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.2/kernel/src/mm/
Dslab.c304 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 …]
Dmmio-buddy.c25 static __always_inline void __buddy_add_region_obj(int index, struct __mmio_buddy_addr_region *regi… in __buddy_add_region_obj() argument
27 struct __mmio_free_region_list *lst = &__mmio_pool.free_regions[index]; in __buddy_add_region_obj()
/DragonOS-0.1.2/kernel/src/driver/interrupt/apic/
Dapic.c474 ul apic_ioapic_read_rte(unsigned char index) in apic_ioapic_read_rte() argument
479 *apic_ioapic_map.virtual_index_addr = index + 1; in apic_ioapic_read_rte()
487 *apic_ioapic_map.virtual_index_addr = index; in apic_ioapic_read_rte()
501 void apic_ioapic_write_rte(unsigned char index, ul value) in apic_ioapic_write_rte() argument
504 *apic_ioapic_map.virtual_index_addr = index; in apic_ioapic_write_rte()
512 *apic_ioapic_map.virtual_index_addr = index + 1; in apic_ioapic_write_rte()
521 ul index = 0x10 + ((irq_num - 32) << 1); in apic_ioapic_enable() local
522 ul value = apic_ioapic_read_rte(index); in apic_ioapic_enable()
524 apic_ioapic_write_rte(index, value); in apic_ioapic_enable()
529 ul index = 0x10 + ((irq_num - 32) << 1); in apic_ioapic_disable() local
[all …]
Dapic.h273 ul apic_ioapic_read_rte(unsigned char index);
281 void apic_ioapic_write_rte(unsigned char index, ul value);
/DragonOS-0.1.2/docs/kernel/cpu_arch/
Dindex.rst10 x86_64/index
/DragonOS-0.1.2/kernel/src/driver/usb/
Dusb.h80 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.2/kernel/src/process/
Dfork.rs51 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.2/kernel/src/filesystem/fat32/
Dfat_ent.h78 bool fat32_check_char_available_in_short_name(const char c, int index);
Dfat_ent.c293 bool fat32_check_char_available_in_short_name(const char c, int index) in fat32_check_char_available_in_short_name() argument
296 if (index == 0) in fat32_check_char_available_in_short_name()
/DragonOS-0.1.2/docs/introduction/
Dfeatures.md85 &emsp;&emsp;[请见系统调用文档](https://docs.dragonos.org/zh_CN/latest/syscall_api/index.html)
Dbuild_system.md103 registry = \"https://github.com/rust-lang/crates.io-index\" \n \
107 registry = \"https://gitee.com/DragonOS/crates.io-index.git\" \n \
/DragonOS-0.1.2/docs/kernel/filesystem/vfs/
Doverview.md17 &emsp;&emsp;inode的全称叫做index node,即索引节点。一般来说,每个dentry都应当包含指向其inode的指针。inode是VFS提供的对文件对象的抽象。inode中的信息…
/DragonOS-0.1.2/kernel/src/driver/usb/xhci/
Dxhci.c1071 trb.wIndex = packet->index; in xhci_setup_stage()