#include <linux/list.h>
#include <linux/bug.h>
Go to the source code of this file.
◆ NVHE_CHECK_DATA_CORRUPTION
#define NVHE_CHECK_DATA_CORRUPTION |
( |
|
condition | ) |
|
Value:
bool corruption = unlikely(condition); \
if (corruption) { \
if (IS_ENABLED(CONFIG_BUG_ON_DATA_CORRUPTION)) { \
BUG_ON(1); \
} else \
WARN_ON(1); \
} \
corruption; \
}))
static __must_check bool nvhe_check_data_corruption(bool v)
Definition at line 15 of file list_debug.c.
◆ __list_add_valid_or_report()
__list_valid_slowpath bool __list_add_valid_or_report |
( |
struct list_head * |
new, |
|
|
struct list_head * |
prev, |
|
|
struct list_head * |
next |
|
) |
| |
Definition at line 30 of file list_debug.c.
#define NVHE_CHECK_DATA_CORRUPTION(condition)
◆ __list_del_entry_valid_or_report()
__list_valid_slowpath bool __list_del_entry_valid_or_report |
( |
struct list_head * |
entry | ) |
|
Definition at line 42 of file list_debug.c.
44 struct list_head *prev, *next;
◆ nvhe_check_data_corruption()
static __must_check bool nvhe_check_data_corruption |
( |
bool |
v | ) |
|
|
inlinestatic |