Lines Matching refs:query
347 struct vio_md_node_query *query = (struct vio_md_node_query *) arg; in vio_md_node_match() local
350 if (vdev->dev_no != query->dev_no) in vio_md_node_match()
352 if (vdev->id != query->id) in vio_md_node_match()
354 if (strcmp(vdev->type, query->type)) in vio_md_node_match()
365 struct vio_md_node_query query; in vio_remove() local
375 query.type = type; in vio_remove()
390 query.dev_no = ~(u64)0; in vio_remove()
391 query.id = ~(u64)0; in vio_remove()
393 query.dev_no = *id; in vio_remove()
394 query.id = ~(u64)0; in vio_remove()
396 query.dev_no = *cfg_handle; in vio_remove()
397 query.id = *id; in vio_remove()
400 dev = device_find_child(&root_vdev->dev, &query, in vio_remove()