HelenOS sources

TASK               60 kernel/arch/amd64/src/ddi/ddi.c 	irq_spinlock_lock(&TASK->lock, false);
TASK               62 kernel/arch/amd64/src/ddi/ddi.c 	size_t ver = TASK->arch.iomapver;
TASK               63 kernel/arch/amd64/src/ddi/ddi.c 	size_t elements = TASK->arch.iomap.elements;
TASK               66 kernel/arch/amd64/src/ddi/ddi.c 		assert(TASK->arch.iomap.bits);
TASK               71 kernel/arch/amd64/src/ddi/ddi.c 		bitmap_copy(&iomap, &TASK->arch.iomap, elements);
TASK               87 kernel/arch/amd64/src/ddi/ddi.c 	irq_spinlock_unlock(&TASK->lock, false);
TASK              107 kernel/arch/amd64/src/interrupt.c 	if (TASK) {
TASK              108 kernel/arch/amd64/src/interrupt.c 		irq_spinlock_lock(&TASK->lock, false);
TASK              109 kernel/arch/amd64/src/interrupt.c 		size_t ver = TASK->arch.iomapver;
TASK              110 kernel/arch/amd64/src/interrupt.c 		irq_spinlock_unlock(&TASK->lock, false);
TASK               60 kernel/arch/ia32/src/ddi/ddi.c 	irq_spinlock_lock(&TASK->lock, false);
TASK               62 kernel/arch/ia32/src/ddi/ddi.c 	size_t ver = TASK->arch.iomapver;
TASK               63 kernel/arch/ia32/src/ddi/ddi.c 	size_t elements = TASK->arch.iomap.elements;
TASK               66 kernel/arch/ia32/src/ddi/ddi.c 		assert(TASK->arch.iomap.bits);
TASK               71 kernel/arch/ia32/src/ddi/ddi.c 		bitmap_copy(&iomap, &TASK->arch.iomap, elements);
TASK               87 kernel/arch/ia32/src/ddi/ddi.c 	irq_spinlock_unlock(&TASK->lock, false);
TASK              115 kernel/arch/ia32/src/interrupt.c 	if (TASK) {
TASK              116 kernel/arch/ia32/src/interrupt.c 		irq_spinlock_lock(&TASK->lock, false);
TASK              117 kernel/arch/ia32/src/interrupt.c 		size_t ver = TASK->arch.iomapver;
TASK              118 kernel/arch/ia32/src/interrupt.c 		irq_spinlock_unlock(&TASK->lock, false);
TASK              171 kernel/arch/ia64/src/drivers/ski.c 		instance->thread = thread_create(kskipoll, instance, TASK,
TASK              512 kernel/arch/ia64/src/mm/tlb.c 	if (TASK->arch.iomap)
TASK              513 kernel/arch/ia64/src/mm/tlb.c 		return bitmap_get(TASK->arch.iomap, page);
TASK              531 kernel/arch/ia64/src/mm/tlb.c 		if (TASK) {
TASK              557 kernel/arch/ia64/src/mm/tlb.c 				dtc_mapping_insert(page, TASK->as->asid, entry);
TASK              184 kernel/arch/sparc64/src/drivers/niagara.c 	instance->thread = thread_create(kniagarapoll, NULL, TASK,
TASK              178 kernel/genarch/src/kbrd/kbrd.c 		    TASK, THREAD_FLAG_NONE, "kkbrd");
TASK              175 kernel/genarch/src/kbrd/kbrd_at.c 		instance->thread = thread_create(kkbrd, (void *) instance, TASK, 0,
TASK              138 kernel/genarch/src/srln/srln.c 		    TASK, THREAD_FLAG_NONE, "ksrln");
TASK             1003 kernel/generic/src/console/cmd.c 		    (void *) argv, TASK, THREAD_FLAG_NONE, "call0"))) {
TASK             1391 kernel/generic/src/console/cmd.c 	irq_spinlock_lock(&TASK->lock, true);
TASK             1393 kernel/generic/src/console/cmd.c 	task_get_accounting(TASK, &ucycles0, &kcycles0);
TASK             1394 kernel/generic/src/console/cmd.c 	irq_spinlock_unlock(&TASK->lock, true);
TASK             1402 kernel/generic/src/console/cmd.c 	irq_spinlock_lock(&TASK->lock, true);
TASK             1403 kernel/generic/src/console/cmd.c 	task_get_accounting(TASK, &ucycles1, &kcycles1);
TASK             1404 kernel/generic/src/console/cmd.c 	irq_spinlock_unlock(&TASK->lock, true);
TASK             1446 kernel/generic/src/console/cmd.c 		irq_spinlock_lock(&TASK->lock, true);
TASK             1448 kernel/generic/src/console/cmd.c 		task_get_accounting(TASK, &ucycles0, &kcycles0);
TASK             1449 kernel/generic/src/console/cmd.c 		irq_spinlock_unlock(&TASK->lock, true);
TASK             1456 kernel/generic/src/console/cmd.c 		irq_spinlock_lock(&TASK->lock, true);
TASK             1458 kernel/generic/src/console/cmd.c 		task_get_accounting(TASK, &ucycles1, &kcycles1);
TASK             1459 kernel/generic/src/console/cmd.c 		irq_spinlock_unlock(&TASK->lock, true);
TASK             1609 kernel/generic/src/console/cmd.c 		irq_spinlock_lock(&TASK->lock, true);
TASK             1611 kernel/generic/src/console/cmd.c 		task_get_accounting(TASK, &ucycles0, &kcycles0);
TASK             1612 kernel/generic/src/console/cmd.c 		irq_spinlock_unlock(&TASK->lock, true);
TASK             1622 kernel/generic/src/console/cmd.c 		irq_spinlock_lock(&TASK->lock, true);
TASK             1624 kernel/generic/src/console/cmd.c 		task_get_accounting(TASK, &ucycles1, &kcycles1);
TASK             1625 kernel/generic/src/console/cmd.c 		irq_spinlock_unlock(&TASK->lock, true);
TASK              379 kernel/generic/src/console/console.c 			printf("[%s(%lu)] %s\n", TASK->name,
TASK              380 kernel/generic/src/console/console.c 			    (unsigned long) TASK->taskid, data);
TASK              139 kernel/generic/src/ddi/ddi.c 	assert(TASK);
TASK              149 kernel/generic/src/ddi/ddi.c 	    ((perm_get(TASK) & PERM_MEM_MANAGER) == PERM_MEM_MANAGER);
TASK              219 kernel/generic/src/ddi/ddi.c 	if (!as_area_create(TASK->as, flags, FRAMES2SIZE(pages),
TASK              246 kernel/generic/src/ddi/ddi.c 	assert(TASK);
TASK              248 kernel/generic/src/ddi/ddi.c 	return as_area_destroy(TASK->as, virt);
TASK              334 kernel/generic/src/ddi/ddi.c 	perm_t perms = perm_get(TASK);
TASK              371 kernel/generic/src/ddi/ddi.c 	perm_t perms = perm_get(TASK);
TASK              425 kernel/generic/src/ddi/ddi.c 	assert(TASK);
TASK              435 kernel/generic/src/ddi/ddi.c 	assert(TASK);
TASK              452 kernel/generic/src/ddi/ddi.c 	if (!as_area_create(TASK->as, map_flags, size,
TASK              469 kernel/generic/src/ddi/ddi.c 	return as_area_destroy(TASK->as, virt);
TASK              149 kernel/generic/src/debug/stacktrace.c 	if (TASK->debug_sections == NULL)
TASK              152 kernel/generic/src/debug/stacktrace.c 	debug_sections_t *scs = TASK->debug_sections;
TASK              174 kernel/generic/src/interrupt/interrupt.c 	    "program counter %p.\n", TASK->name, TASK->taskid,
TASK              162 kernel/generic/src/ipc/event.c 				call->data.task_id = TASK ? TASK->taskid : 0;
TASK              344 kernel/generic/src/ipc/event.c 	return (sys_errno_t) event_subscribe(evno2event(evno, TASK),
TASK              345 kernel/generic/src/ipc/event.c 	    (sysarg_t) imethod, &TASK->answerbox);
TASK              362 kernel/generic/src/ipc/event.c 	return (sys_errno_t) event_unsubscribe(evno2event(evno, TASK),
TASK              363 kernel/generic/src/ipc/event.c 	    &TASK->answerbox);
TASK              384 kernel/generic/src/ipc/event.c 	event_unmask(evno2event(evno, TASK));
TASK              220 kernel/generic/src/ipc/ipc.c 	ipc_answerbox_init(mybox, TASK);
TASK              245 kernel/generic/src/ipc/ipc.c 		spinlock_lock(&TASK->active_calls_lock);
TASK              259 kernel/generic/src/ipc/ipc.c 			spinlock_unlock(&TASK->active_calls_lock);
TASK              288 kernel/generic/src/ipc/ipc.c 	irq_spinlock_lock(&TASK->lock, true);
TASK              289 kernel/generic/src/ipc/ipc.c 	TASK->ipc_info.answer_sent++;
TASK              290 kernel/generic/src/ipc/ipc.c 	irq_spinlock_unlock(&TASK->lock, true);
TASK              314 kernel/generic/src/ipc/ipc.c 	bool do_lock = ((!selflocked) || (callerbox != &TASK->answerbox));
TASK              318 kernel/generic/src/ipc/ipc.c 	call->data.task_id = TASK->taskid;
TASK              517 kernel/generic/src/ipc/ipc.c 	irq_spinlock_lock(&TASK->lock, true);
TASK              518 kernel/generic/src/ipc/ipc.c 	TASK->ipc_info.forwarded++;
TASK              519 kernel/generic/src/ipc/ipc.c 	irq_spinlock_pass(&TASK->lock, &oldbox->lock);
TASK              525 kernel/generic/src/ipc/ipc.c 		call->data.task_id = TASK->taskid;
TASK              604 kernel/generic/src/ipc/ipc.c 	irq_spinlock_pass(&box->lock, &TASK->lock);
TASK              606 kernel/generic/src/ipc/ipc.c 	TASK->ipc_info.irq_notif_received += irq_cnt;
TASK              607 kernel/generic/src/ipc/ipc.c 	TASK->ipc_info.answer_received += answer_cnt;
TASK              608 kernel/generic/src/ipc/ipc.c 	TASK->ipc_info.call_received += call_cnt;
TASK              610 kernel/generic/src/ipc/ipc.c 	irq_spinlock_unlock(&TASK->lock, true);
TASK              714 kernel/generic/src/ipc/ipc.c 	assert(spinlock_locked(&TASK->active_calls_lock));
TASK              733 kernel/generic/src/ipc/ipc.c 	spinlock_unlock(&TASK->active_calls_lock);
TASK              736 kernel/generic/src/ipc/ipc.c 	atomic_dec(&TASK->answerbox.active_calls);
TASK              749 kernel/generic/src/ipc/ipc.c 	spinlock_lock(&TASK->active_calls_lock);
TASK              750 kernel/generic/src/ipc/ipc.c 	if (list_empty(&TASK->active_calls)) {
TASK              755 kernel/generic/src/ipc/ipc.c 		spinlock_unlock(&TASK->active_calls_lock);
TASK              759 kernel/generic/src/ipc/ipc.c 	call = list_get_instance(list_first(&TASK->active_calls), call_t,
TASK              768 kernel/generic/src/ipc/ipc.c 		spinlock_unlock(&TASK->active_calls_lock);
TASK              790 kernel/generic/src/ipc/ipc.c 	while (atomic_load(&TASK->answerbox.active_calls) != 0) {
TASK              792 kernel/generic/src/ipc/ipc.c 		if (ipc_wait_for_call(&TASK->answerbox,
TASK              806 kernel/generic/src/ipc/ipc.c 		caps_apply_to_kobject_type(TASK, KOBJECT_TYPE_PHONE,
TASK              814 kernel/generic/src/ipc/ipc.c 	ipc_irq_unsubscribe(&TASK->answerbox, cap->handle);
TASK              845 kernel/generic/src/ipc/ipc.c 	irq_spinlock_lock(&TASK->answerbox.lock, true);
TASK              846 kernel/generic/src/ipc/ipc.c 	TASK->answerbox.active = false;
TASK              847 kernel/generic/src/ipc/ipc.c 	irq_spinlock_unlock(&TASK->answerbox.lock, true);
TASK              850 kernel/generic/src/ipc/ipc.c 	caps_apply_to_kobject_type(TASK, KOBJECT_TYPE_PHONE,
TASK              854 kernel/generic/src/ipc/ipc.c 	event_cleanup_answerbox(&TASK->answerbox);
TASK              857 kernel/generic/src/ipc/ipc.c 	caps_apply_to_kobject_type(TASK, KOBJECT_TYPE_IRQ, irq_cap_cleanup_cb,
TASK              861 kernel/generic/src/ipc/ipc.c 	ipc_answerbox_slam_phones(&TASK->answerbox, false);
TASK              869 kernel/generic/src/ipc/ipc.c 	caps_apply_to_kobject_type(TASK, KOBJECT_TYPE_CALL, call_cap_cleanup_cb,
TASK              873 kernel/generic/src/ipc/ipc.c 	ipc_cleanup_call_list(&TASK->answerbox, &TASK->answerbox.calls);
TASK              874 kernel/generic/src/ipc/ipc.c 	ipc_cleanup_call_list(&TASK->answerbox,
TASK              875 kernel/generic/src/ipc/ipc.c 	    &TASK->answerbox.dispatched_calls);
TASK              880 kernel/generic/src/ipc/ipc.c 	assert(atomic_load(&TASK->answerbox.active_calls) == 0);
TASK               75 kernel/generic/src/ipc/ipcrsc.c 			cap_free(TASK, handle);
TASK               80 kernel/generic/src/ipc/ipcrsc.c 			cap_free(TASK, handle);
TASK               86 kernel/generic/src/ipc/ipcrsc.c 			cap_free(TASK, handle);
TASK              118 kernel/generic/src/ipc/ipcrsc.c 	kobject_t *kobj = cap_unpublish(TASK, handle, KOBJECT_TYPE_PHONE);
TASK              123 kernel/generic/src/ipc/ipcrsc.c 	cap_free(TASK, handle);
TASK              342 kernel/generic/src/ipc/irq.c 	errno_t rc = cap_alloc(TASK, &handle);
TASK              348 kernel/generic/src/ipc/irq.c 		cap_free(TASK, handle);
TASK              354 kernel/generic/src/ipc/irq.c 		cap_free(TASK, handle);
TASK              360 kernel/generic/src/ipc/irq.c 		cap_free(TASK, handle);
TASK              388 kernel/generic/src/ipc/irq.c 	cap_publish(TASK, handle, kobject);
TASK              403 kernel/generic/src/ipc/irq.c 	kobject_t *kobj = cap_unpublish(TASK, handle, KOBJECT_TYPE_IRQ);
TASK              412 kernel/generic/src/ipc/irq.c 	cap_free(TASK, handle);
TASK               53 kernel/generic/src/ipc/kbox.c 	irq_spinlock_lock(&TASK->kb.box.lock, true);
TASK               54 kernel/generic/src/ipc/kbox.c 	TASK->kb.box.active = false;
TASK               55 kernel/generic/src/ipc/kbox.c 	irq_spinlock_unlock(&TASK->kb.box.lock, true);
TASK               61 kernel/generic/src/ipc/kbox.c 	mutex_lock(&TASK->kb.cleanup_lock);
TASK               62 kernel/generic/src/ipc/kbox.c 	TASK->kb.finished = true;
TASK               63 kernel/generic/src/ipc/kbox.c 	mutex_unlock(&TASK->kb.cleanup_lock);
TASK               65 kernel/generic/src/ipc/kbox.c 	bool have_kb_thread = (TASK->kb.thread != NULL);
TASK               78 kernel/generic/src/ipc/kbox.c 	ipc_answerbox_slam_phones(&TASK->kb.box, have_kb_thread);
TASK               85 kernel/generic/src/ipc/kbox.c 	mutex_lock(&TASK->udebug.lock);
TASK               86 kernel/generic/src/ipc/kbox.c 	udebug_task_cleanup(TASK);
TASK               87 kernel/generic/src/ipc/kbox.c 	mutex_unlock(&TASK->udebug.lock);
TASK               91 kernel/generic/src/ipc/kbox.c 		thread_join(TASK->kb.thread);
TASK               93 kernel/generic/src/ipc/kbox.c 		TASK->kb.thread = NULL;
TASK               97 kernel/generic/src/ipc/kbox.c 	ipc_cleanup_call_list(&TASK->kb.box, &TASK->kb.box.calls);
TASK               98 kernel/generic/src/ipc/kbox.c 	ipc_cleanup_call_list(&TASK->kb.box, &TASK->kb.box.dispatched_calls);
TASK              111 kernel/generic/src/ipc/kbox.c 	if (call->sender == TASK->udebug.debugger) {
TASK              114 kernel/generic/src/ipc/kbox.c 		mutex_lock(&TASK->udebug.lock);
TASK              115 kernel/generic/src/ipc/kbox.c 		udebug_task_cleanup(TASK);
TASK              116 kernel/generic/src/ipc/kbox.c 		mutex_unlock(&TASK->udebug.lock);
TASK              123 kernel/generic/src/ipc/kbox.c 	ipc_answer(&TASK->kb.box, call);
TASK              125 kernel/generic/src/ipc/kbox.c 	mutex_lock(&TASK->kb.cleanup_lock);
TASK              127 kernel/generic/src/ipc/kbox.c 	irq_spinlock_lock(&TASK->lock, true);
TASK              128 kernel/generic/src/ipc/kbox.c 	irq_spinlock_lock(&TASK->kb.box.lock, false);
TASK              129 kernel/generic/src/ipc/kbox.c 	if (list_empty(&TASK->kb.box.connected_phones)) {
TASK              136 kernel/generic/src/ipc/kbox.c 		if (TASK->kb.finished == false) {
TASK              138 kernel/generic/src/ipc/kbox.c 			thread_put(TASK->kb.thread);
TASK              139 kernel/generic/src/ipc/kbox.c 			TASK->kb.thread = NULL;
TASK              147 kernel/generic/src/ipc/kbox.c 	irq_spinlock_unlock(&TASK->kb.box.lock, false);
TASK              148 kernel/generic/src/ipc/kbox.c 	irq_spinlock_unlock(&TASK->lock, true);
TASK              150 kernel/generic/src/ipc/kbox.c 	mutex_unlock(&TASK->kb.cleanup_lock);
TASK              169 kernel/generic/src/ipc/kbox.c 		(void) ipc_wait_for_call(&TASK->kb.box, SYNCH_NO_TIMEOUT,
TASK              237 kernel/generic/src/ipc/kbox.c 	errno_t rc = phone_alloc(TASK, true, &phone_handle, NULL);
TASK              244 kernel/generic/src/ipc/kbox.c 	kobject_t *phone_obj = kobject_get(TASK, phone_handle,
TASK               50 kernel/generic/src/ipc/ops/conctmeto.c 	errno_t rc = phone_alloc(TASK, false, &phandle, &pobj);
TASK               78 kernel/generic/src/ipc/ops/conctmeto.c 	cap_free(TASK, phandle);
TASK               98 kernel/generic/src/ipc/ops/conctmeto.c 		(void) ipc_phone_connect(pobj->phone, &TASK->answerbox);
TASK              121 kernel/generic/src/ipc/ops/conctmeto.c 			cap_free(TASK, phandle);
TASK              129 kernel/generic/src/ipc/ops/conctmeto.c 		cap_publish(TASK, phandle, pobj);
TASK               46 kernel/generic/src/ipc/ops/concttome.c 	errno_t rc = phone_alloc(TASK, false, &phandle, &pobj);
TASK               65 kernel/generic/src/ipc/ops/concttome.c 		cap_free(TASK, phandle);
TASK               93 kernel/generic/src/ipc/ops/concttome.c 			cap_publish(TASK, phandle, pobj);
TASK               54 kernel/generic/src/ipc/ops/pagein.c 	if (TASK->taskid <= phone->callee->task->taskid)
TASK               47 kernel/generic/src/ipc/ops/stchngath.c 	kobject_t *sender_obj = kobject_get(TASK,
TASK               79 kernel/generic/src/ipc/ops/stchngath.c 		kobject_t *recipient_obj = kobject_get(TASK,
TASK              275 kernel/generic/src/ipc/sysipc.c 	kobject_t *kobj = kobject_get(TASK, handle, KOBJECT_TYPE_PHONE);
TASK              372 kernel/generic/src/ipc/sysipc.c 	kobject_t *kobj = kobject_get(TASK, handle, KOBJECT_TYPE_PHONE);
TASK              424 kernel/generic/src/ipc/sysipc.c 	kobject_t *kobj = kobject_get(TASK, handle, KOBJECT_TYPE_PHONE);
TASK              487 kernel/generic/src/ipc/sysipc.c 	kobject_t *ckobj = cap_unpublish(TASK, chandle, KOBJECT_TYPE_CALL);
TASK              501 kernel/generic/src/ipc/sysipc.c 	kobject_t *pkobj = kobject_get(TASK, phandle, KOBJECT_TYPE_PHONE);
TASK              526 kernel/generic/src/ipc/sysipc.c 				cap_free(TASK,
TASK              553 kernel/generic/src/ipc/sysipc.c 	rc = ipc_forward(call, pkobj->phone, &TASK->answerbox, mode);
TASK              559 kernel/generic/src/ipc/sysipc.c 	cap_free(TASK, chandle);
TASK              570 kernel/generic/src/ipc/sysipc.c 		ipc_answer(&TASK->answerbox, call);
TASK              572 kernel/generic/src/ipc/sysipc.c 	cap_free(TASK, chandle);
TASK              657 kernel/generic/src/ipc/sysipc.c 	kobject_t *kobj = cap_unpublish(TASK, chandle, KOBJECT_TYPE_CALL);
TASK              686 kernel/generic/src/ipc/sysipc.c 	ipc_answer(&TASK->answerbox, call);
TASK              689 kernel/generic/src/ipc/sysipc.c 	cap_free(TASK, chandle);
TASK              704 kernel/generic/src/ipc/sysipc.c 	kobject_t *kobj = cap_unpublish(TASK, chandle, KOBJECT_TYPE_CALL);
TASK              726 kernel/generic/src/ipc/sysipc.c 		cap_publish(TASK, chandle, kobj);
TASK              732 kernel/generic/src/ipc/sysipc.c 	ipc_answer(&TASK->answerbox, call);
TASK              735 kernel/generic/src/ipc/sysipc.c 	cap_free(TASK, chandle);
TASK              749 kernel/generic/src/ipc/sysipc.c 	kobject_t *kobj = cap_unpublish(TASK, handle, KOBJECT_TYPE_PHONE);
TASK              755 kernel/generic/src/ipc/sysipc.c 	cap_free(TASK, handle);
TASK              779 kernel/generic/src/ipc/sysipc.c 	rc = ipc_wait_for_call(&TASK->answerbox, usec,
TASK              820 kernel/generic/src/ipc/sysipc.c 	if (process_request(&TASK->answerbox, call))
TASK              824 kernel/generic/src/ipc/sysipc.c 	rc = cap_alloc(TASK, &handle);
TASK              839 kernel/generic/src/ipc/sysipc.c 	cap_publish(TASK, handle, call->kobject);
TASK              844 kernel/generic/src/ipc/sysipc.c 		cap_free(TASK, handle);
TASK              863 kernel/generic/src/ipc/sysipc.c 	ipc_answer(&TASK->answerbox, call);
TASK              873 kernel/generic/src/ipc/sysipc.c 	waitq_wake_one(&TASK->answerbox.wq);
TASK              892 kernel/generic/src/ipc/sysipc.c 	if (!(perm_get(TASK) & PERM_IRQ_REG))
TASK              895 kernel/generic/src/ipc/sysipc.c 	return ipc_irq_subscribe(&TASK->answerbox, inr, imethod, ucode, uspace_handle);
TASK              907 kernel/generic/src/ipc/sysipc.c 	if (!(perm_get(TASK) & PERM_IRQ_REG))
TASK              910 kernel/generic/src/ipc/sysipc.c 	ipc_irq_unsubscribe(&TASK->answerbox, handle);
TASK              118 kernel/generic/src/main/kinit.c 		thread = thread_create(kmp, NULL, TASK,
TASK              133 kernel/generic/src/main/kinit.c 			thread = thread_create(kcpulb, NULL, TASK,
TASK              152 kernel/generic/src/main/kinit.c 	thread = thread_create(kload, NULL, TASK, THREAD_FLAG_NONE,
TASK              166 kernel/generic/src/main/kinit.c 		thread = thread_create(kconsole_thread, NULL, TASK,
TASK             1600 kernel/generic/src/mm/as.c 		    "failed late reservation request.\n", TASK->taskid);
TASK              247 kernel/generic/src/proc/program.c 	perm_set(prg.task, perm_get(TASK));
TASK              194 kernel/generic/src/proc/scheduler.c 	if (TASK == task)
TASK              204 kernel/generic/src/proc/scheduler.c 	if (TASK)
TASK              205 kernel/generic/src/proc/scheduler.c 		task_release(TASK);
TASK              207 kernel/generic/src/proc/scheduler.c 	TASK = task;
TASK              209 kernel/generic/src/proc/scheduler.c 	task_hold(TASK);
TASK              548 kernel/generic/src/proc/scheduler.c 	assert(TASK == NULL);
TASK               97 kernel/generic/src/proc/task.c 	TASK = NULL;
TASK              131 kernel/generic/src/proc/task.c 			if (task != TASK) {
TASK              334 kernel/generic/src/proc/task.c 	return (sys_errno_t) copy_to_uspace(uspace_taskid, &TASK->taskid,
TASK              335 kernel/generic/src/proc/task.c 	    sizeof(TASK->taskid));
TASK              353 kernel/generic/src/proc/task.c 	return TASK->taskid;
TASK              389 kernel/generic/src/proc/task.c 	irq_spinlock_lock(&TASK->lock, false);
TASK              392 kernel/generic/src/proc/task.c 	str_cpy(TASK->name, TASK_NAME_BUFLEN, namebuf);
TASK              394 kernel/generic/src/proc/task.c 	irq_spinlock_unlock(&TASK->lock, false);
TASK              591 kernel/generic/src/proc/task.c 		if (event_notify_3(EVENT_FAULT, false, LOWER32(TASK->taskid),
TASK              592 kernel/generic/src/proc/task.c 		    UPPER32(TASK->taskid), (sysarg_t) THREAD) == EOK) {
TASK              600 kernel/generic/src/proc/task.c 	task_kill_internal(TASK);
TASK              436 kernel/generic/src/proc/thread.c 		if (atomic_predec(&TASK->lifecount) == 0) {
TASK              447 kernel/generic/src/proc/thread.c 			LOG("Cleanup of task %" PRIu64 " completed.", TASK->taskid);
TASK              978 kernel/generic/src/proc/thread.c 	thread_t *thread = thread_create(uinit, kernel_uarg, TASK,
TASK              993 kernel/generic/src/proc/thread.c 	udebug_thread_b_event_attach(thread, TASK);
TASK              995 kernel/generic/src/proc/thread.c 	thread_attach(thread, TASK);
TASK               88 kernel/generic/src/security/perm.c 	if (!(perm_get(TASK) & PERM_PERM))
TASK              130 kernel/generic/src/security/perm.c 	if (task != TASK && !(perm_get(TASK) & PERM_PERM)) {
TASK               79 kernel/generic/src/synch/syswaitq.c 	caps_apply_to_kobject_type(TASK, KOBJECT_TYPE_WAITQ,
TASK              105 kernel/generic/src/synch/syswaitq.c 	errno_t rc = cap_alloc(TASK, &handle);
TASK              114 kernel/generic/src/synch/syswaitq.c 		cap_free(TASK, handle);
TASK              120 kernel/generic/src/synch/syswaitq.c 	cap_publish(TASK, handle, kobj);
TASK              133 kernel/generic/src/synch/syswaitq.c 	kobject_t *kobj = cap_unpublish(TASK, whandle, KOBJECT_TYPE_WAITQ);
TASK              137 kernel/generic/src/synch/syswaitq.c 	cap_free(TASK, whandle);
TASK              153 kernel/generic/src/synch/syswaitq.c 	kobject_t *kobj = kobject_get(TASK, whandle, KOBJECT_TYPE_WAITQ);
TASK              181 kernel/generic/src/synch/syswaitq.c 	kobject_t *kobj = kobject_get(TASK, whandle, KOBJECT_TYPE_WAITQ);
TASK              168 kernel/generic/src/syscall/syscall.c 		    "Task %" PRIu64 ": Unknown syscall %#" PRIxn, TASK->taskid, id);
TASK              114 kernel/generic/src/udebug/udebug.c 	assert(TASK);
TASK              116 kernel/generic/src/udebug/udebug.c 	mutex_lock(&TASK->udebug.lock);
TASK              118 kernel/generic/src/udebug/udebug.c 	int nsc = --TASK->udebug.not_stoppable_count;
TASK              125 kernel/generic/src/udebug/udebug.c 	if ((TASK->udebug.dt_state == UDEBUG_TS_BEGINNING) && (nsc == 0)) {
TASK              132 kernel/generic/src/udebug/udebug.c 		call_t *db_call = TASK->udebug.begin_call;
TASK              135 kernel/generic/src/udebug/udebug.c 		TASK->udebug.dt_state = UDEBUG_TS_ACTIVE;
TASK              136 kernel/generic/src/udebug/udebug.c 		TASK->udebug.begin_call = NULL;
TASK              139 kernel/generic/src/udebug/udebug.c 		ipc_answer(&TASK->answerbox, db_call);
TASK              140 kernel/generic/src/udebug/udebug.c 	} else if (TASK->udebug.dt_state == UDEBUG_TS_ACTIVE) {
TASK              161 kernel/generic/src/udebug/udebug.c 			ipc_answer(&TASK->answerbox, go_call);
TASK              166 kernel/generic/src/udebug/udebug.c 	mutex_unlock(&TASK->udebug.lock);
TASK              179 kernel/generic/src/udebug/udebug.c 	mutex_lock(&TASK->udebug.lock);
TASK              184 kernel/generic/src/udebug/udebug.c 		mutex_unlock(&TASK->udebug.lock);
TASK              191 kernel/generic/src/udebug/udebug.c 		++TASK->udebug.not_stoppable_count;
TASK              196 kernel/generic/src/udebug/udebug.c 		mutex_unlock(&TASK->udebug.lock);
TASK              225 kernel/generic/src/udebug/udebug.c 	mutex_lock(&TASK->udebug.lock);
TASK              230 kernel/generic/src/udebug/udebug.c 	    (TASK->udebug.evmask & UDEBUG_EVMASK(etype)) == 0) {
TASK              232 kernel/generic/src/udebug/udebug.c 		mutex_unlock(&TASK->udebug.lock);
TASK              261 kernel/generic/src/udebug/udebug.c 	ipc_answer(&TASK->answerbox, call);
TASK              264 kernel/generic/src/udebug/udebug.c 	mutex_unlock(&TASK->udebug.lock);
TASK              288 kernel/generic/src/udebug/udebug.c 	mutex_lock(&TASK->udebug.lock);
TASK              302 kernel/generic/src/udebug/udebug.c 		mutex_unlock(&TASK->udebug.lock);
TASK              324 kernel/generic/src/udebug/udebug.c 	ipc_answer(&TASK->answerbox, call);
TASK              327 kernel/generic/src/udebug/udebug.c 	mutex_unlock(&TASK->udebug.lock);
TASK              341 kernel/generic/src/udebug/udebug.c 	mutex_lock(&TASK->udebug.lock);
TASK              353 kernel/generic/src/udebug/udebug.c 		mutex_unlock(&TASK->udebug.lock);
TASK              370 kernel/generic/src/udebug/udebug.c 	ipc_answer(&TASK->answerbox, call);
TASK              373 kernel/generic/src/udebug/udebug.c 	mutex_unlock(&TASK->udebug.lock);
TASK               79 kernel/generic/src/udebug/udebug_ipc.c 		ipc_answer(&TASK->kb.box, call);
TASK               89 kernel/generic/src/udebug/udebug_ipc.c 		ipc_answer(&TASK->kb.box, call);
TASK              105 kernel/generic/src/udebug/udebug_ipc.c 	ipc_answer(&TASK->kb.box, call);
TASK              122 kernel/generic/src/udebug/udebug_ipc.c 	ipc_answer(&TASK->kb.box, call);
TASK              140 kernel/generic/src/udebug/udebug_ipc.c 		ipc_answer(&TASK->kb.box, call);
TASK              159 kernel/generic/src/udebug/udebug_ipc.c 	ipc_answer(&TASK->kb.box, call);
TASK              185 kernel/generic/src/udebug/udebug_ipc.c 		ipc_answer(&TASK->kb.box, call);
TASK              204 kernel/generic/src/udebug/udebug_ipc.c 	ipc_answer(&TASK->kb.box, call);
TASK              231 kernel/generic/src/udebug/udebug_ipc.c 		ipc_answer(&TASK->kb.box, call);
TASK              258 kernel/generic/src/udebug/udebug_ipc.c 	ipc_answer(&TASK->kb.box, call);
TASK              285 kernel/generic/src/udebug/udebug_ipc.c 		ipc_answer(&TASK->kb.box, call);
TASK              312 kernel/generic/src/udebug/udebug_ipc.c 	ipc_answer(&TASK->kb.box, call);
TASK              332 kernel/generic/src/udebug/udebug_ipc.c 		ipc_answer(&TASK->kb.box, call);
TASK              352 kernel/generic/src/udebug/udebug_ipc.c 	ipc_answer(&TASK->kb.box, call);
TASK              372 kernel/generic/src/udebug/udebug_ipc.c 		ipc_answer(&TASK->kb.box, call);
TASK              396 kernel/generic/src/udebug/udebug_ipc.c 	ipc_answer(&TASK->kb.box, call);
TASK              419 kernel/generic/src/udebug/udebug_ipc.c 		ipc_answer(&TASK->kb.box, call);
TASK              435 kernel/generic/src/udebug/udebug_ipc.c 	ipc_answer(&TASK->kb.box, call);
TASK              457 kernel/generic/src/udebug/udebug_ipc.c 		if (TASK->udebug.debugger != call->sender) {
TASK              459 kernel/generic/src/udebug/udebug_ipc.c 			ipc_answer(&TASK->kb.box, call);
TASK               83 kernel/generic/src/udebug/udebug_ops.c 	mutex_lock(&TASK->udebug.lock);
TASK               88 kernel/generic/src/udebug/udebug_ops.c 		mutex_unlock(&TASK->udebug.lock);
TASK               94 kernel/generic/src/udebug/udebug_ops.c 		mutex_unlock(&TASK->udebug.lock);
TASK              109 kernel/generic/src/udebug/udebug_ops.c 		mutex_unlock(&TASK->udebug.lock);
TASK              114 kernel/generic/src/udebug/udebug_ops.c 	if (thread->task != TASK) {
TASK              117 kernel/generic/src/udebug/udebug_ops.c 		mutex_unlock(&TASK->udebug.lock);
TASK              122 kernel/generic/src/udebug/udebug_ops.c 	mutex_unlock(&TASK->udebug.lock);
TASK              165 kernel/generic/src/udebug/udebug_ops.c 	LOG("Debugging task %" PRIu64, TASK->taskid);
TASK              167 kernel/generic/src/udebug/udebug_ops.c 	mutex_lock(&TASK->udebug.lock);
TASK              169 kernel/generic/src/udebug/udebug_ops.c 	if (TASK->udebug.dt_state != UDEBUG_TS_INACTIVE) {
TASK              170 kernel/generic/src/udebug/udebug_ops.c 		mutex_unlock(&TASK->udebug.lock);
TASK              174 kernel/generic/src/udebug/udebug_ops.c 	TASK->udebug.dt_state = UDEBUG_TS_BEGINNING;
TASK              175 kernel/generic/src/udebug/udebug_ops.c 	TASK->udebug.begin_call = call;
TASK              176 kernel/generic/src/udebug/udebug_ops.c 	TASK->udebug.debugger = call->sender;
TASK              178 kernel/generic/src/udebug/udebug_ops.c 	if (TASK->udebug.not_stoppable_count == 0) {
TASK              179 kernel/generic/src/udebug/udebug_ops.c 		TASK->udebug.dt_state = UDEBUG_TS_ACTIVE;
TASK              180 kernel/generic/src/udebug/udebug_ops.c 		TASK->udebug.begin_call = NULL;
TASK              187 kernel/generic/src/udebug/udebug_ops.c 	list_foreach(TASK->threads, th_link, thread_t, thread) {
TASK              197 kernel/generic/src/udebug/udebug_ops.c 	mutex_unlock(&TASK->udebug.lock);
TASK              210 kernel/generic/src/udebug/udebug_ops.c 	LOG("Task %" PRIu64, TASK->taskid);
TASK              212 kernel/generic/src/udebug/udebug_ops.c 	mutex_lock(&TASK->udebug.lock);
TASK              213 kernel/generic/src/udebug/udebug_ops.c 	errno_t rc = udebug_task_cleanup(TASK);
TASK              214 kernel/generic/src/udebug/udebug_ops.c 	mutex_unlock(&TASK->udebug.lock);
TASK              232 kernel/generic/src/udebug/udebug_ops.c 	mutex_lock(&TASK->udebug.lock);
TASK              234 kernel/generic/src/udebug/udebug_ops.c 	if (TASK->udebug.dt_state != UDEBUG_TS_ACTIVE) {
TASK              235 kernel/generic/src/udebug/udebug_ops.c 		mutex_unlock(&TASK->udebug.lock);
TASK              239 kernel/generic/src/udebug/udebug_ops.c 	TASK->udebug.evmask = mask;
TASK              240 kernel/generic/src/udebug/udebug_ops.c 	mutex_unlock(&TASK->udebug.lock);
TASK              324 kernel/generic/src/udebug/udebug_ops.c 	mutex_lock(&TASK->udebug.lock);
TASK              325 kernel/generic/src/udebug/udebug_ops.c 	ipc_answer(&TASK->answerbox, call);
TASK              326 kernel/generic/src/udebug/udebug_ops.c 	mutex_unlock(&TASK->udebug.lock);
TASK              363 kernel/generic/src/udebug/udebug_ops.c 	mutex_lock(&TASK->udebug.lock);
TASK              366 kernel/generic/src/udebug/udebug_ops.c 	if (TASK->udebug.dt_state != UDEBUG_TS_ACTIVE) {
TASK              367 kernel/generic/src/udebug/udebug_ops.c 		mutex_unlock(&TASK->udebug.lock);
TASK              372 kernel/generic/src/udebug/udebug_ops.c 	irq_spinlock_lock(&TASK->lock, true);
TASK              381 kernel/generic/src/udebug/udebug_ops.c 	list_foreach(TASK->threads, th_link, thread_t, thread) {
TASK              395 kernel/generic/src/udebug/udebug_ops.c 	irq_spinlock_unlock(&TASK->lock, true);
TASK              397 kernel/generic/src/udebug/udebug_ops.c 	mutex_unlock(&TASK->udebug.lock);
TASK              419 kernel/generic/src/udebug/udebug_ops.c 	size_t name_size = str_size(TASK->name) + 1;
TASK              426 kernel/generic/src/udebug/udebug_ops.c 	memcpy(*data, TASK->name, name_size);
TASK              538 kernel/generic/src/udebug/udebug_ops.c 	mutex_lock(&TASK->udebug.lock);
TASK              540 kernel/generic/src/udebug/udebug_ops.c 	if (TASK->udebug.dt_state != UDEBUG_TS_ACTIVE) {
TASK              541 kernel/generic/src/udebug/udebug_ops.c 		mutex_unlock(&TASK->udebug.lock);
TASK              547 kernel/generic/src/udebug/udebug_ops.c 		mutex_unlock(&TASK->udebug.lock);
TASK              557 kernel/generic/src/udebug/udebug_ops.c 	mutex_unlock(&TASK->udebug.lock);
TASK              117 kernel/test/mm/falloc2.c 		thread_t *thrd = thread_create(falloc, NULL, TASK,
TASK              154 kernel/test/mm/slab1.c 		    TASK, THREAD_FLAG_NONE, "slabtest");
TASK              209 kernel/test/mm/slab2.c 		    TASK, THREAD_FLAG_NONE, "slabtest");
TASK               89 kernel/test/synch/semaphore1.c 				thrd = thread_create(consumer, NULL, TASK,
TASK               99 kernel/test/synch/semaphore1.c 				thrd = thread_create(producer, NULL, TASK,
TASK               92 kernel/test/synch/semaphore2.c 		thrd = thread_create(consumer, NULL, TASK,
TASK               57 kernel/test/thread/thread1.c 		    TASK, THREAD_FLAG_NONE, "threadtest");
HelenOS homepage, sources at GitHub