Lines Matching refs:eofb

1193 	struct xfs_eofblocks	*eofb)  in xfs_inode_match_id()  argument
1195 if ((eofb->eof_flags & XFS_EOF_FLAGS_UID) && in xfs_inode_match_id()
1196 !uid_eq(VFS_I(ip)->i_uid, eofb->eof_uid)) in xfs_inode_match_id()
1199 if ((eofb->eof_flags & XFS_EOF_FLAGS_GID) && in xfs_inode_match_id()
1200 !gid_eq(VFS_I(ip)->i_gid, eofb->eof_gid)) in xfs_inode_match_id()
1203 if ((eofb->eof_flags & XFS_EOF_FLAGS_PRID) && in xfs_inode_match_id()
1204 xfs_get_projid(ip) != eofb->eof_prid) in xfs_inode_match_id()
1217 struct xfs_eofblocks *eofb) in xfs_inode_match_id_union() argument
1219 if ((eofb->eof_flags & XFS_EOF_FLAGS_UID) && in xfs_inode_match_id_union()
1220 uid_eq(VFS_I(ip)->i_uid, eofb->eof_uid)) in xfs_inode_match_id_union()
1223 if ((eofb->eof_flags & XFS_EOF_FLAGS_GID) && in xfs_inode_match_id_union()
1224 gid_eq(VFS_I(ip)->i_gid, eofb->eof_gid)) in xfs_inode_match_id_union()
1227 if ((eofb->eof_flags & XFS_EOF_FLAGS_PRID) && in xfs_inode_match_id_union()
1228 xfs_get_projid(ip) == eofb->eof_prid) in xfs_inode_match_id_union()
1241 struct xfs_eofblocks *eofb = args; in xfs_inode_free_eofblocks() local
1245 ASSERT(!eofb || (eofb && eofb->eof_scan_owner != 0)); in xfs_inode_free_eofblocks()
1262 if (eofb) { in xfs_inode_free_eofblocks()
1263 if (eofb->eof_flags & XFS_EOF_FLAGS_UNION) in xfs_inode_free_eofblocks()
1264 match = xfs_inode_match_id_union(ip, eofb); in xfs_inode_free_eofblocks()
1266 match = xfs_inode_match_id(ip, eofb); in xfs_inode_free_eofblocks()
1271 if (eofb->eof_flags & XFS_EOF_FLAGS_MINFILESIZE && in xfs_inode_free_eofblocks()
1272 XFS_ISIZE(ip) < eofb->eof_min_file_size) in xfs_inode_free_eofblocks()
1280 if (eofb->eof_scan_owner == ip->i_ino) in xfs_inode_free_eofblocks()
1296 struct xfs_eofblocks *eofb) in xfs_icache_free_eofblocks() argument
1300 if (eofb && (eofb->eof_flags & XFS_EOF_FLAGS_SYNC)) in xfs_icache_free_eofblocks()
1304 eofb, XFS_ICI_EOFBLOCKS_TAG); in xfs_icache_free_eofblocks()
1318 struct xfs_eofblocks eofb = {0}; in xfs_inode_free_quota_eofblocks() local
1329 eofb.eof_scan_owner = ip->i_ino; in xfs_inode_free_quota_eofblocks()
1330 eofb.eof_flags = XFS_EOF_FLAGS_UNION|XFS_EOF_FLAGS_SYNC; in xfs_inode_free_quota_eofblocks()
1335 eofb.eof_uid = VFS_I(ip)->i_uid; in xfs_inode_free_quota_eofblocks()
1336 eofb.eof_flags |= XFS_EOF_FLAGS_UID; in xfs_inode_free_quota_eofblocks()
1344 eofb.eof_gid = VFS_I(ip)->i_gid; in xfs_inode_free_quota_eofblocks()
1345 eofb.eof_flags |= XFS_EOF_FLAGS_GID; in xfs_inode_free_quota_eofblocks()
1351 xfs_icache_free_eofblocks(ip->i_mount, &eofb); in xfs_inode_free_quota_eofblocks()