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

Function taskq_init_ent

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

Source from the content-addressed store, hash-verified

749EXPORT_SYMBOL(taskq_empty_ent);
750
751void
752taskq_init_ent(taskq_ent_t *t)
753{
754 spin_lock_init(&t->tqent_lock);
755 init_waitqueue_head(&t->tqent_waitq);
756 timer_setup(&t->tqent_timer, NULL, 0);
757 INIT_LIST_HEAD(&t->tqent_list);
758 t->tqent_id = 0;
759 t->tqent_func = NULL;
760 t->tqent_arg = NULL;
761 t->tqent_flags = 0;
762 t->tqent_taskq = NULL;
763}
764EXPORT_SYMBOL(taskq_init_ent);
765
766/*

Callers 5

spl_cache_growFunction · 0.70
task_allocFunction · 0.70
zvol_requestFunction · 0.50
vdev_queue_initFunction · 0.50
zio_createFunction · 0.50

Calls 2

timer_setupFunction · 0.85
INIT_LIST_HEADFunction · 0.85

Tested by

no test coverage detected