Searched refs:errseq_t (Results 1 – 11 of 11) sorted by relevance
/linux/lib/ |
A D | errseq.c | 59 errseq_t errseq_set(errseq_t *eseq, int err) in errseq_set() 61 errseq_t cur, old; in errseq_set() 79 errseq_t new; in errseq_set() 123 errseq_t errseq_sample(errseq_t *eseq) in errseq_sample() 125 errseq_t old = READ_ONCE(*eseq); in errseq_sample() 145 int errseq_check(errseq_t *eseq, errseq_t since) in errseq_check() 147 errseq_t cur = READ_ONCE(*eseq); in errseq_check() 175 int errseq_check_and_advance(errseq_t *eseq, errseq_t *since) in errseq_check_and_advance() 178 errseq_t old, new; in errseq_check_and_advance()
|
/linux/include/linux/ |
A D | errseq.h | 8 typedef u32 errseq_t; typedef 10 errseq_t errseq_set(errseq_t *eseq, int err); 11 errseq_t errseq_sample(errseq_t *eseq); 12 int errseq_check(errseq_t *eseq, errseq_t since); 13 int errseq_check_and_advance(errseq_t *eseq, errseq_t *since);
|
A D | fs.h | 472 errseq_t wb_err; 998 errseq_t f_wb_err; 999 errseq_t f_sb_err; /* for syncfs */ 1564 errseq_t s_wb_err; 2911 errseq_t since) in filemap_check_wb_err() 2923 static inline errseq_t filemap_sample_wb_err(struct address_space *mapping) in filemap_sample_wb_err() 2935 static inline errseq_t file_sample_sb_err(struct file *file) in file_sample_sb_err()
|
/linux/Documentation/core-api/ |
A D | errseq.rst | 2 The errseq_t datatype 5 An errseq_t is a way of recording errors in one place, and allowing any 34 The general idea is for "watchers" to sample an errseq_t value and keep 41 A new errseq_t should always be zeroed out. An errseq_t value of all zeroes 66 errseq_t wd_err; /* for recording errors */ 73 wd.wd_err = (errseq_t)0; 119 He can just sample the current errseq_t in the worker, and then use that 122 errseq_t since = errseq_sample(&wd.wd_err); 130 Serializing errseq_t cursor updates 133 Note that the errseq_t API does not protect the errseq_t cursor during a [all …]
|
/linux/include/trace/events/ |
A D | filemap.h | 58 TP_PROTO(struct address_space *mapping, errseq_t eseq), 65 __field(errseq_t, errseq) 83 TP_PROTO(struct file *file, errseq_t old), 91 __field(errseq_t, old) 92 __field(errseq_t, new)
|
/linux/fs/overlayfs/ |
A D | ovl_entry.h | 85 errseq_t errseq;
|
/linux/fs/nfs/ |
A D | file.c | 143 errseq_t since; in nfs_file_flush() 611 errseq_t since; in nfs_file_write()
|
A D | nfs4file.c | 114 errseq_t since; in nfs4_file_flush()
|
/linux/fs/gfs2/ |
A D | lops.c | 528 errseq_t since; in gfs2_find_jhead()
|
/linux/mm/ |
A D | filemap.c | 744 errseq_t eseq = errseq_set(&mapping->wb_err, err); in __filemap_set_wb_err() 777 errseq_t old = READ_ONCE(file->f_wb_err); in file_check_and_advance_wb_err()
|
/linux/fs/ext4/ |
A D | ext4.h | 1704 errseq_t s_bdev_wb_err;
|
Completed in 43 milliseconds