Lines Matching refs:eofb

1258 	struct xfs_eofblocks	*eofb)  in xfs_inode_match_id()  argument
1260 if ((eofb->eof_flags & XFS_EOF_FLAGS_UID) && in xfs_inode_match_id()
1261 !uid_eq(VFS_I(ip)->i_uid, eofb->eof_uid)) in xfs_inode_match_id()
1264 if ((eofb->eof_flags & XFS_EOF_FLAGS_GID) && in xfs_inode_match_id()
1265 !gid_eq(VFS_I(ip)->i_gid, eofb->eof_gid)) in xfs_inode_match_id()
1268 if ((eofb->eof_flags & XFS_EOF_FLAGS_PRID) && in xfs_inode_match_id()
1269 ip->i_d.di_projid != eofb->eof_prid) in xfs_inode_match_id()
1282 struct xfs_eofblocks *eofb) in xfs_inode_match_id_union() argument
1284 if ((eofb->eof_flags & XFS_EOF_FLAGS_UID) && in xfs_inode_match_id_union()
1285 uid_eq(VFS_I(ip)->i_uid, eofb->eof_uid)) in xfs_inode_match_id_union()
1288 if ((eofb->eof_flags & XFS_EOF_FLAGS_GID) && in xfs_inode_match_id_union()
1289 gid_eq(VFS_I(ip)->i_gid, eofb->eof_gid)) in xfs_inode_match_id_union()
1292 if ((eofb->eof_flags & XFS_EOF_FLAGS_PRID) && in xfs_inode_match_id_union()
1293 ip->i_d.di_projid == eofb->eof_prid) in xfs_inode_match_id_union()
1307 struct xfs_eofblocks *eofb) in xfs_inode_matches_eofb() argument
1311 if (!eofb) in xfs_inode_matches_eofb()
1314 if (eofb->eof_flags & XFS_EOF_FLAGS_UNION) in xfs_inode_matches_eofb()
1315 match = xfs_inode_match_id_union(ip, eofb); in xfs_inode_matches_eofb()
1317 match = xfs_inode_match_id(ip, eofb); in xfs_inode_matches_eofb()
1322 if ((eofb->eof_flags & XFS_EOF_FLAGS_MINFILESIZE) && in xfs_inode_matches_eofb()
1323 XFS_ISIZE(ip) < eofb->eof_min_file_size) in xfs_inode_matches_eofb()
1352 struct xfs_eofblocks *eofb = args; in xfs_inode_free_eofblocks() local
1356 wait = eofb && (eofb->eof_flags & XFS_EOF_FLAGS_SYNC); in xfs_inode_free_eofblocks()
1372 if (!xfs_inode_matches_eofb(ip, eofb)) in xfs_inode_free_eofblocks()
1394 struct xfs_eofblocks *eofb) in xfs_icache_free_eofblocks() argument
1396 return xfs_inode_walk(mp, 0, xfs_inode_free_eofblocks, eofb, in xfs_icache_free_eofblocks()
1410 struct xfs_eofblocks *eofb)) in __xfs_inode_free_quota_eofblocks() argument
1413 struct xfs_eofblocks eofb = {0}; in __xfs_inode_free_quota_eofblocks() local
1420 eofb.eof_flags = XFS_EOF_FLAGS_UNION|XFS_EOF_FLAGS_SYNC; in __xfs_inode_free_quota_eofblocks()
1425 eofb.eof_uid = VFS_I(ip)->i_uid; in __xfs_inode_free_quota_eofblocks()
1426 eofb.eof_flags |= XFS_EOF_FLAGS_UID; in __xfs_inode_free_quota_eofblocks()
1434 eofb.eof_gid = VFS_I(ip)->i_gid; in __xfs_inode_free_quota_eofblocks()
1435 eofb.eof_flags |= XFS_EOF_FLAGS_GID; in __xfs_inode_free_quota_eofblocks()
1441 execute(ip->i_mount, &eofb); in __xfs_inode_free_quota_eofblocks()
1615 struct xfs_eofblocks *eofb = args; in xfs_inode_free_cowblocks() local
1621 if (!xfs_inode_matches_eofb(ip, eofb)) in xfs_inode_free_cowblocks()
1644 struct xfs_eofblocks *eofb) in xfs_icache_free_cowblocks() argument
1646 return xfs_inode_walk(mp, 0, xfs_inode_free_cowblocks, eofb, in xfs_icache_free_cowblocks()