errseq.c (c74a7469f97c0f40b46e82ee979f9fb1bb6e847c) | errseq.c (aa6159ab99a9ab5df835b4750b66cf132a5aa292) |
---|---|
1// SPDX-License-Identifier: GPL-2.0 2#include <linux/err.h> 3#include <linux/bug.h> 4#include <linux/atomic.h> 5#include <linux/errseq.h> | 1// SPDX-License-Identifier: GPL-2.0 2#include <linux/err.h> 3#include <linux/bug.h> 4#include <linux/atomic.h> 5#include <linux/errseq.h> |
6#include <linux/log2.h> |
|
6 7/* 8 * An errseq_t is a way of recording errors in one place, and allowing any 9 * number of "subscribers" to tell whether it has changed since a previous 10 * point where it was sampled. 11 * 12 * It's implemented as an unsigned 32-bit value. The low order bits are 13 * designated to hold an error code (between 0 and -MAX_ERRNO). The upper bits --- 193 unchanged lines hidden --- | 7 8/* 9 * An errseq_t is a way of recording errors in one place, and allowing any 10 * number of "subscribers" to tell whether it has changed since a previous 11 * point where it was sampled. 12 * 13 * It's implemented as an unsigned 32-bit value. The low order bits are 14 * designated to hold an error code (between 0 and -MAX_ERRNO). The upper bits --- 193 unchanged lines hidden --- |