Searched refs:qgroup (Results 1 – 2 of 2) sorted by relevance
/haiku/src/libs/compat/freebsd_iflib/ |
H A D | subr_gtaskqueue.c | 638 taskqgroup_cpu_create(struct taskqgroup *qgroup, int idx, int cpu) in taskqgroup_cpu_create() argument 642 qcpu = &qgroup->tqg_queue[idx]; in taskqgroup_cpu_create() 648 "%s_%d", qgroup->tqg_name, idx); in taskqgroup_cpu_create() 653 taskqgroup_cpu_remove(struct taskqgroup *qgroup, int idx) in taskqgroup_cpu_remove() argument 656 gtaskqueue_free(qgroup->tqg_queue[idx].tgc_taskq); in taskqgroup_cpu_remove() 664 taskqgroup_find(struct taskqgroup *qgroup, void *uniq) in taskqgroup_find() argument 670 mtx_assert(&qgroup->tqg_lock, MA_OWNED); in taskqgroup_find() 672 if (qgroup->tqg_cnt == 0) in taskqgroup_find() 674 KASSERT(qgroup->tqg_cnt > 0, ("qgroup(%p)->tqg_cnt is %d!", qgroup, qgroup->tqg_cnt)); in taskqgroup_find() 675 if (qgroup->tqg_cnt == 1) in taskqgroup_find() [all …]
|
/haiku/src/libs/compat/freebsd_iflib/compat/sys/ |
H A D | gtaskqueue.h | 75 void taskqgroup_attach(struct taskqgroup *qgroup, struct grouptask *grptask, 77 int taskqgroup_attach_cpu(struct taskqgroup *qgroup, 80 void taskqgroup_detach(struct taskqgroup *qgroup, struct grouptask *gtask); 82 void taskqgroup_destroy(struct taskqgroup *qgroup); 83 int taskqgroup_adjust(struct taskqgroup *qgroup, int cnt, int stride);
|