Lines Matching refs:node_id
94 static mach_node_t mach_node_alloc_init(mach_node_id_t node_id);
105 mach_node_id_t node_id = 0; // TODO: Read from device tree? in mach_node_init() local
107 (UInt32)node_id, in mach_node_init()
171 msg.node_header.node_id = node->info.node_id; in mach_node_publish()
193 printf("mach_node_publish(%d)=%d\n", node->info.node_id, kr); in mach_node_publish()
254 mach_node_alloc_init(mach_node_id_t node_id) in mach_node_alloc_init() argument
260 node->info.node_id = node_id; in mach_node_alloc_init()
273 mach_node_id_t nid = node->info.node_id; in mach_node_register()
404 mach_node_for_id_locked(mach_node_id_t node_id, in mach_node_for_id_locked() argument
408 if ((node_id < 0) || (node_id >= MACH_NODES_MAX)) { in mach_node_for_id_locked()
412 mach_node_t node = mach_node_table[node_id]; in mach_node_for_id_locked()
416 node = mach_node_alloc_init(node_id); in mach_node_for_id_locked()
418 node->antecedent = mach_node_table[node_id]; in mach_node_for_id_locked()
419 mach_node_table[node_id] = node; in mach_node_for_id_locked()
645 if (MNL_NODE_VALID(node) && (node->node_id != localnode_id)) { in mnl_register()
764 assert(MACH_NODE_ID_VALID(msg->node_id)); in mnl_msg_from_node()