Lines Matching defs:ip
89 struct gfs2_inode *ip;
92 ip = gl->gl_object;
93 inode = &ip->i_inode;
94 if (!ip || !S_ISREG(inode->i_mode))
97 if (!test_bit(GIF_PAGED, &ip->i_flags))
102 if (test_bit(GIF_SW_PAGED, &ip->i_flags))
105 clear_bit(GIF_SW_PAGED, &ip->i_flags);
153 struct gfs2_inode *ip = gl->gl_object;
155 if (ip && !S_ISREG(ip->i_inode.i_mode))
156 ip = NULL;
160 if (ip)
161 filemap_fdatawrite(ip->i_inode.i_mapping);
163 if (ip) {
164 struct address_space *mapping = ip->i_inode.i_mapping;
234 struct gfs2_inode *ip = gl->gl_object;
239 if (ip)
240 set_bit(GIF_INVALID, &ip->i_flags);
243 if (ip && S_ISREG(ip->i_inode.i_mode)) {
244 truncate_inode_pages(ip->i_inode.i_mapping, 0);
245 clear_bit(GIF_PAGED, &ip->i_flags);
282 struct gfs2_inode *ip = gl->gl_object;
285 if (!ip)
288 if (test_bit(GIF_INVALID, &ip->i_flags)) {
289 error = gfs2_inode_refresh(ip);
294 if ((ip->i_di.di_flags & GFS2_DIF_TRUNC_IN_PROG) &&
297 error = gfs2_truncatei_resume(ip);
313 struct gfs2_inode *ip = gl->gl_object;
315 if (ip)
316 gfs2_meta_cache_flush(ip);
386 struct gfs2_inode *ip = GFS2_I(sdp->sd_jdesc->jd_inode);
387 struct gfs2_glock *j_gl = ip->i_gl;