Home
last modified time | relevance | path

Searched refs:gtask (Results 1 – 6 of 6) sorted by relevance

/NextBSD/sys/kern/
HDsubr_taskqueue.c886 taskqgroup_attach(struct taskqgroup *qgroup, struct grouptask *gtask, in taskqgroup_attach() argument
892 gtask->gt_uniq = uniq; in taskqgroup_attach()
893 gtask->gt_name = name; in taskqgroup_attach()
894 gtask->gt_irq = irq; in taskqgroup_attach()
898 LIST_INSERT_HEAD(&qgroup->tqg_queue[qid].tgc_tasks, gtask, gt_list); in taskqgroup_attach()
899 gtask->gt_taskqueue = qgroup->tqg_queue[qid].tgc_taskq; in taskqgroup_attach()
910 taskqgroup_attach_cpu(struct taskqgroup *qgroup, struct grouptask *gtask, in taskqgroup_attach_cpu() argument
917 gtask->gt_uniq = uniq; in taskqgroup_attach_cpu()
918 gtask->gt_name = name; in taskqgroup_attach_cpu()
919 gtask->gt_irq = irq; in taskqgroup_attach_cpu()
[all …]
/NextBSD/sys/sys/
HDtaskqueue.h211 void taskqgroup_attach(struct taskqgroup *qgroup, struct grouptask *gtask,
213 int taskqgroup_attach_cpu(struct taskqgroup *qgroup, struct grouptask *gtask,
215 void taskqgroup_detach(struct taskqgroup *qgroup, struct grouptask *gtask);
220 #define GROUPTASK_INIT(gtask, priority, func, context) \ argument
221 TASK_INIT(&(gtask)->gt_task, priority, func, context)
223 #define GROUPTASK_ENQUEUE(gtask) \ argument
224 taskqueue_enqueue((gtask)->gt_taskqueue, &(gtask)->gt_task)
/NextBSD/sys/net/
HDiflib.c1086 struct grouptask *gtask = info->ifi_task; in iflib_fast_intr() local
1092 GROUPTASK_ENQUEUE(gtask); in iflib_fast_intr()
3595 struct grouptask *gtask; in iflib_irq_alloc_generic() local
3611 gtask = &ctx->ifc_txqs[qid].ift_task; in iflib_irq_alloc_generic()
3619 gtask = &ctx->ifc_rxqs[qid].ifr_task; in iflib_irq_alloc_generic()
3627 gtask = &ctx->ifc_admin_task; in iflib_irq_alloc_generic()
3635 GROUPTASK_INIT(gtask, 0, fn, q); in iflib_irq_alloc_generic()
3639 info->ifi_task = gtask; in iflib_irq_alloc_generic()
3652 taskqgroup_attach_cpu(tqg, gtask, q, CPU_FFS(&cpus), irq->ii_rid, name); in iflib_irq_alloc_generic()
3654 taskqgroup_attach(tqg, gtask, q, tqrid, name); in iflib_irq_alloc_generic()
[all …]
HDiflib.h250 void iflib_config_gtask_init(if_ctx_t ctx, struct grouptask *gtask,
/NextBSD/sys/dev/isp/
HDisp_freebsd.h249 struct task gtask; member
HDisp_freebsd.c170 TASK_INIT(&fc->gtask, 1, isp_gdt_task, fc); in isp_attach_chan()
3206 taskqueue_enqueue(taskqueue_thread, &fc->gtask); in isp_gdt()