Lines Matching refs:eofb

1191 	struct xfs_eofblocks	*eofb)  in xfs_inode_match_id()  argument
1193 if ((eofb->eof_flags & XFS_EOF_FLAGS_UID) && in xfs_inode_match_id()
1194 !uid_eq(VFS_I(ip)->i_uid, eofb->eof_uid)) in xfs_inode_match_id()
1197 if ((eofb->eof_flags & XFS_EOF_FLAGS_GID) && in xfs_inode_match_id()
1198 !gid_eq(VFS_I(ip)->i_gid, eofb->eof_gid)) in xfs_inode_match_id()
1201 if ((eofb->eof_flags & XFS_EOF_FLAGS_PRID) && in xfs_inode_match_id()
1202 xfs_get_projid(ip) != eofb->eof_prid) in xfs_inode_match_id()
1215 struct xfs_eofblocks *eofb) in xfs_inode_match_id_union() argument
1217 if ((eofb->eof_flags & XFS_EOF_FLAGS_UID) && in xfs_inode_match_id_union()
1218 uid_eq(VFS_I(ip)->i_uid, eofb->eof_uid)) in xfs_inode_match_id_union()
1221 if ((eofb->eof_flags & XFS_EOF_FLAGS_GID) && in xfs_inode_match_id_union()
1222 gid_eq(VFS_I(ip)->i_gid, eofb->eof_gid)) in xfs_inode_match_id_union()
1225 if ((eofb->eof_flags & XFS_EOF_FLAGS_PRID) && in xfs_inode_match_id_union()
1226 xfs_get_projid(ip) == eofb->eof_prid) in xfs_inode_match_id_union()
1239 struct xfs_eofblocks *eofb = args; in xfs_inode_free_eofblocks() local
1243 ASSERT(!eofb || (eofb && eofb->eof_scan_owner != 0)); in xfs_inode_free_eofblocks()
1260 if (eofb) { in xfs_inode_free_eofblocks()
1261 if (eofb->eof_flags & XFS_EOF_FLAGS_UNION) in xfs_inode_free_eofblocks()
1262 match = xfs_inode_match_id_union(ip, eofb); in xfs_inode_free_eofblocks()
1264 match = xfs_inode_match_id(ip, eofb); in xfs_inode_free_eofblocks()
1269 if (eofb->eof_flags & XFS_EOF_FLAGS_MINFILESIZE && in xfs_inode_free_eofblocks()
1270 XFS_ISIZE(ip) < eofb->eof_min_file_size) in xfs_inode_free_eofblocks()
1278 if (eofb->eof_scan_owner == ip->i_ino) in xfs_inode_free_eofblocks()
1294 struct xfs_eofblocks *eofb) in xfs_icache_free_eofblocks() argument
1298 if (eofb && (eofb->eof_flags & XFS_EOF_FLAGS_SYNC)) in xfs_icache_free_eofblocks()
1302 eofb, XFS_ICI_EOFBLOCKS_TAG); in xfs_icache_free_eofblocks()
1316 struct xfs_eofblocks eofb = {0}; in xfs_inode_free_quota_eofblocks() local
1327 eofb.eof_scan_owner = ip->i_ino; in xfs_inode_free_quota_eofblocks()
1328 eofb.eof_flags = XFS_EOF_FLAGS_UNION|XFS_EOF_FLAGS_SYNC; in xfs_inode_free_quota_eofblocks()
1333 eofb.eof_uid = VFS_I(ip)->i_uid; in xfs_inode_free_quota_eofblocks()
1334 eofb.eof_flags |= XFS_EOF_FLAGS_UID; in xfs_inode_free_quota_eofblocks()
1342 eofb.eof_gid = VFS_I(ip)->i_gid; in xfs_inode_free_quota_eofblocks()
1343 eofb.eof_flags |= XFS_EOF_FLAGS_GID; in xfs_inode_free_quota_eofblocks()
1349 xfs_icache_free_eofblocks(ip->i_mount, &eofb); in xfs_inode_free_quota_eofblocks()