Lines Matching refs:ip
407 static struct buffer_head *gfs2_getjdatabuf(struct gfs2_inode *ip, u64 blkno) in gfs2_getjdatabuf() argument
409 struct address_space *mapping = ip->i_inode.i_mapping; in gfs2_getjdatabuf()
410 struct gfs2_sbd *sdp = GFS2_SB(&ip->i_inode); in gfs2_getjdatabuf()
442 void gfs2_journal_wipe(struct gfs2_inode *ip, u64 bstart, u32 blen) in gfs2_journal_wipe() argument
444 struct gfs2_sbd *sdp = GFS2_SB(&ip->i_inode); in gfs2_journal_wipe()
448 if (!ip->i_gl) { in gfs2_journal_wipe()
450 BUG_ON(!test_bit(GIF_ALLOC_FAILED, &ip->i_flags)); in gfs2_journal_wipe()
457 bh = gfs2_getbuf(ip->i_gl, bstart, NO_CREATE); in gfs2_journal_wipe()
458 if (!bh && gfs2_is_jdata(ip)) { in gfs2_journal_wipe()
459 bh = gfs2_getjdatabuf(ip, bstart); in gfs2_journal_wipe()
488 int gfs2_meta_buffer(struct gfs2_inode *ip, u32 mtype, u64 num, in gfs2_meta_buffer() argument
491 struct gfs2_sbd *sdp = GFS2_SB(&ip->i_inode); in gfs2_meta_buffer()
492 struct gfs2_glock *gl = ip->i_gl; in gfs2_meta_buffer()
497 if (num == ip->i_no_addr) in gfs2_meta_buffer()
498 rahead = ip->i_rahead; in gfs2_meta_buffer()