Lines Matching refs:sdp

117 	struct gfs2_sbd *sdp = gl->gl_name.ln_sbd;  in gfs2_getbuf()  local
125 mapping = &sdp->sd_aspace; in gfs2_getbuf()
127 shift = PAGE_SHIFT - sdp->sd_sb.sb_bsize_shift; in gfs2_getbuf()
139 create_empty_buffers(page, sdp->sd_sb.sb_bsize, 0); in gfs2_getbuf()
157 map_bh(bh, sdp->sd_vfs, blkno); in gfs2_getbuf()
256 struct gfs2_sbd *sdp = gl->gl_name.ln_sbd; in gfs2_meta_read() local
260 if (unlikely(gfs2_withdrawn(sdp)) && !gfs2_withdraw_in_prog(sdp)) { in gfs2_meta_read()
299 gfs2_io_error_bh_wd(sdp, bh); in gfs2_meta_read()
316 int gfs2_meta_wait(struct gfs2_sbd *sdp, struct buffer_head *bh) in gfs2_meta_wait() argument
318 if (unlikely(gfs2_withdrawn(sdp)) && !gfs2_withdraw_in_prog(sdp)) in gfs2_meta_wait()
326 gfs2_io_error_bh_wd(sdp, bh); in gfs2_meta_wait()
329 if (unlikely(gfs2_withdrawn(sdp)) && !gfs2_withdraw_in_prog(sdp)) in gfs2_meta_wait()
338 struct gfs2_sbd *sdp = gfs2_mapping2sbd(mapping); in gfs2_remove_from_journal() local
345 atomic_dec(&sdp->sd_log_pinned); in gfs2_remove_from_journal()
357 gfs2_trans_add_revoke(sdp, bd); in gfs2_remove_from_journal()
381 static void gfs2_ail1_wipe(struct gfs2_sbd *sdp, u64 bstart, u32 blen) in gfs2_ail1_wipe() argument
388 gfs2_log_lock(sdp); in gfs2_ail1_wipe()
389 spin_lock(&sdp->sd_ail_lock); in gfs2_ail1_wipe()
390 list_for_each_entry_safe(tr, s, &sdp->sd_ail1_list, tr_list) { in gfs2_ail1_wipe()
400 spin_unlock(&sdp->sd_ail_lock); in gfs2_ail1_wipe()
401 gfs2_log_unlock(sdp); in gfs2_ail1_wipe()
407 struct gfs2_sbd *sdp = GFS2_SB(&ip->i_inode); in gfs2_getjdatabuf() local
410 unsigned int shift = PAGE_SHIFT - sdp->sd_sb.sb_bsize_shift; in gfs2_getjdatabuf()
441 struct gfs2_sbd *sdp = GFS2_SB(&ip->i_inode); in gfs2_journal_wipe() local
445 gfs2_ail1_wipe(sdp, bstart, blen); in gfs2_journal_wipe()
455 gfs2_log_lock(sdp); in gfs2_journal_wipe()
456 spin_lock(&sdp->sd_ail_lock); in gfs2_journal_wipe()
458 spin_unlock(&sdp->sd_ail_lock); in gfs2_journal_wipe()
459 gfs2_log_unlock(sdp); in gfs2_journal_wipe()
482 struct gfs2_sbd *sdp = GFS2_SB(&ip->i_inode); in gfs2_meta_buffer() local
492 if (ret == 0 && gfs2_metatype_check(sdp, bh, mtype)) { in gfs2_meta_buffer()
512 struct gfs2_sbd *sdp = gl->gl_name.ln_sbd; in gfs2_meta_ra() local
514 u32 max_ra = gfs2_tune_get(sdp, gt_max_readahead) >> in gfs2_meta_ra()
515 sdp->sd_sb.sb_bsize_shift; in gfs2_meta_ra()