/linux-master/fs/gfs2/ |
H A D | sys.h | 11 struct gfs2_sbd; 13 int gfs2_sys_fs_add(struct gfs2_sbd *sdp); 14 void gfs2_sys_fs_del(struct gfs2_sbd *sdp); 19 int gfs2_recover_set(struct gfs2_sbd *sdp, unsigned jid);
|
H A D | super.h | 18 void gfs2_lm_unmount(struct gfs2_sbd *sdp); 20 static inline unsigned int gfs2_jindex_size(struct gfs2_sbd *sdp) 29 void gfs2_jindex_free(struct gfs2_sbd *sdp); 31 struct gfs2_jdesc *gfs2_jdesc_find(struct gfs2_sbd *sdp, unsigned int jid); 33 int gfs2_lookup_in_master_dir(struct gfs2_sbd *sdp, char *filename, 36 int gfs2_make_fs_rw(struct gfs2_sbd *sdp); 37 void gfs2_make_fs_ro(struct gfs2_sbd *sdp); 38 void gfs2_online_uevent(struct gfs2_sbd *sdp); 39 void gfs2_destroy_threads(struct gfs2_sbd *sdp); 40 int gfs2_statfs_init(struct gfs2_sbd *sd [all...] |
H A D | log.h | 29 static inline void gfs2_log_lock(struct gfs2_sbd *sdp) 41 static inline void gfs2_log_unlock(struct gfs2_sbd *sdp) 47 static inline void gfs2_log_pointers_init(struct gfs2_sbd *sdp, 60 struct gfs2_sbd *sdp = GFS2_SB(&ip->i_inode); 74 unsigned int gfs2_struct2blk(struct gfs2_sbd *sdp, unsigned int nstruct); 76 bool gfs2_log_is_empty(struct gfs2_sbd *sdp); 77 void gfs2_log_release_revokes(struct gfs2_sbd *sdp, unsigned int revokes); 78 void gfs2_log_release(struct gfs2_sbd *sdp, unsigned int blks); 79 bool gfs2_log_try_reserve(struct gfs2_sbd *sdp, struct gfs2_trans *tr, 81 void gfs2_log_reserve(struct gfs2_sbd *sd [all...] |
H A D | trans.h | 11 struct gfs2_sbd; 37 int __gfs2_trans_begin(struct gfs2_trans *tr, struct gfs2_sbd *sdp, 40 int gfs2_trans_begin(struct gfs2_sbd *sdp, unsigned int blocks, 43 void gfs2_trans_end(struct gfs2_sbd *sdp); 46 void gfs2_trans_add_revoke(struct gfs2_sbd *sdp, struct gfs2_bufdata *bd); 47 void gfs2_trans_remove_revoke(struct gfs2_sbd *sdp, u64 blkno, unsigned int len); 48 void gfs2_trans_free(struct gfs2_sbd *sdp, struct gfs2_trans *tr);
|
H A D | lops.h | 15 void gfs2_log_incr_head(struct gfs2_sbd *sdp); 17 void gfs2_log_write(struct gfs2_sbd *sdp, struct gfs2_jdesc *jd, 21 void gfs2_pin(struct gfs2_sbd *sdp, struct buffer_head *bh); 24 void gfs2_drain_revokes(struct gfs2_sbd *sdp); 26 static inline unsigned int buf_limit(struct gfs2_sbd *sdp) 31 static inline unsigned int databuf_limit(struct gfs2_sbd *sdp) 36 static inline void lops_before_commit(struct gfs2_sbd *sdp, 45 static inline void lops_after_commit(struct gfs2_sbd *sdp,
|
H A D | quota.h | 13 struct gfs2_sbd; 32 int gfs2_quota_refresh(struct gfs2_sbd *sdp, struct kqid qid); 34 int gfs2_quota_init(struct gfs2_sbd *sdp); 35 void gfs2_quota_cleanup(struct gfs2_sbd *sdp); 38 void gfs2_wake_up_statfs(struct gfs2_sbd *sdp); 43 struct gfs2_sbd *sdp = GFS2_SB(&ip->i_inode);
|
H A D | rgrp.h | 22 struct gfs2_sbd; 27 struct gfs2_rgrpd *gfs2_blk2rgrpd(struct gfs2_sbd *sdp, u64 blk, bool exact); 28 struct gfs2_rgrpd *gfs2_rgrpd_get_first(struct gfs2_sbd *sdp); 31 void gfs2_clear_rgrpd(struct gfs2_sbd *sdp); 32 int gfs2_rindex_update(struct gfs2_sbd *sdp); 55 int gfs2_check_blk_type(struct gfs2_sbd *sdp, u64 no_addr, 70 u64 gfs2_ri_total(struct gfs2_sbd *sdp); 73 int gfs2_rgrp_send_discards(struct gfs2_sbd *sdp, u64 offset,
|
H A D | util.h | 28 void gfs2_assert_i(struct gfs2_sbd *sdp); 39 void gfs2_assert_withdraw_i(struct gfs2_sbd *sdp, char *assertion, 61 void gfs2_assert_warn_i(struct gfs2_sbd *sdp, char *assertion, 73 void gfs2_consist_i(struct gfs2_sbd *sdp, 94 int gfs2_meta_check_ii(struct gfs2_sbd *sdp, struct buffer_head *bh, 98 static inline int gfs2_meta_check(struct gfs2_sbd *sdp, 111 int gfs2_metatype_check_ii(struct gfs2_sbd *sdp, struct buffer_head *bh, 116 static inline int gfs2_metatype_check_i(struct gfs2_sbd *sdp, 147 int gfs2_io_error_i(struct gfs2_sbd *sdp, const char *function, 150 int check_journal_clean(struct gfs2_sbd *sd [all...] |
H A D | glock.h | 121 int (*lm_mount) (struct gfs2_sbd *sdp, const char *table); 122 void (*lm_first_done) (struct gfs2_sbd *sdp); 123 void (*lm_recovery_result) (struct gfs2_sbd *sdp, unsigned int jid, 125 void (*lm_unmount) (struct gfs2_sbd *sdp); 126 void (*lm_withdraw) (struct gfs2_sbd *sdp); 170 int gfs2_glock_get(struct gfs2_sbd *sdp, u64 number, 197 int gfs2_glock_nq_num(struct gfs2_sbd *sdp, u64 number, 249 void gfs2_flush_delete_work(struct gfs2_sbd *sdp); 250 void gfs2_gl_hash_clear(struct gfs2_sbd *sdp); 251 void gfs2_gl_dq_holders(struct gfs2_sbd *sd [all...] |
H A D | sys.c | 32 ssize_t (*show)(struct gfs2_sbd *, char *); 33 ssize_t (*store)(struct gfs2_sbd *, const char *, size_t); 39 struct gfs2_sbd *sdp = container_of(kobj, struct gfs2_sbd, sd_kobj); 47 struct gfs2_sbd *sdp = container_of(kobj, struct gfs2_sbd, sd_kobj); 60 static ssize_t id_show(struct gfs2_sbd *sdp, char *buf) 66 static ssize_t status_show(struct gfs2_sbd *sdp, char *buf) 141 static ssize_t fsname_show(struct gfs2_sbd *sdp, char *buf) 146 static ssize_t uuid_show(struct gfs2_sbd *sd [all...] |
H A D | recovery.h | 29 int __get_log_header(struct gfs2_sbd *sdp,
|
H A D | util.c | 39 void gfs2_assert_i(struct gfs2_sbd *sdp) 52 int check_journal_clean(struct gfs2_sbd *sdp, struct gfs2_jdesc *jd, 100 int gfs2_freeze_lock_shared(struct gfs2_sbd *sdp) 118 static void signal_our_withdraw(struct gfs2_sbd *sdp) 305 void gfs2_lm(struct gfs2_sbd *sdp, const char *fmt, ...) 321 int gfs2_withdraw(struct gfs2_sbd *sdp) 371 void gfs2_assert_withdraw_i(struct gfs2_sbd *sdp, char *assertion, 401 void gfs2_assert_warn_i(struct gfs2_sbd *sdp, char *assertion, 431 void gfs2_consist_i(struct gfs2_sbd *sdp, const char *function, 447 struct gfs2_sbd *sd [all...] |
H A D | log.c | 35 static void gfs2_log_shutdown(struct gfs2_sbd *sdp); 48 unsigned int gfs2_struct2blk(struct gfs2_sbd *sdp, unsigned int nstruct) 100 static int gfs2_ail1_start_one(struct gfs2_sbd *sdp, 160 static void dump_ail_list(struct gfs2_sbd *sdp) 201 void gfs2_ail1_flush(struct gfs2_sbd *sdp, struct writeback_control *wbc) 245 static void gfs2_ail1_start(struct gfs2_sbd *sdp) 257 static void gfs2_log_update_flush_tail(struct gfs2_sbd *sdp) 270 static void gfs2_log_update_head(struct gfs2_sbd *sdp) 283 static void gfs2_ail_empty_tr(struct gfs2_sbd *sdp, struct gfs2_trans *tr, 305 static int gfs2_ail1_empty_one(struct gfs2_sbd *sd [all...] |
H A D | bmap.h | 33 const struct gfs2_sbd *sdp = GFS2_SB(&ip->i_inode); 65 int gfs2_map_journal_extents(struct gfs2_sbd *sdp, struct gfs2_jdesc *jd);
|
H A D | inode.h | 30 static inline bool gfs2_is_ordered(const struct gfs2_sbd *sdp) 35 static inline bool gfs2_is_writeback(const struct gfs2_sbd *sdp) 92 struct inode *gfs2_lookup_by_inum(struct gfs2_sbd *sdp, u64 no_addr, 120 static inline int gfs2_localflocks(const struct gfs2_sbd *sdp) 128 static inline int gfs2_localflocks(const struct gfs2_sbd *sdp)
|
H A D | lops.c | 42 void gfs2_pin(struct gfs2_sbd *sdp, struct buffer_head *bh) 74 struct gfs2_sbd *sdp = gl->gl_name.ln_sbd; 102 static void gfs2_unpin(struct gfs2_sbd *sdp, struct buffer_head *bh, 136 void gfs2_log_incr_head(struct gfs2_sbd *sdp) 169 static void gfs2_end_log_write_bh(struct gfs2_sbd *sdp, 204 struct gfs2_sbd *sdp = bio->bi_private; 245 struct gfs2_sbd *sdp = bio->bi_private; 264 static struct bio *gfs2_log_alloc_bio(struct gfs2_sbd *sdp, u64 blkno, 294 static struct bio *gfs2_log_get_bio(struct gfs2_sbd *sdp, u64 blkno, 328 void gfs2_log_write(struct gfs2_sbd *sd [all...] |
H A D | trans.c | 28 static void gfs2_print_trans(struct gfs2_sbd *sdp, const struct gfs2_trans *tr) 40 int __gfs2_trans_begin(struct gfs2_trans *tr, struct gfs2_sbd *sdp, 109 int gfs2_trans_begin(struct gfs2_sbd *sdp, unsigned int blocks, 124 void gfs2_trans_end(struct gfs2_sbd *sdp) 195 struct gfs2_sbd *sdp = gl->gl_name.ln_sbd; 232 struct gfs2_sbd *sdp = gl->gl_name.ln_sbd; 294 void gfs2_trans_add_revoke(struct gfs2_sbd *sdp, struct gfs2_bufdata *bd) 304 void gfs2_trans_remove_revoke(struct gfs2_sbd *sdp, u64 blkno, unsigned int len) 326 void gfs2_trans_free(struct gfs2_sbd *sdp, struct gfs2_trans *tr)
|
H A D | meta_io.h | 40 static inline struct gfs2_sbd *gfs2_mapping2sbd(struct address_space *mapping) 48 return container_of(mapping, struct gfs2_sbd, sd_aspace); 56 int gfs2_meta_wait(struct gfs2_sbd *sdp, struct buffer_head *bh);
|
H A D | quota.c | 88 static unsigned int gfs2_qd_hash(const struct gfs2_sbd *sdp, 93 h = jhash(&sdp, sizeof(struct gfs2_sbd *), 0); 112 struct gfs2_sbd *sdp = qd->qd_sbd; 121 struct gfs2_sbd *sdp = qd->qd_sbd; 232 static struct gfs2_quota_data *qd_alloc(unsigned hash, struct gfs2_sbd *sdp, struct kqid qid) 262 const struct gfs2_sbd *sdp, 283 static int qd_get(struct gfs2_sbd *sdp, struct kqid qid, 324 struct gfs2_sbd *sdp = qd->qd_sbd; 331 struct gfs2_sbd *sdp; 353 struct gfs2_sbd *sd [all...] |
H A D | super.c | 59 void gfs2_jindex_free(struct gfs2_sbd *sdp) 92 struct gfs2_jdesc *gfs2_jdesc_find(struct gfs2_sbd *sdp, unsigned int jid) 106 struct gfs2_sbd *sdp = GFS2_SB(jd->jd_inode); 129 int gfs2_make_fs_rw(struct gfs2_sbd *sdp) 181 int gfs2_statfs_init(struct gfs2_sbd *sdp) 220 void gfs2_statfs_change(struct gfs2_sbd *sdp, s64 total, s64 free, 249 void update_statfs(struct gfs2_sbd *sdp, struct buffer_head *m_bh) 272 struct gfs2_sbd *sdp = sb->s_fs_info; 328 static int gfs2_lock_fs_check_clean(struct gfs2_sbd *sdp) 446 struct gfs2_sbd *sd [all...] |
H A D | lock_dlm.c | 192 static int make_mode(struct gfs2_sbd *sdp, const unsigned int lmstate) 290 struct gfs2_sbd *sdp = gl->gl_name.ln_sbd; 509 static int sync_unlock(struct gfs2_sbd *sdp, struct dlm_lksb *lksb, char *name) 531 static int sync_lock(struct gfs2_sbd *sdp, int mode, uint32_t flags, 562 static int mounted_unlock(struct gfs2_sbd *sdp) 568 static int mounted_lock(struct gfs2_sbd *sdp, int mode, uint32_t flags) 575 static int control_unlock(struct gfs2_sbd *sdp) 581 static int control_lock(struct gfs2_sbd *sdp, int mode, uint32_t flags) 592 static void remote_withdraw(struct gfs2_sbd *sdp) 612 struct gfs2_sbd *sd [all...] |
H A D | glops.c | 36 struct gfs2_sbd *sdp = gl->gl_name.ln_sbd; 62 struct gfs2_sbd *sdp = gl->gl_name.ln_sbd; 90 struct gfs2_sbd *sdp = gl->gl_name.ln_sbd; 143 struct gfs2_sbd *sdp = gl->gl_name.ln_sbd; 167 struct gfs2_sbd *sdp = gl->gl_name.ln_sbd; 195 struct gfs2_sbd *sdp = gl->gl_name.ln_sbd; 224 struct gfs2_sbd *sdp = gl->gl_name.ln_sbd; 394 struct gfs2_sbd *sdp = gl->gl_name.ln_sbd; 404 struct gfs2_sbd *sdp = GFS2_SB(&ip->i_inode); 567 struct gfs2_sbd *sd [all...] |
H A D | meta_io.c | 117 struct gfs2_sbd *sdp = gl->gl_name.ln_sbd; 251 struct gfs2_sbd *sdp = gl->gl_name.ln_sbd; 312 int gfs2_meta_wait(struct gfs2_sbd *sdp, struct buffer_head *bh) 336 struct gfs2_sbd *sdp = gfs2_mapping2sbd(mapping); 379 static void gfs2_ail1_wipe(struct gfs2_sbd *sdp, u64 bstart, u32 blen) 405 struct gfs2_sbd *sdp = GFS2_SB(&ip->i_inode); 433 struct gfs2_sbd *sdp = GFS2_SB(&ip->i_inode); 480 struct gfs2_sbd *sdp = GFS2_SB(&ip->i_inode); 510 struct gfs2_sbd *sdp = gl->gl_name.ln_sbd;
|
H A D | ops_fstype.c | 65 void free_sbd(struct gfs2_sbd *sdp) 72 static struct gfs2_sbd *init_sbd(struct super_block *sb) 74 struct gfs2_sbd *sdp; 77 sdp = kzalloc(sizeof(struct gfs2_sbd), GFP_KERNEL); 157 static int gfs2_check_sb(struct gfs2_sbd *sdp, int silent) 198 static void gfs2_sb_in(struct gfs2_sbd *sdp, const void *buf) 239 static int gfs2_read_super(struct gfs2_sbd *sdp, sector_t sector, int silent) 281 static int gfs2_read_sb(struct gfs2_sbd *sdp, int silent) 361 static int init_names(struct gfs2_sbd *sdp, int silent) 397 static int init_locking(struct gfs2_sbd *sd [all...] |
H A D | incore.h | 35 struct gfs2_sbd; 57 void (*lo_before_commit) (struct gfs2_sbd *sdp, struct gfs2_trans *tr); 58 void (*lo_after_commit) (struct gfs2_sbd *sdp, struct gfs2_trans *tr); 116 struct gfs2_sbd *rd_sbd; 207 struct gfs2_sbd *ln_sbd; 417 static inline struct gfs2_sbd *GFS2_SB(const struct inode *inode) 444 struct gfs2_sbd *qd_sbd; 684 struct gfs2_sbd { struct 860 const struct gfs2_sbd *sdp = gl->gl_name.ln_sbd;
|