HelenOS sources

phandle            86 boot/arch/sparc64/src/main.c 	phandle root = ofw_find_device("/");
phandle            70 boot/arch/sparc64/src/ofw.c static size_t wake_cpus_in_node(phandle child, uint64_t current_mid,
phandle            75 boot/arch/sparc64/src/ofw.c 	for (cpus = 0; (child != 0) && (child != (phandle) -1);
phandle           130 boot/arch/sparc64/src/ofw.c 	phandle cpus_parent = ofw_find_device("/ssm@0,0");
phandle           131 boot/arch/sparc64/src/ofw.c 	if ((cpus_parent == 0) || (cpus_parent == (phandle) -1))
phandle           134 boot/arch/sparc64/src/ofw.c 	phandle node = ofw_get_child_node(cpus_parent);
phandle           137 boot/arch/sparc64/src/ofw.c 	while ((node != 0) && (node != (phandle) -1)) {
phandle           145 boot/arch/sparc64/src/ofw.c 				phandle subnode = ofw_get_child_node(node);
phandle            85 boot/genarch/include/genarch/ofw.h extern phandle ofw_chosen;
phandle            87 boot/genarch/include/genarch/ofw.h extern phandle ofw_root;
phandle            89 boot/genarch/include/genarch/ofw.h extern phandle ofw_memory;
phandle            95 boot/genarch/include/genarch/ofw.h extern ofw_arg_t ofw_get_property(const phandle, const char *, void *,
phandle            97 boot/genarch/include/genarch/ofw.h extern ofw_arg_t ofw_get_proplen(const phandle, const char *);
phandle            98 boot/genarch/include/genarch/ofw.h extern ofw_arg_t ofw_next_property(const phandle, char *, char *);
phandle           100 boot/genarch/include/genarch/ofw.h extern phandle ofw_get_child_node(const phandle);
phandle           101 boot/genarch/include/genarch/ofw.h extern phandle ofw_get_peer_node(const phandle);
phandle           102 boot/genarch/include/genarch/ofw.h extern phandle ofw_find_device(const char *);
phandle           104 boot/genarch/include/genarch/ofw.h extern ofw_arg_t ofw_package_to_path(const phandle, char *, const size_t);
phandle           110 boot/genarch/include/genarch/ofw.h extern size_t ofw_get_address_cells(const phandle);
phandle           111 boot/genarch/include/genarch/ofw.h extern size_t ofw_get_size_cells(const phandle);
phandle            48 boot/genarch/include/genarch/ofw_tree.h 	phandle node_handle;            /**< Old OpenFirmware node handle. */
phandle            45 boot/genarch/src/ofw.c phandle ofw_chosen;
phandle            47 boot/genarch/src/ofw.c phandle ofw_root;
phandle            50 boot/genarch/src/ofw.c phandle ofw_memory;
phandle            62 boot/genarch/src/ofw.c 	if (ofw_chosen == (phandle) -1)
phandle            70 boot/genarch/src/ofw.c 	if (ofw_root == (phandle) -1) {
phandle            87 boot/genarch/src/ofw.c 	if (ofw_memory == (phandle) -1) {
phandle           133 boot/genarch/src/ofw.c phandle ofw_find_device(const char *name)
phandle           135 boot/genarch/src/ofw.c 	return (phandle) ofw_call("finddevice", 1, 1, NULL, name);
phandle           138 boot/genarch/src/ofw.c ofw_arg_t ofw_get_property(const phandle device, const char *name, void *buf,
phandle           144 boot/genarch/src/ofw.c ofw_arg_t ofw_get_proplen(const phandle device, const char *name)
phandle           149 boot/genarch/src/ofw.c ofw_arg_t ofw_next_property(const phandle device, char *previous, char *buf)
phandle           154 boot/genarch/src/ofw.c ofw_arg_t ofw_package_to_path(const phandle device, char *buf,
phandle           160 boot/genarch/src/ofw.c size_t ofw_get_address_cells(const phandle device)
phandle           173 boot/genarch/src/ofw.c size_t ofw_get_size_cells(const phandle device)
phandle           186 boot/genarch/src/ofw.c phandle ofw_get_child_node(const phandle node)
phandle           188 boot/genarch/src/ofw.c 	return (phandle) ofw_call("child", 1, 1, NULL, node);
phandle           191 boot/genarch/src/ofw.c phandle ofw_get_peer_node(const phandle node)
phandle           193 boot/genarch/src/ofw.c 	return (phandle) ofw_call("peer", 1, 1, NULL, node);
phandle           428 boot/genarch/src/ofw.c static void ofw_setup_screen(phandle handle)
phandle           468 boot/genarch/src/ofw.c static void ofw_setup_screens_internal(phandle current)
phandle           470 boot/genarch/src/ofw.c 	while ((current != 0) && (current != (phandle) -1)) {
phandle           476 boot/genarch/src/ofw.c 		phandle child = ofw_get_child_node(current);
phandle           477 boot/genarch/src/ofw.c 		if ((child != 0) && (child != (phandle) -1))
phandle           487 boot/genarch/src/ofw.c 		phandle peer = ofw_get_peer_node(current);
phandle           488 boot/genarch/src/ofw.c 		if ((peer != 0) && (peer != (phandle) -1)) {
phandle            87 boot/genarch/src/ofw_tree.c     ofw_tree_node_t *parent_node, phandle current)
phandle           131 boot/genarch/src/ofw_tree.c 		phandle child = ofw_get_child_node(current);
phandle           132 boot/genarch/src/ofw_tree.c 		if ((child != 0) && (child != (phandle) -1)) {
phandle           198 boot/genarch/src/ofw_tree.c 		phandle peer = ofw_get_peer_node(current);
phandle           199 boot/genarch/src/ofw_tree.c 		if ((peer != 0) && (peer != (phandle) -1)) {
phandle           235 boot/genarch/src/ofw_tree.c 	phandle ssm_node = ofw_find_device("/ssm@0,0");
phandle           236 boot/genarch/src/ofw_tree.c 	if (ssm_node != (phandle) -1) {
phandle            52 kernel/genarch/include/genarch/ofw/ofw_tree.h 	phandle node_handle;            /**< Old OpenFirmware node handle. */
phandle            88 kernel/genarch/include/genarch/ofw/ofw_tree.h     phandle);
phandle           167 kernel/genarch/src/ofw/ofw_tree.c     phandle handle)
phandle            67 kernel/generic/src/ipc/ipcrsc.c errno_t phone_alloc(task_t *task, bool publish, cap_phone_handle_t *phandle,
phandle           102 kernel/generic/src/ipc/ipcrsc.c 		*phandle = handle;
phandle            48 kernel/generic/src/ipc/ops/conctmeto.c 	cap_phone_handle_t phandle;
phandle            50 kernel/generic/src/ipc/ops/conctmeto.c 	errno_t rc = phone_alloc(TASK, false, &phandle, &pobj);
phandle            61 kernel/generic/src/ipc/ops/conctmeto.c 	ipc_set_arg5(&call->data, (sysarg_t) phandle);
phandle            68 kernel/generic/src/ipc/ops/conctmeto.c 	cap_phone_handle_t phandle = (cap_handle_t) ipc_get_arg5(&call->data);
phandle            70 kernel/generic/src/ipc/ops/conctmeto.c 	if (cap_handle_raw(phandle) < 0)
phandle            78 kernel/generic/src/ipc/ops/conctmeto.c 	cap_free(TASK, phandle);
phandle           109 kernel/generic/src/ipc/ops/conctmeto.c 	cap_phone_handle_t phandle = (cap_handle_t) ipc_get_arg5(&answer->data);
phandle           115 kernel/generic/src/ipc/ops/conctmeto.c 		if (cap_handle_raw(phandle) >= 0) {
phandle           121 kernel/generic/src/ipc/ops/conctmeto.c 			cap_free(TASK, phandle);
phandle           129 kernel/generic/src/ipc/ops/conctmeto.c 		cap_publish(TASK, phandle, pobj);
phandle            44 kernel/generic/src/ipc/ops/concttome.c 	cap_phone_handle_t phandle = CAP_NIL;
phandle            46 kernel/generic/src/ipc/ops/concttome.c 	errno_t rc = phone_alloc(TASK, false, &phandle, &pobj);
phandle            54 kernel/generic/src/ipc/ops/concttome.c 	ipc_set_arg5(&call->data, cap_handle_raw(phandle));
phandle            60 kernel/generic/src/ipc/ops/concttome.c 	cap_phone_handle_t phandle = (cap_handle_t) ipc_get_arg5(olddata);
phandle            63 kernel/generic/src/ipc/ops/concttome.c 	if (cap_handle_valid(phandle)) {
phandle            65 kernel/generic/src/ipc/ops/concttome.c 		cap_free(TASK, phandle);
phandle            73 kernel/generic/src/ipc/ops/concttome.c 	cap_phone_handle_t phandle = (cap_handle_t) ipc_get_arg5(olddata);
phandle            79 kernel/generic/src/ipc/ops/concttome.c 	} else if (cap_handle_valid(phandle)) {
phandle            93 kernel/generic/src/ipc/ops/concttome.c 			cap_publish(TASK, phandle, pobj);
phandle           484 kernel/generic/src/ipc/sysipc.c     cap_phone_handle_t phandle, sysarg_t imethod, sysarg_t arg1, sysarg_t arg2,
phandle           501 kernel/generic/src/ipc/sysipc.c 	kobject_t *pkobj = kobject_get(TASK, phandle, KOBJECT_TYPE_PHONE);
phandle           600 kernel/generic/src/ipc/sysipc.c     cap_phone_handle_t phandle, sysarg_t imethod, sysarg_t arg1, sysarg_t arg2,
phandle           603 kernel/generic/src/ipc/sysipc.c 	return sys_ipc_forward_common(chandle, phandle, imethod, arg1, arg2, 0,
phandle           625 kernel/generic/src/ipc/sysipc.c     cap_phone_handle_t phandle, uspace_ptr_ipc_data_t data, unsigned int mode)
phandle           633 kernel/generic/src/ipc/sysipc.c 	return sys_ipc_forward_common(chandle, phandle,
phandle           177 uspace/app/trace/ipcp.c void ipcp_call_out(cap_phone_handle_t phandle, ipc_call_t *call,
phandle           186 uspace/app/trace/ipcp.c 	if (have_conn[cap_handle_raw(phandle)])
phandle           187 uspace/app/trace/ipcp.c 		proto = connections[cap_handle_raw(phandle)].proto;
phandle           195 uspace/app/trace/ipcp.c 		    chandle, phandle, (proto ? proto->name : "n/a"));
phandle           213 uspace/app/trace/ipcp.c 			    phandle, (oper ? oper->name : "unknown"));
phandle           241 uspace/app/trace/ipcp.c 	pcall->phone_handle = phandle;
phandle           301 uspace/app/trace/trace.c 	cap_phone_handle_t phandle;
phandle           306 uspace/app/trace/trace.c 	phandle = (cap_phone_handle_t) sc_args[0];
phandle           315 uspace/app/trace/trace.c 	ipcp_call_out(phandle, &call, 0);
phandle          1733 uspace/lib/c/generic/async/server.c 	cap_phone_handle_t phandle = (cap_handle_t) ipc_get_arg5(&call);
phandle          1736 uspace/lib/c/generic/async/server.c 	    !cap_handle_valid((phandle))) {
phandle          1749 uspace/lib/c/generic/async/server.c 	sess->phone = phandle;
phandle          1777 uspace/lib/c/generic/async/server.c 	cap_phone_handle_t phandle = (cap_handle_t) ipc_get_arg5(call);
phandle          1780 uspace/lib/c/generic/async/server.c 	    !cap_handle_valid((phandle)))
phandle          1789 uspace/lib/c/generic/async/server.c 	sess->phone = phandle;
phandle            69 uspace/lib/c/generic/ipc.c errno_t ipc_call_async_fast(cap_phone_handle_t phandle, sysarg_t imethod,
phandle            73 uspace/lib/c/generic/ipc.c 	    cap_handle_raw(phandle), imethod, arg1, arg2, arg3,
phandle            94 uspace/lib/c/generic/ipc.c errno_t ipc_call_async_slow(cap_phone_handle_t phandle, sysarg_t imethod,
phandle           108 uspace/lib/c/generic/ipc.c 	    cap_handle_raw(phandle), (sysarg_t) &data,
phandle           186 uspace/lib/c/generic/ipc.c errno_t ipc_hangup(cap_phone_handle_t phandle)
phandle           188 uspace/lib/c/generic/ipc.c 	return (errno_t) __SYSCALL1(SYS_IPC_HANGUP, cap_handle_raw(phandle));
phandle           208 uspace/lib/c/generic/ipc.c errno_t ipc_forward_fast(cap_call_handle_t chandle, cap_phone_handle_t phandle,
phandle           212 uspace/lib/c/generic/ipc.c 	    cap_handle_raw(chandle), cap_handle_raw(phandle), imethod, arg1,
phandle           216 uspace/lib/c/generic/ipc.c errno_t ipc_forward_slow(cap_call_handle_t chandle, cap_phone_handle_t phandle,
phandle           230 uspace/lib/c/generic/ipc.c 	    cap_handle_raw(chandle), cap_handle_raw(phandle), (sysarg_t) &data,
phandle            84 uspace/lib/c/include/ipc/ipc.h #define ipc_call_async_0(phandle, method, label) \
phandle            85 uspace/lib/c/include/ipc/ipc.h 	ipc_call_async_fast((phandle), (method), 0, 0, 0, (label))
phandle            86 uspace/lib/c/include/ipc/ipc.h #define ipc_call_async_1(phandle, method, arg1, label) \
phandle            87 uspace/lib/c/include/ipc/ipc.h 	ipc_call_async_fast((phandle), (method), (arg1), 0, 0, (label))
phandle            88 uspace/lib/c/include/ipc/ipc.h #define ipc_call_async_2(phandle, method, arg1, arg2, label) \
phandle            89 uspace/lib/c/include/ipc/ipc.h 	ipc_call_async_fast((phandle), (method), (arg1), (arg2), 0, (label))
phandle            90 uspace/lib/c/include/ipc/ipc.h #define ipc_call_async_3(phandle, method, arg1, arg2, arg3, label) \
phandle            91 uspace/lib/c/include/ipc/ipc.h 	ipc_call_async_fast((phandle), (method), (arg1), (arg2), (arg3), \
phandle            93 uspace/lib/c/include/ipc/ipc.h #define ipc_call_async_4(phandle, method, arg1, arg2, arg3, arg4, label) \
phandle            94 uspace/lib/c/include/ipc/ipc.h 	ipc_call_async_slow((phandle), (method), (arg1), (arg2), (arg3), \
phandle            96 uspace/lib/c/include/ipc/ipc.h #define ipc_call_async_5(phandle, method, arg1, arg2, arg3, arg4, arg5, \
phandle            98 uspace/lib/c/include/ipc/ipc.h 	ipc_call_async_slow((phandle), (method), (arg1), (arg2), (arg3), \
phandle            84 uspace/lib/posix/include/libc/ipc/ipc.h #define ipc_call_async_0(phandle, method, label) \
phandle            85 uspace/lib/posix/include/libc/ipc/ipc.h 	ipc_call_async_fast((phandle), (method), 0, 0, 0, (label))
phandle            86 uspace/lib/posix/include/libc/ipc/ipc.h #define ipc_call_async_1(phandle, method, arg1, label) \
phandle            87 uspace/lib/posix/include/libc/ipc/ipc.h 	ipc_call_async_fast((phandle), (method), (arg1), 0, 0, (label))
phandle            88 uspace/lib/posix/include/libc/ipc/ipc.h #define ipc_call_async_2(phandle, method, arg1, arg2, label) \
phandle            89 uspace/lib/posix/include/libc/ipc/ipc.h 	ipc_call_async_fast((phandle), (method), (arg1), (arg2), 0, (label))
phandle            90 uspace/lib/posix/include/libc/ipc/ipc.h #define ipc_call_async_3(phandle, method, arg1, arg2, arg3, label) \
phandle            91 uspace/lib/posix/include/libc/ipc/ipc.h 	ipc_call_async_fast((phandle), (method), (arg1), (arg2), (arg3), \
phandle            93 uspace/lib/posix/include/libc/ipc/ipc.h #define ipc_call_async_4(phandle, method, arg1, arg2, arg3, arg4, label) \
phandle            94 uspace/lib/posix/include/libc/ipc/ipc.h 	ipc_call_async_slow((phandle), (method), (arg1), (arg2), (arg3), \
phandle            96 uspace/lib/posix/include/libc/ipc/ipc.h #define ipc_call_async_5(phandle, method, arg1, arg2, arg3, arg4, arg5, \
phandle            98 uspace/lib/posix/include/libc/ipc/ipc.h 	ipc_call_async_slow((phandle), (method), (arg1), (arg2), (arg3), \
HelenOS homepage, sources at GitHub