Home
last modified time | relevance | path

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

/bionic/libc/bionic/
Dfdsan.cpp240 int android_fdsan_close_with_tag(int fd, uint64_t expected_tag) { in android_fdsan_close_with_tag() argument
251 uint64_t tag = expected_tag; in android_fdsan_close_with_tag()
253 const char* expected_type = android_fdsan_get_tag_type(expected_tag); in android_fdsan_close_with_tag()
254 uint64_t expected_owner = android_fdsan_get_tag_value(expected_tag); in android_fdsan_close_with_tag()
257 if (expected_tag && tag) { in android_fdsan_close_with_tag()
262 } else 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()
280 if (expected_tag && rc == -1 && errno == EBADF) { in android_fdsan_close_with_tag()
294 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.h138 void android_fdsan_exchange_owner_tag(int fd, uint64_t expected_tag, uint64_t new_tag) __INTRODUCED…