Home
last modified time | relevance | path

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

/linux-6.1.9/fs/gfs2/
Dutil.c131 if (test_bit(SDF_NORECOVERY, &sdp->sd_flags) || !sdp->sd_jdesc) in signal_our_withdraw()
135 inode = sdp->sd_jdesc->jd_inode; in signal_our_withdraw()
212 sdp->sd_jdesc->jd_inode = NULL; in signal_our_withdraw()
257 if (gfs2_recover_journal(sdp->sd_jdesc, 1)) in signal_our_withdraw()
281 sdp->sd_jdesc->jd_no_addr, no_formal_ino, in signal_our_withdraw()
288 sdp->sd_jdesc->jd_inode = inode; in signal_our_withdraw()
295 ret = check_journal_clean(sdp, sdp->sd_jdesc, false); in signal_our_withdraw()
Dops_fstype.c687 if (jd->jd_jid == sdp->sd_jdesc->jd_jid) in init_statfs()
767 sdp->sd_jdesc = gfs2_jdesc_find(sdp, 0); in init_journal()
768 atomic_set(&sdp->sd_log_blks_free, sdp->sd_jdesc->jd_blocks); in init_journal()
769 atomic_set(&sdp->sd_log_thresh1, 2*sdp->sd_jdesc->jd_blocks/5); in init_journal()
770 atomic_set(&sdp->sd_log_thresh2, 4*sdp->sd_jdesc->jd_blocks/5); in init_journal()
780 sdp->sd_jdesc = gfs2_jdesc_find(sdp, sdp->sd_lockstruct.ls_jid); in init_journal()
792 ip = GFS2_I(sdp->sd_jdesc->jd_inode); in init_journal()
804 error = gfs2_jdesc_check(sdp->sd_jdesc); in init_journal()
807 sdp->sd_jdesc->jd_jid, error); in init_journal()
810 atomic_set(&sdp->sd_log_blks_free, sdp->sd_jdesc->jd_blocks); in init_journal()
[all …]
Dlog.c432 return atomic_read(&sdp->sd_log_blks_free) == sdp->sd_jdesc->jd_blocks; in gfs2_log_is_empty()
473 sdp->sd_jdesc->jd_blocks); in gfs2_log_release()
626 dist += sdp->sd_jdesc->jd_blocks; in log_distance()
846 lh->lh_header.mh_jid = cpu_to_be32(sdp->sd_jdesc->jd_jid); in gfs2_write_log_header()
918 gfs2_write_log_header(sdp, sdp->sd_jdesc, sdp->sd_log_sequence++, in log_write_header()
1096 gfs2_log_submit_bio(&sdp->sd_jdesc->jd_log_bio, REQ_OP_WRITE); in gfs2_log_flush()
1244 ((sdp->sd_jdesc->jd_blocks - atomic_read(&sdp->sd_log_blks_free)) > in gfs2_log_commit()
1277 unsigned int used_blocks = sdp->sd_jdesc->jd_blocks - atomic_read(&sdp->sd_log_blks_free); in gfs2_ail_flush_reqd()
Dlops.c141 if (++sdp->sd_log_flush_head == sdp->sd_jdesc->jd_blocks) in gfs2_log_incr_head()
212 bio->bi_status, sdp->sd_jdesc->jd_jid); in gfs2_end_log_write()
360 dblock = gfs2_log_bmap(sdp->sd_jdesc, sdp->sd_log_flush_head); in gfs2_log_write_bh()
362 gfs2_log_write(sdp, sdp->sd_jdesc, bh->b_page, bh->b_size, in gfs2_log_write_bh()
382 dblock = gfs2_log_bmap(sdp->sd_jdesc, sdp->sd_log_flush_head); in gfs2_log_write_page()
384 gfs2_log_write(sdp, sdp->sd_jdesc, page, sb->s_blocksize, 0, dblock); in gfs2_log_write_page()
Dlog.h50 if (++value == sdp->sd_jdesc->jd_blocks) { in gfs2_log_pointers_init()
Dsys.c102 (sdp->sd_jdesc ? sdp->sd_jdesc->jd_jid : 0), in status_show()
505 if (!sdp->sd_jdesc) in gfs2_recover_set()
507 if (sdp->sd_jdesc->jd_jid == jid && !sdp->sd_args.ar_spectator) in gfs2_recover_set()
Dtrans.c73 if (gfs2_assert_warn(sdp, tr->tr_reserved <= sdp->sd_jdesc->jd_blocks)) in __gfs2_trans_begin()
280 mh->mh_jid = cpu_to_be32(sdp->sd_jdesc->jd_jid); in gfs2_trans_add_meta()
Dsuper.c70 sdp->sd_jdesc = NULL; in gfs2_jindex_free()
131 struct gfs2_inode *ip = GFS2_I(sdp->sd_jdesc->jd_inode); in gfs2_make_fs_rw()
140 error = gfs2_find_jhead(sdp->sd_jdesc, &head, false); in gfs2_make_fs_rw()
1121 sdp->sd_jdesc->jd_blocks); in gfs2_dinode_dealloc()
1330 ret = gfs2_trans_begin(sdp, 0, sdp->sd_jdesc->jd_blocks); in evict_linked_inode()
1452 if (lsi->si_jid == sdp->sd_jdesc->jd_jid) in free_local_statfs_inodes()
Dglops.c600 struct gfs2_inode *ip = GFS2_I(sdp->sd_jdesc->jd_inode); in freeze_go_xmote_bh()
608 error = gfs2_find_jhead(sdp->sd_jdesc, &head, false); in freeze_go_xmote_bh()
Dincore.h764 struct gfs2_jdesc *sd_jdesc; member
Dglock.c164 if (!sdp->sd_jdesc || in glock_blocked_by_withdraw()
165 gl->gl_name.ln_number == sdp->sd_jdesc->jd_no_addr) in glock_blocked_by_withdraw()