Home
last modified time | relevance | path

Searched refs:taskq (Results 1 – 25 of 37) sorted by relevance

12

/illumos-gate/usr/src/uts/common/io/fibre-channel/fca/emlxs/
H A Demlxs_thread.c40 emlxs_taskq_t *taskq; in emlxs_taskq_thread() local
44 taskq = tthread->taskq; in emlxs_taskq_thread()
50 mutex_enter(&taskq->put_lock); in emlxs_taskq_thread()
51 tthread->next = taskq->put_head; in emlxs_taskq_thread()
52 taskq->put_head = tthread; in emlxs_taskq_thread()
53 taskq->put_count++; in emlxs_taskq_thread()
54 mutex_exit(&taskq->put_lock); in emlxs_taskq_thread()
67 func(taskq->hba, arg); in emlxs_taskq_thread()
84 emlxs_taskq_dispatch(emlxs_taskq_t *taskq, void (*func) (), void *arg) in emlxs_taskq_dispatch() argument
88 mutex_enter(&taskq->get_lock); in emlxs_taskq_dispatch()
[all …]
/illumos-gate/usr/src/uts/common/crypto/core/
H A Dkcf_sched.c563 taskq_t *taskq = new_pd->pd_taskq; in kcf_resubmit_request() local
565 if (taskq_dispatch(taskq, process_req_hwp, areq, TQ_NOSLEEP) == in kcf_resubmit_request()
603 taskq_t *taskq; in kcf_submit_request() local
617 taskq = pd->pd_taskq; in kcf_submit_request()
625 EMPTY_TASKQ(taskq)) { in kcf_submit_request()
654 ASSERT(taskq != NULL); in kcf_submit_request()
662 if (EMPTY_TASKQ(taskq) && in kcf_submit_request()
673 if (taskq->tq_nalloc >= crypto_taskq_maxalloc) { in kcf_submit_request()
674 taskq_wait(taskq); in kcf_submit_request()
677 (void) taskq_dispatch(taskq, process_req_hwp, in kcf_submit_request()
[all …]
/illumos-gate/usr/src/uts/i86pc/io/tzmon/
H A Dtzmon.c352 if (tzp->taskq != NULL) { in tzmon_free_zone_list()
358 ddi_taskq_destroy(tzp->taskq); in tzmon_free_zone_list()
506 if (tzp->taskq == NULL) { in tzmon_enumerate_zone()
511 tzp->taskq = ddi_taskq_create(tzmon_dip, in tzmon_enumerate_zone()
513 if (tzp->taskq == NULL) { in tzmon_enumerate_zone()
520 (void) ddi_taskq_dispatch(tzp->taskq, in tzmon_enumerate_zone()
H A Dtzmon.h43 ddi_taskq_t *taskq; member
/illumos-gate/usr/src/uts/sun4v/io/
H A Dmdeg.c70 taskq_t *taskq; /* for internal processing */ member
170 mdeg.taskq = taskq_create("mdeg_taskq", 1, minclsyspri, 1, in mdeg_init()
190 taskq_destroy(mdeg.taskq); in mdeg_fini()
426 ASSERT(!taskq_member(mdeg.taskq, curthread)); in mdeg_register()
478 ASSERT(!taskq_member(mdeg.taskq, curthread)); in mdeg_unregister()
552 (void) taskq_dispatch(mdeg.taskq, mdeg_notify_client, in mdeg_notify_clients()
560 taskq_wait(mdeg.taskq); in mdeg_notify_clients()
/illumos-gate/usr/src/cmd/mdb/common/modules/genunix/
H A Dtaskq.h33 extern int taskq(uintptr_t, uint_t, int, const mdb_arg_t *);
H A DMakefile.files79 taskq.c \
H A Dtaskq.c137 taskq(uintptr_t addr, uint_t flags, int argc, const mdb_arg_t *argv) in taskq() function
183 int ret = taskq(tqi.tqi_array[idx].tq_addr, flags, in taskq()
/illumos-gate/usr/src/uts/common/sys/fibre-channel/fca/emlxs/
H A Demlxs_thread.h59 struct emlxs_taskq *taskq; member
H A Demlxs_extern.h811 extern void emlxs_taskq_destroy(emlxs_taskq_t *taskq);
813 emlxs_taskq_t *taskq);
814 extern uint32_t emlxs_taskq_dispatch(emlxs_taskq_t *taskq,
/illumos-gate/usr/src/uts/common/sys/
H A Dtaskq.h42 typedef struct taskq taskq_t;
H A Dtaskq_impl.h107 struct taskq { struct
H A Dvnode.h894 struct taskq;
1339 void vn_rele_async(struct vnode *vp, struct taskq *taskq);
1465 #define VN_RELE_ASYNC(vp, taskq) { \ argument
1466 vn_rele_async(vp, taskq); \
/illumos-gate/usr/src/uts/common/fs/smbclnt/smbfs/
H A Dsmbfs.h118 struct taskq *smi_taskq; /* for async work */
/illumos-gate/usr/src/lib/libfakekernel/
H A DMakefile.com39 taskq.o \
/illumos-gate/usr/src/uts/common/io/hxge/
H A Dhxge_txdma.c1899 tx_ring_p->taskq = ddi_taskq_create(hxgep->dip, qname, 1, in hxge_map_txdma_channel_buf_ring()
1901 if (tx_ring_p->taskq == NULL) { in hxge_map_txdma_channel_buf_ring()
1988 if (tx_ring_p->taskq) { in hxge_map_txdma_channel_buf_ring()
1989 ddi_taskq_destroy(tx_ring_p->taskq); in hxge_map_txdma_channel_buf_ring()
1990 tx_ring_p->taskq = NULL; in hxge_map_txdma_channel_buf_ring()
2065 if (tx_ring_p->taskq) { in hxge_unmap_txdma_channel_buf_ring()
2066 ddi_taskq_destroy(tx_ring_p->taskq); in hxge_unmap_txdma_channel_buf_ring()
2067 tx_ring_p->taskq = NULL; in hxge_unmap_txdma_channel_buf_ring()
H A Dhxge_txdma.h128 ddi_taskq_t *taskq; member
/illumos-gate/usr/src/uts/common/fs/zfs/sys/
H A Ddsl_pool.h96 struct taskq *dp_unlinked_drain_taskq;
/illumos-gate/usr/src/uts/common/io/nxge/
H A Dnxge_txdma.c2578 tx_ring_p->taskq = ddi_taskq_create(nxgep->dip, qname, 1, in nxge_map_txdma_channel_buf_ring()
2580 if (tx_ring_p->taskq == NULL) { in nxge_map_txdma_channel_buf_ring()
2669 if (tx_ring_p->taskq) { in nxge_map_txdma_channel_buf_ring()
2670 ddi_taskq_destroy(tx_ring_p->taskq); in nxge_map_txdma_channel_buf_ring()
2671 tx_ring_p->taskq = NULL; in nxge_map_txdma_channel_buf_ring()
2745 if (tx_ring_p->taskq) { in nxge_unmap_txdma_channel_buf_ring()
2746 ddi_taskq_destroy(tx_ring_p->taskq); in nxge_unmap_txdma_channel_buf_ring()
2747 tx_ring_p->taskq = NULL; in nxge_unmap_txdma_channel_buf_ring()
/illumos-gate/usr/src/uts/common/sys/nxge/
H A Dnxge_txdma.h156 ddi_taskq_t *taskq; member
/illumos-gate/usr/src/uts/common/io/usb/usba/
H A Dusbai_util.c1731 taskq_t *taskq; in usba_async_ph_req() local
1745 taskq = ph_data->p_taskq; in usba_async_ph_req()
1747 taskq = system_taskq; in usba_async_ph_req()
1751 if (taskq_dispatch(taskq, func, arg, tq_flag) == TASKQID_INVALID) { in usba_async_ph_req()
/illumos-gate/usr/src/uts/common/inet/
H A Dsadb.h793 #define HANDLE_BUF_PKT(taskq, stack, dropper, buf_pkt) \ argument
796 if (taskq_dispatch(taskq, sadb_clear_buf_pkt, \
/illumos-gate/usr/src/man/man9f/
H A DMakefile528 taskq.9f \
2349 ddi_taskq_create.9f := LINKSRC = taskq.9f
2350 ddi_taskq_destroy.9f := LINKSRC = taskq.9f
2351 ddi_taskq_dispatch.9f := LINKSRC = taskq.9f
2352 ddi_taskq_resume.9f := LINKSRC = taskq.9f
2353 ddi_taskq_suspend.9f := LINKSRC = taskq.9f
2354 ddi_taskq_suspended.9f := LINKSRC = taskq.9f
2355 ddi_taskq_wait.9f := LINKSRC = taskq.9f
/illumos-gate/usr/src/lib/libfakekernel/common/
H A Dtaskq.c75 struct taskq { struct
/illumos-gate/usr/src/uts/common/sys/sata/impl/
H A Dsata.h88 struct taskq *satahba_taskq; /* cmd completion task queue */

12