Home
last modified time | relevance | path

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

/linux-4.19.296/fs/xfs/
Dxfs_filestream.c310 struct xfs_inode *pip = NULL; in xfs_filestream_lookup_ag() local
316 pip = xfs_filestream_get_parent(ip); in xfs_filestream_lookup_ag()
317 if (!pip) in xfs_filestream_lookup_ag()
320 mru = xfs_mru_cache_lookup(mp->m_filestream, pip->i_ino); in xfs_filestream_lookup_ag()
339 startag = XFS_INO_TO_AGNO(mp, pip->i_ino); in xfs_filestream_lookup_ag()
341 if (xfs_filestream_pick_ag(pip, startag, &ag, 0, 0)) in xfs_filestream_lookup_ag()
344 xfs_irele(pip); in xfs_filestream_lookup_ag()
359 struct xfs_inode *ip = ap->ip, *pip; in xfs_filestream_new_ag() local
369 pip = xfs_filestream_get_parent(ip); in xfs_filestream_new_ag()
370 if (!pip) in xfs_filestream_new_ag()
[all …]
Dxfs_inode.c751 xfs_inode_t *pip, in xfs_ialloc() argument
771 error = xfs_dialloc(tp, pip ? pip->i_ino : 0, mode, in xfs_ialloc()
788 if ((pip && ino == pip->i_ino) || !xfs_verify_dir_ino(mp, ino)) { in xfs_ialloc()
820 if (pip && XFS_INHERIT_GID(pip)) { in xfs_ialloc()
821 ip->i_d.di_gid = pip->i_d.di_gid; in xfs_ialloc()
822 if ((VFS_I(pip)->i_mode & S_ISGID) && S_ISDIR(mode)) in xfs_ialloc()
871 if (pip && (pip->i_d.di_flags & XFS_DIFLAG_ANY)) { in xfs_ialloc()
875 if (pip->i_d.di_flags & XFS_DIFLAG_RTINHERIT) in xfs_ialloc()
877 if (pip->i_d.di_flags & XFS_DIFLAG_EXTSZINHERIT) { in xfs_ialloc()
879 ip->i_d.di_extsize = pip->i_d.di_extsize; in xfs_ialloc()
[all …]
Dxfs_inode.h396 #define XFS_INHERIT_GID(pip) \ argument
397 (((pip)->i_mount->m_flags & XFS_MOUNT_GRPID) || \
398 (VFS_I(pip)->i_mode & S_ISGID))
Dxfs_qm.c1280 struct xfs_inode *pip = mp->m_quotainfo->qi_pquotaip; in xfs_qm_quotacheck() local
1287 ASSERT(uip || gip || pip); in xfs_qm_quotacheck()
1313 if (pip) { in xfs_qm_quotacheck()
1314 error = xfs_qm_reset_dqcounts_buf(mp, pip, XFS_QMOPT_PQUOTA, in xfs_qm_quotacheck()
1503 struct xfs_inode *pip = NULL; in xfs_qm_init_quotainos() local
1533 0, 0, &pip); in xfs_qm_init_quotainos()
1563 if (XFS_IS_PQUOTA_ON(mp) && pip == NULL) { in xfs_qm_init_quotainos()
1564 error = xfs_qm_qino_alloc(mp, &pip, in xfs_qm_init_quotainos()
1572 mp->m_quotainfo->qi_pquotaip = pip; in xfs_qm_init_quotainos()
1581 if (pip) in xfs_qm_init_quotainos()
[all …]
/linux-4.19.296/fs/jfs/
Djfs_imap.c1335 int diAlloc(struct inode *pip, bool dir, struct inode *ip) in diAlloc() argument
1349 ipimap = JFS_SBI(pip->i_sb)->ipimap; in diAlloc()
1358 agno = dbNextAG(JFS_SBI(pip->i_sb)->ipbmap); in diAlloc()
1373 agno = BLKTOAG(JFS_IP(pip)->agstart, JFS_SBI(pip->i_sb)); in diAlloc()
1375 if (atomic_read(&JFS_SBI(pip->i_sb)->bmap->db_active[agno])) { in diAlloc()
1381 agno = dbNextAG(JFS_SBI(pip->i_sb)->ipbmap); in diAlloc()
1386 inum = pip->i_ino + 1; in diAlloc()
1391 inum = pip->i_ino; in diAlloc()