Home
last modified time | relevance | path

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

/fs/xfs/
Dxfs_filestream.c321 struct xfs_inode *pip = NULL; in xfs_filestream_lookup_ag() local
327 pip = xfs_filestream_get_parent(ip); in xfs_filestream_lookup_ag()
328 if (!pip) in xfs_filestream_lookup_ag()
331 mru = xfs_mru_cache_lookup(mp->m_filestream, pip->i_ino); in xfs_filestream_lookup_ag()
350 startag = XFS_INO_TO_AGNO(mp, pip->i_ino); in xfs_filestream_lookup_ag()
352 if (xfs_filestream_pick_ag(pip, startag, &ag, 0, 0)) in xfs_filestream_lookup_ag()
355 IRELE(pip); in xfs_filestream_lookup_ag()
370 struct xfs_inode *ip = ap->ip, *pip; in xfs_filestream_new_ag() local
380 pip = xfs_filestream_get_parent(ip); in xfs_filestream_new_ag()
381 if (!pip) in xfs_filestream_new_ag()
[all …]
Dxfs_inode.c767 xfs_inode_t *pip, in xfs_ialloc() argument
788 error = xfs_dialloc(tp, pip ? pip->i_ino : 0, mode, okalloc, in xfs_ialloc()
824 if (pip && XFS_INHERIT_GID(pip)) { in xfs_ialloc()
825 ip->i_d.di_gid = pip->i_d.di_gid; in xfs_ialloc()
826 if ((VFS_I(pip)->i_mode & S_ISGID) && S_ISDIR(mode)) in xfs_ialloc()
876 if (pip && (pip->i_d.di_flags & XFS_DIFLAG_ANY)) { in xfs_ialloc()
880 if (pip->i_d.di_flags & XFS_DIFLAG_RTINHERIT) in xfs_ialloc()
882 if (pip->i_d.di_flags & XFS_DIFLAG_EXTSZINHERIT) { in xfs_ialloc()
884 ip->i_d.di_extsize = pip->i_d.di_extsize; in xfs_ialloc()
886 if (pip->i_d.di_flags & XFS_DIFLAG_PROJINHERIT) in xfs_ialloc()
[all …]
Dxfs_qm.c1292 struct xfs_inode *pip = mp->m_quotainfo->qi_pquotaip; in xfs_qm_quotacheck() local
1299 ASSERT(uip || gip || pip); in xfs_qm_quotacheck()
1325 if (pip) { in xfs_qm_quotacheck()
1326 error = xfs_qm_dqiterate(mp, pip, XFS_QMOPT_PQUOTA, in xfs_qm_quotacheck()
1515 struct xfs_inode *pip = NULL; in xfs_qm_init_quotainos() local
1545 0, 0, &pip); in xfs_qm_init_quotainos()
1575 if (XFS_IS_PQUOTA_ON(mp) && pip == NULL) { in xfs_qm_init_quotainos()
1576 error = xfs_qm_qino_alloc(mp, &pip, in xfs_qm_init_quotainos()
1584 mp->m_quotainfo->qi_pquotaip = pip; in xfs_qm_init_quotainos()
1593 if (pip) in xfs_qm_init_quotainos()
[all …]
Dxfs_inode.h385 #define XFS_INHERIT_GID(pip) \ argument
386 (((pip)->i_mount->m_flags & XFS_MOUNT_GRPID) || \
387 (VFS_I(pip)->i_mode & S_ISGID))
/fs/jfs/
Djfs_imap.c1340 int diAlloc(struct inode *pip, bool dir, struct inode *ip) in diAlloc() argument
1354 ipimap = JFS_SBI(pip->i_sb)->ipimap; in diAlloc()
1363 agno = dbNextAG(JFS_SBI(pip->i_sb)->ipbmap); in diAlloc()
1378 agno = BLKTOAG(JFS_IP(pip)->agstart, JFS_SBI(pip->i_sb)); in diAlloc()
1380 if (atomic_read(&JFS_SBI(pip->i_sb)->bmap->db_active[agno])) { in diAlloc()
1386 agno = dbNextAG(JFS_SBI(pip->i_sb)->ipbmap); in diAlloc()
1391 inum = pip->i_ino + 1; in diAlloc()
1396 inum = pip->i_ino; in diAlloc()