/DragonOS-0.1.5/kernel/src/common/ |
D | atomic.h | 14 #define atomic_set(atomic,val) (((atomic)->value) = (val)) // 设置原子变量的初始值 argument 27 inline void atomic_add(atomic_t *ato, long val) in atomic_add() 41 inline void atomic_sub(atomic_t *ato, long val) in atomic_sub()
|
D | compiler.h | 136 #define WRITE_ONCE(x, val) \ argument
|
/DragonOS-0.1.5/docs/kernel/core_api/ |
D | atomic.md | 27 ### `inline void atomic_sub(atomic_t *ato, long val)` 29 #### 描述 33 #### 参数
|
/DragonOS-0.1.5/kernel/src/driver/interrupt/apic/ |
D | apic_timer.h | 51 register uint32_t val = (mode << 17) | vector | (mask ? (APIC_LVT_INT_MASKED) : 0); in apic_timer_set_LVT() local
|
D | apic_timer.c | 32 uint64_t val = apic_timer_get_LVT(); in apic_timer_enable() local
|
/DragonOS-0.1.5/kernel/src/process/ |
D | process.c | 314 … int val = mm_create_vma(current_pcb->mm, virt_base + off, PAGE_4K_SIZE, VM_USER | VM_ACCESS_FLAGS, in process_load_elf_file() local 332 int64_t val = 0; in process_load_elf_file() local 377 …int val = mm_create_vma(current_pcb->mm, current_pcb->mm->stack_start - PAGE_2M_SIZE, PAGE_2M_SIZE, in process_load_elf_file() local
|
/DragonOS-0.1.5/kernel/src/ktest/ |
D | test-bitree.c | 38 int val; in ktest_bitree_case1() local
|
/DragonOS-0.1.5/kernel/src/libs/ |
D | spinlock.rs | 35 let val = unsafe { read_volatile(&lock.lock as *const i8) }; in spin_is_locked() localVariable
|
D | lz4.c | 374 U16 val; in LZ4_read16() local 381 U32 val; in LZ4_read32() local 388 reg_t val; in LZ4_read_ARCH() local 553 static unsigned LZ4_NbCommonBytes(reg_t val) in LZ4_NbCommonBytes()
|
/DragonOS-0.1.5/kernel/src/filesystem/fat/ |
D | fs.rs | 935 let val = if (cluster & 0x1) > 0 { in get_free_cluster() localVariable 981 let val = cursor.read_u16()?; in get_free_cluster() localVariable 1013 let val = cursor.read_u32()? & 0x0fffffff; in get_free_cluster() localVariable
|
/DragonOS-0.1.5/kernel/src/driver/usb/xhci/ |
D | xhci.c | 823 uint32_t val = xhci_read_op_reg32(id, port_status_offset + XHCI_PORT_PORTSC); in xhci_reset_port() local 844 uint32_t val = xhci_read_op_reg32(id, port_status_offset + XHCI_PORT_PORTSC); in xhci_reset_port() local
|
/DragonOS-0.1.5/kernel/src/driver/disk/ahci/ |
D | hba.rs | 150 let val: u32 = volatile_read!(self.cmd) | HBA_PORT_CMD_FRE | HBA_PORT_CMD_ST; in start() localVariable
|
/DragonOS-0.1.5/kernel/src/libs/libELF/ |
D | elf.h | 571 #define ELF32_ST_BIND(val) (((unsigned char) (val)) >> 4) argument 572 #define ELF32_ST_TYPE(val) ((val) & 0xf) argument 576 #define ELF64_ST_BIND(val) ELF32_ST_BIND (val) argument 577 #define ELF64_ST_TYPE(val) ELF32_ST_TYPE (val) argument 667 #define ELF32_R_SYM(val) ((val) >> 8) argument 668 #define ELF32_R_TYPE(val) ((val) & 0xff) argument
|