Home
last modified time | relevance | path

Searched refs:task (Results 1 – 25 of 393) sorted by relevance

12345678910>>...16

/freebsd-src/sys/compat/linuxkpi/common/src/
H A Dlinux_kthread.c44 linux_kthread_should_stop_task(struct task_struct *task) in linux_kthread_should_stop_task() argument
47 return (atomic_read(&task->kthread_flags) & KTHREAD_SHOULD_STOP_MASK); in linux_kthread_should_stop_task()
58 linux_kthread_stop(struct task_struct *task) in linux_kthread_stop() argument
66 atomic_or(KTHREAD_SHOULD_STOP_MASK, &task->kthread_flags); in linux_kthread_stop()
67 kthread_unpark(task); in linux_kthread_stop()
68 wake_up_process(task); in linux_kthread_stop()
69 wait_for_completion(&task->exited); in linux_kthread_stop()
74 retval = task->task_ret; in linux_kthread_stop()
75 put_task_struct(task); in linux_kthread_stop()
81 linux_kthread_park(struct task_struct *task) in linux_kthread_park() argument
[all …]
H A Dlinux_schedule.c42 linux_add_to_sleepqueue(void *wchan, struct task_struct *task, in linux_add_to_sleepqueue() argument
73 linux_schedule_save_interrupt_value(task, ret); in linux_add_to_sleepqueue()
99 wake_up_task(struct task_struct *task, unsigned int state) in wake_up_task() argument
104 sleepq_lock(task); in wake_up_task()
105 if ((atomic_read(&task->state) & state) != 0) { in wake_up_task()
106 set_task_state(task, TASK_WAKING); in wake_up_task()
107 sleepq_signal(task, SLEEPQ_SLEEP, 0, 0); in wake_up_task()
110 sleepq_release(task); in wake_up_task()
115 linux_signal_pending(struct task_struct *task)
120 td = task in linux_signal_pending()
117 linux_signal_pending(struct task_struct * task) linux_signal_pending() argument
132 linux_fatal_signal_pending(struct task_struct * task) linux_fatal_signal_pending() argument
146 linux_signal_pending_state(long state,struct task_struct * task) linux_signal_pending_state() argument
157 linux_send_sig(int signo,struct task_struct * task) linux_send_sig() argument
171 struct task_struct *task; autoremove_wake_function() local
257 struct task_struct *task; linux_wait_event_common() local
294 struct task_struct *task; linux_schedule_timeout() local
361 struct task_struct *task; linux_wait_on_bit_timeout() local
401 struct task_struct *task; linux_wait_on_atomic_t() local
425 linux_wake_up_state(struct task_struct * task,unsigned int state) linux_wake_up_state() argument
[all...]
/freebsd-src/contrib/ntp/libntp/lib/isc/
H A Dtask.c71 task, isc_thread_self(), (m))
197 isc__task_purge(isc_task_t *task, void *sender, isc_eventtype_t type,
202 isc__task_unsendrange(isc_task_t *task, void *sender, isc_eventtype_t first,
206 isc__task_unsend(isc_task_t *task, void *sender, isc_eventtype_t type,
229 isc__task_beginexclusive(isc_task_t *task);
248 push_readyq(isc__taskmgr_t *manager, isc__task_t *task);
297 task_finished(isc__task_t *task) { in task_finished() argument
298 isc__taskmgr_t *manager = task->manager; in task_finished()
300 REQUIRE(EMPTY(task->events)); in task_finished()
301 REQUIRE(EMPTY(task->on_shutdown)); in task_finished()
[all …]
H A Dondestroy.c42 isc_ondestroy_register(isc_ondestroy_t *ondest, isc_task_t *task, in isc_ondestroy_register() argument
49 REQUIRE(task != NULL); in isc_ondestroy_register()
56 isc_task_attach(task, &thetask); in isc_ondestroy_register()
68 isc_task_t *task; in isc_ondestroy_notify() local
76 task = eventp->ev_sender; in isc_ondestroy_notify()
79 isc_task_sendanddetach(&task, &eventp); in isc_ondestroy_notify()
/freebsd-src/sys/compat/linuxkpi/common/include/linux/
H A Dsched.h101 #define task_pid_group_leader(task) (task)->task_thread->td_proc->p_pid argument
102 #define task_pid(task) ((task)->pid) argument
103 #define task_pid_nr(task) ((task)->pid) argument
104 #define task_pid_vnr(task) ((task)->pid) argument
108 #define task_euid(task) ((task)->task_thread->td_ucred->cr_uid) argument
110 #define get_task_state(task) atomic_read(&(task)->state) argument
111 #define set_task_state(task, x) atomic_set(&(task)->state, (x)) argument
112 #define __set_task_state(task, x) ((task)->state.counter = (x)) argument
117 get_task_struct(struct task_struct *task) in get_task_struct() argument
119 atomic_inc(&task->usage); in get_task_struct()
[all …]
H A Dkthread.h48 struct task_struct *task; member
54 struct task task; member
82 #define kthread_stop(task) linux_kthread_stop(task) argument
84 #define kthread_should_stop_task(task) linux_kthread_should_stop_task(task) argument
85 #define kthread_park(task) linux_kthread_park(task) argument
88 #define kthread_unpark(task) linux_kthread_unpark(task) argument
101 struct task __task; \
126 TASK_INIT(&work->task, 0, lkpi_kthread_work_fn, work); in kthread_init_work()
134 error = taskqueue_enqueue_flags(worker->tq, &work->task, in kthread_queue_work()
147 taskqueue_cancel(work->tq, &work->task, &pending) != 0) in kthread_cancel_work_sync()
[all …]
/freebsd-src/contrib/ntp/libntp/lib/isc/include/isc/
H A Dtask.h124 void (*send)(isc_task_t *task, isc_event_t **eventp);
126 unsigned int (*unsend)(isc_task_t *task, void *sender, isc_eventtype_t type,
128 isc_result_t (*onshutdown)(isc_task_t *task, isc_taskaction_t action,
130 void (*shutdown)(isc_task_t *task);
131 void (*setname)(isc_task_t *task, const char *name, void *tag);
132 unsigned int (*purgeevents)(isc_task_t *task, void *sender,
134 unsigned int (*purgerange)(isc_task_t *task, void *sender,
137 isc_result_t (*beginexclusive)(isc_task_t *task);
138 void (*endexclusive)(isc_task_t *task);
139 void (*setprivilege)(isc_task_t *task, isc_boolean_t priv);
[all …]
H A Dsocket.h272 void *cbarg, isc_task_t *task,
283 isc_task_t *task, isc_taskaction_t action,
287 isc_task_t *task, isc_taskaction_t action,
290 unsigned int minimum, isc_task_t *task,
292 void (*cancel)(isc_socket_t *sock, isc_task_t *task,
358 isc_task_t *task,
462 isc_socket_cancel(isc_socket_t *sock, isc_task_t *task,
670 isc_task_t *task, isc_taskaction_t action, const void *arg);
693 isc_task_t *task, isc_taskaction_t action,
761 isc_task_t *task, isc_taskaction_t action, const void *arg);
[all …]
/freebsd-src/sys/contrib/openzfs/module/os/freebsd/spl/
H A Dspl_taskq.c49 * Global system-wide dynamic task queue available for all consumers. This
345 taskq_free(taskq_ent_t *task) in taskq_of_curthread()
347 taskq_remove(task); in taskq_of_curthread()
348 if (refcount_release(&task->tqent_rc))
349 uma_zfree(taskq_zone, task);
376 * Tasks normally free themselves when run, but here the task in taskq_cancel_id()
389 taskq_ent_t *task = arg; in taskq_cancel_id()
393 task->tqent_func(task->tqent_arg); in taskq_run()
394 taskq_free(task); in taskq_run() local
350 taskq_free(taskq_ent_t * task) taskq_free() argument
406 taskq_ent_t *task; taskq_dispatch_delay() local
439 taskq_ent_t *task; taskq_dispatch() local
469 taskq_ent_t *task = arg; taskq_run_ent() local
478 taskq_dispatch_ent(taskq_t * tq,task_func_t func,void * arg,uint32_t flags,taskq_ent_t * task) taskq_dispatch_ent() argument
491 taskq_init_ent(taskq_ent_t * task) taskq_init_ent() argument
502 taskq_empty_ent(taskq_ent_t * task) taskq_empty_ent() argument
[all...]
/freebsd-src/sys/cddl/compat/opensolaris/kern/
H A Dopensolaris_taskq.c114 taskq_ent_t *task = arg; in taskq_run() local
116 task->tqent_func(task->tqent_arg); in taskq_run()
118 uma_zfree(taskq_zone, task); in taskq_run()
124 taskq_ent_t *task; in taskq_dispatch() local
137 task = uma_zalloc(taskq_zone, mflag); in taskq_dispatch()
138 if (task == NULL) in taskq_dispatch()
141 task->tqent_func = func; in taskq_dispatch()
142 task->tqent_arg = arg; in taskq_dispatch()
144 TASK_INIT(&task->tqent_task, prio, taskq_run, task); in taskq_dispatch()
145 taskqueue_enqueue(tq->tq_queue, &task->tqent_task); in taskq_dispatch()
[all …]
/freebsd-src/contrib/llvm-project/openmp/runtime/src/
H A Dkmp_taskdeps.h94 static inline void __kmp_release_deps(kmp_int32 gtid, kmp_taskdata_t *task) { in __kmp_release_deps() argument
97 if (task->is_taskgraph && !(__kmp_tdg_is_recording(task->tdg->tdg_status))) { in __kmp_release_deps()
98 kmp_node_info_t *TaskInfo = &(task->tdg->record_map[task->td_task_id]); in __kmp_release_deps()
102 kmp_node_info_t *successor = &(task->tdg->record_map[successorNumber]); in __kmp_release_deps()
104 if (successor->task != nullptr && npredecessors == 0) { in __kmp_release_deps()
105 __kmp_omp_task(gtid, successor->task, false); in __kmp_release_deps()
113 kmp_depnode_t *node = task->td_depnode; in __kmp_release_deps()
125 if (task->td_dephash) { in __kmp_release_deps()
128 gtid, task)); in __kmp_release_deps()
129 __kmp_dephash_free(thread, task->td_dephash); in __kmp_release_deps()
[all …]
H A Dkmp_tasking.cpp47 // __kmp_trace_task_stack: print the tied tasks from the task stack in order
51 // thread_data: thread data for task team thread containing stack
102 // __kmp_init_task_stack: initialize the task stack for the first time
107 // thread_data: thread data for task team thread containing stack
125 // __kmp_free_task_stack: free the task stack when thread_data is destroyed.
152 // __kmp_push_task_stack: Push the tied task onto the task stack.
157 // tied_task: the task to push on the stack
183 // Find beginning of this task block in __kmp_push_task_stack()
210 // __kmp_pop_task_stack: Pop the tied task fro
477 __kmp_push_task(kmp_int32 gtid,kmp_task_t * task) global() argument
670 __kmp_task_start(kmp_int32 gtid,kmp_task_t * task,kmp_taskdata_t * current_task) global() argument
721 __ompt_task_init(kmp_taskdata_t * task,int tid) global() argument
736 __ompt_task_start(kmp_task_t * task,kmp_taskdata_t * current_task,kmp_int32 gtid) global() argument
756 __ompt_task_finish(kmp_task_t * task,kmp_taskdata_t * resumed_task,ompt_task_status_t status) global() argument
776 __kmpc_omp_task_begin_if0_template(ident_t * loc_ref,kmp_int32 gtid,kmp_task_t * task,void * frame_address,void * return_address) global() argument
828 __kmpc_omp_task_begin_if0_ompt(ident_t * loc_ref,kmp_int32 gtid,kmp_task_t * task,void * frame_address,void * return_address) global() argument
851 __kmpc_omp_task_begin_if0(ident_t * loc_ref,kmp_int32 gtid,kmp_task_t * task) global() argument
867 __kmpc_omp_task_begin(ident_t * loc_ref,kmp_int32 gtid,kmp_task_t * task) global() argument
901 kmp_task_t *task = KMP_TASKDATA_TO_TASK(taskdata); global() local
1038 __kmp_task_finish(kmp_int32 gtid,kmp_task_t * task,kmp_taskdata_t * resumed_task) global() argument
1252 __kmpc_omp_task_complete_if0_template(ident_t * loc_ref,kmp_int32 gtid,kmp_task_t * task) global() argument
1278 __kmpc_omp_task_complete_if0_ompt(ident_t * loc_ref,kmp_int32 gtid,kmp_task_t * task) global() argument
1289 __kmpc_omp_task_complete_if0(ident_t * loc_ref,kmp_int32 gtid,kmp_task_t * task) global() argument
1303 __kmpc_omp_task_complete(ident_t * loc_ref,kmp_int32 gtid,kmp_task_t * task) global() argument
1329 kmp_taskdata_t *task = &team->t.t_implicit_task_taskdata[tid]; global() local
1393 kmp_taskdata_t *task = thread->th.th_current_task; global() local
1422 kmp_taskdata_t *task = thread->th.th_current_task; global() local
1457 kmp_task_t *task; global() local
1752 __kmp_invoke_task(kmp_int32 gtid,kmp_task_t * task,kmp_taskdata_t * current_task) global() argument
3052 kmp_task_t *task = NULL; global() local
3153 kmp_task_t *task; global() local
3227 kmp_task_t *task; global() local
3366 kmp_task_t *task; global() local
4353 __kmp_give_task(kmp_info_t * thread,kmp_int32 tid,kmp_task_t * task,kmp_int32 pass) global() argument
4596 __kmpc_task_allow_completion_event(ident_t * loc_ref,int gtid,kmp_task_t * task) global() argument
4666 kmp_task_t *task; global() local
4751 kmp_task_t *task; global() member in kmp_taskloop_bounds_t
4868 __kmp_taskloop_linear(ident_t * loc,int gtid,kmp_task_t * task,kmp_uint64 * lb,kmp_uint64 * ub,kmp_int64 st,kmp_uint64 ub_glob,kmp_uint64 num_tasks,kmp_uint64 grainsize,kmp_uint64 extras,kmp_int64 last_chunk,kmp_uint64 tc,void * codeptr_ra,void * task_dup) global() argument
4978 kmp_task_t *task; global() member
5008 kmp_task_t *task = p->task; global() local
5071 __kmp_taskloop_recur(ident_t * loc,int gtid,kmp_task_t * task,kmp_uint64 * lb,kmp_uint64 * ub,kmp_int64 st,kmp_uint64 ub_glob,kmp_uint64 num_tasks,kmp_uint64 grainsize,kmp_uint64 extras,kmp_int64 last_chunk,kmp_uint64 tc,kmp_uint64 num_t_min,void * codeptr_ra,void * task_dup) global() argument
5201 __kmp_taskloop(ident_t * loc,int gtid,kmp_task_t * task,int if_val,kmp_uint64 * lb,kmp_uint64 * ub,kmp_int64 st,int nogroup,int sched,kmp_uint64 grainsize,int modifier,void * task_dup) global() argument
5385 __kmpc_taskloop(ident_t * loc,int gtid,kmp_task_t * task,int if_val,kmp_uint64 * lb,kmp_uint64 * ub,kmp_int64 st,int nogroup,int sched,kmp_uint64 grainsize,void * task_dup) global() argument
5412 __kmpc_taskloop_5(ident_t * loc,int gtid,kmp_task_t * task,int if_val,kmp_uint64 * lb,kmp_uint64 * ub,kmp_int64 st,int nogroup,int sched,kmp_uint64 grainsize,int modifier,void * task_dup) global() argument
[all...]
H A Dkmp_taskdeps.cpp38 node->dn.task = NULL; // will point to the right task in __kmp_init_node()
49 __itt_sync_create(node, "OMP task dep node", NULL, 0); in __kmp_init_node()
182 if (!h->last_all) // no predecessor task with omp_all_memory dependence in __kmp_dephash_find()
222 kmp_taskdata_t *task_source = KMP_TASK_TO_TASKDATA(source->dn.task); in __kmp_track_dependence()
224 if (source->dn.task && sink_task) { in __kmp_track_dependence()
260 kmp_taskdata_t *task_source = KMP_TASK_TO_TASKDATA(source->dn.task); in __kmp_track_dependence()
261 // do not use sink->dn.task as that is only filled after the dependences in __kmp_track_dependence()
270 /* OMPT tracks dependences between task (a=source, b=sink) in which in __kmp_track_dependence()
271 task in __kmp_track_dependence()
287 __kmpc_task_get_depnode(kmp_task_t * task) __kmpc_task_get_depnode() argument
292 __kmpc_task_get_successors(kmp_task_t * task) __kmpc_task_get_successors() argument
299 __kmp_depnode_link_successor(kmp_int32 gtid,kmp_info_t * thread,kmp_task_t * task,kmp_depnode_t * node,kmp_depnode_list_t * plist) __kmp_depnode_link_successor() argument
342 __kmp_depnode_link_successor(kmp_int32 gtid,kmp_info_t * thread,kmp_task_t * task,kmp_depnode_t * source,kmp_depnode_t * sink) __kmp_depnode_link_successor() argument
395 __kmp_process_dep_all(kmp_int32 gtid,kmp_depnode_t * node,kmp_dephash_t * h,bool dep_barrier,kmp_task_t * task) __kmp_process_dep_all() argument
454 __kmp_process_deps(kmp_int32 gtid,kmp_depnode_t * node,kmp_dephash_t ** hash,bool dep_barrier,kmp_int32 ndeps,kmp_depend_info_t * dep_list,kmp_task_t * task) __kmp_process_deps() argument
572 __kmp_check_deps(kmp_int32 gtid,kmp_depnode_t * node,kmp_task_t * task,kmp_dephash_t ** hash,bool dep_barrier,kmp_int32 ndeps,kmp_depend_info_t * dep_list,kmp_int32 ndeps_noalias,kmp_depend_info_t * noalias_dep_list) __kmp_check_deps() argument
[all...]
H A Dkmp_cancel.cpp81 kmp_taskdata_t *task; in __kmpc_cancel() local
84 task = this_thr->th.th_current_task; in __kmpc_cancel()
85 KMP_DEBUG_ASSERT(task); in __kmpc_cancel()
87 taskgroup = task->td_taskgroup; in __kmpc_cancel()
194 kmp_taskdata_t *task; in __kmpc_cancellationpoint() local
197 task = this_thr->th.th_current_task; in __kmpc_cancellationpoint()
198 KMP_DEBUG_ASSERT(task); in __kmpc_cancellationpoint()
200 taskgroup = task->td_taskgroup; in __kmpc_cancellationpoint()
321 kmp_taskdata_t *task; in __kmp_get_cancellation_status() local
323 task = this_thr->th.th_current_task; in __kmp_get_cancellation_status()
[all …]
/freebsd-src/sys/kern/
H A Dsubr_taskqueue.c57 struct task *tb_running;
64 STAILQ_HEAD(, task) tq_queue;
66 struct task *tq_hint;
127 task_get_busy(struct taskqueue *queue, struct task *task) in task_get_busy() argument
133 if (tb->tb_running == task) in task_get_busy()
231 taskqueue_enqueue_locked(struct taskqueue *queue, struct task *task, int flags) in taskqueue_enqueue_locked() argument
233 struct task *ins; in taskqueue_enqueue_locked()
234 struct task *prev; in taskqueue_enqueue_locked()
237 KASSERT(task->ta_func != NULL, ("enqueueing task with NULL func")); in taskqueue_enqueue_locked()
242 tb = task_get_busy(queue, task); in taskqueue_enqueue_locked()
[all …]
/freebsd-src/sys/contrib/dev/mediatek/mt76/
H A Dutil.h38 struct task_struct *task; member
80 w->task = kthread_run(__mt76_worker_fn, w, in mt76_worker_setup()
83 if (!IS_ERR(w->task)) in mt76_worker_setup()
86 rc = PTR_ERR(w->task); in mt76_worker_setup()
87 w->task = NULL; in mt76_worker_setup()
95 if (w->task == NULL) in mt76_worker_schedule()
100 wake_up_process(w->task); in mt76_worker_schedule()
107 if (w->task == NULL) in mt76_worker_enable()
110 kthread_unpark(w->task); in mt76_worker_enable()
118 if (w->task == NULL) in mt76_worker_disable()
[all …]
/freebsd-src/sys/sys/
H A Dtaskqueue.h78 int taskqueue_enqueue(struct taskqueue *queue, struct task *task);
79 int taskqueue_enqueue_flags(struct taskqueue *queue, struct task *task,
86 int taskqueue_poll_is_busy(struct taskqueue *queue, struct task *task);
87 int taskqueue_cancel(struct taskqueue *queue, struct task *task,
91 void taskqueue_drain(struct taskqueue *queue, struct task *task);
119 #define TASK_INIT_FLAGS(task, priority, func, context, flags) do { \ argument
120 (task)->ta_pending = 0; \
121 (task)->ta_priority = (priority); \
122 (task)->ta_flags = (flags); \
123 (task)->ta_func = (func); \
[all …]
/freebsd-src/sys/dev/usb/net/
H A Dusb_ethernet.c105 struct usb_ether_cfg_task *task; in ue_queue_command() local
113 * NOTE: The task cannot get executed before we drop the in ue_queue_command()
117 task = (struct usb_ether_cfg_task *) in ue_queue_command()
121 task->hdr.pm_callback = fn; in ue_queue_command()
122 task->ue = ue; in ue_queue_command()
203 struct usb_ether_cfg_task *task = in ue_attach_post_task() local
205 struct usb_ether *ue = task->ue; in ue_attach_post_task()
367 struct usb_ether_cfg_task *task = in ue_start_task()
369 struct usb_ether *ue = task->ue; in ue_start_task() local
386 struct usb_ether_cfg_task *task
388 struct usb_ether_cfg_task *task = ue_stop_task() local
422 struct usb_ether_cfg_task *task = ue_promisc_task() local
432 struct usb_ether_cfg_task *task = ue_setmulti_task() local
464 struct usb_ether_cfg_task *task = ue_ifmedia_task() local
491 struct usb_ether_cfg_task *task = ue_tick_task() local
[all...]
/freebsd-src/sys/contrib/openzfs/module/zfs/
H A Dzvol.c1519 * It's also usable as a taskq task, and smells nice too.
1597 * Couldn't create the task, so we'll in zvol_set_common_sync()
1629 /* Wait for zvols that we couldn't create a remove task for */ in zvol_remove_minors()
1814 zvol_task_t *task;
1820 task = kmem_zalloc(sizeof (zvol_task_t), KM_SLEEP);
1821 task->op = op;
1822 task->value = value;
1824 strlcpy(task->name1, name1, sizeof (task->name1));
1826 strlcpy(task
1464 zvol_task_t *task; zvol_task_alloc() local
1482 zvol_task_free(zvol_task_t * task) zvol_task_free() argument
1493 zvol_task_t *task = arg; zvol_task_cb() local
1549 zvol_task_t *task; zvol_set_common_sync_cb() local
1630 zvol_task_t *task; zvol_remove_minors() local
1646 zvol_task_t *task; zvol_rename_minors() local
[all...]
/freebsd-src/sys/contrib/openzfs/module/os/linux/spl/
H A Dspl-thread.c165 struct task_struct *task = current; global() local
/freebsd-src/sys/net80211/
H A Dieee80211_var.h148 struct task ic_parent_task; /* deferred parent processing */
149 struct task ic_promisc_task;/* deferred promisc update */
150 struct task ic_mcast_task; /* deferred mcast update */
151 struct task ic_chan_task; /* deferred channel change */
152 struct task ic_bmiss_task; /* deferred beacon miss hndlr */
153 struct task ic_chw_task; /* deferred HT CHW update */
154 struct task ic_restart_task; /* deferred device restart */
425 struct task iv_nstate_task[NET80211_IV_NSTATE_NUM];
427 struct task iv_swbmiss_task;/* deferred iv_bmiss call */
584 struct task iv_wme_tas
862 ieee80211_runtask(struct ieee80211com * ic,struct task * task) ieee80211_runtask() argument
871 ieee80211_draintask(struct ieee80211com * ic,struct task * task) ieee80211_draintask() argument
[all...]
/freebsd-src/cddl/contrib/opensolaris/lib/pyzfs/common/
H A Dutil.py67 def __init__(self, eno, task=None, why=None): argument
75 self.task = task
80 if self.task:
81 s += self.task + ": "
/freebsd-src/sys/dev/hyperv/vmbus/
H A Dvmbus_chanvar.h58 struct task ch_task;
59 struct task ch_poll_task;
128 struct task ch_attach_task; /* run in ch_mgmt_tq */
129 struct task ch_detach_task; /* run in ch_mgmt_tq */
/freebsd-src/sys/dev/isci/scil/
H A Dscic_task_request.h169 #define scic_task_request_construct(controller, dev, tag, task, mem, handle) \
171 #define scic_task_request_construct_ssp(task) SCI_FAILURE
172 #define scic_task_request_construct_sata(task) SCI_FAILURE
/freebsd-src/sys/contrib/openzfs/module/os/linux/zfs/
H A Dzvol_os.c145 zv_request_task_t *task;
146 task = kmem_alloc(sizeof (zv_request_task_t), KM_SLEEP);
147 taskq_init_ent(&task->ent);
148 task->zvr = zvr;
149 return (task);
153 zv_request_task_free(zv_request_task_t *task) in zv_request_task_create()
155 kmem_free(task, sizeof (*task)); in zv_request_task_create()
328 zv_request_task_t *task = arg; in zvol_write()
329 zvol_write(&task in zvol_write()
152 zv_request_task_t *task; zv_request_task_create() local
160 zv_request_task_free(zv_request_task_t * task) zv_request_task_free() argument
338 zv_request_task_t *task = arg; zvol_write_task() local
427 zv_request_task_t *task = arg; zvol_discard_task() local
504 zv_request_task_t *task = arg; zvol_read_task() local
547 zv_request_task_t *task; zvol_request_impl() local
[all...]

12345678910>>...16