summaryrefslogblamecommitdiff
path: root/include/linux/errseq.h
blob: 784f0860527be4e5473ff82f96a8267278770340 (plain) (tree)
1
2
3
4
5
6
7
8






                                    
                                             



                                                              
#ifndef _LINUX_ERRSEQ_H
#define _LINUX_ERRSEQ_H

/* See lib/errseq.c for more info */

typedef u32	errseq_t;

errseq_t errseq_set(errseq_t *eseq, int err);
errseq_t errseq_sample(errseq_t *eseq);
int errseq_check(errseq_t *eseq, errseq_t since);
int errseq_check_and_advance(errseq_t *eseq, errseq_t *since);
#endif