Searched defs:val (Results 1 – 12 of 12) sorted by relevance
15 #define atomic_set(atomic,val) (((atomic)->value) = (val)) // 设置原子变量的初始值 argument28 inline void atomic_add(atomic_t *ato, long val) in atomic_add()42 inline void atomic_sub(atomic_t *ato, long val) in atomic_sub()
136 #define WRITE_ONCE(x, val) \ argument
27 ### `inline void atomic_sub(atomic_t *ato, long val)`29 #### 描述33 #### 参数
51 register uint32_t val = (mode << 17) | vector | (mask ? (APIC_LVT_INT_MASKED) : 0); in apic_timer_set_LVT() local
32 uint64_t val = apic_timer_get_LVT(); in apic_timer_enable() local
107 let val = self.write_stdin(buf, block)?; in input() localVariable159 let val: Result<mpsc::RecvRef<u8>, TryRecvError> = self.stdin_rx.try_recv_ref(); in read_stdin() localVariable234 let val: Result<mpsc::RecvRef<u8>, TryRecvError> = self.output_rx.try_recv_ref(); in read_output() localVariable
38 int val; in ktest_bitree_case1() local
179 int val = 0; in initial_kernel_thread() local
36 let val = unsafe { read_volatile(&lock.lock as *const i8) }; in spin_is_locked() localVariable
374 U16 val; in LZ4_read16() local381 U32 val; in LZ4_read32() local388 reg_t val; in LZ4_read_ARCH() local553 static unsigned LZ4_NbCommonBytes(reg_t val) in LZ4_NbCommonBytes()
945 let val = if (cluster & 0x1) > 0 { in get_free_cluster() localVariable991 let val = cursor.read_u16()?; in get_free_cluster() localVariable1023 let val = cursor.read_u32()? & 0x0fffffff; in get_free_cluster() localVariable
150 let val: u32 = volatile_read!(self.cmd) | HBA_PORT_CMD_FRE | HBA_PORT_CMD_ST; in start() localVariable