/linux/fs/gfs2/ |
A D | log.h | 29 static inline void gfs2_log_lock(struct gfs2_sbd *sdp) in gfs2_log_lock() 41 static inline void gfs2_log_unlock(struct gfs2_sbd *sdp) in gfs2_log_unlock() 47 static inline void gfs2_log_pointers_init(struct gfs2_sbd *sdp, in gfs2_log_pointers_init() 60 struct gfs2_sbd *sdp = GFS2_SB(&ip->i_inode); in gfs2_ordered_add_inode() 76 extern bool gfs2_log_is_empty(struct gfs2_sbd *sdp); 78 extern void gfs2_log_release(struct gfs2_sbd *sdp, unsigned int blks); 81 extern void gfs2_log_reserve(struct gfs2_sbd *sdp, struct gfs2_trans *tr, 86 extern void gfs2_log_flush(struct gfs2_sbd *sdp, struct gfs2_glock *gl, 90 extern void log_flush_wait(struct gfs2_sbd *sdp); 95 extern void gfs2_flush_revokes(struct gfs2_sbd *sdp); [all …]
|
A D | super.h | 18 extern void gfs2_lm_unmount(struct gfs2_sbd *sdp); 20 static inline unsigned int gfs2_jindex_size(struct gfs2_sbd *sdp) in gfs2_jindex_size() 29 extern void gfs2_jindex_free(struct gfs2_sbd *sdp); 33 extern int gfs2_lookup_in_master_dir(struct gfs2_sbd *sdp, char *filename, 36 extern int gfs2_make_fs_rw(struct gfs2_sbd *sdp); 37 extern void gfs2_make_fs_ro(struct gfs2_sbd *sdp); 38 extern void gfs2_online_uevent(struct gfs2_sbd *sdp); 39 extern int gfs2_statfs_init(struct gfs2_sbd *sdp); 50 extern void free_local_statfs_inodes(struct gfs2_sbd *sdp); 51 extern struct inode *find_local_statfs_inode(struct gfs2_sbd *sdp, [all …]
|
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); in gfs2_attr_show() 47 struct gfs2_sbd *sdp = container_of(kobj, struct gfs2_sbd, sd_kobj); in gfs2_attr_store() 60 static ssize_t id_show(struct gfs2_sbd *sdp, char *buf) in id_show() 66 static ssize_t status_show(struct gfs2_sbd *sdp, char *buf) in status_show() 136 static ssize_t uuid_show(struct gfs2_sbd *sdp, char *buf) in uuid_show() 371 struct gfs2_sbd *sdp = container_of(kobj, struct gfs2_sbd, sd_kobj); in gfs2_sbd_release() 714 int gfs2_sys_fs_add(struct gfs2_sbd *sdp) in gfs2_sys_fs_add() 761 void gfs2_sys_fs_del(struct gfs2_sbd *sdp) in gfs2_sys_fs_del() [all …]
|
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, 98 static inline int gfs2_meta_check(struct gfs2_sbd *sdp, in gfs2_meta_check() 116 static inline int gfs2_metatype_check_i(struct gfs2_sbd *sdp, in gfs2_metatype_check_i() 152 extern int gfs2_freeze_lock(struct gfs2_sbd *sdp, 205 static inline bool gfs2_withdrawn(struct gfs2_sbd *sdp) in gfs2_withdrawn() 215 static inline bool gfs2_withdrawing(struct gfs2_sbd *sdp) in gfs2_withdrawing() 230 void gfs2_lm(struct gfs2_sbd *sdp, const char *fmt, ...); [all …]
|
A D | trans.h | 11 struct gfs2_sbd; 37 extern int __gfs2_trans_begin(struct gfs2_trans *tr, struct gfs2_sbd *sdp, 40 extern int gfs2_trans_begin(struct gfs2_sbd *sdp, unsigned int blocks, 43 extern void gfs2_trans_end(struct gfs2_sbd *sdp); 46 extern void gfs2_trans_add_revoke(struct gfs2_sbd *sdp, struct gfs2_bufdata *bd); 47 extern void gfs2_trans_remove_revoke(struct gfs2_sbd *sdp, u64 blkno, unsigned int len); 48 extern void gfs2_trans_free(struct gfs2_sbd *sdp, struct gfs2_trans *tr);
|
A D | log.c | 35 static void gfs2_log_shutdown(struct gfs2_sbd *sdp); 151 static void dump_ail_list(struct gfs2_sbd *sdp) in dump_ail_list() 237 static void gfs2_ail1_start(struct gfs2_sbd *sdp) in gfs2_ail1_start() 375 static void gfs2_ail1_wait(struct gfs2_sbd *sdp) in gfs2_ail1_wait() 432 bool gfs2_log_is_empty(struct gfs2_sbd *sdp) { in gfs2_log_is_empty() 668 static void log_pull_tail(struct gfs2_sbd *sdp) in log_pull_tail() 682 void log_flush_wait(struct gfs2_sbd *sdp) in log_flush_wait() 758 struct gfs2_sbd *sdp = GFS2_SB(&ip->i_inode); in gfs2_ordered_del_inode() 801 void gfs2_flush_revokes(struct gfs2_sbd *sdp) in gfs2_flush_revokes() 932 void gfs2_ail_drain(struct gfs2_sbd *sdp) in gfs2_ail_drain() [all …]
|
A D | lops.h | 14 extern void gfs2_log_incr_head(struct gfs2_sbd *sdp); 16 extern void gfs2_log_write(struct gfs2_sbd *sdp, struct gfs2_jdesc *jd, 20 extern void gfs2_pin(struct gfs2_sbd *sdp, struct buffer_head *bh); 23 extern void gfs2_drain_revokes(struct gfs2_sbd *sdp); 24 static inline unsigned int buf_limit(struct gfs2_sbd *sdp) in buf_limit() 29 static inline unsigned int databuf_limit(struct gfs2_sbd *sdp) in databuf_limit() 34 static inline void lops_before_commit(struct gfs2_sbd *sdp, in lops_before_commit() 43 static inline void lops_after_commit(struct gfs2_sbd *sdp, in lops_after_commit()
|
A D | rgrp.h | 22 struct gfs2_sbd; 27 extern struct gfs2_rgrpd *gfs2_blk2rgrpd(struct gfs2_sbd *sdp, u64 blk, bool exact); 28 extern struct gfs2_rgrpd *gfs2_rgrpd_get_first(struct gfs2_sbd *sdp); 31 extern void gfs2_clear_rgrpd(struct gfs2_sbd *sdp); 32 extern int gfs2_rindex_update(struct gfs2_sbd *sdp); 55 extern int gfs2_check_blk_type(struct gfs2_sbd *sdp, u64 no_addr, 69 extern u64 gfs2_ri_total(struct gfs2_sbd *sdp); 72 extern int gfs2_rgrp_send_discards(struct gfs2_sbd *sdp, u64 offset,
|
A D | glock.h | 128 int (*lm_mount) (struct gfs2_sbd *sdp, const char *table); 129 void (*lm_first_done) (struct gfs2_sbd *sdp); 132 void (*lm_unmount) (struct gfs2_sbd *sdp); 133 void (*lm_withdraw) (struct gfs2_sbd *sdp); 187 extern int gfs2_glock_get(struct gfs2_sbd *sdp, u64 number, 213 extern int gfs2_glock_nq_num(struct gfs2_sbd *sdp, u64 number, 266 extern void gfs2_flush_delete_work(struct gfs2_sbd *sdp); 267 extern void gfs2_gl_hash_clear(struct gfs2_sbd *sdp); 269 extern void gfs2_glock_thaw(struct gfs2_sbd *sdp); 276 extern void gfs2_create_debugfs_file(struct gfs2_sbd *sdp); [all …]
|
A D | util.c | 38 void gfs2_assert_i(struct gfs2_sbd *sdp) in gfs2_assert_i() 51 int check_journal_clean(struct gfs2_sbd *sdp, struct gfs2_jdesc *jd, in check_journal_clean() 120 static void signal_our_withdraw(struct gfs2_sbd *sdp) in signal_our_withdraw() 306 void gfs2_lm(struct gfs2_sbd *sdp, const char *fmt, ...) in gfs2_lm() 322 int gfs2_withdraw(struct gfs2_sbd *sdp) in gfs2_withdraw() 372 void gfs2_assert_withdraw_i(struct gfs2_sbd *sdp, char *assertion, in gfs2_assert_withdraw_i() 402 void gfs2_assert_warn_i(struct gfs2_sbd *sdp, char *assertion, in gfs2_assert_warn_i() 432 void gfs2_consist_i(struct gfs2_sbd *sdp, const char *function, in gfs2_consist_i() 448 struct gfs2_sbd *sdp = GFS2_SB(&ip->i_inode); in gfs2_consist_inode_i() 468 struct gfs2_sbd *sdp = rgd->rd_sbd; in gfs2_consist_rgrpd_i() [all …]
|
A D | quota.h | 13 struct gfs2_sbd; 32 extern int gfs2_quota_refresh(struct gfs2_sbd *sdp, struct kqid qid); 34 extern int gfs2_quota_init(struct gfs2_sbd *sdp); 35 extern void gfs2_quota_cleanup(struct gfs2_sbd *sdp); 38 extern void gfs2_wake_up_statfs(struct gfs2_sbd *sdp); 43 struct gfs2_sbd *sdp = GFS2_SB(&ip->i_inode); in gfs2_quota_lock_check()
|
A D | lops.c | 74 struct gfs2_sbd *sdp = gl->gl_name.ln_sbd; in maybe_release_space() 136 void gfs2_log_incr_head(struct gfs2_sbd *sdp) in gfs2_log_incr_head() 204 struct gfs2_sbd *sdp = bio->bi_private; in gfs2_end_log_write() 245 struct gfs2_sbd *sdp = bio->bi_private; in gfs2_log_submit_bio() 429 struct gfs2_sbd *sdp = GFS2_SB(jd->jd_inode); in gfs2_jhead_pg_srch() 516 struct gfs2_sbd *sdp = GFS2_SB(jd->jd_inode); in gfs2_find_jhead() 772 struct gfs2_sbd *sdp = GFS2_SB(jd->jd_inode); in obsolete_rgrp() 795 struct gfs2_sbd *sdp = GFS2_SB(jd->jd_inode); in buf_lo_scan_elements() 848 struct gfs2_sbd *sdp = GFS2_SB(jd->jd_inode); in buf_lo_after_scan() 902 void gfs2_drain_revokes(struct gfs2_sbd *sdp) in gfs2_drain_revokes() [all …]
|
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);
|
A D | quota.c | 115 struct gfs2_sbd *sdp; in gfs2_qd_dispose() 241 const struct gfs2_sbd *sdp, in gfs2_qd_search_bucket() 320 struct gfs2_sbd *sdp = qd->qd_sbd; in slot_get() 344 struct gfs2_sbd *sdp = qd->qd_sbd; in slot_hold() 354 struct gfs2_sbd *sdp = qd->qd_sbd; in slot_put() 698 struct gfs2_sbd *sdp = GFS2_SB(inode); in gfs2_write_buf_to_page() 822 struct gfs2_sbd *sdp = GFS2_SB(inode); in gfs2_adjust_quota() 1283 struct gfs2_sbd *sdp = sb->s_fs_info; in gfs2_quota_sync() 1543 struct gfs2_sbd *sdp = data; in gfs2_quotad() 1594 struct gfs2_sbd *sdp = sb->s_fs_info; in gfs2_quota_get_state() [all …]
|
A D | super.c | 59 void gfs2_jindex_free(struct gfs2_sbd *sdp) in gfs2_jindex_free() 129 int gfs2_make_fs_rw(struct gfs2_sbd *sdp) in gfs2_make_fs_rw() 268 struct gfs2_sbd *sdp = sb->s_fs_info; in gfs2_statfs_sync() 427 struct gfs2_sbd *sdp = GFS2_SB(inode); in gfs2_write_inode() 470 struct gfs2_sbd *sdp = GFS2_SB(inode); in gfs2_dirty_inode() 566 struct gfs2_sbd *sdp = sb->s_fs_info; in gfs2_put_super() 640 struct gfs2_sbd *sdp = sb->s_fs_info; in gfs2_sync_fs() 653 struct gfs2_sbd *sdp = container_of(work, struct gfs2_sbd, sd_freeze_work); in gfs2_freeze_func() 684 struct gfs2_sbd *sdp = sb->s_fs_info; in gfs2_freeze() 729 struct gfs2_sbd *sdp = sb->s_fs_info; in gfs2_unfreeze() [all …]
|
A D | trans.c | 28 static void gfs2_print_trans(struct gfs2_sbd *sdp, const struct gfs2_trans *tr) in gfs2_print_trans() 40 int __gfs2_trans_begin(struct gfs2_trans *tr, struct gfs2_sbd *sdp, in __gfs2_trans_begin() 109 int gfs2_trans_begin(struct gfs2_sbd *sdp, unsigned int blocks, in gfs2_trans_begin() 124 void gfs2_trans_end(struct gfs2_sbd *sdp) in gfs2_trans_end() 195 struct gfs2_sbd *sdp = gl->gl_name.ln_sbd; in gfs2_trans_add_data() 232 struct gfs2_sbd *sdp = gl->gl_name.ln_sbd; in gfs2_trans_add_meta() 289 void gfs2_trans_add_revoke(struct gfs2_sbd *sdp, struct gfs2_bufdata *bd) in gfs2_trans_add_revoke() 299 void gfs2_trans_remove_revoke(struct gfs2_sbd *sdp, u64 blkno, unsigned int len) in gfs2_trans_remove_revoke() 321 void gfs2_trans_free(struct gfs2_sbd *sdp, struct gfs2_trans *tr) in gfs2_trans_free()
|
A D | lock_dlm.c | 288 struct gfs2_sbd *sdp = gl->gl_name.ln_sbd; in gdlm_put_lock() 557 static int mounted_unlock(struct gfs2_sbd *sdp) in mounted_unlock() 570 static int control_unlock(struct gfs2_sbd *sdp) in control_unlock() 587 static void remote_withdraw(struct gfs2_sbd *sdp) in remote_withdraw() 607 struct gfs2_sbd *sdp = container_of(work, struct gfs2_sbd, sd_control_work.work); in gfs2_control_func() 790 static int control_mount(struct gfs2_sbd *sdp) in control_mount() 1117 struct gfs2_sbd *sdp = arg; in gdlm_recover_prep() 1142 struct gfs2_sbd *sdp = arg; in gdlm_recover_slot() 1172 struct gfs2_sbd *sdp = arg; in gdlm_recover_done() 1348 static void gdlm_first_done(struct gfs2_sbd *sdp) in gdlm_first_done() [all …]
|
A D | ops_fstype.c | 65 void free_sbd(struct gfs2_sbd *sdp) in free_sbd() 74 struct gfs2_sbd *sdp; in init_sbd() 456 struct gfs2_sbd *sdp = sb->s_fs_info; in gfs2_lookup_root() 641 static int init_statfs(struct gfs2_sbd *sdp) in init_statfs() 1075 void gfs2_lm_unmount(struct gfs2_sbd *sdp) in gfs2_lm_unmount() 1091 void gfs2_online_uevent(struct gfs2_sbd *sdp) in gfs2_online_uevent() 1141 struct gfs2_sbd *sdp; in gfs2_fill_super() 1324 struct gfs2_sbd *sdp; in gfs2_get_tree() 1540 struct gfs2_sbd *sdp = sb->s_fs_info; in gfs2_reconfigure() 1674 struct gfs2_sbd *sdp; in gfs2_meta_get_tree() [all …]
|
A D | inode.h | 30 static inline bool gfs2_is_ordered(const struct gfs2_sbd *sdp) in gfs2_is_ordered() 35 static inline bool gfs2_is_writeback(const struct gfs2_sbd *sdp) in gfs2_is_writeback() 94 extern struct inode *gfs2_lookup_by_inum(struct gfs2_sbd *sdp, u64 no_addr, 122 static inline int gfs2_localflocks(const struct gfs2_sbd *sdp) in gfs2_localflocks() 130 static inline int gfs2_localflocks(const struct gfs2_sbd *sdp) in gfs2_localflocks()
|
A D | glops.c | 36 struct gfs2_sbd *sdp = gl->gl_name.ln_sbd; in gfs2_ail_error() 62 struct gfs2_sbd *sdp = gl->gl_name.ln_sbd; in __gfs2_ail_flush() 90 struct gfs2_sbd *sdp = gl->gl_name.ln_sbd; in gfs2_ail_empty_gl() 140 struct gfs2_sbd *sdp = gl->gl_name.ln_sbd; in gfs2_ail_flush() 164 struct gfs2_sbd *sdp = gl->gl_name.ln_sbd; in gfs2_rgrp_metasync() 192 struct gfs2_sbd *sdp = gl->gl_name.ln_sbd; in rgrp_go_sync() 221 struct gfs2_sbd *sdp = gl->gl_name.ln_sbd; in rgrp_go_inval() 387 struct gfs2_sbd *sdp = gl->gl_name.ln_sbd; in inode_go_demote_ok() 492 struct gfs2_sbd *sdp = gl->gl_name.ln_sbd; in inode_go_instantiate() 560 struct gfs2_sbd *sdp = gl->gl_name.ln_sbd; in freeze_go_sync() [all …]
|
A D | meta_io.c | 115 struct gfs2_sbd *sdp = gl->gl_name.ln_sbd; in gfs2_getbuf() 257 struct gfs2_sbd *sdp = gl->gl_name.ln_sbd; in gfs2_meta_read() 317 int gfs2_meta_wait(struct gfs2_sbd *sdp, struct buffer_head *bh) in gfs2_meta_wait() 339 struct gfs2_sbd *sdp = gfs2_mapping2sbd(mapping); in gfs2_remove_from_journal() 382 static void gfs2_ail1_wipe(struct gfs2_sbd *sdp, u64 bstart, u32 blen) in gfs2_ail1_wipe() 408 struct gfs2_sbd *sdp = GFS2_SB(&ip->i_inode); in gfs2_getjdatabuf() 442 struct gfs2_sbd *sdp = GFS2_SB(&ip->i_inode); in gfs2_journal_wipe() 483 struct gfs2_sbd *sdp = GFS2_SB(&ip->i_inode); in gfs2_meta_buffer() 513 struct gfs2_sbd *sdp = gl->gl_name.ln_sbd; in gfs2_meta_ra()
|
A D | aops.c | 93 struct gfs2_sbd *sdp = GFS2_SB(inode); in gfs2_writepage() 155 struct gfs2_sbd *sdp = GFS2_SB(inode); in __gfs2_jdata_writepage() 181 struct gfs2_sbd *sdp = GFS2_SB(inode); in gfs2_jdata_writepage() 206 struct gfs2_sbd *sdp = gfs2_mapping2sbd(mapping); in gfs2_writepages() 240 struct gfs2_sbd *sdp = GFS2_SB(inode); in gfs2_write_jdata_pagevec() 413 struct gfs2_sbd *sdp = GFS2_SB(mapping->host); in gfs2_jdata_writepages() 472 struct gfs2_sbd *sdp = GFS2_SB(inode); in __gfs2_readpage() 575 struct gfs2_sbd *sdp = GFS2_SB(inode); in adjust_fs_space() 650 static void gfs2_discard(struct gfs2_sbd *sdp, struct buffer_head *bh) in gfs2_discard() 678 struct gfs2_sbd *sdp = GFS2_SB(page->mapping->host); in gfs2_invalidatepage() [all …]
|
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) in GFS2_SB() 444 struct gfs2_sbd *qd_sbd; 686 struct gfs2_sbd { struct 861 const struct gfs2_sbd *sdp = gl->gl_name.ln_sbd; in gfs2_sbstats_inc() argument
|
A D | rgrp.c | 109 struct gfs2_sbd *sdp = rbm->rgd->rd_sbd; in gfs2_setbit() 467 struct gfs2_sbd *sdp = rgd->rd_sbd; in gfs2_rgrp_verify() 584 struct gfs2_sbd *sdp = rgd->rd_sbd; in gfs2_rgrpd_get_next() 756 struct gfs2_sbd *sdp = rgd->rd_sbd; in compute_bitstructs() 864 struct gfs2_sbd *sdp = rgd->rd_sbd; in rgd_insert() 1113 struct gfs2_sbd *sdp = rgd->rd_sbd; in gfs2_rgrp_lvb_valid() 1201 struct gfs2_sbd *sdp = rgd->rd_sbd; in gfs2_rgrp_go_instantiate() 1844 struct gfs2_sbd *sdp = rgd->rd_sbd; in try_rgrp_unlink() 1998 struct gfs2_sbd *sdp = rgd->rd_sbd; in gfs2_select_rgrp() 2325 struct gfs2_sbd *sdp = rgd->rd_sbd; in gfs2_rgrp_error() [all …]
|
A D | recovery.c | 120 int __get_log_header(struct gfs2_sbd *sdp, const struct gfs2_log_header *lh, in __get_log_header() 170 struct gfs2_sbd *sdp = GFS2_SB(jd->jd_inode); in get_log_header() 201 struct gfs2_sbd *sdp = GFS2_SB(jd->jd_inode); in foreach_descriptor() 267 struct gfs2_sbd *sdp = GFS2_SB(jd->jd_inode); in clean_journal() 281 static void gfs2_recovery_done(struct gfs2_sbd *sdp, unsigned int jid, in gfs2_recovery_done() 313 struct gfs2_sbd *sdp = GFS2_SB(jd->jd_inode); in update_statfs_inode() 382 struct gfs2_sbd *sdp = GFS2_SB(jd->jd_inode); in recover_local_statfs() 407 struct gfs2_sbd *sdp = GFS2_SB(jd->jd_inode); in gfs2_recover_func()
|