Home
last modified time | relevance | path

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

/fs/gfs2/
Drecovery.h14 static inline void gfs2_replay_incr_blk(struct gfs2_jdesc *jd, u32 *blk) in gfs2_replay_incr_blk()
20 extern int gfs2_replay_read_block(struct gfs2_jdesc *jd, unsigned int blk,
23 extern int gfs2_revoke_add(struct gfs2_jdesc *jd, u64 blkno, unsigned int where);
24 extern int gfs2_revoke_check(struct gfs2_jdesc *jd, u64 blkno, unsigned int where);
25 extern void gfs2_revoke_clean(struct gfs2_jdesc *jd);
27 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()
163 static int get_log_header(struct gfs2_jdesc *jd, unsigned int blk, in get_log_header()
193 static int foreach_descriptor(struct gfs2_jdesc *jd, u32 start, in foreach_descriptor()
259 static void clean_journal(struct gfs2_jdesc *jd, in clean_journal()
295 struct gfs2_jdesc *jd = container_of(work, struct gfs2_jdesc, jd_work); in gfs2_recover_func()
445 int gfs2_recover_journal(struct gfs2_jdesc *jd, bool wait) in gfs2_recover_journal()
Dlops.h27 extern int gfs2_find_jhead(struct gfs2_jdesc *jd,
64 static inline void lops_before_scan(struct gfs2_jdesc *jd, in lops_before_scan()
74 static inline int lops_scan_elements(struct gfs2_jdesc *jd, u32 start, in lops_scan_elements()
91 static inline void lops_after_scan(struct gfs2_jdesc *jd, int error, in lops_after_scan()
Dlops.c412 static bool gfs2_jhead_pg_srch(struct gfs2_jdesc *jd, in gfs2_jhead_pg_srch()
455 static void gfs2_jhead_process_page(struct gfs2_jdesc *jd, unsigned long index, in gfs2_jhead_process_page()
498 int gfs2_find_jhead(struct gfs2_jdesc *jd, struct gfs2_log_header_host *head, in gfs2_find_jhead()
738 static void buf_lo_before_scan(struct gfs2_jdesc *jd, in buf_lo_before_scan()
748 static int buf_lo_scan_elements(struct gfs2_jdesc *jd, u32 start, in buf_lo_scan_elements()
837 static void buf_lo_after_scan(struct gfs2_jdesc *jd, int error, int pass) in buf_lo_after_scan()
910 static void revoke_lo_before_scan(struct gfs2_jdesc *jd, in revoke_lo_before_scan()
920 static int revoke_lo_scan_elements(struct gfs2_jdesc *jd, u32 start, in revoke_lo_scan_elements()
970 static void revoke_lo_after_scan(struct gfs2_jdesc *jd, int error, int pass) in revoke_lo_after_scan()
1002 static int databuf_lo_scan_elements(struct gfs2_jdesc *jd, u32 start, in databuf_lo_scan_elements()
[all …]
Dincore.h33 struct gfs2_jdesc;
54 void (*lo_before_scan) (struct gfs2_jdesc *jd,
56 int (*lo_scan_elements) (struct gfs2_jdesc *jd, unsigned int start,
59 void (*lo_after_scan) (struct gfs2_jdesc *jd, int error, int pass);
526 struct gfs2_jdesc { struct
769 struct gfs2_jdesc *sd_jdesc;
Dsuper.h27 extern struct gfs2_jdesc *gfs2_jdesc_find(struct gfs2_sbd *sdp, unsigned int jid);
28 extern int gfs2_jdesc_check(struct gfs2_jdesc *jd);
Dbmap.h61 extern int gfs2_map_journal_extents(struct gfs2_sbd *sdp, struct gfs2_jdesc *jd);
62 extern void gfs2_free_journal_extents(struct gfs2_jdesc *jd);
Dsuper.c56 struct gfs2_jdesc *jd; in gfs2_jindex_free()
65 jd = list_entry(list.next, struct gfs2_jdesc, jd_list); in gfs2_jindex_free()
73 static struct gfs2_jdesc *jdesc_find_i(struct list_head *head, unsigned int jid) in jdesc_find_i()
75 struct gfs2_jdesc *jd; in jdesc_find_i()
91 struct gfs2_jdesc *gfs2_jdesc_find(struct gfs2_sbd *sdp, unsigned int jid) in gfs2_jdesc_find()
93 struct gfs2_jdesc *jd; in gfs2_jdesc_find()
102 int gfs2_jdesc_check(struct gfs2_jdesc *jd) in gfs2_jdesc_check()
406 struct gfs2_jdesc *jd; in gfs2_lock_fs_check_clean()
642 struct gfs2_jdesc *jd; in gfs2_put_super()
Dlog.h69 extern void gfs2_write_log_header(struct gfs2_sbd *sdp, struct gfs2_jdesc *jd,
Dops_fstype.c554 struct gfs2_jdesc *jd; in gfs2_jindex_hold()
581 jd = kzalloc(sizeof(struct gfs2_jdesc), GFP_KERNEL); in gfs2_jindex_hold()
617 static int check_journal_clean(struct gfs2_sbd *sdp, struct gfs2_jdesc *jd) in check_journal_clean()
739 struct gfs2_jdesc *jd = gfs2_jdesc_find(sdp, x); in init_journal()
Dbmap.c2225 void gfs2_free_journal_extents(struct gfs2_jdesc *jd) in gfs2_free_journal_extents()
2246 static int gfs2_add_jextent(struct gfs2_jdesc *jd, u64 lblock, u64 dblock, u64 blocks) in gfs2_add_jextent()
2289 int gfs2_map_journal_extents(struct gfs2_sbd *sdp, struct gfs2_jdesc *jd) in gfs2_map_journal_extents()
Dsys.c422 struct gfs2_jdesc *jd; in gfs2_recover_set()
Dlog.c687 void gfs2_write_log_header(struct gfs2_sbd *sdp, struct gfs2_jdesc *jd, in gfs2_write_log_header()