Lines Matching refs:eofb
1277 struct xfs_eofblocks *eofb) in xfs_inode_match_id() argument
1279 if ((eofb->eof_flags & XFS_EOF_FLAGS_UID) && in xfs_inode_match_id()
1280 !uid_eq(VFS_I(ip)->i_uid, eofb->eof_uid)) in xfs_inode_match_id()
1283 if ((eofb->eof_flags & XFS_EOF_FLAGS_GID) && in xfs_inode_match_id()
1284 !gid_eq(VFS_I(ip)->i_gid, eofb->eof_gid)) in xfs_inode_match_id()
1287 if ((eofb->eof_flags & XFS_EOF_FLAGS_PRID) && in xfs_inode_match_id()
1288 xfs_get_projid(ip) != eofb->eof_prid) in xfs_inode_match_id()
1301 struct xfs_eofblocks *eofb) in xfs_inode_match_id_union() argument
1303 if ((eofb->eof_flags & XFS_EOF_FLAGS_UID) && in xfs_inode_match_id_union()
1304 uid_eq(VFS_I(ip)->i_uid, eofb->eof_uid)) in xfs_inode_match_id_union()
1307 if ((eofb->eof_flags & XFS_EOF_FLAGS_GID) && in xfs_inode_match_id_union()
1308 gid_eq(VFS_I(ip)->i_gid, eofb->eof_gid)) in xfs_inode_match_id_union()
1311 if ((eofb->eof_flags & XFS_EOF_FLAGS_PRID) && in xfs_inode_match_id_union()
1312 xfs_get_projid(ip) == eofb->eof_prid) in xfs_inode_match_id_union()
1325 struct xfs_eofblocks *eofb = args; in xfs_inode_free_eofblocks() local
1329 ASSERT(!eofb || (eofb && eofb->eof_scan_owner != 0)); in xfs_inode_free_eofblocks()
1346 if (eofb) { in xfs_inode_free_eofblocks()
1347 if (eofb->eof_flags & XFS_EOF_FLAGS_UNION) in xfs_inode_free_eofblocks()
1348 match = xfs_inode_match_id_union(ip, eofb); in xfs_inode_free_eofblocks()
1350 match = xfs_inode_match_id(ip, eofb); in xfs_inode_free_eofblocks()
1355 if (eofb->eof_flags & XFS_EOF_FLAGS_MINFILESIZE && in xfs_inode_free_eofblocks()
1356 XFS_ISIZE(ip) < eofb->eof_min_file_size) in xfs_inode_free_eofblocks()
1364 if (eofb->eof_scan_owner == ip->i_ino) in xfs_inode_free_eofblocks()
1380 struct xfs_eofblocks *eofb) in xfs_icache_free_eofblocks() argument
1384 if (eofb && (eofb->eof_flags & XFS_EOF_FLAGS_SYNC)) in xfs_icache_free_eofblocks()
1388 eofb, XFS_ICI_EOFBLOCKS_TAG); in xfs_icache_free_eofblocks()
1402 struct xfs_eofblocks eofb = {0}; in xfs_inode_free_quota_eofblocks() local
1413 eofb.eof_scan_owner = ip->i_ino; in xfs_inode_free_quota_eofblocks()
1414 eofb.eof_flags = XFS_EOF_FLAGS_UNION|XFS_EOF_FLAGS_SYNC; in xfs_inode_free_quota_eofblocks()
1419 eofb.eof_uid = VFS_I(ip)->i_uid; in xfs_inode_free_quota_eofblocks()
1420 eofb.eof_flags |= XFS_EOF_FLAGS_UID; in xfs_inode_free_quota_eofblocks()
1428 eofb.eof_gid = VFS_I(ip)->i_gid; in xfs_inode_free_quota_eofblocks()
1429 eofb.eof_flags |= XFS_EOF_FLAGS_GID; in xfs_inode_free_quota_eofblocks()
1435 xfs_icache_free_eofblocks(ip->i_mount, &eofb); in xfs_inode_free_quota_eofblocks()