Home
last modified time | relevance | path

Searched refs:sd_jdesc (Results 1 – 11 of 11) sorted by relevance

/fs/gfs2/
Dlog.c329 gfs2_assert_warn(sdp, blks <= sdp->sd_jdesc->jd_blocks)) in gfs2_log_reserve()
366 list_for_each_entry(je, &sdp->sd_jdesc->extent_list, extent_list) { in gfs2_log_bmap()
393 dist += sdp->sd_jdesc->jd_blocks; in log_distance()
474 if (++sdp->sd_log_flush_head == sdp->sd_jdesc->jd_blocks) { in gfs2_log_incr_head()
489 sdp->sd_jdesc->jd_blocks); in log_pull_tail()
606 lh->lh_header.mh_jid = cpu_to_be32(sdp->sd_jdesc->jd_jid); in log_write_header()
732 sdp->sd_jdesc->jd_blocks); in log_refund()
776 ((sdp->sd_jdesc->jd_blocks - atomic_read(&sdp->sd_log_blks_free)) > in gfs2_log_commit()
804 gfs2_assert_warn(sdp, atomic_read(&sdp->sd_log_blks_free) == sdp->sd_jdesc->jd_blocks); in gfs2_log_shutdown()
840 unsigned int used_blocks = sdp->sd_jdesc->jd_blocks - atomic_read(&sdp->sd_log_blks_free); in gfs2_ail_flush_reqd()
Dops_fstype.c523 struct gfs2_jdesc *jd = sdp->sd_jdesc; in map_journal_extents()
679 sdp->sd_jdesc = gfs2_jdesc_find(sdp, 0); in init_journal()
680 atomic_set(&sdp->sd_log_blks_free, sdp->sd_jdesc->jd_blocks); in init_journal()
681 atomic_set(&sdp->sd_log_thresh1, 2*sdp->sd_jdesc->jd_blocks/5); in init_journal()
682 atomic_set(&sdp->sd_log_thresh2, 4*sdp->sd_jdesc->jd_blocks/5); in init_journal()
692 sdp->sd_jdesc = gfs2_jdesc_find(sdp, sdp->sd_lockstruct.ls_jid); in init_journal()
703 ip = GFS2_I(sdp->sd_jdesc->jd_inode); in init_journal()
713 error = gfs2_jdesc_check(sdp->sd_jdesc); in init_journal()
716 sdp->sd_jdesc->jd_jid, error); in init_journal()
719 atomic_set(&sdp->sd_log_blks_free, sdp->sd_jdesc->jd_blocks); in init_journal()
[all …]
Drecovery.h19 if (++*blk == sdp->sd_jdesc->jd_blocks) in gfs2_replay_incr_blk()
Dlog.h45 if (++value == sdp->sd_jdesc->jd_blocks) { in gfs2_log_pointers_init()
Dtrans.c92 sdp->sd_jdesc->jd_blocks); in gfs2_log_release()
Dglops.c482 struct gfs2_inode *ip = GFS2_I(sdp->sd_jdesc->jd_inode); in trans_go_xmote_bh()
490 error = gfs2_find_jhead(sdp->sd_jdesc, &head); in trans_go_xmote_bh()
Dsuper.c371 struct gfs2_inode *ip = GFS2_I(sdp->sd_jdesc->jd_inode); in gfs2_make_fs_rw()
383 error = gfs2_find_jhead(sdp->sd_jdesc, &head); in gfs2_make_fs_rw()
1432 sdp->sd_jdesc->jd_blocks); in gfs2_dinode_dealloc()
1539 error = gfs2_trans_begin(sdp, 0, sdp->sd_jdesc->jd_blocks); in gfs2_evict_inode()
Dincore.h658 struct gfs2_jdesc *sd_jdesc; member
Drecovery.c416 lh->lh_header.mh_jid = cpu_to_be32(sdp->sd_jdesc->jd_jid); in clean_journal()
Dsys.c376 if (sdp->sd_jdesc->jd_jid == jid) in gfs2_recover_set()
Dlops.c275 mh->mh_jid = cpu_to_be32(sdp->sd_jdesc->jd_jid); in buf_lo_add()