Home
last modified time | relevance | path

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

/openbmc/linux/fs/gfs2/
H A Drecovery.h14 static inline void gfs2_replay_incr_blk(struct gfs2_jdesc *jd, u32 *blk) in gfs2_replay_incr_blk()
20 int gfs2_replay_read_block(struct gfs2_jdesc *jd, unsigned int blk,
23 int gfs2_revoke_add(struct gfs2_jdesc *jd, u64 blkno, unsigned int where);
24 int gfs2_revoke_check(struct gfs2_jdesc *jd, u64 blkno, unsigned int where);
25 void gfs2_revoke_clean(struct gfs2_jdesc *jd);
27 int gfs2_recover_journal(struct gfs2_jdesc *gfs2_jd, bool wait);
H A Dlops.h16 u64 gfs2_log_bmap(struct gfs2_jdesc *jd, unsigned int lbn);
17 void gfs2_log_write(struct gfs2_sbd *sdp, struct gfs2_jdesc *jd,
22 int gfs2_find_jhead(struct gfs2_jdesc *jd,
54 static inline void lops_before_scan(struct gfs2_jdesc *jd, in lops_before_scan()
64 static inline int lops_scan_elements(struct gfs2_jdesc *jd, u32 start, in lops_scan_elements()
81 static inline void lops_after_scan(struct gfs2_jdesc *jd, int error, in lops_after_scan()
H A 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()
83 int gfs2_revoke_check(struct gfs2_jdesc *jd, u64 blkno, unsigned int where) in gfs2_revoke_check()
106 void gfs2_revoke_clean(struct gfs2_jdesc *jd) in gfs2_revoke_clean()
165 static int get_log_header(struct gfs2_jdesc *jd, unsigned int blk, in get_log_header()
196 static int foreach_descriptor(struct gfs2_jdesc *jd, u32 start, in foreach_descriptor()
262 static void clean_journal(struct gfs2_jdesc *jd, in clean_journal()
307 static int update_statfs_inode(struct gfs2_jdesc *jd, in update_statfs_inode()
376 static void recover_local_statfs(struct gfs2_jdesc *jd, in recover_local_statfs()
403 struct gfs2_jdesc *jd = container_of(work, struct gfs2_jdesc, jd_work); in gfs2_recover_func()
[all …]
H A Dlops.c145 u64 gfs2_log_bmap(struct gfs2_jdesc *jd, unsigned int lblock) in gfs2_log_bmap()
328 void gfs2_log_write(struct gfs2_sbd *sdp, struct gfs2_jdesc *jd, in gfs2_log_write()
424 static bool gfs2_jhead_pg_srch(struct gfs2_jdesc *jd, in gfs2_jhead_pg_srch()
511 int gfs2_find_jhead(struct gfs2_jdesc *jd, struct gfs2_log_header_host *head, in gfs2_find_jhead()
749 static void buf_lo_before_scan(struct gfs2_jdesc *jd, in buf_lo_before_scan()
764 static void obsolete_rgrp(struct gfs2_jdesc *jd, struct buffer_head *bh_log, in obsolete_rgrp()
785 static int buf_lo_scan_elements(struct gfs2_jdesc *jd, u32 start, in buf_lo_scan_elements()
840 static void buf_lo_after_scan(struct gfs2_jdesc *jd, int error, int pass) in buf_lo_after_scan()
917 static void revoke_lo_before_scan(struct gfs2_jdesc *jd, in revoke_lo_before_scan()
927 static int revoke_lo_scan_elements(struct gfs2_jdesc *jd, u32 start, in revoke_lo_scan_elements()
[all …]
H A Dsuper.h31 struct gfs2_jdesc *gfs2_jdesc_find(struct gfs2_sbd *sdp, unsigned int jid);
32 int gfs2_jdesc_check(struct gfs2_jdesc *jd);
H A Dbmap.h65 int gfs2_map_journal_extents(struct gfs2_sbd *sdp, struct gfs2_jdesc *jd);
66 void gfs2_free_journal_extents(struct gfs2_jdesc *jd);
H A Dincore.h34 struct gfs2_jdesc;
59 void (*lo_before_scan) (struct gfs2_jdesc *jd,
61 int (*lo_scan_elements) (struct gfs2_jdesc *jd, unsigned int start,
64 void (*lo_after_scan) (struct gfs2_jdesc *jd, int error, int pass);
506 struct gfs2_jdesc { struct
762 struct gfs2_jdesc *sd_jdesc;
H A Dsuper.c62 struct gfs2_jdesc *jd; in gfs2_jindex_free()
72 jd = list_first_entry(&list, struct gfs2_jdesc, jd_list); in gfs2_jindex_free()
81 static struct gfs2_jdesc *jdesc_find_i(struct list_head *head, unsigned int jid) in jdesc_find_i()
83 struct gfs2_jdesc *jd; in jdesc_find_i()
92 struct gfs2_jdesc *gfs2_jdesc_find(struct gfs2_sbd *sdp, unsigned int jid) in gfs2_jdesc_find()
94 struct gfs2_jdesc *jd; in gfs2_jdesc_find()
103 int gfs2_jdesc_check(struct gfs2_jdesc *jd) in gfs2_jdesc_check()
331 struct gfs2_jdesc *jd; in gfs2_lock_fs_check_clean()
586 struct gfs2_jdesc *jd; in gfs2_put_super()
H A Dlog.h83 void gfs2_write_log_header(struct gfs2_sbd *sdp, struct gfs2_jdesc *jd,
H A Dutil.h150 int check_journal_clean(struct gfs2_sbd *sdp, struct gfs2_jdesc *jd,
H A Dops_fstype.c572 struct gfs2_jdesc *jd; in gfs2_jindex_hold()
601 jd = kzalloc(sizeof(struct gfs2_jdesc), GFP_KERNEL); in gfs2_jindex_hold()
649 struct gfs2_jdesc *jd; in init_statfs()
825 struct gfs2_jdesc *jd = gfs2_jdesc_find(sdp, x); in init_journal()
H A Dutil.c52 int check_journal_clean(struct gfs2_sbd *sdp, struct gfs2_jdesc *jd, in check_journal_clean()
H A Dbmap.c2174 void gfs2_free_journal_extents(struct gfs2_jdesc *jd) in gfs2_free_journal_extents()
2195 static int gfs2_add_jextent(struct gfs2_jdesc *jd, u64 lblock, u64 dblock, u64 blocks) in gfs2_add_jextent()
2238 int gfs2_map_journal_extents(struct gfs2_sbd *sdp, struct gfs2_jdesc *jd) in gfs2_map_journal_extents()
H A Dsys.c500 struct gfs2_jdesc *jd; in gfs2_recover_set()
H A Dlock_dlm.c606 struct gfs2_jdesc *jd; in remote_withdraw()
H A Dlog.c832 void gfs2_write_log_header(struct gfs2_sbd *sdp, struct gfs2_jdesc *jd, in gfs2_write_log_header()