/DragonOS-0.1.2/kernel/src/libs/ |
D | ffi_convert.rs | 11 pub fn __convert_mut<'a, S, D>(src:*mut S) ->Option<&'a mut D>{ in __convert_mut() argument 21 pub fn __convert_ref<'a, S, D>(src:*const S) ->Option<&'a D>{ in __convert_ref() argument
|
D | bitree.c | 8 #define smaller(root, a, b) (root->cmp((a)->value, (b)->value) == -1) argument 9 #define equal(root, a, b) (root->cmp((a)->value, (b)->value) == 0) argument 10 #define greater(root, a, b) (root->cmp((a)->value, (b)->value) == 1) argument 20 struct bt_root_t *bt_create_tree(struct bt_node_t *node, int (*cmp)(void *a, void *b), int (*releas… in bt_create_tree() argument
|
D | cpu.c | 112 uint32_t a = 0, b = 0, c = 0, d = 0; in cpu_get_core_crysral_freq() local 116 : "=a"(a), "=b"(b), "=c"(c), "=d"(d) in cpu_get_core_crysral_freq()
|
D | idr.c | 10 static void __swap(struct idr_layer **a, struct idr_layer **b) in __swap() argument 12 struct idr_layer *t = *a; in __swap() 13 *a = *b, *b = t; in __swap()
|
D | lz4.c | 2167 #define MIN(a, b) ((a) < (b) ? (a) : (b)) argument
|
/DragonOS-0.1.2/kernel/src/ktest/ |
D | test-idr.c | 70 int a[128]; in ktest_idr_case1() local 75 assert(idr_alloc(&k_idr, &a[i], &a[i]) == 0); in ktest_idr_case1() 76 assert(a[i] == i); in ktest_idr_case1() 82 int *ptr = idr_find(&k_idr, a[i]); in ktest_idr_case1() 83 assert(ptr == &a[i]); in ktest_idr_case1() 85 assert(*ptr == a[i]); in ktest_idr_case1() 91 int *id = idr_remove(&k_idr, a[i]); in ktest_idr_case1() 94 assert(idr_find(&k_idr, a[i]) == NULL); in ktest_idr_case1() 100 int *id = idr_remove(&k_idr, a[i]); in ktest_idr_case1() 103 assert(idr_find(&k_idr, a[i]) == NULL); in ktest_idr_case1() [all …]
|
D | test-bitree.c | 15 static int compare(void *a, void *b) in compare() argument 17 if (((struct test_value_t *)a)->tv > ((struct test_value_t *)b)->tv) in compare() 19 else if (((struct test_value_t *)a)->tv == ((struct test_value_t *)b)->tv) in compare()
|
/DragonOS-0.1.2/ |
D | LICENSE | 33 For example, if you distribute copies of such a program, whether 34 gratis or for a fee, you must give the recipients all the rights that 51 patents. We wish to avoid the danger that redistributors of a free 63 a notice placed by the copyright holder saying it may be distributed 65 refers to any such program or work, and a "work based on the Program" 67 that is to say, a work containing the Program or a portion of it, 75 is covered only if its contents constitute a work based on the 84 and give any other recipients of the Program a copy of this License 87 You may charge a fee for the physical act of transferring a copy, and 88 you may at your option offer warranty protection in exchange for a fee. [all …]
|
D | README.md | 131 …y operating system built from scratch in modern C++. Featuring a reactive UI library and a strong …
|
D | README_EN.md | 7   This project is a operating system running on computer which is in X86_ 64 Architecture… 26 - [How to run DragonOS on a computer's virtual machine? || Long Jin's blog](https://longjin666.cn/?… 103 - Implementation of a 64 bit operating system, Tian Yu (POSTS&TELECOM PRESS) 121 …y operating system built from scratch in modern C++. Featuring a reactive UI library and a strong …
|
/DragonOS-0.1.2/kernel/src/common/ |
D | bitree.h | 17 int (*cmp)(void *a, void *b); // 比较函数 a>b 返回1, a==b返回0, a<b返回-1 33 struct bt_root_t *bt_create_tree(struct bt_node_t *node, int (*cmp)(void *a, void *b), int (*releas…
|
/DragonOS-0.1.2/kernel/ |
D | cbindgen.toml | 31 # file as a warning against manual editing 36 # Whether to include a comment with the version of cbindgen used to generate the file 41 # default: doesn't emit a namespace 72 # Whether to make a C header C++ compatible. 73 # These will wrap generated functions into a `extern "C"` block, e.g. 104 # The desired length of a line to use when formatting lines 141 # When generating a C header, the kind of declaration style to use for structs 253 # as `#[repr(packed)]`. For instance, "__attribute__((packed))" would be a 255 # involve emitting the name of a macro which you define in a platform-specific 259 # be unsafe for C callers to use a incorrectly laid-out union. [all …]
|
/DragonOS-0.1.2/docs/community/code_contribution/ |
D | coding-style.md | 53 if(a) return 1; 106 if(a) 125 char *a;
|
/DragonOS-0.1.2/kernel/src/ |
D | Makefile | 7 lib_patterns := *.a 41 … $(shell find . -name "*.o") ../target/x86_64-unknown-none/release/libdragonos_kernel.a -T link.lds 58 …ind . -name "*.o") ../target/x86_64-unknown-none/release/libdragonos_kernel.a ./debug/kallsyms.o …
|
/DragonOS-0.1.2/docs/userland/libc/apis/api-list/ |
D | string.md | 11 ``int strcmp(const char *a,const char *b)`` 比较字符串的字典序
|
D | errno.md | 77 #define EISDIR 31 /* 是一个目录 Is a directory*/ 125 #define ENOSTR 54 /* 不是STREAM Not a STREAM*/ 131 #define ENOTDIR 57 /* 不是目录 Not a directory.*/ 139 #define ENOTSOCK 60 /* 不是一个套接字 Not a socket.*/
|
/DragonOS-0.1.2/kernel/src/driver/disk/ahci/ |
D | ahci.h | 188 uint8_t a : 1; // Auto-activate. Specifies if DMA Activate FIS is needed member 286 uint8_t a : 1; // ATAPI member
|
/DragonOS-0.1.2/docs/kernel/filesystem/fat32/ |
D | index.md | 216 …crosoft](http://download.microsoft.com/download/1/6/1/161ba512-40e2-4cc9-843a-923143f3456c/fatgen1…
|
/DragonOS-0.1.2/kernel/src/driver/interrupt/apic/ |
D | apic.c | 272 uint a, b, c, d; in apic_local_apic_init() local 274 cpu_cpuid(1, 0, &a, &b, &c, &d); in apic_local_apic_init()
|
/DragonOS-0.1.2/kernel/src/ipc/ |
D | signal_types.rs | 589 pub fn sigset_equal(a: &sigset_t, b: &sigset_t) -> bool { in sigset_equal() 591 return *a == *b; in sigset_equal()
|
D | signal.rs | 178 fn lock_process_sighand<'a>( in lock_process_sighand() 179 pcb: &'a mut process_control_block, in lock_process_sighand() 181 ) -> Option<&'a mut sighand_struct> { in lock_process_sighand()
|