Home
last modified time | relevance | path

Searched defs:val (Results 1 – 11 of 11) sorted by relevance

/DragonOS-0.1.2/kernel/src/common/
Datomic.h14 #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()
Dcompiler.h136 #define WRITE_ONCE(x, val) \ argument
/DragonOS-0.1.2/docs/kernel/core_api/
Datomic.md27 ### `inline void atomic_sub(atomic_t *ato, long val)`
29 #### 描
33 #### 参
/DragonOS-0.1.2/kernel/src/driver/interrupt/apic/
Dapic_timer.h51 register uint32_t val = (mode << 17) | vector | (mask ? (APIC_LVT_INT_MASKED) : 0); in apic_timer_set_LVT() local
Dapic_timer.c15 uint64_t val = apic_timer_get_LVT(); in apic_timer_enable() local
/DragonOS-0.1.2/kernel/src/libs/
Dspinlock.rs30 let val = unsafe { read_volatile(&lock.lock as *const i8) }; in spin_is_locked() localVariable
Dlz4.c374 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.2/kernel/src/process/
Dprocess.c288 … 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
302 int64_t val = 0; in process_load_elf_file() local
325 …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.2/kernel/src/ktest/
Dtest-bitree.c38 int val; in ktest_bitree_case1() local
/DragonOS-0.1.2/kernel/src/driver/usb/xhci/
Dxhci.c821 uint32_t val = xhci_read_op_reg32(id, port_status_offset + XHCI_PORT_PORTSC); in xhci_reset_port() local
842 uint32_t val = xhci_read_op_reg32(id, port_status_offset + XHCI_PORT_PORTSC); in xhci_reset_port() local
/DragonOS-0.1.2/kernel/src/libs/libELF/
Delf.h571 #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