Lines Matching defs:node

153  * Get a cache node for a resource.  Call with cache lock held.
170 * Get a cache node for a minor node. Call with cache lock held.
188 * Free a node. Make sure it isn't in the list!
191 free_node(rsrc_t *node)
193 if (node) {
194 if (node->id) {
195 free(node->id);
197 free(node);
207 cache_insert(rsrc_t *node)
210 node->next = cache_head.next;
211 node->prev = &cache_head;
213 node->next->prev = node;
214 node->prev->next = node;
268 cache_remove(rsrc_t *node)
270 node->next->prev = node->prev;
271 node->prev->next = node->next;
272 node->next = NULL;
273 node->prev = NULL;
503 * However using the ctl (MUXCTLLINK) node means that any current opens
700 locate_dev(di_node_t node, di_minor_t minor, void *arg)
709 if ((devfspath = di_devfs_path(node)) == NULL)
732 * Find a devinfo node that matches the device argument (dev).
858 * For this to work the node must be present in the /devices
860 * We do not use libdevinfo because the node must be present
862 * (the node needs to be opened).
867 ("Device node %s does not exist\n", rsrc->id));
1093 di_node_t root, node;
1109 node = di_drv_first_node(drv, root);
1110 if (node == DI_NODE_NIL) {
1111 _msg(4, ("no node for %s\n", drv));
1116 * If the device is not a prom node do not continue.
1118 if (di_nodeid(node) != DI_PROM_NODEID) {
1122 if ((devfspath = di_devfs_path(node)) == NULL) {
1129 * for the ctl node (this is the device on which
1133 while ((dim = di_minor_next(node, dim)) != DI_MINOR_NIL) {
1274 * node) is not subject to DR operations so there is no need to