Lines Matching refs:fsx

102 	zfsxattr_t fsx;  in zfs_project_load_projid()  local
112 ret = ioctl(fd, ZFS_IOC_FSGETXATTR, &fsx); in zfs_project_load_projid()
118 zpc->zpc_expected_projid = fsx.fsx_projid; in zfs_project_load_projid()
127 zfsxattr_t fsx; in zfs_project_handle_one() local
140 ret = ioctl(fd, ZFS_IOC_FSGETXATTR, &fsx); in zfs_project_handle_one()
150 (void) printf("%5u %c %s\n", fsx.fsx_projid, in zfs_project_handle_one()
151 (fsx.fsx_xflags & ZFS_PROJINHERIT_FL) ? 'P' : '-', name); in zfs_project_handle_one()
154 if (fsx.fsx_projid == zpc->zpc_expected_projid && in zfs_project_handle_one()
155 fsx.fsx_xflags & ZFS_PROJINHERIT_FL) in zfs_project_handle_one()
165 if (fsx.fsx_projid != zpc->zpc_expected_projid) in zfs_project_handle_one()
167 "(%u/%u)\n", name, fsx.fsx_projid, in zfs_project_handle_one()
170 if (!(fsx.fsx_xflags & ZFS_PROJINHERIT_FL)) in zfs_project_handle_one()
176 if (!(fsx.fsx_xflags & ZFS_PROJINHERIT_FL) && in zfs_project_handle_one()
178 fsx.fsx_projid == ZFS_DEFAULT_PROJID)) in zfs_project_handle_one()
181 fsx.fsx_xflags &= ~ZFS_PROJINHERIT_FL; in zfs_project_handle_one()
183 fsx.fsx_projid = ZFS_DEFAULT_PROJID; in zfs_project_handle_one()
186 if (fsx.fsx_projid == zpc->zpc_expected_projid && in zfs_project_handle_one()
187 (!zpc->zpc_set_flag || fsx.fsx_xflags & ZFS_PROJINHERIT_FL)) in zfs_project_handle_one()
190 fsx.fsx_projid = zpc->zpc_expected_projid; in zfs_project_handle_one()
192 fsx.fsx_xflags |= ZFS_PROJINHERIT_FL; in zfs_project_handle_one()
199 ret = ioctl(fd, ZFS_IOC_FSSETXATTR, &fsx); in zfs_project_handle_one()