Searched refs:eofb (Results 1 - 4 of 4) sorted by relevance

/linux-4.4.14/fs/xfs/
H A Dxfs_icache.c1193 struct xfs_eofblocks *eofb) xfs_inode_match_id()
1195 if ((eofb->eof_flags & XFS_EOF_FLAGS_UID) && xfs_inode_match_id()
1196 !uid_eq(VFS_I(ip)->i_uid, eofb->eof_uid)) xfs_inode_match_id()
1199 if ((eofb->eof_flags & XFS_EOF_FLAGS_GID) && xfs_inode_match_id()
1200 !gid_eq(VFS_I(ip)->i_gid, eofb->eof_gid)) xfs_inode_match_id()
1203 if ((eofb->eof_flags & XFS_EOF_FLAGS_PRID) && xfs_inode_match_id()
1204 xfs_get_projid(ip) != eofb->eof_prid) xfs_inode_match_id()
1217 struct xfs_eofblocks *eofb) xfs_inode_match_id_union()
1219 if ((eofb->eof_flags & XFS_EOF_FLAGS_UID) && xfs_inode_match_id_union()
1220 uid_eq(VFS_I(ip)->i_uid, eofb->eof_uid)) xfs_inode_match_id_union()
1223 if ((eofb->eof_flags & XFS_EOF_FLAGS_GID) && xfs_inode_match_id_union()
1224 gid_eq(VFS_I(ip)->i_gid, eofb->eof_gid)) xfs_inode_match_id_union()
1227 if ((eofb->eof_flags & XFS_EOF_FLAGS_PRID) && xfs_inode_match_id_union()
1228 xfs_get_projid(ip) == eofb->eof_prid) xfs_inode_match_id_union()
1241 struct xfs_eofblocks *eofb = args; xfs_inode_free_eofblocks() local
1245 ASSERT(!eofb || (eofb && eofb->eof_scan_owner != 0)); xfs_inode_free_eofblocks()
1262 if (eofb) { xfs_inode_free_eofblocks()
1263 if (eofb->eof_flags & XFS_EOF_FLAGS_UNION) xfs_inode_free_eofblocks()
1264 match = xfs_inode_match_id_union(ip, eofb); xfs_inode_free_eofblocks()
1266 match = xfs_inode_match_id(ip, eofb); xfs_inode_free_eofblocks()
1271 if (eofb->eof_flags & XFS_EOF_FLAGS_MINFILESIZE && xfs_inode_free_eofblocks()
1272 XFS_ISIZE(ip) < eofb->eof_min_file_size) xfs_inode_free_eofblocks()
1280 if (eofb->eof_scan_owner == ip->i_ino) xfs_inode_free_eofblocks()
1296 struct xfs_eofblocks *eofb) xfs_icache_free_eofblocks()
1300 if (eofb && (eofb->eof_flags & XFS_EOF_FLAGS_SYNC)) xfs_icache_free_eofblocks()
1304 eofb, XFS_ICI_EOFBLOCKS_TAG); xfs_icache_free_eofblocks()
1318 struct xfs_eofblocks eofb = {0}; xfs_inode_free_quota_eofblocks() local
1329 eofb.eof_scan_owner = ip->i_ino; xfs_inode_free_quota_eofblocks()
1330 eofb.eof_flags = XFS_EOF_FLAGS_UNION|XFS_EOF_FLAGS_SYNC; xfs_inode_free_quota_eofblocks()
1335 eofb.eof_uid = VFS_I(ip)->i_uid; xfs_inode_free_quota_eofblocks()
1336 eofb.eof_flags |= XFS_EOF_FLAGS_UID; xfs_inode_free_quota_eofblocks()
1344 eofb.eof_gid = VFS_I(ip)->i_gid; xfs_inode_free_quota_eofblocks()
1345 eofb.eof_flags |= XFS_EOF_FLAGS_GID; xfs_inode_free_quota_eofblocks()
1351 xfs_icache_free_eofblocks(ip->i_mount, &eofb); xfs_inode_free_quota_eofblocks()
1191 xfs_inode_match_id( struct xfs_inode *ip, struct xfs_eofblocks *eofb) xfs_inode_match_id() argument
1215 xfs_inode_match_id_union( struct xfs_inode *ip, struct xfs_eofblocks *eofb) xfs_inode_match_id_union() argument
1294 xfs_icache_free_eofblocks( struct xfs_mount *mp, struct xfs_eofblocks *eofb) xfs_icache_free_eofblocks() argument
H A Dxfs_sysctl.h50 xfs_sysctl_val_t eofb_timer; /* Interval between eofb scan wakeups */
H A Dxfs_ioctl.c1795 struct xfs_fs_eofblocks eofb; xfs_file_ioctl() local
1804 if (copy_from_user(&eofb, arg, sizeof(eofb))) xfs_file_ioctl()
1807 error = xfs_fs_eofblocks_from_user(&eofb, &keofb); xfs_file_ioctl()
H A Dxfs_file.c858 struct xfs_eofblocks eofb = {0}; xfs_file_buffered_aio_write() local
862 eofb.eof_scan_owner = ip->i_ino; /* for locking */ xfs_file_buffered_aio_write()
863 eofb.eof_flags = XFS_EOF_FLAGS_SYNC; xfs_file_buffered_aio_write()
864 xfs_icache_free_eofblocks(ip->i_mount, &eofb); xfs_file_buffered_aio_write()

Completed in 139 milliseconds