MCPcopy Create free account
hub / github.com/F-Stack/f-stack / taskq_wait_id

Function taskq_wait_id

freebsd/contrib/openzfs/module/os/linux/spl/spl-taskq.c:434–438  ·  view source on GitHub ↗

* The taskq_wait_id() function blocks until the passed task id completes. * This does not guarantee that all lower task ids have completed. */

Source from the content-addressed store, hash-verified

432 * This does not guarantee that all lower task ids have completed.
433 */
434void
435taskq_wait_id(taskq_t *tq, taskqid_t id)
436{
437 wait_event(tq->tq_wait_waitq, taskq_wait_id_check(tq, id));
438}
439EXPORT_SYMBOL(taskq_wait_id);
440
441static int

Callers 7

taskq_cancel_idFunction · 0.70
zfs_ioc_id_quota_upgradeFunction · 0.50
spa_taskq_dispatch_syncFunction · 0.50
dsl_scan_syncFunction · 0.50
zvol_remove_minorsFunction · 0.50
zvol_rename_minorsFunction · 0.50

Calls 1

taskq_wait_id_checkFunction · 0.85

Tested by

no test coverage detected