Home
last modified time | relevance | path

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

/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.c32 int gfs2_replay_read_block(struct gfs2_jdesc *jd, unsigned int blk, in gfs2_replay_read_block()
55 int gfs2_revoke_add(struct gfs2_jdesc *jd, u64 blkno, unsigned int where) in gfs2_revoke_add()
84 int gfs2_revoke_check(struct gfs2_jdesc *jd, u64 blkno, unsigned int where) in gfs2_revoke_check()
108 void gfs2_revoke_clean(struct gfs2_jdesc *jd) in gfs2_revoke_clean()
150 static int get_log_header(struct gfs2_jdesc *jd, unsigned int blk, in get_log_header()
191 static int find_good_lh(struct gfs2_jdesc *jd, unsigned int *blk, in find_good_lh()
223 static int jhead_scan(struct gfs2_jdesc *jd, struct gfs2_log_header_host *head) in jhead_scan()
263 int gfs2_find_jhead(struct gfs2_jdesc *jd, struct gfs2_log_header_host *head) in gfs2_find_jhead()
313 static int foreach_descriptor(struct gfs2_jdesc *jd, unsigned int start, in foreach_descriptor()
381 static int clean_journal(struct gfs2_jdesc *jd, struct gfs2_log_header_host *head) in clean_journal()
[all …]
Dlops.h67 static inline void lops_before_scan(struct gfs2_jdesc *jd, in lops_before_scan()
77 static inline int lops_scan_elements(struct gfs2_jdesc *jd, unsigned int start, in lops_scan_elements()
94 static inline void lops_after_scan(struct gfs2_jdesc *jd, int error, in lops_after_scan()
Dlops.c514 static void buf_lo_before_scan(struct gfs2_jdesc *jd, in buf_lo_before_scan()
524 static int buf_lo_scan_elements(struct gfs2_jdesc *jd, unsigned int start, in buf_lo_scan_elements()
595 static void buf_lo_after_scan(struct gfs2_jdesc *jd, int error, int pass) in buf_lo_after_scan()
668 static void revoke_lo_before_scan(struct gfs2_jdesc *jd, in revoke_lo_before_scan()
678 static int revoke_lo_scan_elements(struct gfs2_jdesc *jd, unsigned int start, in revoke_lo_scan_elements()
728 static void revoke_lo_after_scan(struct gfs2_jdesc *jd, int error, int pass) in revoke_lo_after_scan()
760 static int databuf_lo_scan_elements(struct gfs2_jdesc *jd, unsigned int start, in databuf_lo_scan_elements()
810 static void databuf_lo_after_scan(struct gfs2_jdesc *jd, int error, int pass) in databuf_lo_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.h58 extern int gfs2_map_journal_extents(struct gfs2_sbd *sdp, struct gfs2_jdesc *jd);
59 extern void gfs2_free_journal_extents(struct gfs2_jdesc *jd);
Dincore.h36 struct gfs2_jdesc;
58 void (*lo_before_scan) (struct gfs2_jdesc *jd,
60 int (*lo_scan_elements) (struct gfs2_jdesc *jd, unsigned int start,
63 void (*lo_after_scan) (struct gfs2_jdesc *jd, int error, int pass);
516 struct gfs2_jdesc { struct
757 struct gfs2_jdesc *sd_jdesc;
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()
877 struct gfs2_jdesc *jd; in gfs2_put_super()
Dops_fstype.c556 struct gfs2_jdesc *jd; in gfs2_jindex_hold()
583 jd = kzalloc(sizeof(struct gfs2_jdesc), GFP_KERNEL); in gfs2_jindex_hold()
619 static int check_journal_clean(struct gfs2_sbd *sdp, struct gfs2_jdesc *jd) in check_journal_clean()
741 struct gfs2_jdesc *jd = gfs2_jdesc_find(sdp, x); in init_journal()
Dbmap.c1544 void gfs2_free_journal_extents(struct gfs2_jdesc *jd) in gfs2_free_journal_extents()
1565 static int gfs2_add_jextent(struct gfs2_jdesc *jd, u64 lblock, u64 dblock, u64 blocks) in gfs2_add_jextent()
1608 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()