Searched refs:expected_tag (Results 1 – 2 of 2) sorted by relevance
240 int android_fdsan_close_with_tag(int fd, uint64_t expected_tag) { in android_fdsan_close_with_tag() argument251 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 …]
138 void android_fdsan_exchange_owner_tag(int fd, uint64_t expected_tag, uint64_t new_tag) __INTRODUCED…