1 /* SPDX-License-Identifier: GPL-2.0 */
9 #define CHECK(condition, tag, format...) ({ \
10 int __ret = !!(condition); \
12 printf("%s(%d):FAIL:%s ", __func__, __LINE__, tag); \
20 typedef bool (*retry_for_error_fn)(int err);
21 int map_update_retriable(int map_fd, const void *key, const void *value, int flags, int attempts,
22 retry_for_error_fn need_retry);