Lines Matching refs:node_id
95 static mach_node_t mach_node_alloc_init(mach_node_id_t node_id);
106 mach_node_id_t node_id = 0; // TODO: Read from device tree? in mach_node_init() local
108 (UInt32)node_id, in mach_node_init()
172 msg.node_header.node_id = node->info.node_id; in mach_node_publish()
194 printf("mach_node_publish(%d)=%d\n", node->info.node_id, kr); in mach_node_publish()
255 mach_node_alloc_init(mach_node_id_t node_id) in mach_node_alloc_init() argument
261 node->info.node_id = node_id; in mach_node_alloc_init()
274 mach_node_id_t nid = node->info.node_id; in mach_node_register()
413 mach_node_for_id_locked(mach_node_id_t node_id, in mach_node_for_id_locked() argument
417 if ((node_id < 0) || (node_id >= MACH_NODES_MAX)) { in mach_node_for_id_locked()
421 mach_node_t node = mach_node_table[node_id]; in mach_node_for_id_locked()
425 node = mach_node_alloc_init(node_id); in mach_node_for_id_locked()
427 node->antecedent = mach_node_table[node_id]; in mach_node_for_id_locked()
428 mach_node_table[node_id] = node; in mach_node_for_id_locked()
654 if (MNL_NODE_VALID(node) && (node->node_id != localnode_id)) { in mnl_register()
773 assert(MACH_NODE_ID_VALID(msg->node_id)); in mnl_msg_from_node()