Lines Matching refs:lookup
116 disk_lookup_t *lookup = (disk_lookup_t *)args;
127 if (strcmp(path, lookup->path) == 0) {
128 lookup->disk = node;
129 lookup->result = DISK_FOUND;
211 disk_lookup_t lookup;
250 lookup.path = strdup(devfs_path);
251 lookup.disk = NULL;
252 lookup.result = DISK_NOT_FOUND;
255 status = ptree_walk_tree_by_class(root_node, "disk", (void *)&lookup,
260 if (lookup.result == DISK_FOUND) {
261 /* now, lookup it's location in the node */
262 status = ptree_get_propval_by_name(lookup.disk, "Location",