gfs2_sbd
struct gfs2_sbd *sdp = GFS2_SB(mapping->host);
struct gfs2_sbd *sdp = gfs2_mapping2sbd(mapping);
struct gfs2_sbd *sdp = GFS2_SB(inode);
struct gfs2_sbd *sdp = GFS2_SB(mapping->host);
struct gfs2_sbd *sdp = GFS2_SB(inode);
struct gfs2_sbd *sdp = GFS2_SB(inode);
static void gfs2_discard(struct gfs2_sbd *sdp, struct buffer_head *bh)
struct gfs2_sbd *sdp = GFS2_SB(folio->mapping->host);
struct gfs2_sbd *sdp = gfs2_mapping2sbd(mapping);
struct gfs2_sbd *sdp = GFS2_SB(inode);
struct gfs2_sbd *sdp = GFS2_SB(inode);
struct gfs2_sbd *sdp = GFS2_SB(inode);
struct gfs2_sbd *sdp = GFS2_SB(inode);
struct gfs2_sbd *sdp = GFS2_SB(&ip->i_inode);
static bool find_nonnull_ptr(struct gfs2_sbd *sdp, struct metapath *mp,
static inline bool walk_done(struct gfs2_sbd *sdp,
struct gfs2_sbd *sdp = GFS2_SB(&ip->i_inode);
struct gfs2_sbd *sdp = GFS2_SB(&ip->i_inode);
struct gfs2_sbd *sdp = GFS2_SB(inode);
int gfs2_map_journal_extents(struct gfs2_sbd *sdp, struct gfs2_jdesc *jd)
static void find_metapath(const struct gfs2_sbd *sdp, u64 block,
struct gfs2_sbd *sdp = GFS2_SB(&ip->i_inode);
struct gfs2_sbd *sdp = GFS2_SB(inode);
struct gfs2_sbd *sdp = GFS2_SB(inode);
static sector_t metapath_to_block(struct gfs2_sbd *sdp, struct metapath *mp)
struct gfs2_sbd *sdp = GFS2_SB(inode);
struct gfs2_sbd *sdp = GFS2_SB(inode);
struct gfs2_sbd *sdp = GFS2_SB(inode);
struct gfs2_sbd *sdp = GFS2_SB(inode);
struct gfs2_sbd *sdp = GFS2_SB(inode);
struct gfs2_sbd *sdp = GFS2_SB(inode);
const struct gfs2_sbd *sdp = GFS2_SB(&ip->i_inode);
int gfs2_map_journal_extents(struct gfs2_sbd *sdp, struct gfs2_jdesc *jd);
struct gfs2_sbd *sdp = GFS2_SB(dir);
static int gfs2_set_cookies(struct gfs2_sbd *sdp, struct buffer_head *bh,
struct gfs2_sbd *sdp = GFS2_SB(inode);
struct gfs2_sbd *sdp = GFS2_SB(&ip->i_inode);
struct gfs2_sbd *sdp = GFS2_SB(inode);
struct gfs2_sbd *sdp = GFS2_SB(&dip->i_inode);
struct gfs2_sbd *sdp = GFS2_SB(inode);
struct gfs2_sbd *sdp = GFS2_SB(&ip->i_inode);
static int gfs2_check_dirent(struct gfs2_sbd *sdp,
static int gfs2_dirent_offset(struct gfs2_sbd *sdp, const void *buf)
struct gfs2_sbd *sdp = GFS2_SB(inode);
struct gfs2_sbd *sdp = sb->s_fs_info;
struct gfs2_sbd *sdp = GFS2_SB(inode);
const struct gfs2_sbd *sdp = GFS2_SB(&ip->i_inode);
struct gfs2_sbd *sdp = GFS2_SB(inode);
struct gfs2_sbd *sdp = GFS2_SB(inode);
struct gfs2_sbd *sdp = GFS2_SB(file->f_mapping->host);
struct gfs2_sbd *sdp = GFS2_SB(inode);
struct gfs2_sbd *sdp = GFS2_SB(inode);
struct gfs2_sbd *sdp = GFS2_SB(inode);
struct gfs2_sbd *sdp = GFS2_SB(inode);
int gfs2_glock_get(struct gfs2_sbd *sdp, u64 number,
struct gfs2_sbd *sdp = glock_sbd(ghs[0].gh_gl);
struct gfs2_sbd *sdp = glock_sbd(gl);
struct gfs2_sbd *sdp = glock_sbd(gl);
struct gfs2_sbd *sdp = glock_sbd(gl);
struct gfs2_sbd *sdp = glock_sbd(gl);
static void gfs2_free_dead_glocks(struct gfs2_sbd *sdp)
int gfs2_glock_nq_num(struct gfs2_sbd *sdp, u64 number,
struct gfs2_sbd *sdp = glock_sbd(gl);
static void glock_hash_walk(glock_examiner examiner, const struct gfs2_sbd *sdp)
struct gfs2_sbd *sdp = glock_sbd(gl);
void gfs2_flush_delete_work(struct gfs2_sbd *sdp)
void gfs2_glock_thaw(struct gfs2_sbd *sdp)
void gfs2_withdraw_glocks(struct gfs2_sbd *sdp)
void gfs2_gl_hash_clear(struct gfs2_sbd *sdp)
struct gfs2_sbd *sdp = glock_sbd(gl);
struct gfs2_sbd *sdp = glock_sbd(gl);
struct gfs2_sbd *sdp = glock_sbd(gl);
struct gfs2_sbd *sdp = seq->private;
struct gfs2_sbd *sdp = inode->i_private;
void gfs2_create_debugfs_file(struct gfs2_sbd *sdp)
void gfs2_delete_debugfs_file(struct gfs2_sbd *sdp)
struct gfs2_sbd *sdp = glock_sbd(gh->gh_gl);
struct gfs2_sbd *sdp = glock_sbd(gl);
struct gfs2_sbd *sdp = glock_sbd(gl);
struct gfs2_sbd *sdp; /* incore superblock */
struct gfs2_sbd *sdp = glock_sbd(gl);
struct gfs2_sbd *sdp = glock_sbd(gl);
struct gfs2_sbd *sdp = glock_sbd(gl);
struct gfs2_sbd *sdp = glock_sbd(gl);
int (*lm_mount) (struct gfs2_sbd *sdp, const char *table);
void (*lm_first_done) (struct gfs2_sbd *sdp);
void (*lm_recovery_result) (struct gfs2_sbd *sdp, unsigned int jid,
void (*lm_unmount) (struct gfs2_sbd *sdp, bool clean);
void (*lm_withdraw) (struct gfs2_sbd *sdp);
int gfs2_glock_get(struct gfs2_sbd *sdp, u64 number,
int gfs2_glock_nq_num(struct gfs2_sbd *sdp, u64 number,
void gfs2_flush_delete_work(struct gfs2_sbd *sdp);
void gfs2_gl_hash_clear(struct gfs2_sbd *sdp);
void gfs2_withdraw_glocks(struct gfs2_sbd *sdp);
void gfs2_glock_thaw(struct gfs2_sbd *sdp);
void gfs2_create_debugfs_file(struct gfs2_sbd *sdp);
void gfs2_delete_debugfs_file(struct gfs2_sbd *sdp);
struct gfs2_sbd *sdp = glock_sbd(gl);
struct gfs2_sbd *sdp = glock_sbd(gl);
struct gfs2_sbd *sdp = glock_sbd(gl);
struct gfs2_sbd *sdp = glock_sbd(gl);
struct gfs2_sbd *sdp = glock_sbd(gl);
struct gfs2_sbd *sdp = GFS2_SB(&ip->i_inode);
struct gfs2_sbd *sdp = glock_sbd(gl);
struct gfs2_sbd *sdp = glock_sbd(gl);
struct gfs2_sbd *sdp = glock_sbd(gl);
struct gfs2_sbd *sdp = glock_sbd(gl);
struct gfs2_sbd *sdp = glock_sbd(gl);
struct gfs2_sbd *rd_sbd;
struct gfs2_sbd *ln_sbd;
struct gfs2_sbd;
static inline struct gfs2_sbd *GFS2_SB(const struct inode *inode)
struct gfs2_sbd *qd_sbd;
void (*lo_before_commit) (struct gfs2_sbd *sdp, struct gfs2_trans *tr);
void (*lo_after_commit) (struct gfs2_sbd *sdp, struct gfs2_trans *tr);
static inline struct address_space *gfs2_aspace(struct gfs2_sbd *sdp)
const struct gfs2_sbd *sdp = glock_sbd(gl);
struct gfs2_sbd *sdp = GFS2_SB(dir);
struct gfs2_sbd *sdp = GFS2_SB(dir);
struct gfs2_sbd *sdp = GFS2_SB(inode);
struct gfs2_sbd *sdp = GFS2_SB(odir);
struct gfs2_sbd *sdp = GFS2_SB(odir);
struct gfs2_sbd *sdp = GFS2_SB(inode);
struct inode *gfs2_lookup_by_inum(struct gfs2_sbd *sdp, u64 no_addr,
struct gfs2_sbd *sdp = GFS2_SB(&ip->i_inode);
struct gfs2_sbd *sdp = GFS2_SB(&ip->i_inode);
struct gfs2_sbd *sdp = GFS2_SB(inode);
struct gfs2_sbd *sdp = GFS2_SB(&ip->i_inode);
struct gfs2_sbd *sdp = GFS2_SB(&dip->i_inode);
struct gfs2_sbd *sdp = GFS2_SB(&dip->i_inode);
static inline int gfs2_localflocks(const struct gfs2_sbd *sdp)
static inline int gfs2_localflocks(const struct gfs2_sbd *sdp)
static inline bool gfs2_is_ordered(const struct gfs2_sbd *sdp)
static inline bool gfs2_is_writeback(const struct gfs2_sbd *sdp)
struct inode *gfs2_lookup_by_inum(struct gfs2_sbd *sdp, u64 no_addr,
static int control_first_done(struct gfs2_sbd *sdp)
static int set_recover_size(struct gfs2_sbd *sdp, struct dlm_slot *slots,
struct gfs2_sbd *sdp = arg;
struct gfs2_sbd *sdp = arg;
struct gfs2_sbd *sdp = arg;
static void gdlm_recovery_result(struct gfs2_sbd *sdp, unsigned int jid,
static int gdlm_mount(struct gfs2_sbd *sdp, const char *table)
static void gdlm_first_done(struct gfs2_sbd *sdp)
static void gdlm_unmount(struct gfs2_sbd *sdp, bool clean)
static int make_mode(struct gfs2_sbd *sdp, const unsigned int lmstate)
struct gfs2_sbd *sdp = glock_sbd(gl);
static int sync_unlock(struct gfs2_sbd *sdp, struct dlm_lksb *lksb, char *name)
static int sync_lock(struct gfs2_sbd *sdp, int mode, uint32_t flags,
static int mounted_unlock(struct gfs2_sbd *sdp)
static int mounted_lock(struct gfs2_sbd *sdp, int mode, uint32_t flags)
static int control_unlock(struct gfs2_sbd *sdp)
static int control_lock(struct gfs2_sbd *sdp, int mode, uint32_t flags)
struct gfs2_sbd *sdp = container_of(work, struct gfs2_sbd, sd_control_work.work);
static int control_mount(struct gfs2_sbd *sdp)
static void gfs2_trans_drain(struct gfs2_sbd *sdp, struct gfs2_trans *tr)
struct gfs2_sbd *sdp = gfs2_mapping2sbd(mapping);
static void __gfs2_log_flush(struct gfs2_sbd *sdp, struct gfs2_glock *gl,
void gfs2_log_flush(struct gfs2_sbd *sdp, struct gfs2_glock *gl, u32 flags)
static void gfs2_merge_trans(struct gfs2_sbd *sdp, struct gfs2_trans *new)
static void log_refund(struct gfs2_sbd *sdp, struct gfs2_trans *tr)
static inline int gfs2_jrnl_flush_reqd(struct gfs2_sbd *sdp)
static inline int gfs2_ail_flush_reqd(struct gfs2_sbd *sdp)
void gfs2_log_commit(struct gfs2_sbd *sdp, struct gfs2_trans *tr)
static void gfs2_log_shutdown(struct gfs2_sbd *sdp)
struct gfs2_sbd *sdp = data;
static void dump_ail_list(struct gfs2_sbd *sdp)
void gfs2_ail1_flush(struct gfs2_sbd *sdp, struct writeback_control *wbc)
static void gfs2_ail1_start(struct gfs2_sbd *sdp)
static void gfs2_log_update_flush_tail(struct gfs2_sbd *sdp)
static void gfs2_log_update_head(struct gfs2_sbd *sdp)
static void gfs2_ail_empty_tr(struct gfs2_sbd *sdp, struct gfs2_trans *tr,
static int gfs2_ail1_empty_one(struct gfs2_sbd *sdp, struct gfs2_trans *tr,
static bool gfs2_ail1_empty(struct gfs2_sbd *sdp, int max_revokes)
static void gfs2_log_shutdown(struct gfs2_sbd *sdp);
static void gfs2_ail1_wait(struct gfs2_sbd *sdp)
static void __ail2_empty(struct gfs2_sbd *sdp, struct gfs2_trans *tr)
static void ail2_empty(struct gfs2_sbd *sdp, unsigned int new_tail)
bool gfs2_log_is_empty(struct gfs2_sbd *sdp) {
static bool __gfs2_log_try_reserve_revokes(struct gfs2_sbd *sdp, unsigned int revokes)
void gfs2_log_release_revokes(struct gfs2_sbd *sdp, unsigned int revokes)
void gfs2_log_release(struct gfs2_sbd *sdp, unsigned int blks)
static bool __gfs2_log_try_reserve(struct gfs2_sbd *sdp, unsigned int blks,
unsigned int gfs2_struct2blk(struct gfs2_sbd *sdp, unsigned int nstruct)
static void __gfs2_log_reserve(struct gfs2_sbd *sdp, unsigned int blks,
bool gfs2_log_try_reserve(struct gfs2_sbd *sdp, struct gfs2_trans *tr,
void gfs2_log_reserve(struct gfs2_sbd *sdp, struct gfs2_trans *tr,
static inline unsigned int log_distance(struct gfs2_sbd *sdp, unsigned int newer,
static unsigned int calc_reserved(struct gfs2_sbd *sdp)
static void log_pull_tail(struct gfs2_sbd *sdp)
void log_flush_wait(struct gfs2_sbd *sdp)
static void gfs2_ordered_write(struct gfs2_sbd *sdp)
static void gfs2_ordered_wait(struct gfs2_sbd *sdp)
struct gfs2_sbd *sdp = GFS2_SB(&ip->i_inode);
void gfs2_add_revoke(struct gfs2_sbd *sdp, struct gfs2_bufdata *bd)
void gfs2_flush_revokes(struct gfs2_sbd *sdp)
void gfs2_write_log_header(struct gfs2_sbd *sdp, struct gfs2_jdesc *jd,
static void log_write_header(struct gfs2_sbd *sdp, u32 flags)
static int gfs2_ail1_start_one(struct gfs2_sbd *sdp,
void gfs2_ail_drain(struct gfs2_sbd *sdp)
static void empty_ail1_list(struct gfs2_sbd *sdp)
static void gfs2_trans_drain_list(struct gfs2_sbd *sdp, struct list_head *list)
struct gfs2_sbd *sdp = GFS2_SB(&ip->i_inode);
unsigned int gfs2_struct2blk(struct gfs2_sbd *sdp, unsigned int nstruct);
bool gfs2_log_is_empty(struct gfs2_sbd *sdp);
void gfs2_log_release_revokes(struct gfs2_sbd *sdp, unsigned int revokes);
void gfs2_log_release(struct gfs2_sbd *sdp, unsigned int blks);
bool gfs2_log_try_reserve(struct gfs2_sbd *sdp, struct gfs2_trans *tr,
void gfs2_log_reserve(struct gfs2_sbd *sdp, struct gfs2_trans *tr,
void gfs2_write_log_header(struct gfs2_sbd *sdp, struct gfs2_jdesc *jd,
void gfs2_log_flush(struct gfs2_sbd *sdp, struct gfs2_glock *gl,
void gfs2_log_commit(struct gfs2_sbd *sdp, struct gfs2_trans *trans);
void gfs2_ail1_flush(struct gfs2_sbd *sdp, struct writeback_control *wbc);
void log_flush_wait(struct gfs2_sbd *sdp);
void gfs2_add_revoke(struct gfs2_sbd *sdp, struct gfs2_bufdata *bd);
void gfs2_flush_revokes(struct gfs2_sbd *sdp);
void gfs2_ail_drain(struct gfs2_sbd *sdp);
static void gfs2_unpin(struct gfs2_sbd *sdp, struct buffer_head *bh,
struct gfs2_sbd *sdp = GFS2_SB(jd->jd_inode);
static void databuf_lo_after_commit(struct gfs2_sbd *sdp, struct gfs2_trans *tr)
void gfs2_log_incr_head(struct gfs2_sbd *sdp)
static void gfs2_end_log_write_bh(struct gfs2_sbd *sdp, struct folio *folio,
struct gfs2_sbd *sdp = bio->bi_private;
struct gfs2_sbd *sdp = bio->bi_private;
static struct bio *gfs2_log_alloc_bio(struct gfs2_sbd *sdp, u64 blkno,
static struct bio *gfs2_log_get_bio(struct gfs2_sbd *sdp, u64 blkno,
void gfs2_log_write(struct gfs2_sbd *sdp, struct gfs2_jdesc *jd,
static void gfs2_log_write_bh(struct gfs2_sbd *sdp, struct buffer_head *bh)
static void gfs2_log_write_page(struct gfs2_sbd *sdp, struct page *page)
void gfs2_pin(struct gfs2_sbd *sdp, struct buffer_head *bh)
struct gfs2_sbd *sdp = GFS2_SB(jd->jd_inode);
struct gfs2_sbd *sdp = GFS2_SB(jd->jd_inode);
static struct page *gfs2_get_log_desc(struct gfs2_sbd *sdp, u32 ld_type,
static void gfs2_before_commit(struct gfs2_sbd *sdp, unsigned int limit,
static void buf_lo_before_commit(struct gfs2_sbd *sdp, struct gfs2_trans *tr)
static void buf_lo_after_commit(struct gfs2_sbd *sdp, struct gfs2_trans *tr)
struct gfs2_sbd *sdp = glock_sbd(gl);
struct gfs2_sbd *sdp = GFS2_SB(jd->jd_inode);
struct gfs2_sbd *sdp = GFS2_SB(jd->jd_inode);
struct gfs2_sbd *sdp = GFS2_SB(jd->jd_inode);
static void revoke_lo_before_commit(struct gfs2_sbd *sdp, struct gfs2_trans *tr)
void gfs2_drain_revokes(struct gfs2_sbd *sdp)
static void revoke_lo_after_commit(struct gfs2_sbd *sdp, struct gfs2_trans *tr)
struct gfs2_sbd *sdp = GFS2_SB(jd->jd_inode);
struct gfs2_sbd *sdp = GFS2_SB(jd->jd_inode);
static void databuf_lo_before_commit(struct gfs2_sbd *sdp, struct gfs2_trans *tr)
void gfs2_log_incr_head(struct gfs2_sbd *sdp);
void gfs2_log_write(struct gfs2_sbd *sdp, struct gfs2_jdesc *jd,
void gfs2_pin(struct gfs2_sbd *sdp, struct buffer_head *bh);
void gfs2_drain_revokes(struct gfs2_sbd *sdp);
static inline unsigned int buf_limit(struct gfs2_sbd *sdp)
static inline unsigned int databuf_limit(struct gfs2_sbd *sdp)
static inline void lops_before_commit(struct gfs2_sbd *sdp,
static inline void lops_after_commit(struct gfs2_sbd *sdp,
struct gfs2_sbd *sdp = glock_sbd(gl);
struct gfs2_sbd *sdp = glock_sbd(gl);
int gfs2_meta_wait(struct gfs2_sbd *sdp, struct buffer_head *bh)
static void gfs2_ail1_wipe(struct gfs2_sbd *sdp, u64 bstart, u32 blen)
struct gfs2_sbd *sdp = GFS2_SB(&ip->i_inode);
struct gfs2_sbd *sdp = GFS2_SB(&ip->i_inode);
struct gfs2_sbd *sdp = GFS2_SB(&ip->i_inode);
struct gfs2_sbd *sdp = glock_sbd(gl);
static inline struct gfs2_sbd *gfs2_mapping2sbd(struct address_space *mapping)
int gfs2_meta_wait(struct gfs2_sbd *sdp, struct buffer_head *bh);
void gfs2_lm_unmount(struct gfs2_sbd *sdp)
static int wait_on_journal(struct gfs2_sbd *sdp)
void gfs2_online_uevent(struct gfs2_sbd *sdp)
static int init_threads(struct gfs2_sbd *sdp)
void gfs2_destroy_threads(struct gfs2_sbd *sdp)
struct gfs2_sbd *sdp;
struct gfs2_sbd *sdp;
static int gfs2_check_sb(struct gfs2_sbd *sdp, int silent)
struct gfs2_sbd *sdp = sb->s_fs_info;
struct gfs2_sbd *sdp = fc->root->d_sb->s_fs_info;
struct gfs2_sbd *sdp;
struct gfs2_sbd *sdp = sb->s_fs_info;
struct gfs2_sbd *sdp = sb->s_fs_info;
static void gfs2_sb_in(struct gfs2_sbd *sdp, const struct gfs2_sb *str)
static int gfs2_read_super(struct gfs2_sbd *sdp, sector_t sector, int silent)
static int gfs2_read_sb(struct gfs2_sbd *sdp, int silent)
static int init_names(struct gfs2_sbd *sdp, int silent)
static int init_locking(struct gfs2_sbd *sdp, struct gfs2_holder *mount_gh,
struct gfs2_sbd *sdp = sb->s_fs_info;
static int init_sb(struct gfs2_sbd *sdp, int silent)
static void gfs2_others_may_mount(struct gfs2_sbd *sdp)
static int gfs2_jindex_hold(struct gfs2_sbd *sdp, struct gfs2_holder *ji_gh)
static int init_statfs(struct gfs2_sbd *sdp)
void free_sbd(struct gfs2_sbd *sdp)
static void uninit_statfs(struct gfs2_sbd *sdp)
static int init_journal(struct gfs2_sbd *sdp, int undo)
static struct gfs2_sbd *init_sbd(struct super_block *sb)
struct gfs2_sbd *sdp;
sdp = kzalloc_obj(struct gfs2_sbd);
static int init_inodes(struct gfs2_sbd *sdp, int undo)
static int init_per_node(struct gfs2_sbd *sdp, int undo)
static int gfs2_lm_mount(struct gfs2_sbd *sdp, int silent)
static int update_qd(struct gfs2_sbd *sdp, struct gfs2_quota_data *qd)
struct gfs2_sbd *sdp = qd->qd_sbd;
struct gfs2_sbd *sdp = qd->qd_sbd;
struct gfs2_sbd *sdp = GFS2_SB(&ip->i_inode);
struct gfs2_sbd *sdp = qd->qd_sbd;
struct gfs2_sbd *sdp = GFS2_SB(&ip->i_inode);
struct gfs2_sbd *sdp = qd->qd_sbd;
struct gfs2_sbd *sdp = qd->qd_sbd;
struct gfs2_sbd *sdp = GFS2_SB(&ip->i_inode);
struct gfs2_sbd *sdp = GFS2_SB(&ip->i_inode);
struct gfs2_sbd *sdp = sb->s_fs_info;
int gfs2_quota_refresh(struct gfs2_sbd *sdp, struct kqid qid)
int gfs2_quota_init(struct gfs2_sbd *sdp)
void gfs2_quota_cleanup(struct gfs2_sbd *sdp)
static void quotad_error(struct gfs2_sbd *sdp, const char *msg, int error)
void gfs2_wake_up_statfs(struct gfs2_sbd *sdp) {
struct gfs2_sbd *sdp = data;
struct gfs2_sbd *sdp = sb->s_fs_info;
struct gfs2_sbd *sdp = sb->s_fs_info;
struct gfs2_sbd *sdp = sb->s_fs_info;
static struct gfs2_quota_data *qd_alloc(unsigned hash, struct gfs2_sbd *sdp, struct kqid qid)
const struct gfs2_sbd *sdp,
gfs2_qd_search_bucket(unsigned int hash, const struct gfs2_sbd *sdp, struct kqid qid)
static int qd_get(struct gfs2_sbd *sdp, struct kqid qid,
struct gfs2_sbd *sdp = qd->qd_sbd;
struct gfs2_sbd *sdp;
struct gfs2_sbd *sdp = qd->qd_sbd;
struct gfs2_sbd *sdp = qd->qd_sbd;
struct gfs2_sbd *sdp = qd->qd_sbd;
struct gfs2_sbd *sdp = qd->qd_sbd;
struct gfs2_sbd *sdp = qd->qd_sbd;
static bool qd_grab_sync(struct gfs2_sbd *sdp, struct gfs2_quota_data *qd,
static int qdsb_get(struct gfs2_sbd *sdp, struct kqid qid,
struct gfs2_sbd *sdp = GFS2_SB(&ip->i_inode);
struct gfs2_sbd *sdp = GFS2_SB(&ip->i_inode);
struct gfs2_sbd *sdp = GFS2_SB(&ip->i_inode);
struct gfs2_sbd *sdp = qd->qd_sbd;
static int gfs2_write_buf_to_page(struct gfs2_sbd *sdp, unsigned long index,
static int gfs2_write_disk_quota(struct gfs2_sbd *sdp, struct gfs2_quota *qp,
static unsigned int gfs2_qd_hash(const struct gfs2_sbd *sdp,
static int gfs2_adjust_quota(struct gfs2_sbd *sdp, loff_t loc,
h = jhash(&sdp, sizeof(struct gfs2_sbd *), 0);
struct gfs2_sbd *sdp = (*qda)->qd_sbd;
struct gfs2_sbd;
int gfs2_quota_refresh(struct gfs2_sbd *sdp, struct kqid qid);
int gfs2_quota_init(struct gfs2_sbd *sdp);
void gfs2_quota_cleanup(struct gfs2_sbd *sdp);
void gfs2_wake_up_statfs(struct gfs2_sbd *sdp);
struct gfs2_sbd *sdp = GFS2_SB(&ip->i_inode);
int __get_log_header(struct gfs2_sbd *sdp, const struct gfs2_log_header *lh,
struct gfs2_sbd *sdp = GFS2_SB(jd->jd_inode);
struct gfs2_sbd *sdp = GFS2_SB(jd->jd_inode);
struct gfs2_sbd *sdp = GFS2_SB(jd->jd_inode);
static void gfs2_recovery_done(struct gfs2_sbd *sdp, unsigned int jid,
struct gfs2_sbd *sdp = GFS2_SB(jd->jd_inode);
struct gfs2_sbd *sdp = GFS2_SB(jd->jd_inode);
struct gfs2_sbd *sdp = GFS2_SB(jd->jd_inode);
void gfs2_log_pointers_init(struct gfs2_sbd *sdp,
int __get_log_header(struct gfs2_sbd *sdp,
void gfs2_log_pointers_init(struct gfs2_sbd *sdp,
int gfs2_rindex_update(struct gfs2_sbd *sdp)
struct gfs2_sbd *sdp = rbm->rgd->rd_sbd;
struct gfs2_sbd *sdp = rgd->rd_sbd;
struct gfs2_sbd *sdp = rgd->rd_sbd;
int gfs2_rgrp_send_discards(struct gfs2_sbd *sdp, u64 offset,
struct gfs2_sbd *sdp = GFS2_SB(inode);
struct gfs2_sbd *sdp = rgd->rd_sbd;
const struct gfs2_sbd *sdp = glock_sbd(gl);
const struct gfs2_sbd *sdp = GFS2_SB(&ip->i_inode);
struct gfs2_sbd *sdp = rgd->rd_sbd;
struct gfs2_sbd *sdp = GFS2_SB(&ip->i_inode);
static void rgblk_free(struct gfs2_sbd *sdp, struct gfs2_rgrpd *rgd,
struct gfs2_sbd *sdp = rgd->rd_sbd;
struct gfs2_sbd *sdp = GFS2_SB(&ip->i_inode);
struct gfs2_sbd *sdp = GFS2_SB(&ip->i_inode);
struct gfs2_sbd *sdp = GFS2_SB(&ip->i_inode);
struct gfs2_sbd *sdp = GFS2_SB(inode);
struct gfs2_sbd *sdp = rgd->rd_sbd;
int gfs2_check_blk_type(struct gfs2_sbd *sdp, u64 no_addr, unsigned int type)
struct gfs2_sbd *sdp = GFS2_SB(&ip->i_inode);
struct gfs2_sbd *sdp = rgd->rd_sbd;
struct gfs2_rgrpd *gfs2_blk2rgrpd(struct gfs2_sbd *sdp, u64 blk, bool exact)
struct gfs2_rgrpd *gfs2_rgrpd_get_first(struct gfs2_sbd *sdp)
struct gfs2_sbd *sdp = rgd->rd_sbd;
struct gfs2_sbd *sdp = GFS2_SB(&ip->i_inode);
void gfs2_clear_rgrpd(struct gfs2_sbd *sdp)
struct gfs2_sbd *sdp = rgd->rd_sbd;
u64 gfs2_ri_total(struct gfs2_sbd *sdp)
struct gfs2_sbd *sdp = rgd->rd_sbd;
struct gfs2_sbd *sdp = GFS2_SB(&ip->i_inode);
static void set_rgrp_preferences(struct gfs2_sbd *sdp)
struct gfs2_sbd *sdp = GFS2_SB(&ip->i_inode);
struct gfs2_sbd;
struct gfs2_rgrpd *gfs2_blk2rgrpd(struct gfs2_sbd *sdp, u64 blk, bool exact);
struct gfs2_rgrpd *gfs2_rgrpd_get_first(struct gfs2_sbd *sdp);
void gfs2_clear_rgrpd(struct gfs2_sbd *sdp);
int gfs2_rindex_update(struct gfs2_sbd *sdp);
int gfs2_check_blk_type(struct gfs2_sbd *sdp, u64 no_addr,
u64 gfs2_ri_total(struct gfs2_sbd *sdp);
int gfs2_rgrp_send_discards(struct gfs2_sbd *sdp, u64 offset,
struct gfs2_sbd *sdp = GFS2_SB(inode);
struct gfs2_sbd *sdp = root->d_sb->s_fs_info;
struct gfs2_sbd *sdp = GFS2_SB(jd->jd_inode);
struct gfs2_sbd *sdp = GFS2_SB(inode);
struct gfs2_sbd *sdp = sb->s_fs_info;
int gfs2_make_fs_rw(struct gfs2_sbd *sdp)
struct gfs2_sbd *sdp = GFS2_SB(inode);
struct gfs2_sbd *sdp = GFS2_SB(inode);
struct gfs2_sbd *sdp = sb->s_fs_info;
struct gfs2_sbd *sdp = sb->s_fs_info;
void free_local_statfs_inodes(struct gfs2_sbd *sdp)
struct inode *find_local_statfs_inode(struct gfs2_sbd *sdp,
int gfs2_statfs_init(struct gfs2_sbd *sdp)
void gfs2_statfs_change(struct gfs2_sbd *sdp, s64 total, s64 free,
void update_statfs(struct gfs2_sbd *sdp, struct buffer_head *m_bh)
struct gfs2_sbd *sdp = sb->s_fs_info;
static int gfs2_lock_fs_check_clean(struct gfs2_sbd *sdp)
struct gfs2_sbd *sdp = GFS2_SB(inode);
struct gfs2_sbd *sdp = GFS2_SB(inode);
void gfs2_make_fs_ro(struct gfs2_sbd *sdp)
struct gfs2_sbd *sdp = sb->s_fs_info;
void gfs2_jindex_free(struct gfs2_sbd *sdp)
struct gfs2_sbd *sdp = sb->s_fs_info;
static int gfs2_do_thaw(struct gfs2_sbd *sdp, enum freeze_holder who, const void *freeze_owner)
struct gfs2_sbd *sdp = container_of(work, struct gfs2_sbd, sd_freeze_work);
struct gfs2_sbd *sdp = sb->s_fs_info;
struct gfs2_sbd *sdp = sb->s_fs_info;
struct gfs2_sbd *sdp = sb->s_fs_info;
static int gfs2_statfs_slow(struct gfs2_sbd *sdp, struct gfs2_statfs_change_host *sc)
static int gfs2_statfs_i(struct gfs2_sbd *sdp, struct gfs2_statfs_change_host *sc)
struct gfs2_jdesc *gfs2_jdesc_find(struct gfs2_sbd *sdp, unsigned int jid)
struct gfs2_sbd *sdp = sb->s_fs_info;
void gfs2_lm_unmount(struct gfs2_sbd *sdp);
static inline unsigned int gfs2_jindex_size(struct gfs2_sbd *sdp)
void gfs2_jindex_free(struct gfs2_sbd *sdp);
struct gfs2_jdesc *gfs2_jdesc_find(struct gfs2_sbd *sdp, unsigned int jid);
int gfs2_lookup_in_master_dir(struct gfs2_sbd *sdp, char *filename,
int gfs2_make_fs_rw(struct gfs2_sbd *sdp);
void gfs2_make_fs_ro(struct gfs2_sbd *sdp);
void gfs2_online_uevent(struct gfs2_sbd *sdp);
void gfs2_destroy_threads(struct gfs2_sbd *sdp);
int gfs2_statfs_init(struct gfs2_sbd *sdp);
void gfs2_statfs_change(struct gfs2_sbd *sdp, s64 total, s64 free,
void update_statfs(struct gfs2_sbd *sdp, struct buffer_head *m_bh);
void free_local_statfs_inodes(struct gfs2_sbd *sdp);
struct inode *find_local_statfs_inode(struct gfs2_sbd *sdp,
void free_sbd(struct gfs2_sbd *sdp);
static ssize_t fsname_show(struct gfs2_sbd *sdp, char *buf)
static ssize_t uuid_show(struct gfs2_sbd *sdp, char *buf)
static ssize_t freeze_show(struct gfs2_sbd *sdp, char *buf)
static ssize_t freeze_store(struct gfs2_sbd *sdp, const char *buf, size_t len)
static ssize_t withdraw_show(struct gfs2_sbd *sdp, char *buf)
static ssize_t withdraw_store(struct gfs2_sbd *sdp, const char *buf, size_t len)
static ssize_t statfs_sync_store(struct gfs2_sbd *sdp, const char *buf,
static ssize_t quota_sync_store(struct gfs2_sbd *sdp, const char *buf,
static ssize_t quota_refresh_user_store(struct gfs2_sbd *sdp, const char *buf,
static ssize_t quota_refresh_group_store(struct gfs2_sbd *sdp, const char *buf,
static ssize_t demote_rq_store(struct gfs2_sbd *sdp, const char *buf, size_t len)
ssize_t (*show)(struct gfs2_sbd *, char *);
ssize_t (*store)(struct gfs2_sbd *, const char *, size_t);
struct gfs2_sbd *sdp = container_of(kobj, struct gfs2_sbd, sd_kobj);
static ssize_t proto_name_show(struct gfs2_sbd *sdp, char *buf)
struct gfs2_sbd *sdp = container_of(kobj, struct gfs2_sbd, sd_kobj);
static ssize_t block_show(struct gfs2_sbd *sdp, char *buf)
static ssize_t block_store(struct gfs2_sbd *sdp, const char *buf, size_t len)
static ssize_t withdraw_helper_status_store(struct gfs2_sbd *sdp,
static ssize_t lkfirst_show(struct gfs2_sbd *sdp, char *buf)
static ssize_t lkfirst_store(struct gfs2_sbd *sdp, const char *buf, size_t len)
struct gfs2_sbd *sdp = container_of(kobj, struct gfs2_sbd, sd_kobj);
static ssize_t first_done_show(struct gfs2_sbd *sdp, char *buf)
int gfs2_recover_set(struct gfs2_sbd *sdp, unsigned jid)
static ssize_t recover_store(struct gfs2_sbd *sdp, const char *buf, size_t len)
static ssize_t recover_done_show(struct gfs2_sbd *sdp, char *buf)
static ssize_t recover_status_show(struct gfs2_sbd *sdp, char *buf)
static ssize_t jid_show(struct gfs2_sbd *sdp, char *buf)
static ssize_t jid_store(struct gfs2_sbd *sdp, const char *buf, size_t len)
static ssize_t id_show(struct gfs2_sbd *sdp, char *buf)
static ssize_t quota_scale_show(struct gfs2_sbd *sdp, char *buf)
static ssize_t quota_scale_store(struct gfs2_sbd *sdp, const char *buf,
static ssize_t tune_set(struct gfs2_sbd *sdp, unsigned int *field,
static ssize_t status_show(struct gfs2_sbd *sdp, char *buf)
static ssize_t name##_show(struct gfs2_sbd *sdp, char *buf) \
static ssize_t name##_store(struct gfs2_sbd *sdp, const char *buf, size_t len)\
int gfs2_sys_fs_add(struct gfs2_sbd *sdp)
void gfs2_sys_fs_del(struct gfs2_sbd *sdp)
const struct gfs2_sbd *sdp = container_of(kobj, struct gfs2_sbd, sd_kobj);
struct gfs2_sbd;
int gfs2_sys_fs_add(struct gfs2_sbd *sdp);
void gfs2_sys_fs_del(struct gfs2_sbd *sdp);
int gfs2_recover_set(struct gfs2_sbd *sdp, unsigned jid);
TP_PROTO(const struct gfs2_sbd *sdp, int start, u32 flags),
TP_PROTO(const struct gfs2_sbd *sdp, int blocks),
TP_PROTO(const struct gfs2_sbd *sdp, const struct writeback_control *wbc, int start),
int gfs2_trans_begin(struct gfs2_sbd *sdp, unsigned int blocks,
void gfs2_trans_end(struct gfs2_sbd *sdp)
struct gfs2_sbd *sdp = glock_sbd(gl);
struct gfs2_sbd *sdp = glock_sbd(gl);
static void gfs2_print_trans(struct gfs2_sbd *sdp, const struct gfs2_trans *tr)
void gfs2_trans_add_revoke(struct gfs2_sbd *sdp, struct gfs2_bufdata *bd)
void gfs2_trans_remove_revoke(struct gfs2_sbd *sdp, u64 blkno, unsigned int len)
void gfs2_trans_free(struct gfs2_sbd *sdp, struct gfs2_trans *tr)
int __gfs2_trans_begin(struct gfs2_trans *tr, struct gfs2_sbd *sdp,
struct gfs2_sbd;
int __gfs2_trans_begin(struct gfs2_trans *tr, struct gfs2_sbd *sdp,
int gfs2_trans_begin(struct gfs2_sbd *sdp, unsigned int blocks,
void gfs2_trans_end(struct gfs2_sbd *sdp);
void gfs2_trans_add_revoke(struct gfs2_sbd *sdp, struct gfs2_bufdata *bd);
void gfs2_trans_remove_revoke(struct gfs2_sbd *sdp, u64 blkno, unsigned int len);
void gfs2_trans_free(struct gfs2_sbd *sdp, struct gfs2_trans *tr);
int gfs2_freeze_lock_shared(struct gfs2_sbd *sdp)
void gfs2_freeze_unlock(struct gfs2_sbd *sdp)
static void do_withdraw(struct gfs2_sbd *sdp)
void gfs2_lm(struct gfs2_sbd *sdp, const char *fmt, ...)
static bool gfs2_offline_uevent(struct gfs2_sbd *sdp)
struct gfs2_sbd *sdp = container_of(work, struct gfs2_sbd, sd_withdraw_work);
void gfs2_withdraw(struct gfs2_sbd *sdp)
void gfs2_assert_withdraw_i(struct gfs2_sbd *sdp, char *assertion,
void gfs2_assert_warn_i(struct gfs2_sbd *sdp, char *assertion,
void gfs2_consist_i(struct gfs2_sbd *sdp, const char *function,
struct gfs2_sbd *sdp = GFS2_SB(&ip->i_inode);
struct gfs2_sbd *sdp = rgd->rd_sbd;
void gfs2_meta_check_ii(struct gfs2_sbd *sdp, struct buffer_head *bh,
void gfs2_assert_i(struct gfs2_sbd *sdp)
void gfs2_metatype_check_ii(struct gfs2_sbd *sdp, struct buffer_head *bh,
void gfs2_io_error_i(struct gfs2_sbd *sdp, const char *function, char *file,
void gfs2_io_error_bh_i(struct gfs2_sbd *sdp, struct buffer_head *bh,
int check_journal_clean(struct gfs2_sbd *sdp, struct gfs2_jdesc *jd,
void gfs2_metatype_check_ii(struct gfs2_sbd *sdp, struct buffer_head *bh,
static inline int gfs2_metatype_check_i(struct gfs2_sbd *sdp,
void gfs2_io_error_i(struct gfs2_sbd *sdp, const char *function,
int check_journal_clean(struct gfs2_sbd *sdp, struct gfs2_jdesc *jd,
int gfs2_freeze_lock_shared(struct gfs2_sbd *sdp);
void gfs2_freeze_unlock(struct gfs2_sbd *sdp);
void gfs2_io_error_bh_i(struct gfs2_sbd *sdp, struct buffer_head *bh,
static inline bool gfs2_withdrawn(struct gfs2_sbd *sdp)
void gfs2_lm(struct gfs2_sbd *sdp, const char *fmt, ...);
void gfs2_withdraw(struct gfs2_sbd *sdp);
void gfs2_assert_i(struct gfs2_sbd *sdp);
void gfs2_assert_withdraw_i(struct gfs2_sbd *sdp, char *assertion,
void gfs2_assert_warn_i(struct gfs2_sbd *sdp, char *assertion,
void gfs2_consist_i(struct gfs2_sbd *sdp,
void gfs2_meta_check_ii(struct gfs2_sbd *sdp, struct buffer_head *bh,
static inline int gfs2_meta_check(struct gfs2_sbd *sdp,
struct gfs2_sbd *sdp = GFS2_SB(inode);
struct gfs2_sbd *sdp = GFS2_SB(&ip->i_inode);
struct gfs2_sbd *sdp = GFS2_SB(&ip->i_inode);
struct gfs2_sbd *sdp = GFS2_SB(&ip->i_inode);
struct gfs2_sbd *sdp = GFS2_SB(&ip->i_inode);
static int ea_calc_size(struct gfs2_sbd *sdp, unsigned int nsize, size_t dsize,
struct gfs2_sbd *sdp = GFS2_SB(&ip->i_inode);
static int ea_check_size(struct gfs2_sbd *sdp, unsigned int nsize, size_t dsize)
struct gfs2_sbd *sdp = GFS2_SB(&ip->i_inode);
struct gfs2_sbd *sdp = GFS2_SB(&ip->i_inode);
static bool gfs2_eatype_valid(struct gfs2_sbd *sdp, u8 type)
struct gfs2_sbd *sdp = GFS2_SB(&ip->i_inode);
struct gfs2_sbd *sdp = GFS2_SB(&ip->i_inode);