Home
last modified time | relevance | path

Searched refs:gfs2_jdesc (Results 1 – 13 of 13) sorted by relevance

/Linux-v4.19/fs/gfs2/
Drecovery.h17 static inline void gfs2_replay_incr_blk(struct gfs2_jdesc *jd, unsigned int *blk) in gfs2_replay_incr_blk()
23 extern int gfs2_replay_read_block(struct gfs2_jdesc *jd, unsigned int blk,
26 extern int gfs2_revoke_add(struct gfs2_jdesc *jd, u64 blkno, unsigned int where);
27 extern int gfs2_revoke_check(struct gfs2_jdesc *jd, u64 blkno, unsigned int where);
28 extern void gfs2_revoke_clean(struct gfs2_jdesc *jd);
30 extern int gfs2_find_jhead(struct gfs2_jdesc *jd,
32 extern int gfs2_recover_journal(struct gfs2_jdesc *gfs2_jd, bool wait);
Drecovery.c35 int gfs2_replay_read_block(struct gfs2_jdesc *jd, unsigned int blk, in gfs2_replay_read_block()
58 int gfs2_revoke_add(struct gfs2_jdesc *jd, u64 blkno, unsigned int where) in gfs2_revoke_add()
87 int gfs2_revoke_check(struct gfs2_jdesc *jd, u64 blkno, unsigned int where) in gfs2_revoke_check()
111 void gfs2_revoke_clean(struct gfs2_jdesc *jd) in gfs2_revoke_clean()
137 static int get_log_header(struct gfs2_jdesc *jd, unsigned int blk, in get_log_header()
186 static int find_good_lh(struct gfs2_jdesc *jd, unsigned int *blk, in find_good_lh()
218 static int jhead_scan(struct gfs2_jdesc *jd, struct gfs2_log_header_host *head) in jhead_scan()
258 int gfs2_find_jhead(struct gfs2_jdesc *jd, struct gfs2_log_header_host *head) in gfs2_find_jhead()
308 static int foreach_descriptor(struct gfs2_jdesc *jd, unsigned int start, in foreach_descriptor()
374 static void clean_journal(struct gfs2_jdesc *jd, in clean_journal()
[all …]
Dlops.h70 static inline void lops_before_scan(struct gfs2_jdesc *jd, in lops_before_scan()
80 static inline int lops_scan_elements(struct gfs2_jdesc *jd, unsigned int start, in lops_scan_elements()
97 static inline void lops_after_scan(struct gfs2_jdesc *jd, int error, in lops_after_scan()
Dsuper.h32 extern struct gfs2_jdesc *gfs2_jdesc_find(struct gfs2_sbd *sdp, unsigned int jid);
33 extern int gfs2_jdesc_check(struct gfs2_jdesc *jd);
Dbmap.h64 extern int gfs2_map_journal_extents(struct gfs2_sbd *sdp, struct gfs2_jdesc *jd);
65 extern void gfs2_free_journal_extents(struct gfs2_jdesc *jd);
Dincore.h36 struct gfs2_jdesc;
57 void (*lo_before_scan) (struct gfs2_jdesc *jd,
59 int (*lo_scan_elements) (struct gfs2_jdesc *jd, unsigned int start,
62 void (*lo_after_scan) (struct gfs2_jdesc *jd, int error, int pass);
532 struct gfs2_jdesc { struct
771 struct gfs2_jdesc *sd_jdesc;
Dlops.c516 static void buf_lo_before_scan(struct gfs2_jdesc *jd, in buf_lo_before_scan()
526 static int buf_lo_scan_elements(struct gfs2_jdesc *jd, unsigned int start, in buf_lo_scan_elements()
597 static void buf_lo_after_scan(struct gfs2_jdesc *jd, int error, int pass) in buf_lo_after_scan()
671 static void revoke_lo_before_scan(struct gfs2_jdesc *jd, in revoke_lo_before_scan()
681 static int revoke_lo_scan_elements(struct gfs2_jdesc *jd, unsigned int start, in revoke_lo_scan_elements()
731 static void revoke_lo_after_scan(struct gfs2_jdesc *jd, int error, int pass) in revoke_lo_after_scan()
763 static int databuf_lo_scan_elements(struct gfs2_jdesc *jd, unsigned int start, in databuf_lo_scan_elements()
813 static void databuf_lo_after_scan(struct gfs2_jdesc *jd, int error, int pass) in databuf_lo_after_scan()
Dsuper.c310 struct gfs2_jdesc *jd; in gfs2_jindex_free()
319 jd = list_entry(list.next, struct gfs2_jdesc, jd_list); in gfs2_jindex_free()
327 static struct gfs2_jdesc *jdesc_find_i(struct list_head *head, unsigned int jid) in jdesc_find_i()
329 struct gfs2_jdesc *jd; in jdesc_find_i()
345 struct gfs2_jdesc *gfs2_jdesc_find(struct gfs2_sbd *sdp, unsigned int jid) in gfs2_jdesc_find()
347 struct gfs2_jdesc *jd; in gfs2_jdesc_find()
356 int gfs2_jdesc_check(struct gfs2_jdesc *jd) in gfs2_jdesc_check()
655 struct gfs2_jdesc *jd; in gfs2_lock_fs_check_clean()
887 struct gfs2_jdesc *jd; in gfs2_put_super()
Dlog.h73 extern void gfs2_write_log_header(struct gfs2_sbd *sdp, struct gfs2_jdesc *jd,
Dops_fstype.c537 struct gfs2_jdesc *jd; in gfs2_jindex_hold()
564 jd = kzalloc(sizeof(struct gfs2_jdesc), GFP_KERNEL); in gfs2_jindex_hold()
600 static int check_journal_clean(struct gfs2_sbd *sdp, struct gfs2_jdesc *jd) in check_journal_clean()
722 struct gfs2_jdesc *jd = gfs2_jdesc_find(sdp, x); in init_journal()
Dbmap.c2178 void gfs2_free_journal_extents(struct gfs2_jdesc *jd) in gfs2_free_journal_extents()
2199 static int gfs2_add_jextent(struct gfs2_jdesc *jd, u64 lblock, u64 dblock, u64 blocks) in gfs2_add_jextent()
2242 int gfs2_map_journal_extents(struct gfs2_sbd *sdp, struct gfs2_jdesc *jd) in gfs2_map_journal_extents()
Dsys.c424 struct gfs2_jdesc *jd; in gfs2_recover_set()
Dlog.c678 void gfs2_write_log_header(struct gfs2_sbd *sdp, struct gfs2_jdesc *jd, in gfs2_write_log_header()