Home
last modified time | relevance | path

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

/bionic/libc/bionic/
Dfdsan.cpp245 int android_fdsan_close_with_tag(int fd, uint64_t expected_tag) { in android_fdsan_close_with_tag() argument
256 uint64_t tag = expected_tag; in android_fdsan_close_with_tag()
258 const char* expected_type = android_fdsan_get_tag_type(expected_tag); in android_fdsan_close_with_tag()
259 uint64_t expected_owner = android_fdsan_get_tag_value(expected_tag); in android_fdsan_close_with_tag()
262 if (expected_tag && tag) { in android_fdsan_close_with_tag()
267 } else if (expected_tag && !tag) { in android_fdsan_close_with_tag()
272 } else if (!expected_tag && tag) { in android_fdsan_close_with_tag()
277 } else if (!expected_tag && !tag) { in android_fdsan_close_with_tag()
285 if (expected_tag && rc == -1 && errno == EBADF) { in android_fdsan_close_with_tag()
299 void android_fdsan_exchange_owner_tag(int fd, uint64_t expected_tag, uint64_t new_tag) { in android_fdsan_exchange_owner_tag() argument
[all …]
/bionic/libc/include/android/
Dfdsan.h144 void android_fdsan_exchange_owner_tag(int fd, uint64_t expected_tag, uint64_t new_tag) __INTRODUCED…