• Home
  • Raw
  • Download

Lines Matching refs:ip

66 	xfs_inode_t	*ip;  in xfs_dir_ialloc()  local
93 &ialloc_context, &ip); in xfs_dir_ialloc()
104 if (!ialloc_context && !ip) { in xfs_dir_ialloc()
196 okalloc, &ialloc_context, &ip); in xfs_dir_ialloc()
207 ASSERT(!ialloc_context && ip); in xfs_dir_ialloc()
214 *ipp = ip; in xfs_dir_ialloc()
228 xfs_inode_t *ip) in xfs_droplink() argument
232 xfs_trans_ichgtime(tp, ip, XFS_ICHGTIME_CHG); in xfs_droplink()
234 ASSERT (ip->i_d.di_nlink > 0); in xfs_droplink()
235 ip->i_d.di_nlink--; in xfs_droplink()
236 drop_nlink(VFS_I(ip)); in xfs_droplink()
237 xfs_trans_log_inode(tp, ip, XFS_ILOG_CORE); in xfs_droplink()
240 if (ip->i_d.di_nlink == 0) { in xfs_droplink()
247 error = xfs_iunlink(tp, ip); in xfs_droplink()
262 xfs_inode_t *ip) in xfs_bump_ino_vers2() argument
266 ASSERT(xfs_isilocked(ip, XFS_ILOCK_EXCL)); in xfs_bump_ino_vers2()
267 ASSERT(ip->i_d.di_version == 1); in xfs_bump_ino_vers2()
269 ip->i_d.di_version = 2; in xfs_bump_ino_vers2()
270 ip->i_d.di_onlink = 0; in xfs_bump_ino_vers2()
271 memset(&(ip->i_d.di_pad[0]), 0, sizeof(ip->i_d.di_pad)); in xfs_bump_ino_vers2()
292 xfs_inode_t *ip) in xfs_bumplink() argument
294 xfs_trans_ichgtime(tp, ip, XFS_ICHGTIME_CHG); in xfs_bumplink()
296 ASSERT(ip->i_d.di_nlink > 0); in xfs_bumplink()
297 ip->i_d.di_nlink++; in xfs_bumplink()
298 inc_nlink(VFS_I(ip)); in xfs_bumplink()
299 if ((ip->i_d.di_version == 1) && in xfs_bumplink()
300 (ip->i_d.di_nlink > XFS_MAXLINK_1)) { in xfs_bumplink()
309 xfs_bump_ino_vers2(tp, ip); in xfs_bumplink()
312 xfs_trans_log_inode(tp, ip, XFS_ILOG_CORE); in xfs_bumplink()