Lines Matching refs:eofb
1406 struct xfs_eofblocks *eofb) in xfs_inode_match_id() argument
1408 if ((eofb->eof_flags & XFS_EOF_FLAGS_UID) && in xfs_inode_match_id()
1409 !uid_eq(VFS_I(ip)->i_uid, eofb->eof_uid)) in xfs_inode_match_id()
1412 if ((eofb->eof_flags & XFS_EOF_FLAGS_GID) && in xfs_inode_match_id()
1413 !gid_eq(VFS_I(ip)->i_gid, eofb->eof_gid)) in xfs_inode_match_id()
1416 if ((eofb->eof_flags & XFS_EOF_FLAGS_PRID) && in xfs_inode_match_id()
1417 xfs_get_projid(ip) != eofb->eof_prid) in xfs_inode_match_id()
1430 struct xfs_eofblocks *eofb) in xfs_inode_match_id_union() argument
1432 if ((eofb->eof_flags & XFS_EOF_FLAGS_UID) && in xfs_inode_match_id_union()
1433 uid_eq(VFS_I(ip)->i_uid, eofb->eof_uid)) in xfs_inode_match_id_union()
1436 if ((eofb->eof_flags & XFS_EOF_FLAGS_GID) && in xfs_inode_match_id_union()
1437 gid_eq(VFS_I(ip)->i_gid, eofb->eof_gid)) in xfs_inode_match_id_union()
1440 if ((eofb->eof_flags & XFS_EOF_FLAGS_PRID) && in xfs_inode_match_id_union()
1441 xfs_get_projid(ip) == eofb->eof_prid) in xfs_inode_match_id_union()
1454 struct xfs_eofblocks *eofb = args; in xfs_inode_free_eofblocks() local
1472 if (eofb) { in xfs_inode_free_eofblocks()
1473 if (eofb->eof_flags & XFS_EOF_FLAGS_UNION) in xfs_inode_free_eofblocks()
1474 match = xfs_inode_match_id_union(ip, eofb); in xfs_inode_free_eofblocks()
1476 match = xfs_inode_match_id(ip, eofb); in xfs_inode_free_eofblocks()
1481 if (eofb->eof_flags & XFS_EOF_FLAGS_MINFILESIZE && in xfs_inode_free_eofblocks()
1482 XFS_ISIZE(ip) < eofb->eof_min_file_size) in xfs_inode_free_eofblocks()
1504 struct xfs_eofblocks *eofb, in __xfs_icache_free_eofblocks() argument
1511 if (eofb && (eofb->eof_flags & XFS_EOF_FLAGS_SYNC)) in __xfs_icache_free_eofblocks()
1515 eofb, tag); in __xfs_icache_free_eofblocks()
1521 struct xfs_eofblocks *eofb) in xfs_icache_free_eofblocks() argument
1523 return __xfs_icache_free_eofblocks(mp, eofb, xfs_inode_free_eofblocks, in xfs_icache_free_eofblocks()
1537 struct xfs_eofblocks *eofb)) in __xfs_inode_free_quota_eofblocks() argument
1540 struct xfs_eofblocks eofb = {0}; in __xfs_inode_free_quota_eofblocks() local
1547 eofb.eof_flags = XFS_EOF_FLAGS_UNION|XFS_EOF_FLAGS_SYNC; in __xfs_inode_free_quota_eofblocks()
1552 eofb.eof_uid = VFS_I(ip)->i_uid; in __xfs_inode_free_quota_eofblocks()
1553 eofb.eof_flags |= XFS_EOF_FLAGS_UID; in __xfs_inode_free_quota_eofblocks()
1561 eofb.eof_gid = VFS_I(ip)->i_gid; in __xfs_inode_free_quota_eofblocks()
1562 eofb.eof_flags |= XFS_EOF_FLAGS_GID; in __xfs_inode_free_quota_eofblocks()
1568 execute(ip->i_mount, &eofb); in __xfs_inode_free_quota_eofblocks()
1743 struct xfs_eofblocks *eofb = args; in xfs_inode_free_cowblocks() local
1750 if (eofb) { in xfs_inode_free_cowblocks()
1751 if (eofb->eof_flags & XFS_EOF_FLAGS_UNION) in xfs_inode_free_cowblocks()
1752 match = xfs_inode_match_id_union(ip, eofb); in xfs_inode_free_cowblocks()
1754 match = xfs_inode_match_id(ip, eofb); in xfs_inode_free_cowblocks()
1759 if (eofb->eof_flags & XFS_EOF_FLAGS_MINFILESIZE && in xfs_inode_free_cowblocks()
1760 XFS_ISIZE(ip) < eofb->eof_min_file_size) in xfs_inode_free_cowblocks()
1784 struct xfs_eofblocks *eofb) in xfs_icache_free_cowblocks() argument
1786 return __xfs_icache_free_eofblocks(mp, eofb, xfs_inode_free_cowblocks, in xfs_icache_free_cowblocks()