Lines Matching refs:eofb

1257 	struct xfs_eofblocks	*eofb)  in xfs_inode_match_id()  argument
1259 if ((eofb->eof_flags & XFS_EOF_FLAGS_UID) && in xfs_inode_match_id()
1260 !uid_eq(VFS_I(ip)->i_uid, eofb->eof_uid)) in xfs_inode_match_id()
1263 if ((eofb->eof_flags & XFS_EOF_FLAGS_GID) && in xfs_inode_match_id()
1264 !gid_eq(VFS_I(ip)->i_gid, eofb->eof_gid)) in xfs_inode_match_id()
1267 if ((eofb->eof_flags & XFS_EOF_FLAGS_PRID) && in xfs_inode_match_id()
1268 ip->i_d.di_projid != eofb->eof_prid) in xfs_inode_match_id()
1281 struct xfs_eofblocks *eofb) in xfs_inode_match_id_union() argument
1283 if ((eofb->eof_flags & XFS_EOF_FLAGS_UID) && in xfs_inode_match_id_union()
1284 uid_eq(VFS_I(ip)->i_uid, eofb->eof_uid)) in xfs_inode_match_id_union()
1287 if ((eofb->eof_flags & XFS_EOF_FLAGS_GID) && in xfs_inode_match_id_union()
1288 gid_eq(VFS_I(ip)->i_gid, eofb->eof_gid)) in xfs_inode_match_id_union()
1291 if ((eofb->eof_flags & XFS_EOF_FLAGS_PRID) && in xfs_inode_match_id_union()
1292 ip->i_d.di_projid == eofb->eof_prid) in xfs_inode_match_id_union()
1306 struct xfs_eofblocks *eofb) in xfs_inode_matches_eofb() argument
1310 if (!eofb) in xfs_inode_matches_eofb()
1313 if (eofb->eof_flags & XFS_EOF_FLAGS_UNION) in xfs_inode_matches_eofb()
1314 match = xfs_inode_match_id_union(ip, eofb); in xfs_inode_matches_eofb()
1316 match = xfs_inode_match_id(ip, eofb); in xfs_inode_matches_eofb()
1321 if ((eofb->eof_flags & XFS_EOF_FLAGS_MINFILESIZE) && in xfs_inode_matches_eofb()
1322 XFS_ISIZE(ip) < eofb->eof_min_file_size) in xfs_inode_matches_eofb()
1351 struct xfs_eofblocks *eofb = args; in xfs_inode_free_eofblocks() local
1355 wait = eofb && (eofb->eof_flags & XFS_EOF_FLAGS_SYNC); in xfs_inode_free_eofblocks()
1371 if (!xfs_inode_matches_eofb(ip, eofb)) in xfs_inode_free_eofblocks()
1393 struct xfs_eofblocks *eofb) in xfs_icache_free_eofblocks() argument
1395 return xfs_inode_walk(mp, 0, xfs_inode_free_eofblocks, eofb, in xfs_icache_free_eofblocks()
1409 struct xfs_eofblocks *eofb)) in __xfs_inode_free_quota_eofblocks() argument
1412 struct xfs_eofblocks eofb = {0}; in __xfs_inode_free_quota_eofblocks() local
1419 eofb.eof_flags = XFS_EOF_FLAGS_UNION|XFS_EOF_FLAGS_SYNC; in __xfs_inode_free_quota_eofblocks()
1424 eofb.eof_uid = VFS_I(ip)->i_uid; in __xfs_inode_free_quota_eofblocks()
1425 eofb.eof_flags |= XFS_EOF_FLAGS_UID; in __xfs_inode_free_quota_eofblocks()
1433 eofb.eof_gid = VFS_I(ip)->i_gid; in __xfs_inode_free_quota_eofblocks()
1434 eofb.eof_flags |= XFS_EOF_FLAGS_GID; in __xfs_inode_free_quota_eofblocks()
1440 execute(ip->i_mount, &eofb); in __xfs_inode_free_quota_eofblocks()
1614 struct xfs_eofblocks *eofb = args; in xfs_inode_free_cowblocks() local
1620 if (!xfs_inode_matches_eofb(ip, eofb)) in xfs_inode_free_cowblocks()
1643 struct xfs_eofblocks *eofb) in xfs_icache_free_cowblocks() argument
1645 return xfs_inode_walk(mp, 0, xfs_inode_free_cowblocks, eofb, in xfs_icache_free_cowblocks()