Home
last modified time | relevance | path

Searched refs:encoded_watchpoint (Results 1 – 2 of 2) sorted by relevance

/linux-6.1.9/kernel/kcsan/
Dcore.c117 long *encoded_watchpoint) in find_watchpoint() argument
131 *encoded_watchpoint = atomic_long_read(watchpoint); in find_watchpoint()
132 if (!decode_watchpoint(*encoded_watchpoint, &wp_addr_masked, in find_watchpoint()
151 const long encoded_watchpoint = encode_watchpoint(addr, size, is_write); in insert_watchpoint() local
166 if (atomic_long_try_cmpxchg_relaxed(watchpoint, &expect_val, encoded_watchpoint)) in insert_watchpoint()
183 try_consume_watchpoint(atomic_long_t *watchpoint, long encoded_watchpoint) in try_consume_watchpoint() argument
185 return atomic_long_try_cmpxchg_relaxed(watchpoint, &encoded_watchpoint, CONSUMED_WATCHPOINT); in try_consume_watchpoint()
451 long encoded_watchpoint) in kcsan_found_watchpoint() argument
491 consumed = try_consume_watchpoint(watchpoint, encoded_watchpoint); in kcsan_found_watchpoint()
713 long encoded_watchpoint; in check_access() local
[all …]
Dselftest.c44 long encoded_watchpoint; in test_encode_decode() local
56 encoded_watchpoint = encode_watchpoint(addr, size, is_write); in test_encode_decode()
65 …if (WARN_ON(!decode_watchpoint(encoded_watchpoint, &verif_masked_addr, &verif_size, &verif_is_writ… in test_encode_decode()
77 __func__, is_write ? "write" : "read", size, addr, encoded_watchpoint, in test_encode_decode()