HelenOS sources

answerbox          76 kernel/generic/include/ddi/irq.h 	answerbox_t *answerbox;
answerbox          52 kernel/generic/include/ipc/event.h 	answerbox_t *answerbox;
answerbox          47 kernel/generic/include/ipc/ipc.h struct answerbox;
answerbox          69 kernel/generic/include/ipc/ipc.h 	struct answerbox *callee;
answerbox         104 kernel/generic/include/proc/task.h 	answerbox_t answerbox;
answerbox          53 kernel/generic/src/ipc/event.c 	event->answerbox = NULL;
answerbox          94 kernel/generic/src/ipc/event.c void event_cleanup_answerbox(answerbox_t *answerbox)
answerbox          99 kernel/generic/src/ipc/event.c 		if (events[i].answerbox == answerbox) {
answerbox         100 kernel/generic/src/ipc/event.c 			events[i].answerbox = NULL;
answerbox         147 kernel/generic/src/ipc/event.c 	if (event->answerbox != NULL) {
answerbox         164 kernel/generic/src/ipc/event.c 				irq_spinlock_lock(&event->answerbox->irq_lock,
answerbox         167 kernel/generic/src/ipc/event.c 				    &event->answerbox->irq_notifs);
answerbox         168 kernel/generic/src/ipc/event.c 				irq_spinlock_unlock(&event->answerbox->irq_lock,
answerbox         171 kernel/generic/src/ipc/event.c 				waitq_wake_one(&event->answerbox->wq);
answerbox         257 kernel/generic/src/ipc/event.c     answerbox_t *answerbox)
answerbox         263 kernel/generic/src/ipc/event.c 	if (event->answerbox == NULL) {
answerbox         264 kernel/generic/src/ipc/event.c 		event->answerbox = answerbox;
answerbox         287 kernel/generic/src/ipc/event.c static errno_t event_unsubscribe(event_t *event, answerbox_t *answerbox)
answerbox         293 kernel/generic/src/ipc/event.c 	if (event->answerbox == answerbox) {
answerbox         294 kernel/generic/src/ipc/event.c 		event->answerbox = NULL;
answerbox         345 kernel/generic/src/ipc/event.c 	    (sysarg_t) imethod, &TASK->answerbox);
answerbox         363 kernel/generic/src/ipc/event.c 	    &TASK->answerbox);
answerbox         313 kernel/generic/src/ipc/ipc.c 	    &call->sender->answerbox;
answerbox         314 kernel/generic/src/ipc/ipc.c 	bool do_lock = ((!selflocked) || (callerbox != &TASK->answerbox));
answerbox         363 kernel/generic/src/ipc/ipc.c 			atomic_inc(&caller->answerbox.active_calls);
answerbox         736 kernel/generic/src/ipc/ipc.c 	atomic_dec(&TASK->answerbox.active_calls);
answerbox         790 kernel/generic/src/ipc/ipc.c 	while (atomic_load(&TASK->answerbox.active_calls) != 0) {
answerbox         792 kernel/generic/src/ipc/ipc.c 		if (ipc_wait_for_call(&TASK->answerbox,
answerbox         814 kernel/generic/src/ipc/ipc.c 	ipc_irq_unsubscribe(&TASK->answerbox, cap->handle);
answerbox         845 kernel/generic/src/ipc/ipc.c 	irq_spinlock_lock(&TASK->answerbox.lock, true);
answerbox         846 kernel/generic/src/ipc/ipc.c 	TASK->answerbox.active = false;
answerbox         847 kernel/generic/src/ipc/ipc.c 	irq_spinlock_unlock(&TASK->answerbox.lock, true);
answerbox         854 kernel/generic/src/ipc/ipc.c 	event_cleanup_answerbox(&TASK->answerbox);
answerbox         861 kernel/generic/src/ipc/ipc.c 	ipc_answerbox_slam_phones(&TASK->answerbox, false);
answerbox         873 kernel/generic/src/ipc/ipc.c 	ipc_cleanup_call_list(&TASK->answerbox, &TASK->answerbox.calls);
answerbox         874 kernel/generic/src/ipc/ipc.c 	ipc_cleanup_call_list(&TASK->answerbox,
answerbox         875 kernel/generic/src/ipc/ipc.c 	    &TASK->answerbox.dispatched_calls);
answerbox         880 kernel/generic/src/ipc/ipc.c 	assert(atomic_load(&TASK->answerbox.active_calls) == 0);
answerbox         979 kernel/generic/src/ipc/ipc.c 	irq_spinlock_lock(&task->answerbox.lock, false);
answerbox         982 kernel/generic/src/ipc/ipc.c 	    atomic_load(&task->answerbox.active_calls));
answerbox         995 kernel/generic/src/ipc/ipc.c 	ipc_print_call_list(&task->answerbox.calls);
answerbox         997 kernel/generic/src/ipc/ipc.c 	ipc_print_call_list(&task->answerbox.dispatched_calls);
answerbox         999 kernel/generic/src/ipc/ipc.c 	ipc_print_call_list(&task->answerbox.answers);
answerbox        1001 kernel/generic/src/ipc/ipc.c 	irq_spinlock_unlock(&task->answerbox.lock, false);
answerbox         370 kernel/generic/src/ipc/irq.c 	irq->notif_cfg.answerbox = box;
answerbox         407 kernel/generic/src/ipc/irq.c 	assert(kobj->irq->notif_cfg.answerbox == box);
answerbox         427 kernel/generic/src/ipc/irq.c 	irq_spinlock_lock(&irq->notif_cfg.answerbox->irq_lock, false);
answerbox         428 kernel/generic/src/ipc/irq.c 	list_append(&call->ab_link, &irq->notif_cfg.answerbox->irq_notifs);
answerbox         429 kernel/generic/src/ipc/irq.c 	irq_spinlock_unlock(&irq->notif_cfg.answerbox->irq_lock, false);
answerbox         431 kernel/generic/src/ipc/irq.c 	waitq_wake_one(&irq->notif_cfg.answerbox->wq);
answerbox         531 kernel/generic/src/ipc/irq.c 	if (irq->notif_cfg.answerbox) {
answerbox         567 kernel/generic/src/ipc/irq.c 	if (irq->notif_cfg.answerbox) {
answerbox          98 kernel/generic/src/ipc/ops/conctmeto.c 		(void) ipc_phone_connect(pobj->phone, &TASK->answerbox);
answerbox          91 kernel/generic/src/ipc/ops/concttome.c 		    &answer->sender->answerbox)) {
answerbox         553 kernel/generic/src/ipc/sysipc.c 	rc = ipc_forward(call, pkobj->phone, &TASK->answerbox, mode);
answerbox         570 kernel/generic/src/ipc/sysipc.c 		ipc_answer(&TASK->answerbox, call);
answerbox         686 kernel/generic/src/ipc/sysipc.c 	ipc_answer(&TASK->answerbox, call);
answerbox         732 kernel/generic/src/ipc/sysipc.c 	ipc_answer(&TASK->answerbox, call);
answerbox         779 kernel/generic/src/ipc/sysipc.c 	rc = ipc_wait_for_call(&TASK->answerbox, usec,
answerbox         820 kernel/generic/src/ipc/sysipc.c 	if (process_request(&TASK->answerbox, call))
answerbox         863 kernel/generic/src/ipc/sysipc.c 	ipc_answer(&TASK->answerbox, call);
answerbox         873 kernel/generic/src/ipc/sysipc.c 	waitq_wake_one(&TASK->answerbox.wq);
answerbox         895 kernel/generic/src/ipc/sysipc.c 	return ipc_irq_subscribe(&TASK->answerbox, inr, imethod, ucode, uspace_handle);
answerbox         910 kernel/generic/src/ipc/sysipc.c 	ipc_irq_unsubscribe(&TASK->answerbox, handle);
answerbox         288 kernel/generic/src/main/kinit.c 				ipc_box_0 = &programs[i].task->answerbox;
answerbox         166 kernel/generic/src/proc/task.c 	ipc_answerbox_init(&task->answerbox, task);
answerbox         226 kernel/generic/src/proc/task.c 	task->answerbox.active = true;
answerbox         139 kernel/generic/src/udebug/udebug.c 		ipc_answer(&TASK->answerbox, db_call);
answerbox         161 kernel/generic/src/udebug/udebug.c 			ipc_answer(&TASK->answerbox, go_call);
answerbox         261 kernel/generic/src/udebug/udebug.c 	ipc_answer(&TASK->answerbox, call);
answerbox         324 kernel/generic/src/udebug/udebug.c 	ipc_answer(&TASK->answerbox, call);
answerbox         370 kernel/generic/src/udebug/udebug.c 	ipc_answer(&TASK->answerbox, call);
answerbox         429 kernel/generic/src/udebug/udebug.c 				ipc_answer(&task->answerbox, thread->udebug.go_call);
answerbox         325 kernel/generic/src/udebug/udebug_ops.c 	ipc_answer(&TASK->answerbox, call);
HelenOS homepage, sources at GitHub