Lines Matching refs:ip
135 struct gfs2_inode *ip = gl->gl_object;
139 if (ip && !S_ISREG(ip->i_inode.i_mode))
140 ip = NULL;
141 if (ip && test_and_clear_bit(GIF_SW_PAGED, &ip->i_flags))
142 unmap_shared_mapping_range(ip->i_inode.i_mapping, 0, 0);
150 if (ip) {
151 struct address_space *mapping = ip->i_inode.i_mapping;
180 struct gfs2_inode *ip = gl->gl_object;
187 if (ip) {
188 set_bit(GIF_INVALID, &ip->i_flags);
189 forget_all_cached_acls(&ip->i_inode);
193 if (ip == GFS2_I(gl->gl_sbd->sd_rindex))
195 if (ip && S_ISREG(ip->i_inode.i_mode))
196 truncate_inode_pages(ip->i_inode.i_mapping, 0);
226 struct gfs2_inode *ip = gl->gl_object;
229 if (!ip || (gh->gh_flags & GL_SKIP))
232 if (test_bit(GIF_INVALID, &ip->i_flags)) {
233 error = gfs2_inode_refresh(ip);
238 if ((ip->i_diskflags & GFS2_DIF_TRUNC_IN_PROG) &&
242 if (list_empty(&ip->i_trunc_list))
243 list_add(&sdp->sd_trunc_list, &ip->i_trunc_list);
255 * @ip: the inode
262 const struct gfs2_inode *ip = gl->gl_object;
263 if (ip == NULL)
266 (unsigned long long)ip->i_no_formal_ino,
267 (unsigned long long)ip->i_no_addr,
268 IF2DT(ip->i_inode.i_mode), ip->i_flags,
269 (unsigned int)ip->i_diskflags,
270 (unsigned long long)ip->i_inode.i_size,
271 (unsigned long long)ip->i_disksize);
344 struct gfs2_inode *ip = GFS2_I(sdp->sd_jdesc->jd_inode);
345 struct gfs2_glock *j_gl = ip->i_gl;
387 struct gfs2_inode *ip = (struct gfs2_inode *)gl->gl_object;
390 gl->gl_state == LM_ST_SHARED && ip) {