Home
last modified time | relevance | path

Searched refs:pip (Results 1 – 5 of 5) sorted by relevance

/fs/xfs/
Dxfs_filestream.c307 struct xfs_inode *pip = NULL; in xfs_filestream_lookup_ag() local
313 pip = xfs_filestream_get_parent(ip); in xfs_filestream_lookup_ag()
314 if (!pip) in xfs_filestream_lookup_ag()
317 mru = xfs_mru_cache_lookup(mp->m_filestream, pip->i_ino); in xfs_filestream_lookup_ag()
336 startag = XFS_INO_TO_AGNO(mp, pip->i_ino); in xfs_filestream_lookup_ag()
338 if (xfs_filestream_pick_ag(pip, startag, &ag, 0, 0)) in xfs_filestream_lookup_ag()
341 xfs_irele(pip); in xfs_filestream_lookup_ag()
356 struct xfs_inode *ip = ap->ip, *pip; in xfs_filestream_new_ag() local
366 pip = xfs_filestream_get_parent(ip); in xfs_filestream_new_ag()
367 if (!pip) in xfs_filestream_new_ag()
[all …]
Dxfs_inode.c745 xfs_inode_t *pip, in xfs_ialloc() argument
753 struct inode *dir = pip ? VFS_I(pip) : NULL; in xfs_ialloc()
766 error = xfs_dialloc(tp, pip ? pip->i_ino : 0, mode, in xfs_ialloc()
783 if ((pip && ino == pip->i_ino) || !xfs_verify_dir_ino(mp, ino)) { in xfs_ialloc()
855 if (pip && (pip->i_d.di_flags & XFS_DIFLAG_ANY)) { in xfs_ialloc()
859 if (pip->i_d.di_flags & XFS_DIFLAG_RTINHERIT) in xfs_ialloc()
861 if (pip->i_d.di_flags & XFS_DIFLAG_EXTSZINHERIT) { in xfs_ialloc()
863 ip->i_d.di_extsize = pip->i_d.di_extsize; in xfs_ialloc()
865 if (pip->i_d.di_flags & XFS_DIFLAG_PROJINHERIT) in xfs_ialloc()
868 if (pip->i_d.di_flags & XFS_DIFLAG_RTINHERIT) in xfs_ialloc()
[all …]
Dxfs_qm.c1287 struct xfs_inode *pip = mp->m_quotainfo->qi_pquotaip; in xfs_qm_quotacheck() local
1291 ASSERT(uip || gip || pip); in xfs_qm_quotacheck()
1317 if (pip) { in xfs_qm_quotacheck()
1318 error = xfs_qm_reset_dqcounts_buf(mp, pip, XFS_QMOPT_PQUOTA, in xfs_qm_quotacheck()
1499 struct xfs_inode *pip = NULL; in xfs_qm_init_quotainos() local
1529 0, 0, &pip); in xfs_qm_init_quotainos()
1559 if (XFS_IS_PQUOTA_ON(mp) && pip == NULL) { in xfs_qm_init_quotainos()
1560 error = xfs_qm_qino_alloc(mp, &pip, in xfs_qm_init_quotainos()
1568 mp->m_quotainfo->qi_pquotaip = pip; in xfs_qm_init_quotainos()
1577 if (pip) in xfs_qm_init_quotainos()
[all …]
Dxfs_inode.h390 #define XFS_INHERIT_GID(pip) \ argument
391 (((pip)->i_mount->m_flags & XFS_MOUNT_GRPID) || \
392 (VFS_I(pip)->i_mode & S_ISGID))
/fs/jfs/
Djfs_imap.c1322 int diAlloc(struct inode *pip, bool dir, struct inode *ip) in diAlloc() argument
1336 ipimap = JFS_SBI(pip->i_sb)->ipimap; in diAlloc()
1345 agno = dbNextAG(JFS_SBI(pip->i_sb)->ipbmap); in diAlloc()
1360 agno = BLKTOAG(JFS_IP(pip)->agstart, JFS_SBI(pip->i_sb)); in diAlloc()
1361 dn_numag = JFS_SBI(pip->i_sb)->bmap->db_numag; in diAlloc()
1365 if (atomic_read(&JFS_SBI(pip->i_sb)->bmap->db_active[agno])) { in diAlloc()
1371 agno = dbNextAG(JFS_SBI(pip->i_sb)->ipbmap); in diAlloc()
1376 inum = pip->i_ino + 1; in diAlloc()
1381 inum = pip->i_ino; in diAlloc()