Home
last modified time | relevance | path

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

12345678910>>...14

/trueos/sys/compat/mach/kern/
HDtask.c385 task_t task);
387 task_t task);
389 task_t task);
391 task_t task,
394 task_t task );
396 task_t task);
454 task_free( register task_t task ) in task_free() argument
459 task_unlock(task); in task_free()
467 ++task->ref_count; in task_free()
468 task_unlock(task); in task_free()
[all …]
HDipc_tt.c153 task_t task, in ipc_task_init() argument
171 task->itk_self = kport; in ipc_task_init()
172 task->itk_sself = ipc_port_make_send(kport); in ipc_task_init()
173 task->itk_space = space; in ipc_task_init()
174 space->is_task = task; in ipc_task_init()
178 task->exc_actions[i].port = IP_NULL; in ipc_task_init()
180 task->exc_actions[EXC_MACH_SYSCALL].port = in ipc_task_init()
182 task->itk_bootstrap = IP_NULL; in ipc_task_init()
184 task->itk_registered[i] = IP_NULL; in ipc_task_init()
192 task->itk_registered[i] = in ipc_task_init()
[all …]
/trueos/sys/sys/mach/
HDmach_port_server.h66 (task, names, namesCnt, types, typesCnt) in mach_port_names() argument
67 ipc_space_t task; in mach_port_names()
72 { return mach_port_names(task, names, namesCnt, types, typesCnt); }
75 ipc_space_t task,
91 (task, name, ptype) in mach_port_type() argument
92 ipc_space_t task; in mach_port_type()
95 { return mach_port_type(task, name, ptype); }
98 ipc_space_t task,
112 (task, old_name, new_name) in mach_port_rename() argument
113 ipc_space_t task; in mach_port_rename()
[all …]
HDtask_server.h251 (task, which_port, special_port) in task_get_special_port()
252 task_t task; in task_get_special_port()
255 { return task_get_special_port(task, which_port, special_port); }
258 task_t task,
272 (task, which_port, special_port) in task_set_special_port()
273 task_t task; in task_set_special_port()
276 { return task_set_special_port(task, which_port, special_port); }
279 task_t task,
337 (task, exception_mask, new_port, behavior, new_flavor) in task_set_exception_ports()
338 task_t task; in task_set_exception_ports()
[all …]
HDtask_special_ports.h121 #define task_get_kernel_port(task, port) \ argument
122 (task_get_special_port((task), TASK_KERNEL_PORT, (port)))
124 #define task_set_kernel_port(task, port) \ argument
125 (task_set_special_port((task), TASK_KERNEL_PORT, (port)))
127 #define task_get_host_port(task, port) \ argument
128 (task_get_special_port((task), TASK_HOST_PORT, (port)))
130 #define task_set_host_port(task, port) \ argument
131 (task_set_special_port((task), TASK_HOST_PORT, (port)))
133 #define task_get_bootstrap_port(task, port) \ argument
134 (task_get_special_port((task), TASK_BOOTSTRAP_PORT, (port)))
[all …]
HDtask.h234 extern ipc_port_t convert_task_suspension_token_to_port(task_suspension_token_t task);
332 #define task_lock(task) mtx_lock(&(task)->lock) argument
333 #define task_lock_try(task) mtx_trylock(&(task)->lock) argument
334 #define task_unlock(task) mtx_unlock(&(task)->lock) argument
336 #define itk_lock_init(task) mach_mutex_init(&(task)->itk_lock_data, \ argument
338 #define itk_lock(task) mtx_lock(&(task)->itk_lock_data) argument
339 #define itk_unlock(task) mtx_unlock(&(task)->itk_lock_data) argument
357 task_t task);
361 task_t task);
365 task_t task,
[all …]
HDipc_tt.h74 task_t task,
79 task_t task);
83 task_t task);
87 task_t task);
91 task_t task);
117 task_t task);
HDhost_priv_server.h149 (host_priv, task, address, size, desired_access) in vm_wire() argument
151 vm_map_t task;
155 { return vm_wire(host_priv, task, address, size, desired_access); }
159 vm_map_t task,
195 (host_priv, task, address, size, flags) in vm_allocate_cpm() argument
197 vm_map_t task;
201 { return vm_allocate_cpm(host_priv, task, address, size, flags); }
205 vm_map_t task,
395 (host_priv, task, address, size, desired_access) in mach_vm_wire() argument
397 vm_map_t task;
[all …]
/trueos/sys/ofed/include/linux/
HDkthread.h45 struct task_struct *task; in _kthread_fn() local
47 task = arg; in _kthread_fn()
48 task_struct_set(curthread, task); in _kthread_fn()
49 if (task->should_stop == 0) in _kthread_fn()
50 task->task_ret = task->task_fn(task->task_data); in _kthread_fn()
51 PROC_LOCK(task->task_thread->td_proc); in _kthread_fn()
52 task->should_stop = TASK_STOPPED; in _kthread_fn()
53 wakeup(task); in _kthread_fn()
54 PROC_UNLOCK(task->task_thread->td_proc); in _kthread_fn()
61 struct task_struct *task; in _kthread_create() local
[all …]
/trueos/include/mach/
HDmach_port.h65 (task, names, namesCnt, types, typesCnt) in mach_port_names() argument
66 ipc_space_t task; in mach_port_names()
71 { return mach_port_names(task, names, namesCnt, types, typesCnt); }
74 ipc_space_t task,
90 (task, name, ptype) in mach_port_type() argument
91 ipc_space_t task; in mach_port_type()
94 { return mach_port_type(task, name, ptype); }
97 ipc_space_t task,
111 (task, old_name, new_name) in mach_port_rename() argument
112 ipc_space_t task; in mach_port_rename()
[all …]
HDtask.h250 (task, which_port, special_port) in task_get_special_port()
251 task_t task; in task_get_special_port()
254 { return task_get_special_port(task, which_port, special_port); }
257 task_t task,
271 (task, which_port, special_port) in task_set_special_port()
272 task_t task; in task_set_special_port()
275 { return task_set_special_port(task, which_port, special_port); }
278 task_t task,
336 (task, exception_mask, new_port, behavior, new_flavor) in task_set_exception_ports()
337 task_t task; in task_set_exception_ports()
[all …]
HDmach_traps.h6 ipc_space_t task,
12 ipc_space_t task,
19 ipc_space_t task,
26 ipc_space_t task,
34 ipc_space_t task,
/trueos/sys/cddl/compat/opensolaris/kern/
HDopensolaris_taskq.c107 taskq_ent_t *task = arg; in taskq_run() local
109 task->tqent_func(task->tqent_arg); in taskq_run()
111 uma_zfree(taskq_zone, task); in taskq_run()
117 taskq_ent_t *task; in taskq_dispatch() local
130 task = uma_zalloc(taskq_zone, mflag); in taskq_dispatch()
131 if (task == NULL) in taskq_dispatch()
134 task->tqent_func = func; in taskq_dispatch()
135 task->tqent_arg = arg; in taskq_dispatch()
137 TASK_INIT(&task->tqent_task, prio, taskq_run, task); in taskq_dispatch()
138 taskqueue_enqueue(tq->tq_queue, &task->tqent_task); in taskq_dispatch()
[all …]
/trueos/sys/kern/
HDsubr_taskqueue.c54 struct task *tb_running;
59 STAILQ_HEAD(, task) tq_queue;
198 taskqueue_enqueue_locked(struct taskqueue *queue, struct task *task) in taskqueue_enqueue_locked() argument
200 struct task *ins; in taskqueue_enqueue_locked()
201 struct task *prev; in taskqueue_enqueue_locked()
206 if (task->ta_pending) { in taskqueue_enqueue_locked()
207 if (task->ta_pending < USHRT_MAX) in taskqueue_enqueue_locked()
208 task->ta_pending++; in taskqueue_enqueue_locked()
216 prev = STAILQ_LAST(&queue->tq_queue, task, ta_link); in taskqueue_enqueue_locked()
217 if (!prev || prev->ta_priority >= task->ta_priority) { in taskqueue_enqueue_locked()
[all …]
/trueos/sys/compat/mach/defs/
HDtask.defs69 task 3400;
76 import <sys/mach/task.h>;
80 * Create a new task with an empty set of IPC rights,
82 * target task (or empty, if inherit_memory is FALSE).
91 * Destroy the target task, causing all of its threads
99 * Returns the set of threads belonging to the target task.
106 * Stash a handful of ports for the target task; child
115 * Retrieve the stashed ports for the target task.
123 * Returns information about the target task.
131 * Set task information.
[all …]
HDmach_port.defs81 * to which the target task has access, along with
86 task : ipc_space_t;
92 * within the target task. Also indicates whether
97 task : ipc_space_t;
103 * the target task. The new name can't be in use. The
111 task : ipc_space_t;
128 task : ipc_space_t;
144 task : ipc_space_t;
151 * correct type of right. This allows a user task
157 task : ipc_space_t;
[all …]
/trueos/sys/compat/mach/
HDmach_port_server.c1336 (task, names, namesCnt, types, typesCnt) in mach_port_names() argument
1337 ipc_space_t task; in mach_port_names()
1342 { return mach_port_names(task, names, namesCnt, types, typesCnt); }
1345 ipc_space_t task,
1432 ipc_space_t task; in _Xmach_port_names() local
1462 task = convert_port_to_space(In0P->Head.msgh_request_port); in _Xmach_port_names()
1468 …RetCode = mach_port_names(task, (mach_port_name_array_t *)&(OutP->names.address), &OutP->namesCnt,… in _Xmach_port_names()
1469 space_deallocate(task); in _Xmach_port_names()
1520 (task, name, ptype) in mach_port_type() argument
1521 ipc_space_t task; in mach_port_type()
[all …]
HDmach_task.c34 task_t task,
42 task_t task,
51 task_t task,
61 task_t task,
70 task_t task,
83 task_t task,
90 task_t task,
98 task_t task,
114 task_t task,
HDtask_server.c2500 (task, which_port, special_port) in task_get_special_port()
2501 task_t task; in task_get_special_port()
2504 { return task_get_special_port(task, which_port, special_port); }
2507 task_t task,
2570 task_t task; in _Xtask_get_special_port() local
2594 task = convert_port_to_task(In0P->Head.msgh_request_port); in _Xtask_get_special_port()
2596 RetCode = task_get_special_port(task, In0P->which_port, &OutP->special_port.name); in _Xtask_get_special_port()
2597 task_deallocate(task); in _Xtask_get_special_port()
2647 (task, which_port, special_port) in task_set_special_port()
2648 task_t task; in task_set_special_port()
[all …]
/trueos/sys/sys/
HDtaskqueue.h45 struct task t;
74 int taskqueue_enqueue(struct taskqueue *queue, struct task *task);
77 int taskqueue_cancel(struct taskqueue *queue, struct task *task,
81 void taskqueue_drain(struct taskqueue *queue, struct task *task);
109 #define TASK_INIT(task, priority, func, context) do { \ argument
110 (task)->ta_pending = 0; \
111 (task)->ta_priority = (priority); \
112 (task)->ta_func = (func); \
113 (task)->ta_context = (context); \
198 int taskqueue_enqueue_fast(struct taskqueue *queue, struct task *task);
/trueos/contrib/gdb/gdb/
HDgnu-nat.c133 (refport = inf->task->port, 0), 0, \
172 struct proc *task; /* The mach task. */ member
328 int running = (proc->cur_sc == 0 && inf->task->cur_sc == 0); in proc_abort()
643 inf->task = 0; in make_inf()
742 struct proc *task = inf->task; in inf_set_pid() local
760 if (task && task->port != task_port) in inf_set_pid()
762 inf->task = 0; in inf_set_pid()
764 _proc_free (task); /* And the task. */ in inf_set_pid()
769 inf->task = make_proc (inf, task_port, PROC_TID_TASK); in inf_set_pid()
773 if (inf->task) in inf_set_pid()
[all …]
/trueos/contrib/apr-util/misc/
HDapr_thread_pool.c153 apr_thread_pool_task_t *task = NULL; in pop_task() local
158 task = APR_RING_FIRST(me->scheduled_tasks); in pop_task()
159 assert(task != NULL); in pop_task()
160 assert(task != in pop_task()
164 if (task->dispatch.time <= apr_time_now()) { in pop_task()
166 APR_RING_REMOVE(task, link); in pop_task()
167 return task; in pop_task()
175 task = APR_RING_FIRST(me->tasks); in pop_task()
176 assert(task != NULL); in pop_task()
177 assert(task != APR_RING_SENTINEL(me->tasks, apr_thread_pool_task, link)); in pop_task()
[all …]
/trueos/sys/dev/usb/net/
HDusb_ethernet.c106 struct usb_ether_cfg_task *task; in ue_queue_command() local
118 task = (struct usb_ether_cfg_task *) in ue_queue_command()
122 task->hdr.pm_callback = fn; in ue_queue_command()
123 task->ue = ue; in ue_queue_command()
193 struct usb_ether_cfg_task *task = in ue_attach_post_task() local
195 struct usb_ether *ue = task->ue; in ue_attach_post_task()
355 struct usb_ether_cfg_task *task = in ue_start_task() local
357 struct usb_ether *ue = task->ue; in ue_start_task()
374 struct usb_ether_cfg_task *task = in ue_stop_task() local
376 struct usb_ether *ue = task->ue; in ue_stop_task()
[all …]
/trueos/lib/libmach/
HDMakefile31 task.h taskUser.c: ${DEFS}/task.defs
32 mig ${CFLAGS} -server /dev/null ${DEFS}/task.defs
33 cp task.h ${H}/task.h
68 CLEANFILES+= machine *~ mach_port.h task.h host_priv.h mach_host.h
/trueos/cddl/contrib/opensolaris/lib/pyzfs/common/
HDutil.py67 def __init__(self, eno, task=None, why=None): argument
75 self.task = task
80 if self.task:
81 s += self.task + ": "

12345678910>>...14