Home
last modified time | relevance | path

Searched refs:tqflags (Results 1 – 2 of 2) sorted by relevance

/titanic_44/usr/src/lib/libzpool/common/
H A Dtaskq.c59 task_alloc(taskq_t *tq, int tqflags) in task_alloc() argument
68 if (!(tqflags & KM_SLEEP)) in task_alloc()
90 t = kmem_alloc(sizeof (taskq_ent_t), tqflags); in task_alloc()
117 taskq_dispatch(taskq_t *tq, task_func_t func, void *arg, uint_t tqflags) in taskq_dispatch() argument
128 if ((t = task_alloc(tq, tqflags)) == NULL) { in taskq_dispatch()
132 if (tqflags & TQ_FRONT) { in taskq_dispatch()
/titanic_44/usr/src/lib/libfakekernel/common/
H A Dtaskq.c89 task_alloc(taskq_t *tq, int tqflags) in task_alloc() argument
98 if (!(tqflags & KM_SLEEP)) in task_alloc()
120 t = kmem_alloc(sizeof (taskq_ent_t), tqflags); in task_alloc()
147 taskq_dispatch(taskq_t *tq, task_func_t func, void *arg, uint_t tqflags) in taskq_dispatch() argument
158 if ((t = task_alloc(tq, tqflags)) == NULL) { in taskq_dispatch()
162 if (tqflags & TQ_FRONT) { in taskq_dispatch()