Lines Matching defs:activity
4428 * This ioctl waits for activity of a particular type to complete. If there is
4429 * no activity of that type in progress, it returns immediately, and the
4430 * returned value "waited" is false. If there is activity in progress, and no
4431 * tag is passed in, the ioctl blocks until all activity of that type is
4434 * If a tag is provided, it identifies a particular instance of an activity to
4436 * that is the only activity for which there can be multiple instances running
4458 int32_t activity;
4463 if (nvlist_lookup_int32(innvl, ZPOOL_WAIT_ACTIVITY, &activity) != 0)
4467 error = spa_wait_tag(name, activity, tag, &waited);
4469 error = spa_wait(name, activity, &waited);
4478 * This ioctl waits for activity of a particular type to complete. If there is
4479 * no activity of that type in progress, it returns immediately, and the
4480 * returned value "waited" is false. If there is activity in progress, and no
4481 * tag is passed in, the ioctl blocks until all activity of that type is
4500 int32_t activity;
4507 if (nvlist_lookup_int32(innvl, ZFS_WAIT_ACTIVITY, &activity) != 0)
4510 if (activity >= ZFS_WAIT_NUM_ACTIVITIES || activity < 0)
4538 error = dsl_dir_wait(dd, ds, activity, &waited);
6038 * host may have imported the pool. Check for remote activity.