Lines Matching refs:qid

736 	int cpu, qid, error;  in taskqgroup_attach()  local
744 qid = taskqgroup_find(qgroup, uniq); in taskqgroup_attach()
745 qgroup->tqg_queue[qid].tgc_cnt++; in taskqgroup_attach()
746 LIST_INSERT_HEAD(&qgroup->tqg_queue[qid].tgc_tasks, gtask, gt_list); in taskqgroup_attach()
747 gtask->gt_taskqueue = qgroup->tqg_queue[qid].tgc_taskq; in taskqgroup_attach()
749 cpu = qgroup->tqg_queue[qid].tgc_cpu; in taskqgroup_attach()
763 int qid, cpu, error; in taskqgroup_attach_deferred() local
766 qid = taskqgroup_find(qgroup, gtask->gt_uniq); in taskqgroup_attach_deferred()
767 cpu = qgroup->tqg_queue[qid].tgc_cpu; in taskqgroup_attach_deferred()
777 qgroup->tqg_queue[qid].tgc_cnt++; in taskqgroup_attach_deferred()
778 LIST_INSERT_HEAD(&qgroup->tqg_queue[qid].tgc_tasks, gtask, gt_list); in taskqgroup_attach_deferred()
779 MPASS(qgroup->tqg_queue[qid].tgc_taskq != NULL); in taskqgroup_attach_deferred()
780 gtask->gt_taskqueue = qgroup->tqg_queue[qid].tgc_taskq; in taskqgroup_attach_deferred()
788 int i, qid, error; in taskqgroup_attach_cpu() local
790 qid = -1; in taskqgroup_attach_cpu()
800 qid = i; in taskqgroup_attach_cpu()
803 if (qid == -1) { in taskqgroup_attach_cpu()
809 qid = 0; in taskqgroup_attach_cpu()
810 qgroup->tqg_queue[qid].tgc_cnt++; in taskqgroup_attach_cpu()
811 LIST_INSERT_HEAD(&qgroup->tqg_queue[qid].tgc_tasks, gtask, gt_list); in taskqgroup_attach_cpu()
812 gtask->gt_taskqueue = qgroup->tqg_queue[qid].tgc_taskq; in taskqgroup_attach_cpu()
813 cpu = qgroup->tqg_queue[qid].tgc_cpu; in taskqgroup_attach_cpu()
830 int cpu, error, i, qid; in taskqgroup_attach_cpu_deferred() local
832 qid = -1; in taskqgroup_attach_cpu_deferred()
840 qid = i; in taskqgroup_attach_cpu_deferred()
843 if (qid == -1) { in taskqgroup_attach_cpu_deferred()
848 qgroup->tqg_queue[qid].tgc_cnt++; in taskqgroup_attach_cpu_deferred()
849 LIST_INSERT_HEAD(&qgroup->tqg_queue[qid].tgc_tasks, gtask, gt_list); in taskqgroup_attach_cpu_deferred()
850 MPASS(qgroup->tqg_queue[qid].tgc_taskq != NULL); in taskqgroup_attach_cpu_deferred()
851 gtask->gt_taskqueue = qgroup->tqg_queue[qid].tgc_taskq; in taskqgroup_attach_cpu_deferred()