Searched refs:watchpoint (Results 1 – 2 of 2) sorted by relevance
121 atomic_long_t *watchpoint; in find_watchpoint() local130 watchpoint = &watchpoints[SLOT_IDX_FAST(slot, i)]; in find_watchpoint()131 *encoded_watchpoint = atomic_long_read(watchpoint); in find_watchpoint()141 return watchpoint; in find_watchpoint()152 atomic_long_t *watchpoint; in insert_watchpoint() local165 watchpoint = &watchpoints[SLOT_IDX(slot, i)]; in insert_watchpoint()166 if (atomic_long_try_cmpxchg_relaxed(watchpoint, &expect_val, encoded_watchpoint)) in insert_watchpoint()167 return watchpoint; in insert_watchpoint()183 try_consume_watchpoint(atomic_long_t *watchpoint, long encoded_watchpoint) in try_consume_watchpoint() argument185 return atomic_long_try_cmpxchg_relaxed(watchpoint, &encoded_watchpoint, CONSUMED_WATCHPOINT); in try_consume_watchpoint()[all …]
69 static __always_inline bool decode_watchpoint(long watchpoint, in decode_watchpoint() argument74 if (watchpoint == INVALID_WATCHPOINT || in decode_watchpoint()75 watchpoint == CONSUMED_WATCHPOINT) in decode_watchpoint()78 *addr_masked = (unsigned long)watchpoint & WATCHPOINT_ADDR_MASK; in decode_watchpoint()79 *size = ((unsigned long)watchpoint & WATCHPOINT_SIZE_MASK) >> WATCHPOINT_ADDR_BITS; in decode_watchpoint()80 *is_write = !!((unsigned long)watchpoint & WATCHPOINT_WRITE_MASK); in decode_watchpoint()