Home
last modified time | relevance | path

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

/linux-4.1.27/fs/gfs2/
Drecovery.h23 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()
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);
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);
Dincore.h35 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);
500 struct gfs2_jdesc { struct
737 struct gfs2_jdesc *sd_jdesc;
Dlops.c520 static void buf_lo_before_scan(struct gfs2_jdesc *jd, in buf_lo_before_scan()
530 static int buf_lo_scan_elements(struct gfs2_jdesc *jd, unsigned int start, in buf_lo_scan_elements()
601 static void buf_lo_after_scan(struct gfs2_jdesc *jd, int error, int pass) in buf_lo_after_scan()
675 static void revoke_lo_before_scan(struct gfs2_jdesc *jd, in revoke_lo_before_scan()
685 static int revoke_lo_scan_elements(struct gfs2_jdesc *jd, unsigned int start, in revoke_lo_scan_elements()
735 static void revoke_lo_after_scan(struct gfs2_jdesc *jd, int error, int pass) in revoke_lo_after_scan()
767 static int databuf_lo_scan_elements(struct gfs2_jdesc *jd, unsigned int start, in databuf_lo_scan_elements()
818 static void databuf_lo_after_scan(struct gfs2_jdesc *jd, int error, int pass) in databuf_lo_after_scan()
Dsuper.c300 struct gfs2_jdesc *jd; in gfs2_jindex_free()
309 jd = list_entry(list.next, struct gfs2_jdesc, jd_list); in gfs2_jindex_free()
317 static struct gfs2_jdesc *jdesc_find_i(struct list_head *head, unsigned int jid) in jdesc_find_i()
319 struct gfs2_jdesc *jd; in jdesc_find_i()
335 struct gfs2_jdesc *gfs2_jdesc_find(struct gfs2_sbd *sdp, unsigned int jid) in gfs2_jdesc_find()
337 struct gfs2_jdesc *jd; in gfs2_jdesc_find()
346 int gfs2_jdesc_check(struct gfs2_jdesc *jd) in gfs2_jdesc_check()
646 struct gfs2_jdesc *jd; in gfs2_lock_fs_check_clean()
871 struct gfs2_jdesc *jd; in gfs2_put_super()
Dops_fstype.c550 struct gfs2_jdesc *jd; in gfs2_jindex_hold()
577 jd = kzalloc(sizeof(struct gfs2_jdesc), GFP_KERNEL); in gfs2_jindex_hold()
613 static int check_journal_clean(struct gfs2_sbd *sdp, struct gfs2_jdesc *jd) in check_journal_clean()
734 struct gfs2_jdesc *jd = gfs2_jdesc_find(sdp, x); in init_journal()
Dbmap.c1337 void gfs2_free_journal_extents(struct gfs2_jdesc *jd) in gfs2_free_journal_extents()
1358 static int gfs2_add_jextent(struct gfs2_jdesc *jd, u64 lblock, u64 dblock, u64 blocks) in gfs2_add_jextent()
1401 int gfs2_map_journal_extents(struct gfs2_sbd *sdp, struct gfs2_jdesc *jd) in gfs2_map_journal_extents()
Dsys.c407 struct gfs2_jdesc *jd; in gfs2_recover_set()