Lines Matching defs:p_value
57 static inline int32_t cl_atomic_inc(IN atomic32_t * const p_value)
62 new_val = *p_value + 1;
63 *p_value = new_val;
68 static inline int32_t cl_atomic_dec(IN atomic32_t * const p_value)
73 new_val = *p_value - 1;
74 *p_value = new_val;
80 cl_atomic_add(IN atomic32_t * const p_value, IN const int32_t increment)
85 new_val = *p_value + increment;
86 *p_value = new_val;
92 cl_atomic_sub(IN atomic32_t * const p_value, IN const int32_t decrement)
97 new_val = *p_value + decrement;
98 *p_value = new_val;