Home
last modified time | relevance | path

Searched refs:is_write (Results 1 – 3 of 3) sorted by relevance

/kernel/kcsan/
Dencoding.h62 encode_watchpoint(unsigned long addr, size_t size, bool is_write) in encode_watchpoint() argument
64 return (long)((is_write ? WATCHPOINT_WRITE_MASK : 0) | in encode_watchpoint()
72 bool *is_write) in decode_watchpoint() argument
80 *is_write = !!((unsigned long)watchpoint & WATCHPOINT_WRITE_MASK); in decode_watchpoint()
Dselftest.c37 bool is_write = !!prandom_u32_max(2); in test_encode_decode() local
50 encode_watchpoint(addr, size, is_write); in test_encode_decode()
75 if (WARN_ON(is_write != verif_is_write)) in test_encode_decode()
81 __func__, is_write ? "write" : "read", size, in test_encode_decode()
Dcore.c122 bool is_write; in find_watchpoint() local
131 &wp_size, &is_write)) in find_watchpoint()
134 if (expect_write && !is_write) in find_watchpoint()
146 insert_watchpoint(unsigned long addr, size_t size, bool is_write) in insert_watchpoint() argument
149 const long encoded_watchpoint = encode_watchpoint(addr, size, is_write); in insert_watchpoint()
423 const bool is_write = (type & KCSAN_ACCESS_WRITE) != 0; in kcsan_setup_watchpoint() local
463 watchpoint = insert_watchpoint((unsigned long)ptr, size, is_write); in kcsan_setup_watchpoint()
604 const bool is_write = (type & KCSAN_ACCESS_WRITE) != 0; in check_access() local
620 watchpoint = find_watchpoint((unsigned long)ptr, size, !is_write, in check_access()